aboutsummaryrefslogtreecommitdiff
path: root/tab
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2010-09-08 16:07:17 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2010-09-08 16:07:17 +0000
commit0babf7fa297f26f72bfe5ea97ef69a80e120f2e8 (patch)
tree3e24485226dfa8315cacf12e7b7876c2d0be5db3 /tab
parent741b5147f2774523ec152f78f5b40095fb5beb61 (diff)
bugfix : was not working at default sample rate = 44100
svn path=/trunk/externals/nusmuk/; revision=14001
Diffstat (limited to 'tab')
-rw-r--r--tab/tabosci~.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tab/tabosci~.c b/tab/tabosci~.c
index d7cdc51..9936c77 100644
--- a/tab/tabosci~.c
+++ b/tab/tabosci~.c
@@ -42,7 +42,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
#include "m_pd.h"
#include <math.h>
-#define max(a,b) ( ((a) > (b)) ? (a) : (b) )
+#define max(a,b) ( ((a) > (b)) ? (a) : (b) )
#define min(a,b) ( ((a) < (b)) ? (a) : (b) )
/******************** tabosci~ ***********************/
@@ -173,7 +173,7 @@ static void *tabosci_tilde_new(t_symbol *s)
x->x_f = 0;
x->cutoff = 0;
x->upsample = 1;
- x->x_sr = 44100;
+ x->x_sr = 0;
tabosci_tilde_cutoff(x,0); // comput filter coef
return (x);
}