[PD] -nogui troubles on mac

IOhannes m zmoelnig zmoelnig at iem.at
Thu May 14 14:08:53 CEST 2009


IOhannes m zmoelnig wrote:
> hard off wrote:
>>
>> but with -the nogui option enabled, the delayline is just making a small
>> delay (my guess is one block)

here it seems to be more than one block: something like 1.63 ms

> 
> i can confirm this with 0.41-4 and 0.42-4 on linux.
> 
> i don't have any explanation at hand.

the problem seems to be that the audio-subsystem is not fully 
initialized yet (see a bug-report by claude on a simliar issue: 
https://sourceforge.net/tracker/?func=detail&aid=2724318&group_id=55736&atid=478070)

thus [delwrite~] does not know the real samplerate at the time of 
creation and therefore computes the delay-buffer wrongly (way too short)
since the delay buffer is so short, you can send [delread~] any 
delaytime, it will not really change anything.

one ugly workaround for now is to dynamically create the [delwrite~] at 
a time where the samplerate has already settled.


fmgad.sr.
IOhannes
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: delaytest8.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090514/44243890/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090514/44243890/attachment.bin>


More information about the Pd-list mailing list