Re: [Alsa-user] Duplexing (?) Audiophile 2496

2006-09-16 Thread Lee Revell
On Sat, 2006-09-16 at 19:15 -0500, Bob van der Poel wrote:
> So, it appears that jack is running. But, when I try to run audio I
> get "busy" error messages. The
> most clear comes from mpg123:
> 
> mpg123 *Yell*
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
> Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
> Uses code from various people. See 'README' for more!
> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
> /dev/dsp: Device or resource busy
> /dev/dsp: Device or resource busy
> /dev/dsp: Device or resource busy
> /dev/dsp: Device or resource busy
> /dev/dsp: Device or resource busy
> /dev/dsp: Device or resource busy
> /dev/dsp: Device or resource busy
> audio: Device or resource busy
> 

OSS apps like mpg123 don't work with ALSA's software mixing, unless you
run them with the aoss wrapper.

If you run JACK all your applications must be JACK capable.  mpg123 is
not.

> Your help on all this IS appreciated. I just don't get what's going
> on.
> 

The designers of this device assumed that mixing of multiple PCM streams
output by applications would be handled in software (like Windows, JACK,
and recent versions of ALSA do).

Lee




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Duplexing (?) Audiophile 2496

2006-09-16 Thread Bob van der Poel

> - Original Message -
> From: "Lee Revell" <[EMAIL PROTECTED]>
> To: "Bob van der Poel" <[EMAIL PROTECTED]>
> Subject: Re: [Alsa-user] Duplexing (?) Audiophile 2496
> Date: Sat, 16 Sep 2006 19:09:43 -0400
> 
> 
> On Sat, 2006-09-16 at 17:52 -0500, Bob van der Poel wrote:
> > Thanks, Lee. I'll see if I can get JACK running.
> >
> > But, if there is no hardware mixing ... then what is the point of 
> > all those neat little VUE meters in envy24control?
> >
> 
> The term "mixing" is overloaded.  The device does have a hardware mixer
> that allows one to set the levels of various input and output channels.
> What it does not have is the ability to mix multiple audio streams from
> different applications.
>

Okay. I still don't really understand this ... the device can process multiple 
audio streams 
for different applications ... but my applications can only open 1 stream in 
total?

I'm willing to leave this for an "I'll figure it out some other day" ... so, 
tried to
run JACK. Here's what I did (I did this as user and root and didn't seem to make
any difference):

bob$ jackd --driver=alsa -o=8 -i=8
jackd 0.100.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback

So, it appears that jack is running. But, when I try to run audio I get "busy" 
error messages. The
most clear comes from mpg123:

mpg123 *Yell*
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
/dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
audio: Device or resource busy

Your help on all this IS appreciated. I just don't get what's going on.

Thanks.


-- 
___
Play 100s of games for FREE! http://games.mail.com


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Duplexing (?) Audiophile 2496

2006-09-16 Thread Lee Revell
On Sat, 2006-09-16 at 17:52 -0500, Bob van der Poel wrote:
> Thanks, Lee. I'll see if I can get JACK running.
> 
> But, if there is no hardware mixing ... then what is the point of all those 
> neat little VUE meters in envy24control?
> 

The term "mixing" is overloaded.  The device does have a hardware mixer
that allows one to set the levels of various input and output channels.
What it does not have is the ability to mix multiple audio streams from
different applications.

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Duplexing (?) Audiophile 2496

2006-09-16 Thread Bob van der Poel

> - Original Message -
> From: "Lee Revell" <[EMAIL PROTECTED]>
> To: "Bob van der Poel" <[EMAIL PROTECTED]>
> Subject: Re: [Alsa-user] Duplexing (?) Audiophile 2496
> Date: Sat, 16 Sep 2006 13:08:22 -0400
> 
> 
> On Sat, 2006-09-16 at 12:05 -0500, Bob van der Poel wrote:
> > I recently installed a M-Audio Audiophile 2496 in machine running 
> > Mandriva 2006.
> >
> > All, including MIDI, runs just fine. But, it appears that I can 
> > only listen to a single stream at one time.
> >
> > I _think_ that it has something to do with the setup of either 
> > the /etc/asound.state or the .asoundrc files.
> > I have copied/pasted some .asoundrc examples from this mailing 
> > list, but find no difference at all.
> >
> > My alsa version is 1.0.9b.
> 
> ICE1712 has no hardware mixing, so this is the expected behavior with
> that ALSA version.
> 
> Upgrade to a recent ALSA and software mixing (dmix) will be
> automatically enabled for this card, but you'll have better results just
> using JACK.
>

