Re: [PD] UA-25 on RPI

2013-05-05 Thread Dan Wilcox
I tried the latest firmware (alsa mmap update) and still the same issue. PD cpu 
usage seems lower now though, at about 8% with a simple test patch and stereo 
out.

Don't get me wrong, stereo audio out works with the UA-25 on rPI. The issue is 
that full duplex (stereo in  out) do not, resulting in crackling audio out. :P

On May 4, 2013, at 12:51 PM, pd-list-requ...@iem.at wrote:

 From: Dan Wilcox danomat...@gmail.com
 Subject: Re: [PD] UA-25 on RPI
 Date: May 4, 2013 12:50:47 PM EDT
 To: Antoine Villeret antoine.ville...@gmail.com
 Cc: pd-list list pd-list@iem.at, Miller Puckette m...@ucsd.edu
 
 
 No thanks. The UA-25 is bus powered, has two XLR+jack inputs, phantom power, 
 rca/jack outputs, direct monitor, individual channel gain control, master 
 gain control, and in a road tuff metal case. I have two of them, so it makes 
 sense to dump the PI if I can't get it to work with proven linux friendly 
 hardware especially when the pi costs less.
 
 Too bad. Back to iPad now ... :D


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] UA-25 on RPI

2013-05-05 Thread Dan Wilcox
Aha! I actually do remember this being an issue with my old hardware and it was 
something that was fixed by making sure to plug the audio in directly to the 
machine and not through a hub. Unfortunately, this doesn't solve the issue on 
the rPI, but disabling the Ethernet port *and* unplugging my wifi dongle does. 
The crackling is the USB bus probably not honoring the realtime audio requests 
of the UA-25 ... which pretty much sucks since I do need networking. This seems 
to be a recurring thread with *professional* audio cards and rPI.

Basically, it does work in full duplex ... but only if you don't plug anything 
more then a keyboard in addition to the soundcard.

My old hardware may have been slower, but apparently the USB setup was alot 
more robust. Hopefully this is something that can be fixed in later rPI 
firmware updates, but for now I can't run my entire system on a pi without 
networking :P

On May 5, 2013, at 11:19 AM, Dan Wilcox danomat...@gmail.com wrote:

 I tried the latest firmware (alsa mmap update) and still the same issue. PD 
 cpu usage seems lower now though, at about 8% with a simple test patch and 
 stereo out.
 
 Don't get me wrong, stereo audio out works with the UA-25 on rPI. The issue 
 is that full duplex (stereo in  out) do not, resulting in crackling audio 
 out. :P
 
 On May 4, 2013, at 12:51 PM, pd-list-requ...@iem.at wrote:
 
 From: Dan Wilcox danomat...@gmail.com
 Subject: Re: [PD] UA-25 on RPI
 Date: May 4, 2013 12:50:47 PM EDT
 To: Antoine Villeret antoine.ville...@gmail.com
 Cc: pd-list list pd-list@iem.at, Miller Puckette m...@ucsd.edu
 
 
 No thanks. The UA-25 is bus powered, has two XLR+jack inputs, phantom power, 
 rca/jack outputs, direct monitor, individual channel gain control, master 
 gain control, and in a road tuff metal case. I have two of them, so it makes 
 sense to dump the PI if I can't get it to work with proven linux friendly 
 hardware especially when the pi costs less.
 
 Too bad. Back to iPad now ... :D
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 


Dan Wilcox
@danomatika
danomatika.com
robotcowboy.com





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


[PD] UA-25 on RPI

2013-05-04 Thread Dan Wilcox
Howdy everyone,

Anyone had luck with a Roland/Edirol UA-25 with PD on a RaspberryPi? I've 
gotten it working fine with output, but enabling input gives me crackles and 
bad cpu usage. Ideally, I want 2 in / 2 out and this audio interface has worked 
wonderfully with Linux on older/slower machines in the past. The RPI should 
have no problem spec-wise to run this with PD using only alsa ...


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] UA-25 on RPI

2013-05-04 Thread Miller Puckette
HI Dan -

I tried and got even less far than you apparently did, and gave up.  It's too
bad - the UA 25 is the best USB-powered interface I've found so far.  For the
Pi I now use small, cheap, recent-vintage ones like the Griffin iMic. (but
there are even cheaper ones :)  If you have low-impedance mics, my best
guess would be to use an impedance matching transformer (lo to hi) and then
a PC mic (high impedance) interface.

cheers
M

On Sat, May 04, 2013 at 10:57:35AM -0400, Dan Wilcox wrote:
 Howdy everyone,
 
 Anyone had luck with a Roland/Edirol UA-25 with PD on a RaspberryPi? I've 
 gotten it working fine with output, but enabling input gives me crackles and 
 bad cpu usage. Ideally, I want 2 in / 2 out and this audio interface has 
 worked wonderfully with Linux on older/slower machines in the past. The RPI 
 should have no problem spec-wise to run this with PD using only alsa ...
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 

 ___
 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] UA-25 on RPI

2013-05-04 Thread Dan Wilcox
For what it's worth, output did work using: 

pd-extended -nogui -noadc -audiooutdev 3 test.pd

with 3 being the direct alsa interface as opposed to the alsa plug interface.

It's when I enable the audioindev that I get crackles. I know there are people 
out there using the UA-25 + jack, but I never needed jack before with an 
embedded setup.

Part of the issue might be the RPI's real-time kernel. My old wearable setup 
was far more unstable with a realtime kernel and using a regular kernel with 
realtime permissions for PD worked far better.

On May 4, 2013, at 11:52 AM, Miller Puckette m...@ucsd.edu wrote:

 HI Dan -
 
 I tried and got even less far than you apparently did, and gave up.  It's too
 bad - the UA 25 is the best USB-powered interface I've found so far.  For the
 Pi I now use small, cheap, recent-vintage ones like the Griffin iMic. (but
 there are even cheaper ones :)  If you have low-impedance mics, my best
 guess would be to use an impedance matching transformer (lo to hi) and then
 a PC mic (high impedance) interface.
 
 cheers
 M
 
 On Sat, May 04, 2013 at 10:57:35AM -0400, Dan Wilcox wrote:
 Howdy everyone,
 
 Anyone had luck with a Roland/Edirol UA-25 with PD on a RaspberryPi? I've 
 gotten it working fine with output, but enabling input gives me crackles and 
 bad cpu usage. Ideally, I want 2 in / 2 out and this audio interface has 
 worked wonderfully with Linux on older/slower machines in the past. The RPI 
 should have no problem spec-wise to run this with PD using only alsa ...
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 


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] UA-25 on RPI

2013-05-04 Thread Antoine Villeret
Hi dan,

Did you try to disable Ethernet turbo or to disable Ethernet at all
as describe on linuxaudio.org [1] ?
it gives me good result with ESI sound card (UGM-6, see my post on the list
from Thursday).

Cheers

a
[1] http://wiki.linuxaudio.org/wiki/raspberrypi

--
do it yourself
http://antoine.villeret.free.fr


