In regards to part 2, have you tried either using the -rt flag for PD (may require sudo or root, depending on your config) or using JACK? The first solution (realtime) often fixes many click problems. Otherwise, you might also make sure your video card is properly set up. Type "glxinfo" and look for the line:
direct rendering: Yes
to see if OpenGL is properly set up for your graphics card. If it isn't then all your 3D is being rendered by the CPU, which takes a lot more cycles then if it is rendered on the card.
With this in mind, it might actually be easier on your system to render your OpenGL graphics at the same time as doing your sound, assuming your sound and video is properly configured, as video playback (espc decoding) requires much more CPU than OpenGL.
d.
Oded Ben-Tal wrote:
- is there a way to generate a file (in whatever video format) from gem
graphics? 2) I get clicks when playing sound while also doing graphics. Playback (using sfplay~) is fine if I'm not rendering graphics. I'm running RH9 (planetCCRMA) with an m-audio soundcard. I'm not using Jack just alsa.
The first question is in part a way to bypass problem 2 i.e. can I generate the graphics into a file and than mix it with the sound separately.