Commit 1f871fb9 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

mjlib: add A_CANT to dsp method

parent 8190f3cc
......@@ -172,7 +172,7 @@ void convolve_tilde_setup(void)
convolve_tilde_class = class_new(gensym("convolve~"), (t_newmethod) convolve_tilde_new, (t_method) convolve_tilde_free,
sizeof(t_convolve_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN( convolve_tilde_class, t_convolve_tilde, x_f);
class_addmethod(convolve_tilde_class, (t_method) convolve_tilde_dsp, gensym("dsp"), (t_atomtype)0);
class_addmethod(convolve_tilde_class, (t_method) convolve_tilde_dsp, gensym("dsp"), A_CANT, (t_atomtype)0);
class_addmethod(convolve_tilde_class, (t_method) convolve_tilde_ticktime, gensym("tick") , A_DEFFLOAT , (t_atomtype)0 );
class_addmethod(convolve_tilde_class, (t_method) convolve_tilde_prob, gensym("prob") , A_DEFFLOAT , (t_atomtype)0 );
......
......@@ -197,7 +197,7 @@ void pin_tilde_setup(void)
pin_tilde_class = class_new(gensym("pin~"), (t_newmethod) pin_tilde_new, (t_method) pin_tilde_free,
sizeof(t_pin_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN( pin_tilde_class, t_pin_tilde, x_f);
class_addmethod(pin_tilde_class, (t_method) pin_tilde_dsp, gensym("dsp"), (t_atomtype)0);
class_addmethod(pin_tilde_class, (t_method) pin_tilde_dsp, gensym("dsp"), A_CANT, (t_atomtype)0);
class_addmethod(pin_tilde_class, (t_method) pin_tilde_ticktime, gensym("tick") , A_DEFFLOAT , (t_atomtype)0 );
class_addmethod(pin_tilde_class, (t_method) pin_tilde_prob, gensym("prob") , A_DEFFLOAT , (t_atomtype)0 );
......
......@@ -111,7 +111,7 @@ static void *synapseA_tilde_new(t_floatarg prob , t_floatarg tick)
synapseA_tilde_class = class_new(gensym("synapseA~"), (t_newmethod) synapseA_tilde_new, (t_method) synapseA_tilde_free,
sizeof(t_synapseA_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN( synapseA_tilde_class, t_synapseA_tilde, x_f);
class_addmethod(synapseA_tilde_class, (t_method) synapseA_tilde_dsp, gensym("dsp"), (t_atomtype)0);
class_addmethod(synapseA_tilde_class, (t_method) synapseA_tilde_dsp, gensym("dsp"), A_CANT, (t_atomtype)0);
class_addmethod(synapseA_tilde_class, (t_method) synapseA_tilde_threshold, gensym("threshold") , A_DEFFLOAT , (t_atomtype)0 );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment