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
PSPunch wrote:
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.
how about the [amixer] external in externals/iem/ ?
i have no idea about it's stability though (i hardly ever use it)
fga,sdr IOhannes
Thanks.
-- David Shimamoto
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev