diff options
Diffstat (limited to 'iemlib1/src')
-rw-r--r-- | iemlib1/src/iem_pow4~.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/iemlib1/src/iem_pow4~.c b/iemlib1/src/iem_pow4~.c index a34a490..3a87064 100644 --- a/iemlib1/src/iem_pow4~.c +++ b/iemlib1/src/iem_pow4~.c @@ -14,13 +14,13 @@ static t_class *iem_pow4_tilde_class; typedef struct _iem_pow4_tilde { t_object x_obj; - t_sample x_exp; + t_sample x_expo; t_float x_float_sig_in; } t_iem_pow4_tilde; static void iem_pow4_tilde_ft1(t_iem_pow4_tilde *x, t_floatarg f) { - x->x_exp = (t_sample)f; + x->x_expo = (t_sample)f; } static t_int *iem_pow4_tilde_perform(t_int *w) @@ -28,7 +28,7 @@ static t_int *iem_pow4_tilde_perform(t_int *w) t_sample *in = (t_sample *)(w[1]); t_sample *out = (t_sample *)(w[2]); t_iem_pow4_tilde *x = (t_iem_pow4_tilde *)(w[3]); - t_sample exp=x->x_exp; + t_sample expo=x->x_expo; t_sample f, g; int n = (int)(w[4])/4; @@ -38,13 +38,13 @@ static t_int *iem_pow4_tilde_perform(t_int *w) if(f > 0.0) { g = log(f); - f = exp(g * exp); + f = exp(g * expo); *out++ = f; *out++ = f; *out++ = f; *out++ = f; - /*g = pow(f, exp); + /*g = pow(f, expo); *out++ = g; *out++ = g; *out++ = g; @@ -71,7 +71,7 @@ static void *iem_pow4_tilde_new(t_floatarg f) { t_iem_pow4_tilde *x = (t_iem_pow4_tilde *)pd_new(iem_pow4_tilde_class); - x->x_exp = (t_sample)f; + x->x_expo = (t_sample)f; inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_float, gensym("ft1")); outlet_new(&x->x_obj, gensym("signal")); x->x_float_sig_in = 0.0; |