Skip to content
Snippets Groups Projects
Commit ace7f65b authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

motex: add A_CANT to dsp method

parent b5051494
No related branches found
No related tags found
No related merge requests found
...@@ -126,5 +126,5 @@ void ln_tilde_setup(void) ...@@ -126,5 +126,5 @@ void ln_tilde_setup(void)
ln_class = class_new(gensym("ln~"), (t_newmethod)ln_new, 0, ln_class = class_new(gensym("ln~"), (t_newmethod)ln_new, 0,
sizeof(t_ln), 0, A_DEFFLOAT, 0); sizeof(t_ln), 0, A_DEFFLOAT, 0);
class_addmethod(ln_class, nullfn, gensym("signal"), 0); class_addmethod(ln_class, nullfn, gensym("signal"), 0);
class_addmethod(ln_class, (t_method)ln_dsp, gensym("dsp"), 0); class_addmethod(ln_class, (t_method)ln_dsp, gensym("dsp"), A_CANT, 0);
} }
...@@ -131,6 +131,6 @@ void pansig_tilde_setup(void) ...@@ -131,6 +131,6 @@ void pansig_tilde_setup(void)
sizeof(t_pansig), 0, A_GIMME, 0); sizeof(t_pansig), 0, A_GIMME, 0);
class_addmethod(pansig_class, nullfn, gensym("signal"), 0); class_addmethod(pansig_class, nullfn, gensym("signal"), 0);
class_addmethod(pansig_class, (t_method)pansig_dsp, gensym("dsp"), 0); class_addmethod(pansig_class, (t_method)pansig_dsp, gensym("dsp"), A_CANT, 0);
// class_addmethod(pansig_class, (t_method)pansig_f, gensym("pansigf"), A_FLOAT, 0); // class_addmethod(pansig_class, (t_method)pansig_f, gensym("pansigf"), A_FLOAT, 0);
} }
...@@ -99,6 +99,6 @@ void pan_tilde_setup(void) ...@@ -99,6 +99,6 @@ void pan_tilde_setup(void)
sizeof(t_pan), 0, A_GIMME, 0); sizeof(t_pan), 0, A_GIMME, 0);
class_addmethod(pan_class, nullfn, gensym("signal"), 0); class_addmethod(pan_class, nullfn, gensym("signal"), 0);
class_addmethod(pan_class, (t_method)pan_dsp, gensym("dsp"), 0); class_addmethod(pan_class, (t_method)pan_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(pan_class, (t_method)pan_f, gensym("panf"), A_FLOAT, 0); class_addmethod(pan_class, (t_method)pan_f, gensym("panf"), A_FLOAT, 0);
} }
...@@ -131,7 +131,7 @@ void pol2rec_tilde_setup(void) ...@@ -131,7 +131,7 @@ void pol2rec_tilde_setup(void)
sizeof(t_pol2rec), 0, A_GIMME, 0); sizeof(t_pol2rec), 0, A_GIMME, 0);
class_addmethod(pol2rec_class, nullfn, gensym("signal"), 0); class_addmethod(pol2rec_class, nullfn, gensym("signal"), 0);
class_addmethod(pol2rec_class, (t_method)pol2rec_dsp, gensym("dsp"), 0); class_addmethod(pol2rec_class, (t_method)pol2rec_dsp, gensym("dsp"), A_CANT, 0);
CLASS_MAINSIGNALIN(pol2rec_class, t_pol2rec, x_f); CLASS_MAINSIGNALIN(pol2rec_class, t_pol2rec, x_f);
} }
...@@ -499,7 +499,7 @@ void polygate_tilde_setup(void) ...@@ -499,7 +499,7 @@ void polygate_tilde_setup(void)
polygate_class = class_new(gensym("polygate~"), (t_newmethod)polygate_new, (t_method)polygate_free, polygate_class = class_new(gensym("polygate~"), (t_newmethod)polygate_new, (t_method)polygate_free,
sizeof(t_polygate), 0, A_GIMME, 0); sizeof(t_polygate), 0, A_GIMME, 0);
class_addmethod(polygate_class, nullfn, gensym("signal"), 0); class_addmethod(polygate_class, nullfn, gensym("signal"), 0);
class_addmethod(polygate_class, (t_method)polygate_dsp, gensym("dsp"), 0); class_addmethod(polygate_class, (t_method)polygate_dsp, gensym("dsp"), A_CANT, 0);
CLASS_MAINSIGNALIN(polygate_class, t_polygate, x_f); CLASS_MAINSIGNALIN(polygate_class, t_polygate, x_f);
class_addmethod(polygate_class, (t_method)polygate_f, gensym("choice"), A_FLOAT, 0); class_addmethod(polygate_class, (t_method)polygate_f, gensym("choice"), A_FLOAT, 0);
class_addmethod(polygate_class, (t_method)polygate_ftimeepower, gensym("ftime-epower"), A_FLOAT, (t_atomtype) 0); class_addmethod(polygate_class, (t_method)polygate_ftimeepower, gensym("ftime-epower"), A_FLOAT, (t_atomtype) 0);
......
...@@ -124,7 +124,7 @@ void rec2pol_tilde_setup(void) ...@@ -124,7 +124,7 @@ void rec2pol_tilde_setup(void)
sizeof(t_rec2pol), 0, A_GIMME, 0); sizeof(t_rec2pol), 0, A_GIMME, 0);
class_addmethod(rec2pol_class, nullfn, gensym("signal"), 0); class_addmethod(rec2pol_class, nullfn, gensym("signal"), 0);
class_addmethod(rec2pol_class, (t_method)rec2pol_dsp, gensym("dsp"), 0); class_addmethod(rec2pol_class, (t_method)rec2pol_dsp, gensym("dsp"), A_CANT, 0);
CLASS_MAINSIGNALIN(rec2pol_class, t_rec2pol, x_f); CLASS_MAINSIGNALIN(rec2pol_class, t_rec2pol, x_f);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment