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
Aayush
purr-data
Commits
5a5521b3
Commit
5a5521b3
authored
Jul 08, 2018
by
Pranay Gupta
Browse files
double precision changes to the bonk class
parent
dc10921a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/extra/bonk~/bonk~.c
View file @
5a5521b3
...
...
@@ -67,6 +67,7 @@ decay and other times in msec
#include
"ext_obex.h"
typedef
double
t_floatarg
;
/* from m_pd.h */
typedef
float
t_float
;
/* from m_pd.h */
#define flog log
#define fexp exp
#define fsqrt sqrt
...
...
@@ -99,12 +100,12 @@ static t_class *bonk_class;
#define DEFOVERLAP 1
#define DEFFIRSTBIN 1
#define DEFMINBANDWIDTH 1.5
#define DEFHITHRESH 5
#define DEFHITHRESH 5
.
#define DEFLOTHRESH 2.5
#define DEFMASKTIME 4
#define DEFMASKDECAY 0.7
#define DEFDEBOUNCEDECAY 0
#define DEFMINVEL 7
#define DEFMINVEL 7
.
#define DEFATTACKBINS 1
#define MAXATTACKWAIT 4
...
...
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