Thanks, Lee. I'll see if I can get JACK running.

But, if there is no hardware mixing ... then what is the point of all those 
neat little VUE meters in envy24control?


-- 
___
Play 100s of games for FREE! http://games.mail.com


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Duplexing (?) Audiophile 2496

2006-09-16 Thread Lee Revell
On Sat, 2006-09-16 at 12:05 -0500, Bob van der Poel wrote:
> I recently installed a M-Audio Audiophile 2496 in machine running Mandriva 
> 2006.
> 
> All, including MIDI, runs just fine. But, it appears that I can only listen 
> to a single stream at one time.
> 
> I _think_ that it has something to do with the setup of either the 
> /etc/asound.state or the .asoundrc files.
> I have copied/pasted some .asoundrc examples from this mailing list, but find 
> no difference at all.
> 
> My alsa version is 1.0.9b.

ICE1712 has no hardware mixing, so this is the expected behavior with
that ALSA version.

Upgrade to a recent ALSA and software mixing (dmix) will be
automatically enabled for this card, but you'll have better results just
using JACK.

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Duplexing (?) Audiophile 2496

2006-09-16 Thread Bob van der Poel
I recently installed a M-Audio Audiophile 2496 in machine running Mandriva 2006.

All, including MIDI, runs just fine. But, it appears that I can only listen to 
a single stream at one time.

I _think_ that it has something to do with the setup of either the 
/etc/asound.state or the .asoundrc files.
I have copied/pasted some .asoundrc examples from this mailing list, but find 
no difference at all.

My alsa version is 1.0.9b.

The modules loaded are:
bob$ /sbin/lsmod | grep snd
snd_seq_midi6752  0
snd_seq_dummy   2532  0
snd_seq_oss31136  0
snd_seq_midi_event  5696  2 snd_seq_midi,snd_seq_oss
snd_seq46960  6 
snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss48960  1
snd_mixer_oss  16896  2 snd_pcm_oss
snd_ice171259684  2
snd_ice17xx_ak4xxx  3136  1 snd_ice1712
snd_ak4xxx_adda 5664  2 snd_ice1712,snd_ice17xx_ak4xxx
snd_cs8427  8160  1 snd_ice1712
snd_ac97_codec 83900  1 snd_ice1712
snd_pcm79784  3 snd_pcm_oss,snd_ice1712,snd_ac97_codec
snd_timer  20548  2 snd_seq,snd_pcm
snd_page_alloc  8392  1 snd_pcm
snd_i2c 4800  2 snd_ice1712,snd_cs8427
snd_mpu401_uart 5664  1 snd_ice1712
snd_rawmidi19616  2 snd_seq_midi,snd_mpu401_uart
snd_seq_device  6828  5 
snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd46116  15 
snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ice1712,snd_ak4xxx_adda,snd_cs8427,snd_ac97_codec,snd_pcm,snd_timer,snd_i2c,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore   7008  3 snd

Maybe I don't understand this ... corrections welcome ... but should programs 
not open there own, new, channels to the sound card using the card's multiple 
PCM channels as needed? I have run envy24control, but mutting/unmutting the 
different PCM 1-8 has no effect, other than turning on/off the digital mixer 
display ... but the output doesn't seem to be effected.

Oh, just checked and neither esd or arts is running.

Either something is wrong here or I am totally misunderstanding all this :)

Thanks!


-- 
___
Play 100s of games for FREE! http://games.mail.com


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user