RS-MET icon indicating copy to clipboard operation
RS-MET copied to clipboard

using rsOnePoleFilterStereo / rsFloat64x2 creates 3 traces on oscilloscope, wtf?

Open elanhickler opened this issue 7 years ago • 5 comments

It does not show up as 3 traces on PrettyScope, just take my word for it. It is creating some bizarre stereo audio.

31baf96f9b 1

elanhickler avatar Oct 31 '18 21:10 elanhickler

using rsFloat64x2

i have no idea what you are doing there and much less what i should expect from that. why (and how) would anyone use the scope with rsFloat64x2?

RobinSchmidt avatar Oct 31 '18 21:10 RobinSchmidt

oops. Title updated. It doesn't sound noisy, sounds like a filtered signal, but obviously something very strange is going on.

elanhickler avatar Oct 31 '18 22:10 elanhickler

This is not important to fix before the sale, I switched to using the non-stereo version for now.

elanhickler avatar Nov 01 '18 02:11 elanhickler

soo - what is your setup? you create a circle as stereo signal (sin/cos for x/y) by some generator, feed that into the stereo version of the rsOnePoleFilter and then the output of that filter into the rsPhaseScopeBuffer (using double again for the rsPhaseScopeBuffer's template variables, or maybe float for TPix? - or are you also using rsFloat64x2 there?). anyway, it's confusing

RobinSchmidt avatar Nov 01 '18 14:11 RobinSchmidt

I'm just showing you the oscilloscope because it's quite bizarre to get 3 traces.

The problem is only about the filter. It looks like some kind of data alignment problem. Sometimes the stereo filters are aligned and you don't see multiple traces and it seems to behave normally. Other times not. I'll have to do more testing at some point to isolate the problem.

elanhickler avatar Nov 01 '18 19:11 elanhickler