Re: [PD] Multi-input USB audio into Raspberry Pi

2014-02-03 Thread Dan Wilcox
FWIW forcing USB 1 mode works for some soundcards, but not for those that 
require asynchronous communication (my Roland UA-25). I'm glad it works for 
this device, but most of us are still out in the cold. The RPI has some 
inherent compromises for the goal of the project (cheap, general purpose 
computing) but I really wish they had added a dedicated USB controller!

On Feb 3, 2014, at 2:50 AM, pd-list-requ...@iem.at wrote:

 From: Brian Fay ovaltinevor...@gmail.com
 Subject: Re: [PD] Multi-input USB audio into Raspberry Pi
 Date: February 3, 2014 at 2:49:54 AM EST
 To: Simon Wise simonzw...@gmail.com
 Cc: pd-list pd-list@iem.at
 
 
 In case anyone looks at this thread, I'd better mention that it seems that 
 using CCRMA's distribution fixes my audio problems with the Behringer UCG102.
 
 I had been using the standard Raspbian distro when I wrote my comment. I 
 believe that distribution uses a different kernel than Satellite CCRMA, which 
 is optimized more for embedded audio projects.
 
 I had been unable to do duplex audio at 44100hz (had to switch to 32000), but 
 now it seems to work fine (even when running pd with an X11-forwarded GUI). 
 There's no noticeable dropouts at a latency of 10ms, at least in my initial 
 testing!
 
 In order to get this to work, I simply had to change the text of 
 /boot/cmdline.txt to the text politely included in 
 /boot/cmdline-usb1.1-only.txt (thanks, Stanford guys!)
 
 Anyway, just hoping I haven't led anybody astray from the Pi with my earlier 
 (somewhat misinformed) comment. I'd still be a little wary of using devices 
 with more channels or without linux drivers.
 
 -Brian


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Multi-input USB audio into Raspberry Pi

2014-02-02 Thread Brian Fay
In case anyone looks at this thread, I'd better mention that it seems that
using CCRMA's distribution fixes my audio problems with the Behringer
UCG102.

I had been using the standard Raspbian distro when I wrote my comment. I
believe that distribution uses a different kernel than Satellite CCRMA,
which is optimized more for embedded audio projects.

I had been unable to do duplex audio at 44100hz (had to switch to 32000),
but now it seems to work fine (even when running pd with an X11-forwarded
GUI). There's no noticeable dropouts at a latency of 10ms, at least in my
initial testing!

In order to get this to work, I simply had to change the text of
/boot/cmdline.txt to the text politely included in
/boot/cmdline-usb1.1-only.txt (thanks, Stanford guys!)

Anyway, just hoping I haven't led anybody astray from the Pi with my
earlier (somewhat misinformed) comment. I'd still be a little wary of using
devices with more channels or without linux drivers.

-Brian


On Fri, Jan 24, 2014 at 5:07 AM, Simon Wise simonzw...@gmail.com wrote:

 On 24/01/14 01:52, Chris McCormick wrote:

 Hi all,

 I might be really pushing my luck here, what with all the reports of
 audio issues on the Pi, but has anyone heard of somebody getting
 multi-input audio working with a multi-input USB 2.0 audio device?

 I have a dream of running one of these mixers (which does 8 channel
 audio out over USB 2.0) into Pd and being able to manipulate all of the
 channels from the mixer in Pd:

 http://www.alesis.com/multimix8usb20


 given they need audio drivers for windows and mac I don't like your
 chances on linux, let alone a Pi, except perhaps the USB1.1 mode with 2-in
 2-out.

 Apparently the esi gigaport hd+ does 8 channels OUT from the Pis, but I
 have not heard of any devices working with 8 IN.

 By the way ... finished my degree and I'm now in Sydney, if you're heading
 this side of he country sometime let me know.

 Simon


 ___
 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


Re: [PD] Multi-input USB audio into Raspberry Pi

2014-01-24 Thread Simon Wise

On 24/01/14 01:52, Chris McCormick wrote:

Hi all,

I might be really pushing my luck here, what with all the reports of
audio issues on the Pi, but has anyone heard of somebody getting
multi-input audio working with a multi-input USB 2.0 audio device?

