Commit faa16c3d authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

unauthorized library: add A_CANT to dsp method

parent 9c6198c4
......@@ -1038,7 +1038,7 @@ void audience_tilde_setup(void)
audience_class_tilde = class_new(gensym("audience~"), (t_newmethod)audience_new,
(t_method)audience_free, sizeof(t_audience_tilde), 0, A_GIMME, 0);
CLASS_MAINSIGNALIN( audience_class_tilde, t_audience_tilde, x_f );
class_addmethod(audience_class_tilde, (t_method)audience_dsp, gensym("dsp"), 0);
class_addmethod(audience_class_tilde, (t_method)audience_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(audience_class_tilde, (t_method)audience_dialog, gensym("dialog"), A_GIMME, 0);
class_addmethod(audience_class_tilde, (t_method)audience_attenuation, gensym("attenuation"), A_DEFFLOAT, 0);
class_addmethod(audience_class_tilde, (t_method)audience_delay, gensym("delay"), A_DEFFLOAT, 0);
......
......@@ -168,7 +168,7 @@ void beatify_tilde_setup(void)
beatify_class = class_new(gensym("beatify~"), (t_newmethod)beatify_new, 0,
sizeof(t_beatify), 0, 0);
CLASS_MAINSIGNALIN( beatify_class, t_beatify, x_f );
class_addmethod(beatify_class, (t_method)beatify_dsp, gensym("dsp"), 0);
class_addmethod(beatify_class, (t_method)beatify_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(beatify_class, (t_method)beatify_attack, gensym("attack"), A_FLOAT, 0);
class_addmethod(beatify_class, (t_method)beatify_sustain, gensym("sustain"), A_FLOAT, 0);
class_addmethod(beatify_class, (t_method)beatify_decay, gensym("decay"), A_FLOAT, 0);
......
......@@ -99,6 +99,6 @@ void compressor_tilde_setup(void)
compressor_class = class_new(gensym("compressor~"), (t_newmethod)compressor_new, 0,
sizeof(t_compressor), 0, 0);
CLASS_MAINSIGNALIN( compressor_class, t_compressor, x_f );
class_addmethod(compressor_class, (t_method)compressor_dsp, gensym("dsp"), 0);
class_addmethod(compressor_class, (t_method)compressor_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(compressor_class, (t_method)compressor_strength, gensym("strength"), A_FLOAT, 0);
}
......@@ -1372,7 +1372,7 @@ void cooled_tilde_setup(void)
class_setsavefn(cooled_class, cooled_save);
CLASS_MAINSIGNALIN( cooled_class, t_cooled, x_f );
class_addmethod(cooled_class, (t_method)cooled_dsp, gensym("dsp"), A_NULL);
class_addmethod(cooled_class, (t_method)cooled_dsp, gensym("dsp"), A_CANT, A_NULL);
class_addmethod(cooled_class, (t_method)cooled_record, gensym("record"), A_NULL);
class_addmethod(cooled_class, (t_method)cooled_resize, gensym("resize"), A_FLOAT, A_NULL);
class_addmethod(cooled_class, (t_method)cooled_zoom, gensym("zoom"), A_FLOAT, A_NULL);
......
......@@ -485,6 +485,6 @@ void disto_tilde_setup(void)
class_addmethod(disto_class, (t_method)disto_hipassQ, gensym("hipassQ"), A_FLOAT, 0);
class_addmethod(disto_class, (t_method)disto_lowpassfreq, gensym("lowpassfreq"), A_FLOAT, 0);
class_addmethod(disto_class, (t_method)disto_lowpassQ, gensym("lowpassQ"), A_FLOAT, 0);
class_addmethod(disto_class, (t_method)disto_dsp, gensym("dsp"), 0);
class_addmethod(disto_class, (t_method)disto_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(disto_class, (t_method)disto_preset, gensym("preset"), A_FLOAT, 0);
}
......@@ -800,7 +800,7 @@ void exciter_setup(void)
class_addmethod(exciter_class, (t_method)exciter_reset, gensym("reset"), 0);
class_addmethod(exciter_class, (t_method)exciter_pause, gensym("pause"), 0);
class_addmethod(exciter_class, (t_method)exciter_resume, gensym("resume"), 0);
class_addmethod(exciter_class, (t_method)exciter_dsp, gensym("dsp"), A_NULL);
class_addmethod(exciter_class, (t_method)exciter_dsp, gensym("dsp"), A_CANT, A_NULL);
exciter_widgetbehavior.w_getrectfn = exciter_getrect;
exciter_widgetbehavior.w_displacefn = exciter_displace;
exciter_widgetbehavior.w_selectfn = exciter_select;
......
......@@ -645,7 +645,7 @@ void filterbank_tilde_setup(void)
filterbank_class_tilde = class_new(gensym("filterbank~"), (t_newmethod)filterbank_new,
(t_method)filterbank_free, sizeof(t_filterbank_tilde), 0, A_GIMME, 0);
CLASS_MAINSIGNALIN( filterbank_class_tilde, t_filterbank_tilde, x_f );
class_addmethod(filterbank_class_tilde, (t_method)filterbank_dsp, gensym("dsp"), 0);
class_addmethod(filterbank_class_tilde, (t_method)filterbank_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(filterbank_class_tilde, (t_method)filterbank_dialog, gensym("dialog"), A_GIMME, 0);
class_addmethod(filterbank_class_tilde, (t_method)filterbank_randomize, gensym("randomize"), A_DEFFLOAT, 0);
filterbank_widgetbehavior.w_getrectfn = filterbank_getrect;
......
......@@ -243,7 +243,7 @@ void formant_tilde_setup(void)
post(formant_version);
formant_class = class_new(gensym("formant~"), (t_newmethod)formant_new, (t_method)formant_free,
sizeof(t_formant), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);
class_addmethod(formant_class, (t_method)formant_dsp, gensym("dsp"), 0);
class_addmethod(formant_class, (t_method)formant_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(formant_class, (t_method)formant_size, gensym("size"), A_FLOAT, 0);
class_addmethod(formant_class, (t_method)formant_bang, gensym("bang"), 0);
class_addmethod(formant_class, (t_method)formant_central_freq, gensym("freq"), A_FLOAT, 0);
......
......@@ -1254,7 +1254,7 @@ void mp3amp_tilde_setup(void)
sizeof(t_mp3amp), 0, A_DEFFLOAT, A_NULL);
class_addmethod(mp3amp_class, nullfn, gensym("signal"), 0);
class_addmethod(mp3amp_class, (t_method)mp3amp_dsp, gensym("dsp"), 0);
class_addmethod(mp3amp_class, (t_method)mp3amp_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(mp3amp_class, (t_method)mp3amp_connect, gensym("connect"), A_SYMBOL, A_SYMBOL, A_FLOAT, 0);
class_addmethod(mp3amp_class, (t_method)mp3amp_connect_url, gensym("connecturl"), A_SYMBOL, 0);
class_addmethod(mp3amp_class, (t_method)mp3amp_standby, gensym("standby"), A_DEFFLOAT, 0);
......
......@@ -951,7 +951,7 @@ void mp3cast_tilde_setup(void)
mp3cast_class = class_new(gensym("mp3cast~"), (t_newmethod)mp3cast_new, (t_method)mp3cast_free,
sizeof(t_mp3cast), 0, 0);
CLASS_MAINSIGNALIN(mp3cast_class, t_mp3cast, x_f );
class_addmethod(mp3cast_class, (t_method)mp3cast_dsp, gensym("dsp"), 0);
class_addmethod(mp3cast_class, (t_method)mp3cast_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(mp3cast_class, (t_method)mp3cast_connect, gensym("connect"), A_SYMBOL, A_FLOAT, 0);
class_addmethod(mp3cast_class, (t_method)mp3cast_disconnect, gensym("disconnect"), 0);
class_addmethod(mp3cast_class, (t_method)mp3cast_password, gensym("passwd"), A_SYMBOL, 0);
......
......@@ -547,7 +547,7 @@ void mp3fileout_tilde_setup(void)
sizeof(t_mp3fileout), 0, A_NULL);
class_addmethod(mp3fileout_class, nullfn, gensym("signal"), 0);
class_addmethod(mp3fileout_class, (t_method) mp3fileout_dsp, gensym("dsp"), 0);
class_addmethod(mp3fileout_class, (t_method) mp3fileout_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(mp3fileout_class, (t_method)mp3fileout_connect, gensym("connect"), A_SYMBOL, A_FLOAT, 0);
class_addmethod(mp3fileout_class, (t_method)mp3fileout_open, gensym("open"), A_SYMBOL, 0);
class_addmethod(mp3fileout_class, (t_method)mp3fileout_disconnect, gensym("disconnect"), 0);
......
......@@ -667,5 +667,5 @@ void mp3streamin_tilde_setup(void)
sizeof(t_mp3streamin), CLASS_NOINLET, A_DEFFLOAT, A_DEFFLOAT, A_NULL);
class_addmethod(mp3streamin_class, nullfn, gensym("signal"), 0);
class_addmethod(mp3streamin_class, (t_method) mp3streamin_dsp, gensym("dsp"), 0);
class_addmethod(mp3streamin_class, (t_method) mp3streamin_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -608,7 +608,7 @@ void mp3streamout_tilde_setup(void)
mp3streamout_class = class_new(gensym("mp3streamout~"), (t_newmethod)mp3streamout_new, (t_method)mp3streamout_free,
sizeof(t_mp3streamout), 0, 0);
CLASS_MAINSIGNALIN(mp3streamout_class, t_mp3streamout, x_f );
class_addmethod(mp3streamout_class, (t_method)mp3streamout_dsp, gensym("dsp"), 0);
class_addmethod(mp3streamout_class, (t_method)mp3streamout_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(mp3streamout_class, (t_method)mp3streamout_connect, gensym("connect"), A_SYMBOL, A_FLOAT, 0);
class_addmethod(mp3streamout_class, (t_method)mp3streamout_disconnect, gensym("disconnect"), 0);
class_addmethod(mp3streamout_class, (t_method)mp3streamout_mpeg, gensym("mpeg"), A_FLOAT, A_FLOAT, A_FLOAT, 0);
......
......@@ -597,7 +597,7 @@ void mp3write_tilde_setup(void)
mp3write_class = class_new(gensym("mp3write~"), (t_newmethod)mp3write_new, (t_method)mp3write_free,
sizeof(t_mp3write), 0, 0);
CLASS_MAINSIGNALIN(mp3write_class, t_mp3write, x_f );
class_addmethod(mp3write_class, (t_method)mp3write_dsp, gensym("dsp"), 0);
class_addmethod(mp3write_class, (t_method)mp3write_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(mp3write_class, (t_method)mp3write_open, gensym("open"), A_SYMBOL, 0);
class_addmethod(mp3write_class, (t_method)mp3write_mpeg, gensym("mpeg"), A_FLOAT, A_FLOAT, A_FLOAT, A_FLOAT, 0);
class_addmethod(mp3write_class, (t_method)mp3write_start, gensym("start"), 0);
......
......@@ -110,6 +110,6 @@ void randomblock_tilde_setup(void)
randomblock_class = class_new(gensym("randomblock~"), (t_newmethod)randomblock_new,
(t_method)randomblock_free,
sizeof(t_randomblock), 0, A_DEFFLOAT, 0);
class_addmethod( randomblock_class, (t_method)randomblock_dsp, gensym("dsp"), 0);
class_addmethod( randomblock_class, (t_method)randomblock_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod( randomblock_class, (t_method)randomblock_limit, gensym("limit"), A_FLOAT, 0);
}
......@@ -515,7 +515,7 @@ void samplebox_tilde_setup(void)
samplebox_class = class_new(gensym("samplebox~"), (t_newmethod)samplebox_new, (t_method)samplebox_free,
sizeof(t_samplebox), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN( samplebox_class, t_samplebox, x_f );
class_addmethod(samplebox_class, (t_method)samplebox_dsp, gensym("dsp"), 0);
class_addmethod(samplebox_class, (t_method)samplebox_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(samplebox_class, (t_method)samplebox_record, gensym("record"), 0);
class_addmethod(samplebox_class, (t_method)samplebox_resize, gensym("resize"), A_FLOAT, 0);
class_addmethod(samplebox_class, (t_method)samplebox_swapblocks, gensym("swapblocks"), A_FLOAT, A_FLOAT, A_FLOAT, 0);
......
......@@ -803,7 +803,7 @@ void scratcher_tilde_setup(void)
#endif
CLASS_MAINSIGNALIN( scratcher_class, t_scratcher, x_f );
class_addmethod(scratcher_class, (t_method)scratcher_dsp, gensym("dsp"), A_NULL);
class_addmethod(scratcher_class, (t_method)scratcher_dsp, gensym("dsp"), A_CANT, A_NULL);
class_addmethod(scratcher_class, (t_method)scratcher_record, gensym("record"), A_NULL);
class_addmethod(scratcher_class, (t_method)scratcher_resize, gensym("resize"), A_FLOAT, A_NULL);
class_addmethod(scratcher_class, (t_method)scratcher_sensibility, gensym("sensibility"), A_FLOAT, A_NULL);
......
......@@ -2010,7 +2010,7 @@ void sonogram_tilde_setup(void)
#endif
CLASS_MAINSIGNALIN( sonogram_class, t_sonogram, x_f );
class_addmethod(sonogram_class, (t_method)sonogram_dsp, gensym("dsp"), A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_dsp, gensym("dsp"), A_CANT, A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_record, gensym("record"), A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_enhance, gensym("enhance"), A_FLOAT, A_FLOAT, A_FLOAT, A_FLOAT, A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_add, gensym("add"), A_FLOAT, A_FLOAT, A_FLOAT, A_NULL);
......
......@@ -1984,7 +1984,7 @@ void sonogram_tilde_setup(void)
#endif
CLASS_MAINSIGNALIN( sonogram_class, t_sonogram, x_f );
class_addmethod(sonogram_class, (t_method)sonogram_dsp, gensym("dsp"), A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_dsp, gensym("dsp"), A_CANT, A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_record, gensym("record"), A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_enhance, gensym("enhance"), A_FLOAT, A_FLOAT, A_FLOAT, A_FLOAT, A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_add, gensym("add"), A_FLOAT, A_FLOAT, A_FLOAT, A_NULL);
......
......@@ -2052,7 +2052,7 @@ void sonogram_tilde_setup(void)
#endif
CLASS_MAINSIGNALIN( sonogram_class, t_sonogram, x_f );
class_addmethod(sonogram_class, (t_method)sonogram_dsp, gensym("dsp"), A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_dsp, gensym("dsp"), A_CANT, A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_record, gensym("record"), A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_enhance, gensym("enhance"), A_FLOAT, A_FLOAT, A_FLOAT, A_FLOAT, A_NULL);
class_addmethod(sonogram_class, (t_method)sonogram_add, gensym("add"), A_FLOAT, A_FLOAT, A_FLOAT, A_NULL);
......
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