[PD] control alsamixer from pd?

Ingo ingo at miamiwave.com
Mon Aug 22 18:22:32 CEST 2011


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-bounces at iem.at [mailto:pd-list-bounces at iem.at] Im Auftrag 

> von IOhannes m zmoelnig

> Gesendet: Montag, 22. August 2011 17:24

> An: pd-list at 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/>
http://enigmail.mozdev.org/

> 

> iEYEARECAAYFAk5SdJsACgkQkX2Xpv6ydvSuxACguwko+4aY0NxYSIWApveEvEeV

> JvEAoN0OJnVwLSIIkx8+hP0WKOMI3unB

> =/rEI

> -----END PGP SIGNATURE-----

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110822/cd89510a/attachment.htm>


More information about the Pd-list mailing list