From d27d9e33f19264c405979b49441f1d63b5b0e0ad Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 25 Sep 2003 20:58:55 +0000 Subject: updated externals so that the help files work in 0.37. Unfortunately this breaks <=0.36 support :( svn path=/trunk/externals/unauthorized/; revision=1034 --- mp3write~/help-mp3write~.pd | 43 ------------------------------------------- mp3write~/mp3write~-help.pd | 43 +++++++++++++++++++++++++++++++++++++++++++ mp3write~/mp3write~.c | 1 - 3 files changed, 43 insertions(+), 44 deletions(-) delete mode 100644 mp3write~/help-mp3write~.pd create mode 100644 mp3write~/mp3write~-help.pd (limited to 'mp3write~') diff --git a/mp3write~/help-mp3write~.pd b/mp3write~/help-mp3write~.pd deleted file mode 100644 index 0e575ba..0000000 --- a/mp3write~/help-mp3write~.pd +++ /dev/null @@ -1,43 +0,0 @@ -#N canvas 168 244 736 325 10; -#X floatatom 53 24 0 40 16000; -#X msg 168 278 \; pd dsp 1; -#X text 287 196 <-- settings for mp3 stream; -#X text 310 226 bitrate: bitrate of stream \, def. 224kbit/s; -#X text 347 250 1 = joint stereo (default); -#X text 307 288 quality: 1 = high \, 9 = low; -#X text 308 208 (samplerate \, bitrate \, mode \, quality); -#X text 311 238 mode: 0 = stereo; -#X text 347 262 2 = dual channel; -#X text 347 275 3 = mono; -#X msg 171 143 print; -#X msg 234 278 \; pd dsp 0; -#X obj 51 59 osc~ 440; -#X msg 169 174 mpeg 44100 128 1 4; -#X msg 171 121 truncate; -#X msg 171 98 append; -#X msg 170 72 stop; -#X msg 170 49 start; -#X text 370 24 Open a file before any operations; -#X text 228 95 Set recording mode to append ( which is the default -); -#X text 208 48 Start recording; -#X text 231 118 Set recording mode to truncate; -#X text 218 142 Print settings; -#X floatatom 116 258 10 0 0; -#X text 10 254 Bytes written; -#X text 208 71 Stop recording ( this also writes a tag ); -#X msg 169 198 mpeg 44100 8 3 5; -#X msg 170 25 open /tmp/track1.mp3; -#X obj 116 234 mp3write~; -#X connect 0 0 12 0; -#X connect 10 0 28 0; -#X connect 12 0 28 0; -#X connect 12 0 28 1; -#X connect 13 0 28 0; -#X connect 14 0 28 0; -#X connect 15 0 28 0; -#X connect 16 0 28 0; -#X connect 17 0 28 0; -#X connect 26 0 28 0; -#X connect 27 0 28 0; -#X connect 28 0 23 0; diff --git a/mp3write~/mp3write~-help.pd b/mp3write~/mp3write~-help.pd new file mode 100644 index 0000000..0e575ba --- /dev/null +++ b/mp3write~/mp3write~-help.pd @@ -0,0 +1,43 @@ +#N canvas 168 244 736 325 10; +#X floatatom 53 24 0 40 16000; +#X msg 168 278 \; pd dsp 1; +#X text 287 196 <-- settings for mp3 stream; +#X text 310 226 bitrate: bitrate of stream \, def. 224kbit/s; +#X text 347 250 1 = joint stereo (default); +#X text 307 288 quality: 1 = high \, 9 = low; +#X text 308 208 (samplerate \, bitrate \, mode \, quality); +#X text 311 238 mode: 0 = stereo; +#X text 347 262 2 = dual channel; +#X text 347 275 3 = mono; +#X msg 171 143 print; +#X msg 234 278 \; pd dsp 0; +#X obj 51 59 osc~ 440; +#X msg 169 174 mpeg 44100 128 1 4; +#X msg 171 121 truncate; +#X msg 171 98 append; +#X msg 170 72 stop; +#X msg 170 49 start; +#X text 370 24 Open a file before any operations; +#X text 228 95 Set recording mode to append ( which is the default +); +#X text 208 48 Start recording; +#X text 231 118 Set recording mode to truncate; +#X text 218 142 Print settings; +#X floatatom 116 258 10 0 0; +#X text 10 254 Bytes written; +#X text 208 71 Stop recording ( this also writes a tag ); +#X msg 169 198 mpeg 44100 8 3 5; +#X msg 170 25 open /tmp/track1.mp3; +#X obj 116 234 mp3write~; +#X connect 0 0 12 0; +#X connect 10 0 28 0; +#X connect 12 0 28 0; +#X connect 12 0 28 1; +#X connect 13 0 28 0; +#X connect 14 0 28 0; +#X connect 15 0 28 0; +#X connect 16 0 28 0; +#X connect 17 0 28 0; +#X connect 26 0 28 0; +#X connect 27 0 28 0; +#X connect 28 0 23 0; diff --git a/mp3write~/mp3write~.c b/mp3write~/mp3write~.c index 8374703..e3afe7c 100644 --- a/mp3write~/mp3write~.c +++ b/mp3write~/mp3write~.c @@ -711,7 +711,6 @@ 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_sethelpsymbol(mp3write_class, gensym("help-mp3write~.pd")); class_addmethod(mp3write_class, (t_method)mp3write_dsp, gensym("dsp"), 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); -- cgit v1.2.1