Permalink
Browse files

Merged pjsa's (PJ Saghe) u_record-help to master branch.

  • Loading branch information...
Joe White Joe White
Joe White authored and Joe White committed Feb 25, 2011
1 parent 2feec24 commit 1dfb601f852975f694dba02e7606d79cc675c88f
Showing with 82 additions and 91 deletions.
  1. +82 −91 rj/u_record-help.pd
View
@@ -1,97 +1,88 @@
-#N canvas 4 22 1276 756 10;
-#X floatatom 666 420 8 0 0 3 dur_in_smps - -;
-#X floatatom 592 420 8 0 0 3 dur_in_ms - -;
-#X msg 721 187 info;
-#X obj 882 409 s_playtable;
-#X obj 882 451 soundoutput;
-#X msg 1026 377 sr 44100;
-#X msg 1027 354 sr 22050;
-#X symbolatom 517 420 10 0 0 3 table_name - -;
-#X msg 1027 409 stop;
-#X obj 517 370 unpack s f f f;
-#X floatatom 750 420 6 0 0 3 samplerate - -;
-#X obj 882 357 symbol \$0-sample;
-#X msg 882 335 bang;
-#X msg 697 51 start;
-#X msg 706 97 stop;
-#X text 770 181 output list containing: <table name> <recording duration
-in ms> <rec. duration in samples> <samplerate>;
-#X msg 715 125 clear;
-#X msg 716 152 normalize;
-#X text 792 153 normalize so that largest sample value is 1;
-#X text 784 515 s_playtable can be used to play the sample;
-#X obj 544 234 soundinput;
-#X text 690 331 <name> <maxdur>;
-#X text 760 98 stop recording;
-#X text 751 50 start recording. Does not clear previous recordings!
-;
-#X text 767 127 delete recording and set duration to 0;
-#X msg 719 272 clear \, start;
-#X text 820 272 You can combine messages like this.;
-#X msg 720 229 fade \$1;
-#X floatatom 720 212 5 0 0 0 - - -;
-#X text 794 216 default behaviour is to fade in and out over 5 msec.
-You can change this time with "fade x" messages;
-#X obj 517 330 u_record \$0-sample 2000;
-#X obj 518 144 osc~ 440;
-#X obj 544 270 *~ 0;
-#X obj 584 271 tgl 15 0 empty empty microphone 17 7 1 10 -262144 -1
--1 0 1;
-#X obj 557 204 tgl 15 0 empty empty sine_wave 17 7 1 10 -262144 -1
+#N canvas -6 28 1188 499 10;
+#X msg 752 201 info;
+#X msg 652 51 start;
+#X msg 692 111 stop;
+#X msg 712 141 clear;
+#X msg 732 171 normalize;
+#X msg 792 278 clear \, start;
+#X msg 772 248 fade \$1;
+#X floatatom 772 231 5 0 0 0 - - -;
+#X obj 517 310 u_record \$0-sample 2000;
+#X obj 517 174 osc~ 440;
+#X obj 538 213 tgl 15 0 empty empty sine_wave 17 7 1 10 -262144 -1
-1 0 1;
-#X obj 517 203 *~ 1;
-#X msg 704 70 start 500;
-#X text 784 68 start recording 500 milliseconds from table start;
-#N canvas 55 22 582 570 REFERENCE 0;
-#X text 24 51 Summary: Record mono sounds into Pd tables.;
-#X text 24 95 Argument 0: <table name - required!>;
-#X text 24 119 Argument 1: <max duration in milliseconds \, optional
-\, default 1000>;
-#X text 24 165 Inlet 0: audio signal to record;
-#X text 24 185 Inlet 1: various messages \, see example;
+#X obj 517 233 *~ 1;
+#X msg 672 81 start 500;
+#N canvas 97 192 582 570 REFERENCE 0;
+#X text 24 61 Summary: Record mono sounds into Pd tables.;
#X text 24 31 Name: [u_record \$0-mysample];
-#X text 25 204 comment;
-#X text 24 225 Outlet 0: outputs a list containing: <table name> <recording
-duration in ms> <rec. duration in samples> <samplerate>;
-#X text 24 298 Description: Records a mono sound into Pd tables and
-outputs: <table name> <recording duration in ms> <rec. duration in
-samples> <samplerate>. s_playtable can be used to play the sample;
-#X text 24 384 See also: [s_playtable];
-#X text 24 434 Tags: Audio recorde (mono);
+#X text 24 434 Tags: Audio \, Record;
+#X text 24 95 Argument 0: <symbol> - Table name \, required!;
+#X text 24 119 Argument 1: <float> - Max duration in milliseconds \,
+optional \, default 1000;
+#X text 24 165 Inlet 0: Audio input signal.;
+#X text 24 185 Inlet 1: Various messages \, see Example.;
+#X text 164 220 <symbol> - Table name.;
+#X text 164 234 <float> - Recording duration in ms.;
+#X text 164 248 <float> - Recording duration in samples.;
+#X text 164 262 <float> - Samplerate.;
+#X text 24 205 Outlet 0: Outputs a list containing:;
+#X text 24 298 Description: Records a mono signal into a table. Useful
+for circular buffers \, [s_playtable] can then be used to play back
+the sample.;
+#X text 24 384 See also: [s_playtable] [u_samplebank] [u_stereo];
#X coords 0 -1 1 1 450 450 1 10 10;
-#X restore 15 58 pd REFERENCE;
-#X obj 15 28 cnv 15 450 20 empty empty empty 20 12 0 14 -261234 -66577
+#X restore 15 38 pd REFERENCE;
+#X obj 15 8 cnv 15 450 20 empty empty empty 20 12 0 14 -261234 -66577
0;
-#X text 478 61 Example:;
-#X text 484 597 RjDj Library (https://github.com/rjdj/rjlib) - 2011
+#X text 478 41 Example:;
+#X text 863 470 RjDj Library (https://github.com/rjdj/rjlib) - 2011
;
-#X obj 18 30 u_record;
-#X text 139 31 - Record mono sounds into Pd tables.;
-#X connect 2 0 30 1;
+#X obj 18 10 u_record;
+#X text 139 11 - Record mono sounds into Pd tables.;
+#X text 695 51 Start recording. Does not clear previous recordings!
+;
+#X text 727 112 Stop recording.;
+#X text 753 141 Delete recording and set duration to 0;
+#X text 798 171 Normalize so that largest sample value is 1;
+#X text 741 75 'start x' will begin recording from 'x' milliseconds
+\, 500 in this case \, from start of the table.;
+#X text 876 278 You can combine messages with commas like this.;
+#X text 828 242 Default behaviour is to fade in and out over 5 msec.
+This period can be changed with "fade x" messages.;
+#X floatatom 571 413 8 0 0 1 duration_in_samples - -;
+#X floatatom 544 433 8 0 0 1 duration_in_ms - -;
+#X symbolatom 517 453 12 0 0 1 table_name - -;
+#X obj 517 370 unpack s f f f;
+#X floatatom 598 393 6 0 0 1 samplerate - -;
+#N canvas 0 22 450 300 PLAYBACK 0;
+#X obj 150 154 s_playtable;
+#X obj 150 196 soundoutput;
+#X msg 150 60 bang;
+#X obj 150 92 pack \$0;
+#X msg 150 124 \$1-sample;
+#X connect 0 0 1 0;
+#X connect 0 0 1 1;
+#X connect 2 0 3 0;
#X connect 3 0 4 0;
-#X connect 3 0 4 1;
-#X connect 5 0 3 1;
-#X connect 6 0 3 1;
-#X connect 8 0 3 1;
-#X connect 9 0 7 0;
-#X connect 9 1 1 0;
-#X connect 9 2 0 0;
-#X connect 9 3 10 0;
-#X connect 11 0 3 0;
-#X connect 12 0 11 0;
-#X connect 13 0 30 1;
-#X connect 14 0 30 1;
-#X connect 16 0 30 1;
-#X connect 17 0 30 1;
-#X connect 20 0 32 0;
-#X connect 20 1 32 0;
-#X connect 25 0 30 1;
-#X connect 27 0 30 1;
-#X connect 28 0 27 0;
-#X connect 30 0 9 0;
-#X connect 31 0 35 0;
-#X connect 32 0 30 0;
-#X connect 33 0 32 1;
-#X connect 34 0 35 1;
-#X connect 35 0 30 0;
-#X connect 36 0 30 1;
+#X connect 4 0 0 0;
+#X restore 966 382 pd PLAYBACK;
+#X text 790 196 Output list containing: <table name> <recording duration
+in ms> <recording duration in samples> <samplerate>.;
+#X connect 0 0 8 1;
+#X connect 1 0 8 1;
+#X connect 2 0 8 1;
+#X connect 3 0 8 1;
+#X connect 4 0 8 1;
+#X connect 5 0 8 1;
+#X connect 6 0 8 1;
+#X connect 7 0 6 0;
+#X connect 8 0 29 0;
+#X connect 9 0 11 0;
+#X connect 10 0 11 1;
+#X connect 11 0 8 0;
+#X connect 12 0 8 1;
+#X connect 29 0 28 0;
+#X connect 29 1 27 0;
+#X connect 29 2 26 0;
+#X connect 29 3 30 0;

0 comments on commit 1dfb601

Please sign in to comment.