Hello! from time to time my patch produces this beautiful, but unwanted glitch. (audiofile attached) are there any ideas what could cause this behaviour?
i am running this on a RPi B+, using sfplay~ to playback a 4 Channel Audiofile. the playback is triggered via a sensor/GPIO or via OSC. restarting the RPi eliminates the glitch.
the only thing i can think of is that there is a "memory leak” in one of the objects, that uses up the RAM and eventually produces this glitch. but i am not a c++ programmer, so this is a wild speculation. in any case i would not know how to solve it….
cheers! Michael
On Wed, 2018-07-04 at 10:53 +0200, michael strohmann wrote:
Hello! from time to time my patch produces this beautiful, but unwanted glitch. (audiofile attached)
Sounds like I'm doing doing music. I wouldn't know how to identify the glitch aspect of it. How does it sound without the glitch?
Some suggestions to make such things a bit easier:
are there any ideas what could cause this behaviour?
I would first figure out where the glitch happens. Is Pd actually generating this sound or is Pd's audio playback glitchy? You can figure this out by doing a recording from within Pd with [writesf~]. If the result sounds OK, then you know that the glitch happens somewhere between Pd and the sound card. If the result is glitchy, then the glitch happens already within Pd, for instance because some object or your patch is buggy.
i am running this on a RPi B+, using sfplay~ to playback a 4 Channel Audiofile.
Why are you using [sfplay~] and not the built-in [readsf~]? Does the glitch still appear when using [readsf~]?
the playback is triggered via a sensor/GPIO or via OSC.
This hopefully doesn't matter.
restarting the RPi eliminates the glitch.
Could be some sound card issue, but check the other things first.
Roman