CaptainBassline
Posts: 11
Joined: Thu Nov 15, 2012 9:49 am

Pure Data?

Thu Nov 15, 2012 12:42 pm

As a heavy Pure Data user I'm keen to know whether or not PDext will run reliably on the Pi, and whether there are any known issues or limitations... And also perhaps which is the best OS to use for audio-heavy usage...

Thanks :)

ghans
Posts: 7883
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Pure Data?

Thu Nov 15, 2012 2:02 pm

You can help out on the ALSA front , currently neither jackd nor pulseaudio run AFAIK.
I believe PD needs one of these sound systems.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

CaptainBassline
Posts: 11
Joined: Thu Nov 15, 2012 9:49 am

Re: Pure Data?

Thu Nov 15, 2012 11:42 pm

PD is running via ALSA on my laptop reliably enough, so I guess it should be okay? Would it be best to hook up a USB soundcard to the Pi?

CaptainBassline
Posts: 11
Joined: Thu Nov 15, 2012 9:49 am

Re: Pure Data?

Sun Nov 18, 2012 8:19 pm

Update: Puredata and ALSA are running as well as can be expected, though the onboard analogue sound output drops out an awful lot. Since I have no HDMI devices at my disposal, I have yet to test Puredata's sound reliability through this medium.

Better (almost faultless) sound has been achieved by hooking up an MAudio Fast Track USB soundcard, and powered straight from the Pi USB surprisingly enough. Also, my Edirol PCR300 USB controller is also successfully talking to the Pi, though this needed additional power.

GuitarExtended
Posts: 26
Joined: Fri Aug 10, 2012 8:15 am
Contact: Website

Re: Pure Data?

Tue Nov 27, 2012 8:51 am

Hi,

The built-in analog output works fine with Pd, but you'll need to give Pd a bigger audio buffer (100ms is fine). You don't need this when using the hdmi output, no idea why.
But I confirm but the analog output works more than decently this way. Of course you'll have to make sure you patch doesn't suck all the resources of your Pi, but that's another story.
http://guitarextended.wordpress.com

CaptainBassline
Posts: 11
Joined: Thu Nov 15, 2012 9:49 am

Re: Pure Data?

Tue Nov 27, 2012 12:42 pm

With the USB soundcard I can trim down to 30ms & 512samples with very few audio complaints which is quite acceptable. Using PD in headless (-nogui) mode is perfect and is the goal for many of my patches.

As for the HDMI sound, I've read somewhere on here that the GPU deals with the digital sound which explains the improved quality(?).

Resource friendly patching - a black art and the pinnacle of PD excellence....

Return to “General discussion”