[PD] System volume control

Mathieu Bouchard matju at artengine.ca
Sun Aug 14 20:39:59 CEST 2005

On Sun, 14 Aug 2005, Andrew Cavers wrote:

> Code an ALSA mixing external - I thought someone might say that. I don't
> know a word of c, but this would probably be about as basic as externals
> get, right? I might give it a go if I find myself with a free weekend
> sometime soon.

Well, there's the [SoundMixer] object which is part of the GridFlow
library (version 0.8.0), but it's OSS, not ALSA. It might still be able to
do the job.

You would use it like this:

[vol ( 70 80 )}
[SoundMixer /dev/mixer]

where in this example the 70 and 80 are volumes for left and right 
channels, in percentage.

Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
Freelance Digital Arts Engineer, Montréal QC Canada

More information about the Pd-list mailing list