Frank B writes:
samplerate~ of course is easy, but for the other things I don't know
an elegant solution. This is especially hard as Pd uses so many
different ways to access a sound device: Portaudio, ALSA, OSS, JACK,
ASIO, Coraudio, maybe more?
You could try to eavesdrop on the [r pd] receiver, watch for
audio-related messages:
print: audio-setapi 1
print: audio-dialog 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 44100 50
print: audio-setapi 2
print: audio-dialog 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 44100 50
but that only works for changes to a running patch.
Ciao
Frank Barknecht _ ______footils.org__