Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Suraj Modi
purr-data
Commits
fc38d662
Commit
fc38d662
authored
Jul 08, 2018
by
Pranay Gupta
Browse files
double precision patches to loop~ class and lrshift~ class
parent
c39e4721
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/extra/loop~/loop~.c
View file @
fc38d662
...
...
@@ -14,7 +14,8 @@ This file is downloadable from http://www.crca.ucsd.edu/~msp .
#ifdef PD
#include
"m_pd.h"
#else
#define t_sample float
typedef
float
t_float
;
typedef
float
t_sample
;
#endif
...
...
@@ -96,7 +97,7 @@ static void loopctl_init(t_loopctl *x)
x
->
l_phase
=
0
;
}
static
void
loopctl_set
(
t_loopctl
*
x
,
float
val
)
static
void
loopctl_set
(
t_loopctl
*
x
,
t_
float
val
)
{
if
(
val
<
0
||
val
>
1
)
val
=
0
;
...
...
pd/extra/lrshift~/lrshift~.c
View file @
fc38d662
...
...
@@ -8,7 +8,7 @@ typedef struct _lrshift_tilde
{
t_object
x_obj
;
int
x_n
;
float
x_f
;
t_
float
x_f
;
}
t_lrshift_tilde
;
static
t_int
*
leftshift_perform
(
t_int
*
w
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment