[PD] channels and dac

Batuhan Bozkurt batuhan at batuhanbozkurt.com
Tue Sep 18 06:04:45 CEST 2007


Roman Haefeli wrote:
> On Mon, 2007-09-17 at 16:23 +0200, Frank Barknecht wrote:
>   
>> Hallo,
>> IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote:
>>
>>     
>>> you can script the entire audio-settings dialog.
>>> the problem is, that you can only script the entire audio-settings 
>>> dialog, and not parts of it (this is: you have to specify audio-api, 
>>> inchannels, outchannels, latency, midi-stuff ,...)
>>>       
>> Do you have a pointer to some examples for this or the specs or where
>> to find the specs for audio dialog messages?
>>     
>
> actually, i found nowhere documentation about this, probably also
> because the format of these messages will change over pd versions.
>
> however, you can easily find out, what you need to send by eavesdroping
> on the 'pd channel':
>
> [r pd]
> |
> [print]
>
> then choose the desired settings in the menu and click 'ok'. as soon as
> you click ok, you'll see the message (and its format) in the pd-console.
>
> this is the hack i use to get jack running, since '-jack' isn't working
> here and always having to open the menu is odd.
>
> to finally answer atte's initial question:
> yes, it is possible to set the number of channels from within a
> pd-patch.
>
> roman
>
>
>
> 	
>   
This is an excellent trick. PD was not defaulting to 2 channels for some 
reason in my machine, and setting inchannels, outchannels with "-jack" 
was not working here too. I've sniffed the message and am sending it to 
pd now and it works like a charm.
Is this documented anywhere?

Batuhan




More information about the Pd-list mailing list