diff --git a/nrcombf~.c b/nrcombf~.c index 6cb05ab..b564a15 100644 --- a/nrcombf~.c +++ b/nrcombf~.c @@ -224,13 +224,10 @@ static void *nrcombf_new(t_symbol *s, int argc, t_atom *argv) sarg = atom_getsymbolarg(i, argc, argv); if (!strcmp(sarg->s_name, "-n")) norm = 1; } - pd_float((t_pd *)inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_signal, - &s_signal), time); - pd_float((t_pd *)inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_signal, - &s_signal),fb); + signalinlet_new(&x->x_obj, time); + signalinlet_new(&x->x_obj, fb); if(!norm) - pd_float((t_pd *)inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_signal, - &s_signal), 1.f); + signalinlet_new(&x->x_obj, 1.0); outlet_new(&x->x_obj, &s_signal); x->x_f = 0; x->c_n = 0; diff --git a/rcombf~.c b/rcombf~.c index 87974f4..df2dcbe 100644 --- a/rcombf~.c +++ b/rcombf~.c @@ -226,13 +226,10 @@ static void *rcombf_new(t_symbol *s, int argc, t_atom *argv) sarg = atom_getsymbolarg(i, argc, argv); if (!strcmp(sarg->s_name, "-n")) norm = 1; } - pd_float((t_pd *)inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_signal, - &s_signal), time); - pd_float((t_pd *)inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_signal, - &s_signal),fb); + signalinlet_new(&x->x_obj, time); + signalinlet_new(&x->x_obj, fb); if(!norm) - pd_float((t_pd *)inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_signal, - &s_signal), 1.f); + signalinlet_new(&x->x_obj, 1.0); outlet_new(&x->x_obj, &s_signal); x->x_f = 0; x->c_n = 0; diff --git a/voisim~.c b/voisim~.c index b980394..c8dd131 100644 --- a/voisim~.c +++ b/voisim~.c @@ -127,8 +127,7 @@ static void *vosim_new(t_symbol *s, int argc, t_atom *argv) { t_vosim *x = (t_vosim *)pd_new(vosim_class); x->x_f = 0.0; x->x_conv = 1.0; - pd_float((t_pd *)inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_signal, - &s_signal), atom_getfloatarg(2, argc, argv)); + signalinlet_new(&x->x_obj, atom_getfloatarg(2, argc, argv)); x->decay = atom_getfloatarg(0, argc, argv); if(argc > 1) x->duty = atom_getfloatarg(1, argc, argv); else x->duty = 1;