Forcing the output to headphones shouldn't be a problem. You're probably using HDMI output to drive a display, and, without the manual adjustment, audio will be sent over HDMI, also.
Regarding the breaks in audio, how often do they happen? If the time between breaks is a second or less, then the glitch might be related to the buffer used by the sound device. Not sure if Pyo's buffer size control for the Server has any control over that, or just Pyo's internal mixing buffer.
Try using buffer_size=1024 or buffer_size=2048 when you create the Pyo Server. That is too large for normal operation, but might get rid of the breaks. It could also provide clues, if it works.
I'd also be interested to know what Top says regarding CPU load. The load could be abnormally high due to a processor limitation. For example, I don't think those ARM processors handle floating point calculations very well, or, at least, not like an X86 processor would. Remember we were talking about the ARM extensions for SIMD/vector processing? It may be that Pyo is performing mathematical operations with no native CPU support/must be emulated. My knowledge about the guts of ARM CPUs is extremely limited, but these are some of the pitfalls that can come up when porting code. We should be able to overcome them, if we can figure out what isn't working.
I'm a little out of date with my knowledge about Linux audio, also. Do you know if you're using ALSA directly, or are you going through JACK? Would be worth trying different APIs to see if there is any change.
--
You received this message because you are subscribed to the Google Groups "pyo-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "pyo-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pyo-discuss/2KLXwVUjYNk/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to pyo-discuss...@googlegroups.com.
Hi,I just received two raspberry pis, haven't even plugged them in yet but I was wondering if anyone had tried running pyo on it and would have tips or a stripped down distribution optimized for pyo?Otherwise I'll go google hunting for more info, and try to get this to run this winter.Also I'll want to hook up some sensors to an adc chip connected to the gpio of the pi, have pyo process the acquired data and send it via osc. Anyone know if I can feed the adc's signal coming in via i2c or spy directly into pyo? would I have to create a custom driver for this?Ps: olivier si tu veux experimenter avec le pi j'en ai deux je peux t'en prêter un.
--
Alireza,
Headspace uses Convolution, which is computationally expensive. The Pi won’t be able to play many Headspace objects. However, for some small applications, just a few 3D audio sources would be enough. I hope that you will report back with info about how many Headspace objects you are able to successfully play at once on your Pi.
Bryan
--
It doesn't appear to be able to find alsa support. Running "apt-cache search alsa" I don't see anything matching or similar to alsa-devel. There doesn't appear to be anything related to alsa in /usr/include, "ls -R /usr/include | grep alsa" returns nothing.