[PD] get sample length for setting array size
claudiusmaximus at goto10.org
Wed Jun 18 23:24:54 CEST 2008
> hallo together,
> i am trying to build a simple sample/loop player in pd.
> i am using [read] [soundfiler][tabread] and so on.
"read -resize $1 my-table"
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).
Hope this helps,
More information about the Pd-list