sin vs sin1, and other cognates (help !)

DSP related issues, mathematics, processing and techniques
Post Reply
User avatar
guyman
Posts: 207
Joined: Fri Mar 02, 2018 8:27 pm

sin vs sin1, and other cognates (help !)

Post by guyman »

hey hey

I'm in the alpha toolbox and I see stream math functions for sin1 cos1 and tan1, and I had some modules for these in the old version.. but I need sin cos and tan...

I know these are interchangeable, and saw a post about sin1 vs sin before... but things aren't adding up when I implement.. does anyone have a schematic that can show how to prepare an input for the sin1,cos1,tan1 ... to get the solutions for sin, cos, and tan.. or prims that just give the sinx cosx tanx.... each one.. STREAM/DOUBLE STREAM ONLY.. no green.

and any other handy stream functions would be killer right now... I'll dig thru what I got and share when I get home.....
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: sin vs sin1, and other cognates (help !)

Post by martinvicanek »

Flowstone's sin1 function is just the ordinary sine function with its argument scaled by 2*pi:

sin1(x) = sin(2*pi*x)

While a full cycle for the sine function is 2*pi (in radians), a full cycle for sin1 is 1.

Note that Flowstone's green implementation Sin is the ordinary sine function of an unscaled argument in radians, so bear that in mind when you precompute stuff in green.
SinAndSin1.fsm
(12.04 KiB) Downloaded 1115 times

I have noticed that the flowstoneguru site is down for good, so I post my collectiion of stream math functions below.
Attachments
MVs_Math_Functions_2.5.fsm
(38.62 KiB) Downloaded 1196 times
User avatar
guyman
Posts: 207
Joined: Fri Mar 02, 2018 8:27 pm

Re: sin vs sin1, and other cognates (help !)

Post by guyman »

thanks bro !!
Post Reply