What's the difference?

Official support for: xsrdo.blogspot.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Strangely there's a difference between the outputs of the following two projects:
case1.png
case2.png
Case1 has an extra multiplication by 1, why does that matter? Something to do with execution order?
You do not have the required permissions to view the files attached to this post.

Post

I can't quite work out the math but I can see whats happening.

When the oscillator pitch exceeds 5.0v the circuit is adding a DC offset of -5.0v (shown as -0.5 on the scope).
When it's ready to redraw the window the scope fills its buffer for each trace when it detects a zero volt rising. That is when the previous sample is <= 0.0f and the current sample is > 0.0f.
Because scope A is getting the -0.5f DC offset it never triggers and so you see the contents of the last trigged buffer displayed as a static image.

If you add a positive DC offset (either a constant 5.0v or a scaled connection from the pitch parameter) directly to the scope A trace it fixes it. But at very high frequencys the filters 45deg phase offset might come into play.

Kirsty

Post Reply

Return to “XSRDO - SynthCraft”