Re: [Alsa-user] Analog line in output via IEC958?

2009-03-18 Thread Gordon McLellan
On Tue, Mar 17, 2009 at 10:10 AM, Antony Gelberg
antony.gelb...@wayforth.com wrote:
 .asoundrc that you see in the above link.  I would like to plug something into
 the analogue line in and have it be output via the IEC958 as well.  However,
 it is only output via the analogue line out, not the optical.  How can I get
 this to work?

Antony,

I don't know of a solution for you under linux, but perhaps this will
jog the memory of someone who is more knowledgeable about such
things...

Under Windows, with my nvidia sound, the nvmixer app used to have an
option digitize input.  I see this option is gone now, so I wonder
if nvidia had problems with it and nuked it, or if they just hide it
somehow.

My desktop setup used to consist of two computers, one monitor and a
pair of digital speakers.  One of the computers would output analog
audio to the second, which would digitize it, mix it with its own
audio and output to my digital speakers.  I don't recall any delay,
but never really paid attention to those details.

If there's a switch for it under windows, and it is a function of the
chipset rather than the software, is it possible to turn it on under
linux?

-Gordon

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] [alsa-user] Weak left channel sound

2007-10-24 Thread Gordon McLellan
Hello everyone.

The left channel on my laptop and desktop seems to have stopped working
properly under Linux.  I've tried two different flavors of the same distro,
ubuntu 710 and 704.

Here's a summary of the problems:

Laptop: 704 = weak left channel, 710 = no left channel at all
Desktop: 704 = normal left channel, 710 = weak left channel

By weak, I mean the volume is considerably diminished compared to the
right channel.  It does not matter what the source of the sound is (system
sounds, xmms, flash player, etc)

By no left channel I mean when the balance control is set to 100% left, no
sound can be heard from the system at all.

I've checked the volume control under gnome, as well as alsa mixer and
verified that both channel volumes are set the same.  The laptop is a
Centrino Duo based chipset and processor, the desktop is a Core 2 Duo based
chip and processor (both of the 965 variety I believe).  The sound chipset
is reported as Intel HDA, not sure what version or model.  The laptop is a
HP Compaq nc6320 and the desktop is a Dell Optiplex GX745.

Any suggestions of things to try, do I need to post up pages and pages of
output from tools such as lspci -v ?

Gordon
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Shuttle SN41G2 Optical spdif

2007-03-01 Thread Gordon McLellan
Hi Everybody!

I'm pulling my hair out over here.  I'm stuck on getting my sound working!

setup:
shuttle sn41g2 v1 (fn41 v1 mobo), 512m ram, 120g pata hdd, athlon xp
2200+ cpu, fedora core 6, 2.6.19 (stock) kernel, all the latest yum
updates

this shuttle has the overly complex nvidia SoundStorm2 sound system in
it, the one with all the fancy Dolby Digital codecs.  The motherboard
has support for both coaxial and optical spdif outputs, however only
the optical output is actually connected to anything.

I've tried various /etc/asound.conf files, from simple to complex.
I've tried having the IEC958 mixer control muted and unmuted
I've tried adjusting the volume on the IEC958 Playback (it has 3 levels)
I've tried 44100 and 48000 sample rates, as well as no resampling at all
I've tried playing a dvd: mplayer -ao asla:device=spdif -ac hwac3 -
the receiver lights change to indicate a dolby digital stream is
detected, but no sound
Under windows, of course, it works fine :-(

__Does anyone with a Shuttle SN41G2 have their optical output working?__

Thanks,
Gordon

here's the various configurations

[EMAIL PROTECTED] ~]# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: nForce2 [NVidia nForce2], device 0: Intel ICH [NVidia nForce2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: nForce2 [NVidia nForce2], device 2: Intel ICH - IEC958 [NVidia
nForce2 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

