Page 1 of 1

Lookin for this surve

Posted: Wed Feb 09, 2022 1:08 am
by adamszabo
Hey guys,

I am just wondering if anyone has a formula or a way to create a similar curve? I think I got something similar by accident by multiplying a saw with a sine or a triangle, or a sine with another sine, I dont remember, maybe someone has any ideas? The point is that it should be like a sine, but then it has these parts where its at 0 for a while then goes negative, then continues like that.

The tops are not flat like in my image, thats just a crappy quick paint job, they should be smooth like the top of a sine :lol:

Thank you for the suggestions!

Re: Lookin for this surve

Posted: Wed Feb 09, 2022 1:20 am
by adamszabo
I just remembered that a triangle multiplied by itself 3 times gives something similar, but the peaks are too sharp and not sine like.

Re: Lookin for this surve

Posted: Wed Feb 09, 2022 1:27 am
by martinvicanek
Sin(w*t)^3 maybe?

Re: Lookin for this surve

Posted: Wed Feb 09, 2022 2:11 am
by DaveyBoy
How about a sine + third harmonic, try varying the relative amplitudes :)

Re: Lookin for this surve

Posted: Wed Feb 09, 2022 8:11 am
by martinvicanek
DaveyBoy wrote:How about a sine + third harmonic, try varying the relative amplitudes :)

Yes, this is also possible, since sin(w*t)^3 = 0.75*sin(w*t) - 0.25*sin(3*w*t), refer to https://en.wikipedia.org/wiki/List_of_t ... n_formulae.

Re: Lookin for this surve

Posted: Wed Feb 09, 2022 9:22 am
by Spogg
I love these challenges!

Here’s my quick and dirty solution. You can stream-modulate the crossover level too!

Be aware of aliasing though due to the sudden discontinuity at zero.

Re: Lookin for this surve

Posted: Wed Feb 09, 2022 11:39 am
by adamszabo
Thanks guys, very interesting ideas!