[PD-dev] block~-overlapped canvases: samplerate wrong for dsp objects

Thomas Grill gr at grrrr.org
Sat Jun 28 02:04:48 CEST 2008


Hi,
i just stumbled over a strange behavior in canvases with overlapped  
blocks without resampling (e.g. set with [block~ 1024 2]).
In such canvases e.g. [osc~ 440] delivers a cosine wave with an  
actual frequency of 220 Hz, because of the double overlap.
This is because dsp signal vectors carry the wrong sample rate (sp[0]- 
 >s_sr = 88200 instead of 44100).
[samplerate~] correctly reports 44100 because it uses a different  
method of retrieving the sample rate.

I consider that a bug and would file a bug report, but since this  
must have been present for a long time and must surely have been  
discovered by other people as well it might also be a feature.... any  
ideas?

gr~~~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2407 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20080628/5e868cca/attachment.bin>


More information about the Pd-dev mailing list