thanks for the suggestions! I put this command in a script and loadbang it into [shell]: amixer -c 2 sset Capture,0 80%,80% unmute cap exactly what I needed :) Tim
2011/8/22 Ingo <i...@miamiwave.com> > I am using this when I start up Pd:**** > > ** ** > > [loadbang]**** > > |**** > > [alsactl -f /var/lib/alsa/asound.state restore SB(**** > > |**** > > [shell]**** > > ** ** > > ** ** > > First you need to store the mixer settings with this of course:**** > > ** ** > > [alsactl -f /var/lib/alsa/asound.state store SB(**** > > |**** > > [shell]**** > > ** ** > > "SB" at the end is the name of the onboard Realtek sound card. You might > have to change that according to the name in /proc/asound/cards or leave it > blank if it works.**** > > ** ** > > Ingo**** > > ** ** > > ** ** > > ** ** > > > -----Ursprüngliche Nachricht-----**** > > > Von: pd-list-boun...@iem.at > > [mailto:pd-list-boun...@iem.at<pd-list-boun...@iem.at>] > Im Auftrag **** > > > von IOhannes m zmoelnig**** > > > Gesendet: Montag, 22. August 2011 17:24**** > > > An: pd-list@iem.at**** > > > Betreff: Re: [PD] control alsamixer from pd?**** > > > **** > > > -----BEGIN PGP SIGNED MESSAGE-----**** > > > Hash: SHA1**** > > > **** > > > On 2011-08-22 16:25, tim vets wrote:**** > > > > Hi,when I'm using my internal soundcard, each time I boot, the input** > ** > > > setting**** > > > > is too low,**** > > > > forcing me each time to raise it manually in alsamixer.**** > > > > I tried "alsactl store", but that didn't work.**** > > > > Is there a way to access this setting from pd, so that it can be set * > *** > > > > automatically when loading a patch?**** > > > **** > > > i once wrote an [amixer] external (to be found in**** > > > svn:///....externals/iem/amixer) that would allow to do those things.*** > * > > > **** > > > i'm not sure however, whether it is in a useable state (mainly i think * > *** > > > because "alsactl store/restore" usually do work :-)**** > > > **** > > > **** > > > fgmard**** > > > IOhannes**** > > > -----BEGIN PGP SIGNATURE-----**** > > > Version: GnuPG v1.4.11 (GNU/Linux)**** > > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/**** > > > **** > > > iEYEARECAAYFAk5SdJsACgkQkX2Xpv6ydvSuxACguwko+4aY0NxYSIWApveEvEeV**** > > > JvEAoN0OJnVwLSIIkx8+hP0WKOMI3unB**** > > > =/rEI**** > > > -----END PGP SIGNATURE-----**** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** >
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list