michael strohmann wrote:
on rpi / stretch / pd-46 || ESI UJ6 Audiointerface… sometimes the first half second of audiofiles (4 channel) gets swallowed
i am using
[t b b] | | [1( [open audiofile.wav( | / [readsf~ 4]
my first bet was that the amplifier goes into sleep mode and needs time to wake up. but i can rule that out. now i am a bit clueless ….
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.
does anybody else have similar troubles on RPi ???
no, there must be something else blocking the audio engine
you might try a little delay before the "1" message, or even try to run the [readsf~] in a subpatch~ with a higher blocksize (see attached patch again ;-)
that's all i can think of right now
i figure using [tabplay~] (thus preloading the soundfiles into RAM) is not an option ?
best
oliver