2013/5/4 Dan Wilcox danomat...@gmail.com

 For what it's worth, output did work using:

 pd-extended -nogui -noadc -audiooutdev 3 test.pd

 with 3 being the direct alsa interface as opposed to the alsa plug
 interface.

 It's when I enable the audioindev that I get crackles. I know there are
 people out there using the UA-25 + jack, but I never needed jack before
 with an embedded setup.

 Part of the issue might be the RPI's real-time kernel. My old wearable
 setup was far more unstable with a realtime kernel and using a regular
 kernel with realtime permissions for PD worked far better.

 On May 4, 2013, at 11:52 AM, Miller Puckette m...@ucsd.edu wrote:

 HI Dan -

 I tried and got even less far than you apparently did, and gave up.  It's
 too
 bad - the UA 25 is the best USB-powered interface I've found so far.  For
 the
 Pi I now use small, cheap, recent-vintage ones like the Griffin iMic. (but
 there are even cheaper ones :)  If you have low-impedance mics, my best
 guess would be to use an impedance matching transformer (lo to hi) and then
 a PC mic (high impedance) interface.

 cheers
 M

 On Sat, May 04, 2013 at 10:57:35AM -0400, Dan Wilcox wrote:

 Howdy everyone,

 Anyone had luck with a Roland/Edirol UA-25 with PD on a RaspberryPi? I've
 gotten it working fine with output, but enabling input gives me crackles
 and bad cpu usage. Ideally, I want 2 in / 2 out and this audio interface
 has worked wonderfully with Linux on older/slower machines in the past. The
 RPI should have no problem spec-wise to run this with PD using only alsa ...

 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com






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



  
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com






 ___
 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] UA-25 on RPI

2013-05-04 Thread Dan Wilcox
Yes. Ethernet turbo disabled and Ethernet disabled. Disabled cpu freq scaling. 
Pd set with realtime permissions:

sudo chmod 4755 /usr/bin/pd-extended
sudo chmod 4755 /usr/bin/pd

Setting dwc_otg.speed=1 dosen't work for this card and yields an unstable 
system.

This is pretty disappointing as my old setup was on an embedded 500Mhz Celeron 
with half the RAM and almost no video memory, yet (so far) was running Pd + 
alsa better than the superiorly specced PI. The main reason I'm not using the 
wearable anymore is it's just worn out and trying to fix flexxed pcbs and the 
resultant random glitches was getting old years ago.

On May 4, 2013, at 12:31 PM, Antoine Villeret antoine.ville...@gmail.com 
wrote:

 Hi dan, 
 
 Did you try to disable Ethernet turbo or to disable Ethernet at all as 
 describe on linuxaudio.org [1] ?
 it gives me good result with ESI sound card (UGM-6, see my post on the list 
 from Thursday).
 
 Cheers
 
 a
 [1] http://wiki.linuxaudio.org/wiki/raspberrypi
 
 --
 do it yourself   
 http://antoine.villeret.free.fr
 
 
 2013/5/4 Dan Wilcox danomat...@gmail.com
 For what it's worth, output did work using: 
 
 pd-extended -nogui -noadc -audiooutdev 3 test.pd
 
 with 3 being the direct alsa interface as opposed to the alsa plug interface.
 
 It's when I enable the audioindev that I get crackles. I know there are 
 people out there using the UA-25 + jack, but I never needed jack before with 
 an embedded setup.
 
 Part of the issue might be the RPI's real-time kernel. My old wearable setup 
 was far more unstable with a realtime kernel and using a regular kernel with 
 realtime permissions for PD worked far better.
 
 On May 4, 2013, at 11:52 AM, Miller Puckette m...@ucsd.edu wrote:
 
 HI Dan -
 
 I tried and got even less far than you apparently did, and gave up.  It's too
 bad - the UA 25 is the best USB-powered interface I've found so far.  For the
 Pi I now use small, cheap, recent-vintage ones like the Griffin iMic. (but
 there are even cheaper ones :)  If you have low-impedance mics, my best
 guess would be to use an impedance matching transformer (lo to hi) and then
 a PC mic (high impedance) interface.
 
 cheers
 M
 
 On Sat, May 04, 2013 at 10:57:35AM -0400, Dan Wilcox wrote:
 Howdy everyone,
 
 Anyone had luck with a Roland/Edirol UA-25 with PD on a RaspberryPi? I've 
 gotten it working fine with output, but enabling input gives me crackles 
 and bad cpu usage. Ideally, I want 2 in / 2 out and this audio interface 
 has worked wonderfully with Linux on older/slower machines in the past. The 
 RPI should have no problem spec-wise to run this with PD using only alsa ...
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 


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] UA-25 on RPI

