[PD] get sample length for setting array size
Claude Heiland-Allen
claudiusmaximus at goto10.org
Wed Jun 18 23:24:54 CEST 2008
smilingmolecule wrote:
> hallo together,
>
> i am trying to build a simple sample/loop player in pd.
> i am using [read] [soundfiler][tabread] and so on.
[openpanel]
|
"read -resize $1 my-table"
|
[soundfiler]
|
new length of table
> everything works fine, only the samples are cutted when i play them.
> i think the reason is that the wav file does not fit into the array.
> is there a way to set the array size automatically? for example with the
> help of [soundfile_info]?
>
> or maybe someone has a link to a patch with a good sample player, with
> options to loop, pitch and play on bang (for my sequencer patch).
>
> thanks
>
> /robert
Hope this helps,
Claude
--
http://claudiusmaximus.goto10.org
More information about the Pd-list
mailing list