[PD-dev] [ pure-data-Bugs-2005281 ] block~-overlapped canvases: samplerate wrong for dsp objects

SourceForge.net noreply at sourceforge.net
Sat Jun 28 20:11:54 CEST 2008


Bugs item #2005281, was opened at 2008-06-28 18:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2005281&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-devel
Group: v0.41.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Grill (xovo)
Assigned to: Nobody/Anonymous (nobody)
Summary: block~-overlapped canvases: samplerate wrong for dsp objects

Initial Comment:
There's 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.

For osc~ it's possible to take into account the wrong internal sample rate, but that's certainly not possible in more general cases.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2005281&group_id=55736




More information about the Pd-dev mailing list