[PD-dev] ALSA ctrl object?

PSPunch shima at pspunch.com
Tue Sep 16 17:15:02 CEST 2008


Hi all,


I am in need for an object to emulate the following command.

$ amixer -c 1 cset numid=2 0


Perhaps an object such as...

[alsa_ctl 1 2]

Where the right inlet modifies numID and left for the value.


This is planned to be executed several times per second which executing
the shell command within Pd is probably not so efficient.

The ALSA API is quite a maze to me and I thought I'd ask if someone had
already done anything similar before stepping in further.

Thanks.


--
David Shimamoto




More information about the Pd-dev mailing list