* hdsp: output fader control via command line
@ 2004-01-19 9:38 Martin Dausel
2004-01-21 16:09 ` Thomas Charbonnel
0 siblings, 1 reply; 3+ messages in thread
From: Martin Dausel @ 2004-01-19 9:38 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/html, Size: 2350 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hdsp: output fader control via command line
2004-01-19 9:38 hdsp: output fader control via command line Martin Dausel
@ 2004-01-21 16:09 ` Thomas Charbonnel
2004-01-21 18:43 ` Ed Wildgoose
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Charbonnel @ 2004-01-21 16:09 UTC (permalink / raw)
To: Martin Dausel; +Cc: alsa-devel
Martin Dausel wrote :
> Hello,
> i want to initialize my hdsp 9652 at startup to unmute the outputs
> without using hdspmixer.
>
The outputs are not "muted", but the matrix mixer is empty.
> Before the output fader controls were removed from the alsa control
> interface i used this script:
>
> ********************************************************
>
> #!/bin/bash
>
> i=0
> j=0
> count=26
> count2=52
> until [ $i -gt $count ]; do
>
> # inner loop delete all routing
> j=0
> until [ $j -gt $count2 ]; do
> amixer cset numid=5 $j,$i,0
> j=`expr $j + 1`
> done
>
> # set default routing software output n routes to hardware output n
> amixer cset numid=5 `expr $i + 26`,$i,32768
> i=`expr $i + 1`
>
> # set ouput faders to 0dB
> amixer cset iface=MIXER,name='Chn',index=$i 32768
> done
>
> **********************************************************
>
> Using the current alsa driver i can't use the line "amixer cset
> iface=MIXER,name='Chn',index=$i 32768".
> Is there any alternative (excluding hdspmixer)?
>
You can use amixer with the Mixer control.
> It would be very nice if there would be an parameter for the snd-hdsp
> module to control if the ouptuts are muted or at 0dB ( in a way like the
> "line_outs_monitor" parameter ).
>
Could be done. Maybe at some point I'll add a parameter so that you can
choose amongst the default hdspmixer presets at module insertion time.
> Is it possible to initialize the hdsp with a saved hdspmixer setting
> without using hdspmixer or better said without running X.
>
You can do so with a small shell script and the Mixer element of amixer.
You can find more information on the syntax browsing the alsa-dev
archive and on the hdsp card page of the alsa-project website.
I plan to add an option to export a shell script restoring the current
setup in the next hdspmixer release.
Thomas
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hdsp: output fader control via command line
2004-01-21 16:09 ` Thomas Charbonnel
@ 2004-01-21 18:43 ` Ed Wildgoose
0 siblings, 0 replies; 3+ messages in thread
From: Ed Wildgoose @ 2004-01-21 18:43 UTC (permalink / raw)
To: alsa-devel
> I plan to add an option to export a shell script restoring the current
> setup in the next hdspmixer release.
Yes, this would be extremely nice if alsa could save the mixer settings at
shutdown and restore them later.
I think the issue is that the mixer setting is not readable. Perhaps there
is a way to work around this though?
Thanks again
Ed W
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-21 18:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-19 9:38 hdsp: output fader control via command line Martin Dausel
2004-01-21 16:09 ` Thomas Charbonnel
2004-01-21 18:43 ` Ed Wildgoose
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.