DPO Oscilloscope MFC C++

DSP, Plugin and Host development discussion.
RELATED
PRODUCTS

Post

Thanks Antto.

I will review the code and figure out how to merge it with my own code.
Note that I will use your code only for testing purposes.

Post

no problem..
mine is neither optimized, nor "final"
i continue to tweak the stuff
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.libera.chat >>> #kvr

Post

Hello Anto,

It has been a while ago I played with my oscilloscope. I want to add your code to my program but I don't know how to use it. Can you point me in the right direction?

At this moment I have a bitmap in memory and a setpixel and getpixel routine. I use BitBlt to copy the bitmap to the screenDC.

I want to remove my line drawing algo (Wu Antialiasing) and use your piece of code instead.

How can I draw a line using your code?

Thanks in advance!

Best regards,
Erwin.

Post

hi
well, remember, my function is for drawing single "dots" not entire lines
so for each line you wanna draw - chop it up in smaller steps (use interpolation) and draw dots instead, using my function:

setPS_AA(vx3 v, FCLR c, const float size) <-

so the position is in the "v" struct (x and y, iirc the "z" isn't used)
the color is "c" and the size is 1.0 for a 1pixel dot (diameter)
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.libera.chat >>> #kvr

Post

antto wrote:
like this?
Hi Antto,

How did you make the oscillator in this video? Do you have any example code for that?

Post

i've explained in this very thread
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.libera.chat >>> #kvr

Post

antto wrote:i've explained in this very thread
I was asking about creating the oscillator shown in the video and not the oscilloscope. I somehow don't like the sound of perfect square oscs.

Post

oh, the input signal, sorry :oops:
that's my x0xb0x's VCO
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.libera.chat >>> #kvr

Post

antto wrote:oh, the input signal, sorry :oops:
that's my x0xb0x's VCO
Ok, thanks. I thought it was the osc of your plugin.

Post Reply

Return to “DSP and Plugin Development”