<html><head></head><body>Seablade, you are right, I think. But I have another idea to discuss. But therefore I gonna open a New topic.<br>
<br>
Regards<br>
Tim<br><br><div class="gmail_quote">On 24. Mai 2014 13:22:33 MESZ, Thomas Vecchione <seablaede@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><a href="http://wiki.linuxaudio.org/">http://wiki.linuxaudio.org/</a><br /><div><br /></div><div>I wouldn't want to maintain another wiki at ardour as well.  There is enough spam on the forums right now.</div>
<div><br /></div><div>       Seablade</div></div><div class="gmail_extra"><br /><br /><div class="gmail_quote">On Sat, May 24, 2014 at 4:37 AM, Tim <span dir="ltr"><<a href="mailto:ardour@linux-daw.org" target="_blank">ardour@linux-daw.org</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hey Paul,<br />
<br />
thanks for the script. Does it make sense to collect such knowledge anywhere in the internet. <br />
Perhaps it is a good idea to have a wiki at <a href="http://ardour.org" target="_blank">ardour.org</a>, where users and devs can log their knowledge.<br />
I think it could also be a discharge to the devs in general.<br />
<br />
Regards<span class="HOEnZb"><font color="#888888"><br />
Tim<br /><br /></font></span><div class="gmail_quote"><div><div class="h5">On 24. Mai 2014 03:47:23 MESZ, Paul Davis <<a href="mailto:paul@linuxaudiosystems.com" target="_blank">paul@linuxaudiosystems.com</a>> wrote:</div>
</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
<div dir="ltr"><br /><div class="gmail_extra"><br /><br /><div class="gmail_quote">On Fri, May 23, 2014 at 9:38 PM, Benjamin Scherrer <span dir="ltr"><<a href="mailto:benjamin@wagnerbrutal.de" target="_blank">benjamin@wagnerbrutal.de</a>></span> wrote:<br />

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br />
<br />
apart from the hdsploader, does anyone know why the issue "need to start<br />
the hdspmixer once to hear something" hasn't been addressed? Safety<br />
reasons sound fine, but there could be a simple "on" switch in the<br />
config, couldn't there? I haven't seen (heared) this behavior with<br />
another card.<br /></blockquote><div><br /></div><div>ALSA has a rule that all devices are silenced at boot.<br /><br />It is up to user space to restore any existing configuration.<br /><br /></div><div>The ALSA tools used by most distros to do this restoration don't work properly in the case of a matrix mixer (which the HDSP series has). <br />

</div><div> <br /></div><div>So instead, the user gets to run hdspmixer. It CAN be done with ALSA tools, but not with alsactl store/restore. I have shell scripts like the one below that I sometimes use to restore particular settings, which I include here to just to show proof of concept.<br />

<br />---------<br />#!/bin/bash<br /><br />AMIXER="amixer -q"<br />CARD="-c 1"<br /><br />if [ x$1 = xon ] ; then<br />    gain=32768<br />    verb="route"<br />else<br />    gain=0<br />    verb="mute"<br />

fi<br /><br />shift;<br /><br />#input_source : 0-25  (physical channels), <br />#               26-51 (software playback)<br />#output_source : 0-25 (physical channels), <br />#               26-27 (line out)<br /><br />case $1 in<br />    play)<br />

    for chn in $(seq 26 51);do<br />        $AMIXER $CARD cset numid=5 $chn,$(($chn-26)),$gain<br />    done<br />    ;;<br /><br />    thru)<br />    for input in $(seq 0 25);do<br />        for output in $(seq 0 25); do<br />        if [ $input != $output ]; then<br />

            $AMIXER $CARD cset numid=5 $input,$output,$gain<br />        fi<br />        done<br />    done<br />    ;;<br /><br />    thru12) <br />    $AMIXER $CARD cset numid=5 0,0,$gain<br />    $AMIXER $CARD cset numid=5 1,1,$gain<br />

    ;;<br /><br />    mon)<br />    for chn in $(seq 26 51);do<br />        if [ $(($chn % 2)) -eq 0 ] ; then<br />        $AMIXER $CARD cset numid=5 $chn,26,$gain<br />        else<br />        $AMIXER $CARD cset numid=5 $chn,27,$gain<br />

        fi<br />    done<br />    ;;<br /><br />    all)<br />    for input in $(seq 0 51); do<br />        for output in $(seq 0 27); do<br />        echo -n "."<br />        if [ $gain = 0 -o $input != $output ]; then<br />            $AMIXER $CARD cset numid=5 $input,$output,$gain<br />

        fi<br />        done<br />        echo<br />    done<br />    ;;<br /><br />    off)<br />    for input in $(seq 0 51); do<br />        for output in $(seq 0 27); do<br />        echo -n "."<br />        if [ $gain = 0 -o $input != $output ]; then<br />

            $AMIXER $CARD cset numid=5 $input,$output,$gain<br />        fi<br />        done<br />        echo<br />    done<br />    ;;<br />esac<br />------------------------<br /><br /></div></div></div></div>
<p style="margin-top:2.5em;margin-bottom:1em;border-bottom:1px solid #000"></p></div></div><div class=""><pre><hr /><br />Ardour-Users mailing list<br /><a href="mailto:ardour-users@lists.ardour.org" target="_blank">ardour-users@lists.ardour.org</a><br />
<a href="http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org" target="_blank">http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org</a><br /></pre></div></blockquote></div><br /><div class="">
-------<br />
Thanks for Ardour!<br />
<br />
Regards<br />
Tim</div></div><br />_______________________________________________<br />
Ardour-Users mailing list<br />
<a href="mailto:ardour-users@lists.ardour.org">ardour-users@lists.ardour.org</a><br />
<a href="http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org" target="_blank">http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org</a><br />
<br /></blockquote></div><br /></div>
</blockquote></div><br>
-------<br>
Thanks for Ardour!<br>
<br>
Regards<br>
Tim</body></html>