I have a dream of running one of these mixers (which does 8 channel
audio out over USB 2.0) into Pd and being able to manipulate all of the
channels from the mixer in Pd:

http://www.alesis.com/multimix8usb20


given they need audio drivers for windows and mac I don't like your chances on 
linux, let alone a Pi, except perhaps the USB1.1 mode with 2-in 2-out.


Apparently the esi gigaport hd+ does 8 channels OUT from the Pis, but I have not 
heard of any devices working with 8 IN.


By the way ... finished my degree and I'm now in Sydney, if you're heading this 
side of he country sometime let me know.


Simon

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Multi-input USB audio into Raspberry Pi

2014-01-23 Thread Chris McCormick
Hi all,

I might be really pushing my luck here, what with all the reports of
audio issues on the Pi, but has anyone heard of somebody getting
multi-input audio working with a multi-input USB 2.0 audio device?

I have a dream of running one of these mixers (which does 8 channel
audio out over USB 2.0) into Pd and being able to manipulate all of the
channels from the mixer in Pd:

http://www.alesis.com/multimix8usb20

Cheers,

Chris.

-- 
http://mccormick.cx/

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Multi-input USB audio into Raspberry Pi

2014-01-23 Thread Chris McCormick
Hey Jaime,

On 24/01/14 01:48, Jaime E Oliver wrote:
 there was a thread on this just a while back and someone reported multiple 
 inputs, I cannot find it right now, but it;s there!

I spent a fair bit of time reading back through the archives and various
other sources yesterday and I did see mention of someone running four
inputs but a later post seemed to contradict what they'd said, and I
couldn't find anything on pd-list about that in particular.

Would love to be wrong about that of course!

In any case, I will report back here if successful.

Cheers,

Chris.

-- 
http://mccormick.cx/

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Multi-input USB audio into Raspberry Pi

2014-01-23 Thread Brian Fay
I don't want to discourage you, but from my experience there's definitely
some things to be wary of with the Raspberry Pi. For example, a lot of
people have reported needing to use USB 2.0 devices in USB 1.1 mode. I
don't know if this would necessarily hinder the functionality of the
device, but it seems like it could be a nuisance.

Personally, I've been using an interface with a single stereo input and
output (Behringer UCG102) for my guitar. Performance for that device has
been fairly satisfactory, but there are some problems I can't seem to
resolve...

I get buffer xruns every ten seconds or so when running PD, even in -nogui
mode with realtime priorities. This sounds like a little pop, a one
sample impulse, and while it's not unplayable, it is annoying. I am running
at a pretty low latency (~8ms, which is awesome), but even raising the
latency a little and messing around with the signal vector size doesn't
seem to help stop the popping.

Also, while it's not super important for my guitar processing, I've been
unable to run duplex audio at a samplerate higher than 32kHz. It seems that
this is related to an issue in newer versions of the kernel (there's an
issue posted here: https://github.com/raspberrypi/firmware/issues/197). I
don't know anything about Operating System code, so I have no idea if this
could be addressed somehow.

So while I can't say that multi-channel input and output won't work, I will
say that even stereo I/O is a little broken.

I wonder if the BeagleBone xM would be better for this project? It is a bit
pricier, but it seems like Stanford CCRMA students have had some success
with it (more than the Pi, anyway)
Check out this link for examples of that:
https://ccrma.stanford.edu/~eberdahl/satellite/

Good luck,

Brian


On Thu, Jan 23, 2014 at 7:31 PM, Chris McCormick ch...@mccormick.cx wrote:

 Hey Jaime,

 On 24/01/14 01:48, Jaime E Oliver wrote:
  there was a thread on this just a while back and someone reported
 multiple inputs, I cannot find it right now, but it;s there!

 I spent a fair bit of time reading back through the archives and various
 other sources yesterday and I did see mention of someone running four
 inputs but a later post seemed to contradict what they'd said, and I
 couldn't find anything on pd-list about that in particular.

 Would love to be wrong about that of course!

 In any case, I will report back here if successful.

 Cheers,

 Chris.

 --
 http://mccormick.cx/

 ___
 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