blob: 51cf8f022fae98784b9461802c5f7c5354804c3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#N canvas 730 299 556 452 10;
#X text 23 15 loops a sound file between a startframe and endframe
;
#X text 163 188 start;
#X text 164 200 frame;
#X text 288 199 frame;
#X text 288 189 end;
#X text 27 238 audio out;
#X text 49 197 filename;
#X obj 170 57 frameclock 400;
#X obj 54 285 output~;
#X text 311 214 args: filename startframe# endframe#;
#X text 26 146 This will loop the voice.wav sound file starting at
frame 50 and ending at frame 200:;
#X obj 54 216 fsfilelooper~ ../../sound/voice.wav 15 111;
#X text 29 341 FYI: if the time between start frame and end frame is
shorter than the sample file \, then you'll get an error message in
the Pd window:;
#X text 44 385 error: soundfiler_read: truncated to 2.249e+06 elements
;
#X text 29 401 It is safe to ignore this message \, it just means it
didn't load the entire sample into memory.;
#X connect 11 0 8 0;
|