2013-05-04 Thread Antoine Villeret
ok bad news...

what about using another sound card ?
UGM6 has 2 hi-Z input (but without no phantom) and 2 outputs
it may fit your needs

+
a

--
do it yourself
http://antoine.villeret.free.fr


2013/5/4 Dan Wilcox danomat...@gmail.com

 Yes. Ethernet turbo disabled and Ethernet disabled. Disabled cpu freq
 scaling. Pd set with realtime permissions:

 sudo chmod 4755 /usr/bin/pd-extended
 sudo chmod 4755 /usr/bin/pd

 Setting dwc_otg.speed=1 dosen't work for this card and yields an unstable
 system.

 This is pretty disappointing as my old setup was on an embedded 500Mhz
 Celeron with half the RAM and almost no video memory, yet (so far) was
 running Pd + alsa better than the superiorly specced PI. The main reason
 I'm not using the wearable anymore is it's just worn out and trying to fix
 flexxed pcbs and the resultant random glitches was getting old years ago.

 On May 4, 2013, at 12:31 PM, Antoine Villeret antoine.ville...@gmail.com
 wrote:

 Hi dan,

 Did you try to disable Ethernet turbo or to disable Ethernet at all
 as describe on linuxaudio.org [1] ?
 it gives me good result with ESI sound card (UGM-6, see my post on the
 list from Thursday).

 Cheers

 a
 [1] http://wiki.linuxaudio.org/wiki/raspberrypi

 --
 do it yourself
 http://antoine.villeret.free.fr


 2013/5/4 Dan Wilcox danomat...@gmail.com

 For what it's worth, output did work using:

 pd-extended -nogui -noadc -audiooutdev 3 test.pd

 with 3 being the direct alsa interface as opposed to the alsa plug
 interface.

 It's when I enable the audioindev that I get crackles. I know there are
 people out there using the UA-25 + jack, but I never needed jack before
 with an embedded setup.

 Part of the issue might be the RPI's real-time kernel. My old wearable
 setup was far more unstable with a realtime kernel and using a regular
 kernel with realtime permissions for PD worked far better.

 On May 4, 2013, at 11:52 AM, Miller Puckette m...@ucsd.edu wrote:

 HI Dan -

 I tried and got even less far than you apparently did, and gave up.  It's
 too
 bad - the UA 25 is the best USB-powered interface I've found so far.  For
 the
 Pi I now use small, cheap, recent-vintage ones like the Griffin iMic. (but
 there are even cheaper ones :)  If you have low-impedance mics, my best
 guess would be to use an impedance matching transformer (lo to hi) and
 then
 a PC mic (high impedance) interface.

 cheers
 M

 On Sat, May 04, 2013 at 10:57:35AM -0400, Dan Wilcox wrote:

 Howdy everyone,

 Anyone had luck with a Roland/Edirol UA-25 with PD on a RaspberryPi? I've
 gotten it working fine with output, but enabling input gives me crackles
 and bad cpu usage. Ideally, I want 2 in / 2 out and this audio interface
 has worked wonderfully with Linux on older/slower machines in the past. The
 RPI should have no problem spec-wise to run this with PD using only alsa ...

 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com






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



  
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com






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



  
 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] UA-25 on RPI

2013-05-04 Thread Dan Wilcox
No thanks. The UA-25 is bus powered, has two XLR+jack inputs, phantom power, 
rca/jack outputs, direct monitor, individual channel gain control, master gain 
control, and in a road tuff metal case. I have two of them, so it makes sense 
to dump the PI if I can't get it to work with proven linux friendly hardware 
especially when the pi costs less.

Too bad. Back to iPad now ... :D
 
