Update of /cvsroot/pure-data/externals/sigpack/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31493/source
Modified Files: chop~.c decimate~.c diode~.c foldback~.c foldover~.c freqdiv~.c freqshift~.c harmgen~.c rectify~.c round~.c saturate~.c sieve~.c split~.c ustep~.c vowel~.c Log Message: removed the 'sp.' prefix for Pd-extended builds since its unecessary with the namespace
Index: freqshift~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/freqshift~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** freqshift~.c 9 Jan 2006 21:24:28 -0000 1.1 --- freqshift~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 12,16 **** #endif
! /* ------------------------ sp.freqshift~ ----------------------------- */ /* frequency shifter */ /* code from swh_plugins by steve harris www.plugins.org.uk */ --- 12,16 ---- #endif
! /* ------------------------ freqshift~ ----------------------------- */ /* frequency shifter */ /* code from swh_plugins by steve harris www.plugins.org.uk */ *************** *** 191,195 **** void freqshift_tilde_setup(void) { ! freqshift_tilde_class = class_new(gensym("sp.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); --- 191,195 ---- 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);
Index: split~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/split~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** split~.c 9 Jan 2006 21:24:28 -0000 1.1 --- split~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! /* ------------------------ sp.split~ ----------------------------- */ /* signal splitter */
--- 10,14 ---- #endif
! /* ------------------------ split~ ----------------------------- */ /* signal splitter */
*************** *** 66,70 **** void split_tilde_setup(void) { ! split_tilde_class = class_new(gensym("sp.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); --- 66,70 ---- 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);
Index: diode~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/diode~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** diode~.c 9 Jan 2006 21:24:28 -0000 1.1 --- diode~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 11,15 **** #endif
! /* ------------------------ sp.diode~ ----------------------------- */ /* Mangles the signal as if it had been passed through a diode rectifier network.*/ /* code from swh_plugins by steve harris www.plugin.org.uk */ --- 11,15 ---- #endif
! /* ------------------------ diode~ ----------------------------- */ /* Mangles the signal as if it had been passed through a diode rectifier network.*/ /* code from swh_plugins by steve harris www.plugin.org.uk */ *************** *** 72,76 **** void diode_tilde_setup(void) { ! diode_tilde_class = class_new(gensym("sp.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); --- 72,76 ---- 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);
Index: saturate~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/saturate~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** saturate~.c 9 Jan 2006 21:24:28 -0000 1.1 --- saturate~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 11,15 **** #endif
! /* ------------------------ sp.saturate~ ----------------------------- */ /* signal soft saturation */ /* code from www.musicdsp.org posted by bram de jong */ --- 11,15 ---- #endif
! /* ------------------------ saturate~ ----------------------------- */ /* signal soft saturation */ /* code from www.musicdsp.org posted by bram de jong */ *************** *** 76,80 **** void saturate_tilde_setup(void) { ! saturate_tilde_class = class_new(gensym("sp.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); --- 76,80 ---- 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);
Index: freqdiv~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/freqdiv~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** freqdiv~.c 9 Jan 2006 21:24:28 -0000 1.1 --- freqdiv~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 11,15 **** #endif
! /* ------------------------ sp.freqdiv~ ----------------------------- */ /* frequency divider */ /* code from swh_plugins by steve harris www.plugins.org.uk */ --- 11,15 ---- #endif
! /* ------------------------ freqdiv~ ----------------------------- */ /* frequency divider */ /* code from swh_plugins by steve harris www.plugins.org.uk */ *************** *** 94,98 **** void freqdiv_tilde_setup(void) { ! freqdiv_tilde_class = class_new(gensym("sp.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); --- 94,98 ---- 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);
Index: sieve~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/sieve~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** sieve~.c 9 Jan 2006 21:24:28 -0000 1.1 --- sieve~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! /* ------------------------ sp.sieve~ ----------------------------- */ /* sift samples */
--- 10,14 ---- #endif
! /* ------------------------ sieve~ ----------------------------- */ /* sift samples */
*************** *** 99,103 **** void sieve_tilde_setup(void) { ! sieve_tilde_class = class_new(gensym("sp.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); --- 99,103 ---- 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);
Index: ustep~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/ustep~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ustep~.c 9 Jan 2006 21:24:28 -0000 1.1 --- ustep~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! /* ------------------------ sp.ustep~ ----------------------------- */ /* signal unity step function */
--- 10,14 ---- #endif
! /* ------------------------ ustep~ ----------------------------- */ /* signal unity step function */
*************** *** 77,81 **** void ustep_tilde_setup(void) { ! ustep_tilde_class = class_new(gensym("sp.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); --- 77,81 ---- 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);
Index: round~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/round~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** round~.c 9 Jan 2006 21:24:28 -0000 1.1 --- round~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! /* ------------------------ sp.round~ ----------------------------- */ /* simple rounder */
--- 10,14 ---- #endif
! /* ------------------------ round~ ----------------------------- */ /* simple rounder */
*************** *** 58,62 **** void round_tilde_setup(void) { ! round_tilde_class = class_new(gensym("sp.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); --- 58,62 ---- 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);
Index: decimate~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/decimate~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** decimate~.c 9 Jan 2006 21:24:28 -0000 1.1 --- decimate~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! // ------------------------ sp.decimate~ ----------------------------- // signal decimation // code from musicdsp.org posted by tobybear --- 10,14 ---- #endif
! // ------------------------ decimate~ ----------------------------- // signal decimation // code from musicdsp.org posted by tobybear *************** *** 70,74 **** void decimate_tilde_setup(void) { ! decimate_tilde_class = class_new(gensym("sp.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); --- 70,74 ---- 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);
Index: foldover~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/foldover~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** foldover~.c 9 Jan 2006 21:24:28 -0000 1.1 --- foldover~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! /* ------------------------ sp.foldover~ ----------------------------- */ /* foldover distortion */ /* code from swh_plugins by steve harris www.plugin.org.uk */ --- 10,14 ---- #endif
! /* ------------------------ foldover~ ----------------------------- */ /* foldover distortion */ /* code from swh_plugins by steve harris www.plugin.org.uk */ *************** *** 65,69 **** void foldover_tilde_setup(void) { ! foldover_tilde_class = class_new(gensym("sp.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); --- 65,69 ---- 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);
Index: rectify~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/rectify~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** rectify~.c 9 Jan 2006 21:24:28 -0000 1.1 --- rectify~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! /* ------------------------ sp.rectify~ ----------------------------- */ /* flips negative signal values to positive */
--- 10,14 ---- #endif
! /* ------------------------ rectify~ ----------------------------- */ /* flips negative signal values to positive */
*************** *** 55,59 **** void rectify_tilde_setup(void) { ! rectify_tilde_class = class_new(gensym("sp.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); --- 55,59 ---- 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);
Index: vowel~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/vowel~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** vowel~.c 9 Jan 2006 21:24:28 -0000 1.1 --- vowel~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! /* ------------------------ sp.vowel~ ----------------------------- */ /* simple formant filter */ /* code from musicdsp.org posted by alex@smartelectronix.com */ --- 10,14 ---- #endif
! /* ------------------------ vowel~ ----------------------------- */ /* simple formant filter */ /* code from musicdsp.org posted by alex@smartelectronix.com */ *************** *** 111,115 **** void vowel_tilde_setup(void) { ! vowel_tilde_class = class_new(gensym("sp.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); --- 111,115 ---- 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);
Index: chop~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/chop~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** chop~.c 9 Jan 2006 21:24:28 -0000 1.1 --- chop~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! // ------------------------ sp.chop~ ----------------------------- // signal chopping modulator
--- 10,14 ---- #endif
! // ------------------------ chop~ ----------------------------- // signal chopping modulator
*************** *** 61,65 **** void chop_tilde_setup(void) { ! chop_tilde_class = class_new(gensym("sp.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); --- 61,65 ---- 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);
Index: foldback~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/foldback~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** foldback~.c 9 Jan 2006 21:24:28 -0000 1.1 --- foldback~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 10,14 **** #endif
! /* ------------------------ sp.foldback~ ----------------------------- */ /* signal mirror */
--- 10,14 ---- #endif
! /* ------------------------ foldback~ ----------------------------- */ /* signal mirror */
*************** *** 64,68 **** void foldback_tilde_setup(void) { ! foldback_tilde_class = class_new(gensym("sp.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); --- 64,68 ---- 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);
Index: harmgen~.c =================================================================== RCS file: /cvsroot/pure-data/externals/sigpack/source/harmgen~.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** harmgen~.c 9 Jan 2006 21:24:28 -0000 1.1 --- harmgen~.c 17 Jan 2006 16:30:01 -0000 1.2 *************** *** 12,16 **** #define HARMONICS 11
! // ------------------------ sp.harmgen~ ----------------------------- // harmonic generator // code from swh_plugins by steve harris www.plugins.org.uk --- 12,16 ---- #define HARMONICS 11
! // ------------------------ harmgen~ ----------------------------- // harmonic generator // code from swh_plugins by steve harris www.plugins.org.uk *************** *** 155,159 **** void harmgen_tilde_setup(void) { ! harmgen_tilde_class = class_new(gensym("sp.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); --- 155,159 ---- 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);