-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2013-02-12 09:58, Bart Koppe wrote:
Dear list,
I'm working on a live-radio-station-patch. I want to be able to play prepared playlists via PD. In the end I choose for readanysf~ to play the sound files since it seemed most stable (right?) and handle enough different file formats like ogg. Now I need a mechanism to autoplay a file directly when the buffer is loaded. So I tried to do this with the "ready" value from readanysf~. Basically it now bangs when the file is loaded, but the message "Play" doesn?t seem to get through, file does not start playing..
The example below is with the open-dialog, but in my main patch it's more automated. Effect is the same though.. (reset onebang not automated here, need to bang before loading the file)
Is it a bug, or am i the bug :) Is there a different approach?
i think it is a re-entrancy bug in [readanysf~], where you must not change the state *while* [readanysf~] is still outputting the data....or something along those lines. until it is fixed, you can simply put a [delay 0] before your [onebang] (don't know this object, but i guess it is a stripped down version of [once])
fgmadr IOhannes
PS: please start new threads for new threads