[PD] swallow the first bit of audiofile

michael strohmann itsnotfair9 at gmail.com
Sat Mar 9 21:46:28 CET 2019

omg, i was violating all netiquette do-nots.
please forgive me.

i would have expected that it would probably take longer to look for and read the sound file but not that the playback does not start at the beginning.

unfortunately the raspberry has limited RAM….

i was unsing a 2sec delay between [open soundfile.wav( and [start(  would it help to delay even longer???

> On 09 Mar 2019, at 18:50, IOhannes m zmölnig <zmoelnig at iem.at> wrote:
> On 3/9/19 5:13 PM, oliver wrote:
>> are you completely sure ? even if you are,  maybe reading & playing an
>> arbitrary short soundfile consisting of a 2 hertz sinus at low volume
>> every 10 seconds might make sure that the amp REALLY never goes to sleep.
> or just use an [osc~ 2] instead.
> the bottleneck could well be the access to a slow block device (that is:
> reading a soundfile from your SD card).
> try loading everything into memory instead.
> or at least try loading the soundfile from a RAMdisk. (that is: copy the
> soundfiles to /dev/shm/ before starting the patch; then read the
> soundfiles from there)
> gfamrds
> IOhannes
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list