Commit 36741462 authored by Jonathan Wilkes's avatar Jonathan Wilkes

merge the A_CANT dsp argument with the updated unauthorized code

parent e0eb06fe
......@@ -1042,7 +1042,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);
......
......@@ -175,7 +175,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);
......
......@@ -101,6 +101,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);
}
......@@ -1473,7 +1473,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);
......
......@@ -487,6 +487,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;
......
......@@ -657,7 +657,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;
......
......@@ -263,7 +263,7 @@ void formant_tilde_setup(void)
logpost(NULL, 4, "%s", 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);
......
......@@ -1258,7 +1258,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);
......
......@@ -978,7 +978,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);
......
......@@ -555,7 +555,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);
......
......@@ -675,5 +675,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);
}
......@@ -635,7 +635,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);
......
......@@ -633,7 +633,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);
......
......@@ -114,6 +114,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);
}
......@@ -583,7 +583,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);
......
......@@ -828,7 +828,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);
......
......@@ -2275,7 +2275,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);
......
......@@ -614,5 +614,5 @@ void speexin_tilde_setup(void)
sizeof(t_speexin), CLASS_NOINLET, A_DEFFLOAT, A_DEFFLOAT, A_NULL);
class_addmethod(speexin_class, nullfn, gensym("signal"), 0);
class_addmethod(speexin_class, (t_method) speexin_dsp, gensym("dsp"), 0);
class_addmethod(speexin_class, (t_method) speexin_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -75,6 +75,6 @@ void spigot_tilde_setup(void)
spigot_class = class_new(gensym("spigot~"), (t_newmethod)spigot_new, 0,
sizeof(t_spigot), 0, 0);
CLASS_MAINSIGNALIN( spigot_class, t_spigot, x_f );
class_addmethod(spigot_class, (t_method)spigot_dsp, gensym("dsp"), 0);
class_addmethod(spigot_class, (t_method)spigot_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(spigot_class, (t_method)spigot_set, gensym("seton"), A_FLOAT, 0);
}
......@@ -157,7 +157,7 @@ void vocoder_tilde_setup(void)
vocoder_class = class_new(gensym("vocoder~"), (t_newmethod)vocoder_new, (t_method)vocoder_free,
sizeof(t_vocoder), 0, 0);
CLASS_MAINSIGNALIN( vocoder_class, t_vocoder, x_f );
class_addmethod(vocoder_class, (t_method)vocoder_dsp, gensym("dsp"), 0);
class_addmethod(vocoder_class, (t_method)vocoder_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(vocoder_class, (t_method)vocoder_cutoff, gensym("cutoff"), A_FLOAT, 0);
class_addmethod(vocoder_class, (t_method)vocoder_vfeedback, gensym("vfeedback"), A_FLOAT, 0);
}
......@@ -405,6 +405,6 @@ void wahwah_tilde_setup(void)
class_addmethod(wahwah_class, (t_method)wahwah_maxstep, gensym("maxstep"), A_FLOAT, 0);
class_addmethod(wahwah_class, (t_method)wahwah_dbgain, gensym("dbgain"), A_FLOAT, 0);
class_addmethod(wahwah_class, (t_method)wahwah_bandwidth, gensym("bandwidth"), A_FLOAT, 0);
class_addmethod(wahwah_class, (t_method)wahwah_dsp, gensym("dsp"), 0);
class_addmethod(wahwah_class, (t_method)wahwah_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(wahwah_class, (t_method)wahwah_preset, gensym("preset"), A_FLOAT, 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