[PD] [soundfiler] -nframes not working, -maxsize weird behaving
Mathieu Bouchard
matju at artengine.ca
Wed May 26 16:53:42 CEST 2010
On Wed, 26 May 2010, patko wrote:
> In other words, is there a way to do it (extract a sample from a
> soundfile) without getting error messages?
I don't know, perhaps :
[#in grid foo.wav, headerless 64, type int16, seek_byte 23456, endian little]
provided you know the byte-position of it. This will read 64 integers of
16 bits each, at every bang. You can then use [#to_list] and [list prepend
$1] and send to an array, where $1 is the position in the array.
all the options after "grid foo.wav" can be sent as messages with the same
syntax. "grid foo.wav" can also be sent as message, with syntax "open grid
foo.wav", but all other options have to be used _after_ the "open".
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
More information about the Pd-list
mailing list