~ubuntu-branches/ubuntu/precise/puredata/precise

« back to all changes in this revision

Viewing changes to doc/5.reference/readsf~-help.pd

  • Committer: Bazaar Package Importer
  • Author(s): Paul Brossier
  • Date: 2009-12-22 21:29:31 UTC
  • mfrom: (1.2.6 upstream) (4.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091222212931-nhwkzapjwsmjao1l
Tags: 0.42.5-3
* debian/control:
  - add community site to homepage field
  - improve long description
  - remove Replaces and Conflicts fields
  - add Suggests on pd-csound, pd-pdp, pd-zexy, pd-aubio
* debian/rules: add per-arch configuration flags
* debian/patches/02_kfreebsd.diff:
  - also define pd_tilde_dllextent on FreeBSD
  - fix typo (really closing #414414 this time)
  - also add hurd glue
* debian/patches/04_hurd.diff:
  - add hurd glue and s_midi_dummy.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#N canvas 113 157 888 480 12;
 
2
#X msg 561 8 \; pd dsp 1;
 
3
#X msg 39 240 1;
 
4
#X msg 39 261 0;
 
5
#X obj 516 359 print didit;
 
6
#X obj 139 361 env~ 16384;
 
7
#X floatatom 139 380 0 0 0 0 - - -;
 
8
#X msg 40 283 print;
 
9
#X obj 20 393 dac~;
 
10
#X obj 233 360 env~ 16384;
 
11
#X floatatom 233 379 0 0 0 0 - - -;
 
12
#X obj 30 308 readsf~ 4 1e+06;
 
13
#X obj 327 359 env~ 16384;
 
14
#X floatatom 327 378 0 0 0 0 - - -;
 
15
#X obj 421 359 env~ 16384;
 
16
#X floatatom 421 379 0 0 0 0 - - -;
 
17
#X msg 26 210 open ../sound/bell.aiff 0 200 4 2 b;
 
18
#X obj 80 362 *~ 0.1;
 
19
#X obj 21 363 *~ 0.1;
 
20
#X text 40 7 READSF~ - read a soundfile;
 
21
#X msg 26 189 open ../sound/bell.aiff;
 
22
#X text 185 296 optional arguments: number of channels \; buffer size
 
23
per channnel in bytes.;
 
24
#X text 548 341 when the soundfile is done.;
 
25
#X text 547 327 last outlet gives a "bang";
 
26
#X text 359 186 Open takes a filename \, an onset in sample frames
 
27
\, and \, as an override \, you may also supply a header size to skip
 
28
\, a number of channels \, bytes per channel \, and endianness.;
 
29
#X text 36 24 The readsf~ object reads a soundfile into its signal
 
30
outputs. You must open the soundfile in advance (a couple of seconds
 
31
before you'll need it) using the "open" message. The object immediately
 
32
starts reading from the file \, but output will only appear after you
 
33
send a "1" to start playback. A "0" stops it.;
 
34
#X text 33 121 The wave \, aiff \, and nextstep formats are parsed
 
35
automatically \, although only 2- 3- and 4- byte samples are accepted
 
36
(4 bytes implies floating point and is not available in aiff format.)
 
37
;
 
38
#X text 647 450 Updated for version 0.37;
 
39
#X obj 116 452 soundfiler;
 
40
#X text 24 452 see also:;
 
41
#X obj 216 452 readsf~;
 
42
#X text 94 238 1 starts playback;
 
43
#X text 97 261 0 stops it;
 
44
#X connect 1 0 10 0;
 
45
#X connect 2 0 10 0;
 
46
#X connect 4 0 5 0;
 
47
#X connect 6 0 10 0;
 
48
#X connect 8 0 9 0;
 
49
#X connect 10 0 4 0;
 
50
#X connect 10 0 17 0;
 
51
#X connect 10 1 8 0;
 
52
#X connect 10 1 16 0;
 
53
#X connect 10 2 11 0;
 
54
#X connect 10 2 16 0;
 
55
#X connect 10 3 13 0;
 
56
#X connect 10 3 17 0;
 
57
#X connect 10 4 3 0;
 
58
#X connect 11 0 12 0;
 
59
#X connect 13 0 14 0;
 
60
#X connect 15 0 10 0;
 
61
#X connect 16 0 7 1;
 
62
#X connect 17 0 7 0;
 
63
#X connect 19 0 10 0;