[EMAIL PROTECTED] ~]# aplay -Lv
PCM list:
hw {
@args.0 CARD
@args.1 DEV
@args.2 SUBDEV
@args.CARD {
type string
default {
@func getenv
vars {
0 ALSA_PCM_CARD
1 ALSA_CARD
}
default {
@func refer
name 'defaults.pcm.card'
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars {
0 ALSA_PCM_DEVICE
}
default {
@func refer
name 'defaults.pcm.device'
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name 'defaults.pcm.subdevice'
}
}
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
plughw {
@args.0 CARD
@args.1 DEV
@args.2 SUBDEV
@args.CARD {
type string
default {
@func getenv
vars {
0 ALSA_PCM_CARD
1 ALSA_CARD
}
default {
@func refer
name 'defaults.pcm.card'
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars {
0 ALSA_PCM_DEVICE
}
default {
@func refer
name 'defaults.pcm.device'
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name 'defaults.pcm.subdevice'
}
}
type plug
slave.pcm {
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
}
plug {
@args.0 SLAVE
@args.SLAVE {
type string
}
type plug
slave.pcm $SLAVE
}
shm {
@args.0 SOCKET
@args.1 PCM
@args.SOCKET {
type string
}
@args.PCM {
type string
}
type shm
server $SOCKET
pcm $PCM
}
tee {
@args.0 SLAVE
@args.1 FILE
@args.2 FORMAT
@args.SLAVE {
type string
}
@args.FILE {
type string
}
@args.FORMAT {
type string
default raw
}
type file
slave.pcm $SLAVE
file $FILE
format $FORMAT
}
file {
@args.0 FILE
@args.1 FORMAT
@args.FILE {
type string
}
@args.FORMAT {
type string
default raw
}
type file
slave.pcm null
file $FILE
format $FORMAT
}

Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Gordon McLellan
just to chime in ... I have a similar pioneer

look on your display, where the little digital / analog display box
is.  when receiving a encoded pcm bitstream, the display will show:

DOLBY
DIGITAL

or

DIGITAL
DTS

depending on the encoding used... when a normal non-encoded pcm is
received the indicator will just read DIGITAL

gordon

On 10/13/06, Nathan A. Smith [EMAIL PROTECTED] wrote:
 On Fri, 2006-10-13 at 17:57 -0400, Lee Revell wrote:
  On Fri, 2006-10-13 at 17:39 -0400, Nathan A. Smith wrote:
Does the receiver indicate an AC3 signal rather than standard PCM?
   No, nothing visibile on my receiver.
 
  Do you mean the receiver has no way to display whether it's receiving
  PCM or AC3, or that the indicator is not active?
 

-
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=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] OT: Recommendations for sound recording with SPDIF

2006-06-08 Thread Gordon McLellan
Greetings,

If you can find one you like with a coaxial sp/dif input (or even just
a sp/dif in header), it is a small matter to convert optical to
coaxial.

If you're handy with soldering, you basically need a photo transistor
(toslink receiver) and a few other components ... or if you prefer a
finished product, toslink to coax converters are normally around $20,
even cheaper if you shop I bit ... I think I paid around $15 for mine,
but it's the other way around, coax to toslink.

Gordon


On 6/8/06, Avuton Olrich [EMAIL PROTECTED] wrote:
 Hello,

 I'm soon to be needing a sound card for recording (24/7) with optical
 SPDIF. I already have one doing the job, an Audigy2 Platinum, which I
 could get another one, but I'm looking to see if there's a cheaper
 alternative, maybe even something that doesn't require a 5 1/4 slot,
 that would accomplish the same thing. PCI and ALSA/reliability are a
 must.

 Thanks for the recommendations,
 --
 avuton
 --
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.


 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user



___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] OT: Recommendations for sound recording with SPDIF

2006-06-08 Thread Gordon McLellan
I'm pretty sure you won't be able to do that.. for cards that have
both options,  they just have a Toslink to Coax converter built on the
card, and feed the coax signal into the dsp.

you could probably have both sources connected, but not actually use
them at the same time.

Gordon


On 6/8/06, Avuton Olrich [EMAIL PROTECTED] wrote:
 Whoa! I didn't even realize that existed. Found one at
 http://www.ramelectronics.net/html/audio_toslink_adapters.html .
 That's great. Hopefully I can record through both my optical and
 coaxial at the same time on the SB Audigy2. That'll be the end of the
 research I need to complete. Thanks so much.
 --
 avuton
 --
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.



___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] on the fly routing

2006-04-06 Thread Gordon McLellan
is it possible to (re)route an audio stream (source) such as mpg321
on the fly to one or more sound cards?

by on the fly, I mean, without interrupting the source, ie ctrl-c and
reissue the command with a different output device

I've designed an digitally controlled analog signal router, but it's
looking like it'll cost $100 to actually build a few (pcb is very
complex and costly to have fabricated in small quanity) ... so if I
can do it in software, great!

thanks for any advice!
Gordon


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] turn capture [on] on usb audio.

2006-04-04 Thread Gordon McLellan
On 4/4/06, Rakotomandimby Mihamina
[EMAIL PROTECTED] wrote:
 # amixer -c 0 sset PCM 10
 Simple mixer control 'PCM',0
   Capabilities: cvolume cswitch cswitch-joined
   Capture channels: Mono
   Limits: Capture 0 - 16
   Mono: Capture 10 [62%] [off]

 How to turn it [on]?

try this:

amixer -c0 sset PCM unmute

not sure why the syntax is weird like that .. the mixer says on/off
but the command line is mute/unmute

Gordon


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] turn capture [on] on usb audio.

