On 2010-05-26 15:19, patko wrote:
----- "IOhannes m zmoelnig" zmoelnig@iem.at a écrit :
On 2010-05-26 13:15, patko wrote:
error: soundfiler_read: truncated to 2000 elements
2000 is the maxsize argument
so what's the problem?
In other words, is there a way to do it (extract a sample from a soundfile) without getting error messages?
so your only problem is that Pd prints an error message? even though you know that it is not an error? well....
anyhow, you don't need to specify the maxsize; if your table is small enough (aka: too small) Pd will silently drop the other samples.
i do: [table bar 44100]
[read -skip 88200 foo.wav bar( | [soundfiler]
and it will store an excerpt of foo.wav between 00:02 and 00:03
fgmasdr IOhannes