Lookin for this surve

For general discussion related FlowStone
Post Reply
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Lookin for this surve

Post 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!
Attachments
thinsine.jpg
thinsine.jpg (14.96 KiB) Viewed 14282 times
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Lookin for this surve

Post 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.
Attachments
tri.jpg
tri.jpg (33.14 KiB) Viewed 14280 times
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Lookin for this surve

Post by martinvicanek »

Sin(w*t)^3 maybe?
User avatar
DaveyBoy
Posts: 131
Joined: Wed May 11, 2016 9:18 pm
Location: Leeds UK

Re: Lookin for this surve

Post by DaveyBoy »

How about a sine + third harmonic, try varying the relative amplitudes :)
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Lookin for this surve

Post 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.
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: Lookin for this surve

Post 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.
Attachments
Sin2 pulse dev 1.fsm
3.06
(191.15 KiB) Downloaded 751 times
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: Lookin for this surve

Post by adamszabo »

Thanks guys, very interesting ideas!
Post Reply