2006-04-04 Thread Gordon McLellan
Strange...

have you tried just plain set instead of sset ... or do a amixer -c0
controls and use cset id#


On 4/4/06, Rakotomandimby Mihamina
[EMAIL PROTECTED] wrote:

 It does not work.
 The settings are still the same.
 Something also weird: when running alsamixer there is no slider.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] ES1371 and rear speakers

2006-04-01 Thread Gordon McLellan
Does anyone on the list have an ES1371 (Creative or Ensoniq AudioPCI
or SB128).   I'm wondering about its capabilities.

/proc/asound/devices shows it has two playback devices and one capture devices.

[EMAIL PROTECTED] wav]# cat /proc/asound/devices
  0: [0- 0]: ctl
  8: [0- 0]: raw midi
 17: [0- 1]: digital audio playback
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture

and according to what I've read on google, the LINE-IN jack doubles as
the rear line-out.

however, speakers (amplified) connected to the line-out produce no sound

I try sending a wav to hw:0,1 (should that be the rear channels?) and
it shows up on the front speakers.  Same thing happens when I send a
wav to hw:0,0

is there a command or something I need to issue, to enable the rear outputs?

the datasheet for the hardware codec (akm4531) shows two DACs, one
with a dedicated line level output and a mixer output, the other with
only a mixer output ... this would seem to match up with some stuff
I've read on google about the rear speakers being of 'uncontrollable'
volume (since there is no gain control indicated in the datasheet)

I also tried doing it this way:
[EMAIL PROTECTED] wav]# aplay -D rear tada.wav
ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem
(MIXER,'AC97 2ch-4ch Copy Switch',0,0,0): No such file or directory
aplay: main:508: audio open error: No such file or directory

I have added amixer shows me, and the very end of this message, since
the output is very long.

Any suggestions or pointers as to what to look for or what to do next
are appreciated.

Thanks,
Gordon


[EMAIL PROTECTED] wav]# amixer -c 0
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 9 [29%] [on]
  Front Right: Playback 9 [29%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'PCM Out Path  Mute',0
  Capabilities:
  Mono:
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [on] Capture [off]
  Front Right: Playback 0 [0%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [on]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities:
  Mono:
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [on]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined
cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Mono Output Select',0
  Capabilities:
  Mono:
Simple mixer control 'Capture',0
  Capabilities: 

[Alsa-user] divided multichannel

2006-03-31 Thread Gordon McLellan
Greetings!

I'm new to the list, and although not new to alsa, I'm new to how it
works ... in the past, I've just relied on it to do it's magic,
auto-configured as it was during the install :)

Anyway ... my goal, lofty perhaps, is to have multiple room music from
my linux machine, that is running 24x7 as a file server.  I only have
one PCI slot free in the box (scsi and sata cards take up the rest of
the space), however, I thought, fear-not, my SB live has 3 stereo
output channels.

I searched google a little, and this list archives, and I have found
this very question asked several times, but no one ever offered a
response.   So I take it this must be harder than it sounds?

My questions is ... can I split up the 3 stereo outputs, so that I can
use each as its own 'plain' stereo sound card... perhaps listening to
different MP3s or Shoutcast streams on each output.   Each output
would be whisked away to remote amplifiers serving separate rooms

Thanks in advance for any insight and guidance!

Gordon


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user