Hi Stefan
From readsf~help.pd:
"Open takes a filename, an onset in sample frames, and, as an override, you may also supply a header size to skip, a number of channels, bytes per channel, and endianness."
So the second argument (the one after the filename) specifies the number of audio samples to be skipped at the start when opening the file.
Roman
On Tue, 2015-03-31 at 11:18 +0200, Stefan Tiedje wrote:
Hello list, might well be the first post here, though I am well experienced in Max/MSP... As there is no way to get Max patches run on mobile devices, I want to do it in PD using the MobMuPlat apps for Android/iOS. The task would be to simply to play a stereo sound file, but of about one hour lebgth. As MobMuPlat only supports vanilla PD I am restricted to that as far as I know. In the docs and on the net I did not find any way to navigate within that playback. (Its crucial for rehearsals.) The size is too big for loading it into RAM (the mobile devices which are around often have less than 1 GB of RAM), Is there a known way to tackle this seemingly simple task??? A tedious way, I want to avoid, would be to split the sound file into pieces, which would at least let me jump in at specified places, but that would eat up the space on the device, as each piece would have to play until the end... Of course I would also love to find a way to play back an mp3 and freely navigate within that as well... Any hints how to proceed are appriciated...
Stefan Tiedje