On May 4, 2013, at 12:42 PM, Antoine Villeret antoine.ville...@gmail.com 
wrote:

 ok bad news...
 
 what about using another sound card ?
 UGM6 has 2 hi-Z input (but without no phantom) and 2 outputs
 it may fit your needs
 
 +
 a
 
 --
 do it yourself   
 http://antoine.villeret.free.fr
 
 
 2013/5/4 Dan Wilcox danomat...@gmail.com
 Yes. Ethernet turbo disabled and Ethernet disabled. Disabled cpu freq 
 scaling. Pd set with realtime permissions:
 
 sudo chmod 4755 /usr/bin/pd-extended
 sudo chmod 4755 /usr/bin/pd
 
 Setting dwc_otg.speed=1 dosen't work for this card and yields an unstable 
 system.
 
 This is pretty disappointing as my old setup was on an embedded 500Mhz 
 Celeron with half the RAM and almost no video memory, yet (so far) was 
 running Pd + alsa better than the superiorly specced PI. The main reason I'm 
 not using the wearable anymore is it's just worn out and trying to fix 
 flexxed pcbs and the resultant random glitches was getting old years ago.
 
 On May 4, 2013, at 12:31 PM, Antoine Villeret antoine.ville...@gmail.com 
 wrote:
 
 Hi dan, 
 
 Did you try to disable Ethernet turbo or to disable Ethernet at all as 
 describe on linuxaudio.org [1] ?
 it gives me good result with ESI sound card (UGM-6, see my post on the list 
 from Thursday).
 
 Cheers
 
 a
 [1] http://wiki.linuxaudio.org/wiki/raspberrypi
 
 --
 do it yourself   
 http://antoine.villeret.free.fr
 
 
 2013/5/4 Dan Wilcox danomat...@gmail.com
 For what it's worth, output did work using: 
 
 pd-extended -nogui -noadc -audiooutdev 3 test.pd
 
 with 3 being the direct alsa interface as opposed to the alsa plug interface.
 
 It's when I enable the audioindev that I get crackles. I know there are 
 people out there using the UA-25 + jack, but I never needed jack before with 
 an embedded setup.
 
 Part of the issue might be the RPI's real-time kernel. My old wearable setup 
 was far more unstable with a realtime kernel and using a regular kernel with 
 realtime permissions for PD worked far better.
 
 On May 4, 2013, at 11:52 AM, Miller Puckette m...@ucsd.edu wrote:
 
 HI Dan -
 
 I tried and got even less far than you apparently did, and gave up.  It's 
 too
 bad - the UA 25 is the best USB-powered interface I've found so far.  For 
 the
 Pi I now use small, cheap, recent-vintage ones like the Griffin iMic. (but
 there are even cheaper ones :)  If you have low-impedance mics, my best
 guess would be to use an impedance matching transformer (lo to hi) and then
 a PC mic (high impedance) interface.
 
 cheers
 M
 
 On Sat, May 04, 2013 at 10:57:35AM -0400, Dan Wilcox wrote:
 Howdy everyone,
 
 Anyone had luck with a Roland/Edirol UA-25 with PD on a RaspberryPi? I've 
 gotten it working fine with output, but enabling input gives me crackles 
 and bad cpu usage. Ideally, I want 2 in / 2 out and this audio interface 
 has worked wonderfully with Linux on older/slower machines in the past. 
 The RPI should have no problem spec-wise to run this with PD using only 
 alsa ...
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 Dan Wilcox
 @danomatika
 danomatika.com
 robotcowboy.com
 
 
 
 
 
 


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] UA-25 on RPI

2013-05-04 Thread Martin Peach

On 2013-05-04 12:50, Dan Wilcox wrote:

No thanks. The UA-25 is bus powered, has two XLR+jack inputs, phantom
power, rca/jack outputs, direct monitor, individual channel gain
control, master gain control, and in a road tuff metal case. I have two
of them, so it makes sense to dump the PI if I can't get it to work with
proven linux friendly hardware especially when the pi costs less.

Too bad. Back to iPad now ... :D


Maybe a beaglebone black:
http://beagleboard.org/Products/BeagleBone%20Black

I have a Behringer UCA202 running on a beaglebone with no problems.

Martin


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