Great thread, I join the list mainly to work on such a a project, it's quite exciting to think of having a portable programmable open source synth engine on the PI with a portable midi controller. I am working with the AKAI mini mpk, which has pad and keys and knob and nice feature like arpeggiator, sustain and program and prog change which is nice for such a small device.
With the PI the alsa is in alpha development on the arm platform and therefor won't be at it's best for a little while. The floating point integration in the latest system made the audio a lot better, as on the first gen OS of the PI the audio was just impossible.
I tried to play with chuck for a while, and it created a lot of audio garbage. I think it will be a hit and miss until the ALSA is stable enough sadly. I read also that using usb headphone made the sound even better, but I haven't tried that myself.
For the HDMI out what did you use? A dac from the HDMI ? I am looking for a simple solution to convert the HDMI to analog whether as a DIY simple solution or a really small and portable interface that could be boxed with the PI.
Geoffroy Tremblay studio ponnuki
Nope, I used a randomly generated sequence of notes made with phasors, ranging from 0 to 127 on the midi scale. Anyway, the quality of the analog output is not what concerns me here, since it sounds ok with aplay. The problem is that the same type of sound generated directly in Pd makes an awful lot of noise when i launch Pd at start-up, though it sounds ok on the hdmi output. Maybe it's something about the samplerate, no idea really.
It's a pity that no real serious documentation exists on how the audio works (like the fact that the analog output is switched off when the hdmi in plugged in : is it in the hardware ? can it be configured to not work this way ?).
I'll try an ask on the RPi forum.
Nicorette is a brand that sells patches to stop smoking in France. I thought it was funny
Cheers,
Pierre.
This is what I'm curious about; who is doing this alsa development, where, and can we pitch in? We are all interested in getting the sound working better on the Pi...
That said, it seems like the jury is out on if it's an alsa problem or a Pd problem. I seem to have experienced both.
—Tedb0t
On Aug 29, 2012, at 6:46 AM, geoffroy wrote:
With the PI the alsa is in alpha development on the arm platform and therefor won't be at it's best for a little while. The floating point integration in the latest system made the audio a lot better, as on the first gen OS of the PI the audio was just impossible.
There's a guy called "dom" on the RPi forum who seems to be involved in audio development. I've seen his interventions in a couple of audio related threads, and i got the information about the analog output being simple filtered PWM off one of his posts. Might be interesting to get in touch with him.
Pierre.
2012/8/29 Tedb0t lists@liminastudio.com
This is what I'm curious about; who is doing this alsa development, where, and can we pitch in? We are all interested in getting the sound working better on the Pi...
That said, it seems like the jury is out on if it's an alsa problem or a Pd problem. I seem to have experienced both.
—Tedb0t
On Aug 29, 2012, at 6:46 AM, geoffroy wrote:
With the PI the alsa is in alpha development on the arm platform and therefor won't be at it's best for a little while. The floating point integration in the latest system made the audio a lot better, as on the first gen OS of the PI the audio was just impossible.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Yes I heard that too. It's single bit PWM modulated output. Basically there's no DAC, so audio output is a fun hack, and likely as good as it's worth trying to make it for simple applications.
If you want good quality audio I/O there are things like Turtle Beach Amigo for about 15 quid http://www.turtlebeach.com/products/sound-cards/audio-advantage-amigo-ii.asp...
You can take it out the board from its plastic housing. Its about as small as an SD card.
a.
On Wed, Aug 29, 2012 at 04:40:44PM +0200, Pierre Massat wrote:
There's a guy called "dom" on the RPi forum who seems to be involved in audio development. I've seen his interventions in a couple of audio related threads, and i got the information about the analog output being simple filtered PWM off one of his posts. Might be interesting to get in touch with him.
Pierre.
2012/8/29 Tedb0t lists@liminastudio.com
This is what I'm curious about; who is doing this alsa development, where, and can we pitch in? We are all interested in getting the sound working better on the Pi...
That said, it seems like the jury is out on if it's an alsa problem or a Pd problem. I seem to have experienced both.
—Tedb0t
On Aug 29, 2012, at 6:46 AM, geoffroy wrote:
With the PI the alsa is in alpha development on the arm platform and therefor won't be at it's best for a little while. The floating point integration in the latest system made the audio a lot better, as on the first gen OS of the PI the audio was just impossible.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ah, wow, that's crazy. Has anyone yet tried out any USB audio interfaces on the RPi yet? I have one handy that I can try but not until I get these client projects out of the way ;)
I'm extremely curious if using a supported external audio interface solves all the sound problems or if there are also still alsa issues. I'm also now wondering who will be the first to come out with an RPi audio "shield" ;)
This renews my interest in modifying the RPi design to make a Pd-friendly board that's intended to be headless with a built-in quality DAC. But without RPi's supply chain hookups, it'd be quite hard to keep the price down to the RPi's level!
—t3db0t
On Aug 29, 2012, at 1:08 PM, Andy Farnell wrote:
Yes I heard that too. It's single bit PWM modulated output. Basically there's no DAC, so audio output is a fun hack, and likely as good as it's worth trying to make it for simple applications.
If you want good quality audio I/O there are things like Turtle Beach Amigo for about 15 quid http://www.turtlebeach.com/products/sound-cards/audio-advantage-amigo-ii.asp...
You can take it out the board from its plastic housing. Its about as small as an SD card.
a.
On Wed, Aug 29, 2012 at 04:40:44PM +0200, Pierre Massat wrote:
There's a guy called "dom" on the RPi forum who seems to be involved in audio development. I've seen his interventions in a couple of audio related threads, and i got the information about the analog output being simple filtered PWM off one of his posts. Might be interesting to get in touch with him.
Pierre.
2012/8/29 Tedb0t lists@liminastudio.com
This is what I'm curious about; who is doing this alsa development, where, and can we pitch in? We are all interested in getting the sound working better on the Pi...
That said, it seems like the jury is out on if it's an alsa problem or a Pd problem. I seem to have experienced both.
—Tedb0t
On Aug 29, 2012, at 6:46 AM, geoffroy wrote:
With the PI the alsa is in alpha development on the arm platform and therefor won't be at it's best for a little while. The floating point integration in the latest system made the audio a lot better, as on the first gen OS of the PI the audio was just impossible.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
This is all very interesting!
To get back to my initial problem, i managed to solve it by launching Pd with a longer audio buffer (-audiobuf 100). For some reason Pd came with a default buffer of 25ms.
Now, I can't tell you whether it sounds as "good" or worse than the same audio data played in aplay. I'll need to test this further.
Cheers,
Pierre.
2012/8/29 Tedb0t lists@liminastudio.com
Ah, wow, that's crazy. Has anyone yet tried out any USB audio interfaces on the RPi yet? I have one handy that I can try but not until I get these client projects out of the way ;)
I'm extremely curious if using a supported external audio interface solves all the sound problems or if there are also still alsa issues. I'm also now wondering who will be the first to come out with an RPi audio "shield" ;)
This renews my interest in modifying the RPi design to make a Pd-friendly board that's intended to be headless with a built-in quality DAC. But without RPi's supply chain hookups, it'd be quite hard to keep the price down to the RPi's level!
—t3db0t
On Aug 29, 2012, at 1:08 PM, Andy Farnell wrote:
Yes I heard that too. It's single bit PWM modulated output. Basically there's no DAC, so audio output is a fun hack, and likely as good as it's worth trying to make it for simple applications.
If you want good quality audio I/O there are things like Turtle Beach Amigo for about 15 quid
http://www.turtlebeach.com/products/sound-cards/audio-advantage-amigo-ii.asp...
You can take it out the board from its plastic housing. Its about as small as an SD card.
a.
On Wed, Aug 29, 2012 at 04:40:44PM +0200, Pierre Massat wrote:
There's a guy called "dom" on the RPi forum who seems to be involved in audio development. I've seen his interventions in a couple of audio
related
threads, and i got the information about the analog output being simple filtered PWM off one of his posts. Might be interesting to get in touch with him.
Pierre.
2012/8/29 Tedb0t lists@liminastudio.com
This is what I'm curious about; who is doing this alsa development,
where,
and can we pitch in? We are all interested in getting the sound
working
better on the Pi...
That said, it seems like the jury is out on if it's an alsa problem or
a
Pd problem. I seem to have experienced both.
—Tedb0t
On Aug 29, 2012, at 6:46 AM, geoffroy wrote:
With the PI the alsa is in alpha development on the arm platform and therefor won't be at it's best for a little while. The floating point integration in the latest system made the audio a lot better, as on the first gen OS of the PI the audio was just impossible.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I've had issues with the audio out as well as USB audio but changing the sample rate to 48000 for the USB audio interface works great. I haven't tried it with pd yet as it was for a different project using Darkice to broadcast the sound of a cafe from 6am until 12pm GMT (http://radeq.vacau.com), but as soon as I get the pi back I'll be looking into pd again...
James
Quoth Pierre Massat, on 29/08/2012 20:53:
This is all very interesting!
To get back to my initial problem, i managed to solve it by launching Pd with a longer audio buffer (-audiobuf 100). For some reason Pd came with a default buffer of 25ms.
Now, I can't tell you whether it sounds as "good" or worse than the same audio data played in aplay. I'll need to test this further.
Cheers,
Pierre.
2012/8/29 Tedb0t <lists@liminastudio.com mailto:lists@liminastudio.com>
Ah, wow, that's crazy. Has anyone yet tried out any USB audio interfaces on the RPi yet? I have one handy that I can try but not until I get these client projects out of the way ;) I'm extremely curious if using a supported external audio interface solves all the sound problems or if there are also still alsa issues. I'm also now wondering who will be the first to come out with an RPi audio "shield" ;) This renews my interest in modifying the RPi design to make a Pd-friendly board that's intended to be headless with a built-in quality DAC. But without RPi's supply chain hookups, it'd be quite hard to keep the price down to the RPi's level! ---t3db0t On Aug 29, 2012, at 1:08 PM, Andy Farnell wrote: > > > Yes I heard that too. It's single bit PWM modulated output. > Basically there's no DAC, so audio output is a fun hack, > and likely as good as it's worth trying to make it for > simple applications. > > If you want good quality audio I/O there are things like > Turtle Beach Amigo for about 15 quid > http://www.turtlebeach.com/products/sound-cards/audio-advantage-amigo-ii.aspx > > You can take it out the board from its plastic housing. Its about > as small as an SD card. > > a. > > On Wed, Aug 29, 2012 at 04:40:44PM +0200, Pierre Massat wrote: >> There's a guy called "dom" on the RPi forum who seems to be involved in >> audio development. I've seen his interventions in a couple of audio related >> threads, and i got the information about the analog output being simple >> filtered PWM off one of his posts. >> Might be interesting to get in touch with him. >> >> Pierre. >> >> 2012/8/29 Tedb0t <lists@liminastudio.com <mailto:lists@liminastudio.com>> >> >>> This is what I'm curious about; who is doing this alsa development, where, >>> and can we pitch in? We are all interested in getting the sound working >>> better on the Pi... >>> >>> That said, it seems like the jury is out on if it's an alsa problem or a >>> Pd problem. I seem to have experienced both. >>> >>> ---Tedb0t >>> >>> On Aug 29, 2012, at 6:46 AM, geoffroy wrote: >>> >>> With the PI the alsa is in alpha development on the arm platform and >>> therefor won't be at it's best for a little while. The floating point >>> integration in the latest system made the audio a lot better, as on the >>> first gen OS of the PI the audio was just impossible. >>> >>> >>> >>> _______________________________________________ >>> Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >>> > >> _______________________________________________ >> Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > _______________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
seen this? http://www.raspberrypi.org/archives/1878
"When we got home, head full of ideas about encouraging people to port Max to the Raspberry Pi, we found a mail waiting for us from Omenie, one of our forum members. "
On Wed, Aug 29, 2012 at 3:53 PM, Pierre Massat pimassat@gmail.com wrote:
This is all very interesting!
To get back to my initial problem, i managed to solve it by launching Pd with a longer audio buffer (-audiobuf 100). For some reason Pd came with a default buffer of 25ms.
Now, I can't tell you whether it sounds as "good" or worse than the same audio data played in aplay. I'll need to test this further.
Cheers,
Pierre.
2012/8/29 Tedb0t lists@liminastudio.com
Ah, wow, that's crazy. Has anyone yet tried out any USB audio interfaces on the RPi yet? I have one handy that I can try but not until I get these client projects out of the way ;)
I'm extremely curious if using a supported external audio interface solves all the sound problems or if there are also still alsa issues. I'm also now wondering who will be the first to come out with an RPi audio "shield" ;)
This renews my interest in modifying the RPi design to make a Pd-friendly board that's intended to be headless with a built-in quality DAC. But without RPi's supply chain hookups, it'd be quite hard to keep the price down to the RPi's level!
—t3db0t
On Aug 29, 2012, at 1:08 PM, Andy Farnell wrote:
Yes I heard that too. It's single bit PWM modulated output. Basically there's no DAC, so audio output is a fun hack, and likely as good as it's worth trying to make it for simple applications.
If you want good quality audio I/O there are things like Turtle Beach Amigo for about 15 quid
http://www.turtlebeach.com/products/sound-cards/audio-advantage-amigo-ii.asp...
You can take it out the board from its plastic housing. Its about as small as an SD card.
a.
On Wed, Aug 29, 2012 at 04:40:44PM +0200, Pierre Massat wrote:
There's a guy called "dom" on the RPi forum who seems to be involved in audio development. I've seen his interventions in a couple of audio related threads, and i got the information about the analog output being simple filtered PWM off one of his posts. Might be interesting to get in touch with him.
Pierre.
2012/8/29 Tedb0t lists@liminastudio.com
This is what I'm curious about; who is doing this alsa development, where, and can we pitch in? We are all interested in getting the sound working better on the Pi...
That said, it seems like the jury is out on if it's an alsa problem or a Pd problem. I seem to have experienced both.
—Tedb0t
On Aug 29, 2012, at 6:46 AM, geoffroy wrote:
With the PI the alsa is in alpha development on the arm platform and therefor won't be at it's best for a little while. The floating point integration in the latest system made the audio a lot better, as on the first gen OS of the PI the audio was just impossible.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Fun fun. I left them a nice comment. I still don't think it's ready to use until someone figures out how to get it to enable real-time scheduling - see James Dunn's post saying he has to run the latency up to 100 msec (!)
cheers Miller
On Thu, Aug 30, 2012 at 06:17:55PM -0400, m.e.grimm wrote:
seen this? http://www.raspberrypi.org/archives/1878
"When we got home, head full of ideas about encouraging people to port Max to the Raspberry Pi, we found a mail waiting for us from Omenie, one of our forum members. "
On Fri, Aug 31, 2012 at 12:17 AM, m.e.grimm megrimm@gmail.com wrote:
seen this? http://www.raspberrypi.org/archives/1878
"When we got home, head full of ideas about encouraging people to port Max to the Raspberry Pi,
Who are these 'people' he's talking about and why does he think Max could be ported to linux just like that? (afaik it currently doesn't run on anything other than windows and osx).
We should set them straight and increase effort for a proper Pd port ;)
dreamer
ps; Don't have much to add to the discussion. Are most people currently focussed on the Raspbian provided Pd?