From 0babf7fa297f26f72bfe5ea97ef69a80e120f2e8 Mon Sep 17 00:00:00 2001 From: Cyrille Henry Date: Wed, 8 Sep 2010 16:07:17 +0000 Subject: bugfix : was not working at default sample rate = 44100 svn path=/trunk/externals/nusmuk/; revision=14001 --- tab/tabosci~.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tab/tabosci~.c') 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 -#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); } -- cgit v1.2.1