Commit 2f8b5ed3 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

sigpack: add A_CANT to dsp method

parent d02c1eba
......@@ -63,5 +63,5 @@ void chop_tilde_setup(void)
chop_tilde_class = class_new(gensym("chop~"), (t_newmethod)chop_tilde_new, 0,
sizeof(t_chop_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(chop_tilde_class, t_chop_tilde, x_f);
class_addmethod(chop_tilde_class, (t_method)chop_tilde_dsp, gensym("dsp"), 0);
class_addmethod(chop_tilde_class, (t_method)chop_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -72,5 +72,5 @@ void decimate_tilde_setup(void)
decimate_tilde_class = class_new(gensym("decimate~"), (t_newmethod)decimate_tilde_new, 0,
sizeof(t_decimate_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(decimate_tilde_class, t_decimate_tilde, x_f);
class_addmethod(decimate_tilde_class, (t_method)decimate_tilde_dsp, gensym("dsp"), 0);
class_addmethod(decimate_tilde_class, (t_method)decimate_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -74,5 +74,5 @@ void diode_tilde_setup(void)
diode_tilde_class = class_new(gensym("diode~"), (t_newmethod)diode_tilde_new, 0,
sizeof(t_diode_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(diode_tilde_class, t_diode_tilde, x_f);
class_addmethod(diode_tilde_class, (t_method)diode_tilde_dsp, gensym("dsp"), 0);
class_addmethod(diode_tilde_class, (t_method)diode_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -66,5 +66,5 @@ void foldback_tilde_setup(void)
foldback_tilde_class = class_new(gensym("foldback~"), (t_newmethod)foldback_tilde_new, 0,
sizeof(t_foldback_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(foldback_tilde_class, t_foldback_tilde, x_f);
class_addmethod(foldback_tilde_class, (t_method)foldback_tilde_dsp, gensym("dsp"), 0);
class_addmethod(foldback_tilde_class, (t_method)foldback_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -67,5 +67,5 @@ void foldover_tilde_setup(void)
foldover_tilde_class = class_new(gensym("foldover~"), (t_newmethod)foldover_tilde_new, 0,
sizeof(t_foldover_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(foldover_tilde_class, t_foldover_tilde, x_f);
class_addmethod(foldover_tilde_class, (t_method)foldover_tilde_dsp, gensym("dsp"), 0);
class_addmethod(foldover_tilde_class, (t_method)foldover_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -96,5 +96,5 @@ void freqdiv_tilde_setup(void)
freqdiv_tilde_class = class_new(gensym("freqdiv~"), (t_newmethod)freqdiv_tilde_new, 0,
sizeof(t_freqdiv_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(freqdiv_tilde_class, t_freqdiv_tilde, x_f);
class_addmethod(freqdiv_tilde_class, (t_method)freqdiv_tilde_dsp, gensym("dsp"), 0);
class_addmethod(freqdiv_tilde_class, (t_method)freqdiv_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -208,5 +208,5 @@ void freqshift_tilde_setup(void)
freqshift_tilde_class = class_new(gensym("freqshift~"), (t_newmethod)freqshift_tilde_new, (t_method)freqshift_tilde_free,
sizeof(t_freqshift_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(freqshift_tilde_class, t_freqshift_tilde, x_f);
class_addmethod(freqshift_tilde_class, (t_method)freqshift_tilde_dsp, gensym("dsp"), 0);
class_addmethod(freqshift_tilde_class, (t_method)freqshift_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -77,5 +77,5 @@ void hardlimit_tilde_setup(void)
hardlimit_tilde_class = class_new(gensym("hardlimit~"), (t_newmethod)hardlimit_tilde_new, 0,
sizeof(t_hardlimit_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(hardlimit_tilde_class, t_hardlimit_tilde, x_f);
class_addmethod(hardlimit_tilde_class, (t_method)hardlimit_tilde_dsp, gensym("dsp"), 0);
class_addmethod(hardlimit_tilde_class, (t_method)hardlimit_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -157,5 +157,5 @@ void harmgen_tilde_setup(void)
harmgen_tilde_class = class_new(gensym("harmgen~"), (t_newmethod)harmgen_tilde_new, 0,
sizeof(t_harmgen_tilde), 0, A_GIMME, 0);
CLASS_MAINSIGNALIN(harmgen_tilde_class, t_harmgen_tilde, x_f);
class_addmethod(harmgen_tilde_class, (t_method)harmgen_tilde_dsp, gensym("dsp"), 0);
class_addmethod(harmgen_tilde_class, (t_method)harmgen_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -73,6 +73,6 @@ void impulse_tilde_setup(void)
impulse_tilde_class = class_new(gensym("impulse~"), (t_newmethod)impulse_tilde_new, 0,
sizeof(t_impulse_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(impulse_tilde_class, t_impulse_tilde, x_f);
class_addmethod(impulse_tilde_class, (t_method)impulse_tilde_dsp, gensym("dsp"), 0);
class_addmethod(impulse_tilde_class, (t_method)impulse_tilde_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(impulse_tilde_class, (t_method)impulse_tilde_ft1, gensym("ft1"), A_FLOAT, 0);
}
......@@ -57,5 +57,5 @@ void rectify_tilde_setup(void)
rectify_tilde_class = class_new(gensym("rectify~"), (t_newmethod)rectify_tilde_new, 0,
sizeof(t_rectify_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(rectify_tilde_class, t_rectify_tilde, x_f);
class_addmethod(rectify_tilde_class, (t_method)rectify_tilde_dsp, gensym("dsp"), 0);
class_addmethod(rectify_tilde_class, (t_method)rectify_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -60,5 +60,5 @@ void round_tilde_setup(void)
round_tilde_class = class_new(gensym("round~"), (t_newmethod)round_tilde_new, 0,
sizeof(t_round_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(round_tilde_class, t_round_tilde, x_f);
class_addmethod(round_tilde_class, (t_method)round_tilde_dsp, gensym("dsp"), 0);
class_addmethod(round_tilde_class, (t_method)round_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -78,6 +78,6 @@ void saturate_tilde_setup(void)
saturate_tilde_class = class_new(gensym("saturate~"), (t_newmethod)saturate_tilde_new, 0,
sizeof(t_saturate_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(saturate_tilde_class, t_saturate_tilde, x_f);
class_addmethod(saturate_tilde_class, (t_method)saturate_tilde_dsp, gensym("dsp"), 0);
class_addmethod(saturate_tilde_class, (t_method)saturate_tilde_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(saturate_tilde_class, (t_method)saturate_tilde_dsp, gensym("sigmoid"), A_FLOAT, 0);
}
......@@ -75,5 +75,5 @@ void shape_tilde_setup(void)
shape_tilde_class = class_new(gensym("shape~"), (t_newmethod)shape_tilde_new, 0,
sizeof(t_shape_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(shape_tilde_class, t_shape_tilde, x_f);
class_addmethod(shape_tilde_class, (t_method)shape_tilde_dsp, gensym("dsp"), 0);
class_addmethod(shape_tilde_class, (t_method)shape_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -101,5 +101,5 @@ void sieve_tilde_setup(void)
sieve_tilde_class = class_new(gensym("sieve~"), (t_newmethod)sieve_tilde_new, 0,
sizeof(t_sieve_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(sieve_tilde_class, t_sieve_tilde, x_f);
class_addmethod(sieve_tilde_class, (t_method)sieve_tilde_dsp, gensym("dsp"), 0);
class_addmethod(sieve_tilde_class, (t_method)sieve_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -68,5 +68,5 @@ void split_tilde_setup(void)
split_tilde_class = class_new(gensym("split~"), (t_newmethod)split_tilde_new, 0,
sizeof(t_split_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(split_tilde_class, t_split_tilde, x_f);
class_addmethod(split_tilde_class, (t_method)split_tilde_dsp, gensym("dsp"), 0);
class_addmethod(split_tilde_class, (t_method)split_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -129,5 +129,5 @@ void transient_tilde_setup(void)
transient_tilde_class = class_new(gensym("transient~"), (t_newmethod)transient_tilde_new, 0,
sizeof(t_transient_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(transient_tilde_class, t_transient_tilde, x_f);
class_addmethod(transient_tilde_class, (t_method)transient_tilde_dsp, gensym("dsp"), 0);
class_addmethod(transient_tilde_class, (t_method)transient_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -79,5 +79,5 @@ void ustep_tilde_setup(void)
ustep_tilde_class = class_new(gensym("ustep~"), (t_newmethod)ustep_tilde_new, 0,
sizeof(t_ustep_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(ustep_tilde_class, t_ustep_tilde, x_f);
class_addmethod(ustep_tilde_class, (t_method)ustep_tilde_dsp, gensym("dsp"), 0);
class_addmethod(ustep_tilde_class, (t_method)ustep_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -151,5 +151,5 @@ void valverect_tilde_setup(void)
valverect_tilde_class = class_new(gensym("valverect~"), (t_newmethod)valverect_tilde_new, (t_method)valverect_tilde_free,
sizeof(t_valverect_tilde), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(valverect_tilde_class, t_valverect_tilde, x_f);
class_addmethod(valverect_tilde_class, (t_method)valverect_tilde_dsp, gensym("dsp"), 0);
class_addmethod(valverect_tilde_class, (t_method)valverect_tilde_dsp, gensym("dsp"), A_CANT, 0);
}
......@@ -113,6 +113,6 @@ void vowel_tilde_setup(void)
vowel_tilde_class = class_new(gensym("vowel~"), (t_newmethod)vowel_tilde_new, 0,
sizeof(t_vowel_tilde), 0, A_DEFFLOAT, 0);
CLASS_MAINSIGNALIN(vowel_tilde_class, t_vowel_tilde, x_f);
class_addmethod(vowel_tilde_class, (t_method)vowel_tilde_dsp, gensym("dsp"), 0);
class_addmethod(vowel_tilde_class, (t_method)vowel_tilde_dsp, gensym("dsp"), A_CANT, 0);
class_addmethod(vowel_tilde_class, (t_method)formant_filter, gensym("formant_filter"), A_GIMME, 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