XML Feeds

.

[maxmsp] differenciating trigonometric function with delta~

Stefan Tiedje Stefan-Tiedje at addcom.de
Sat Feb 2 03:59:25 MST 2008


Vincent Goudard schrieb:
> Hi list,
> 
> I was confused by the use of delta~ :
> wanted to differentiate a cosine to get a sine~.
> I thought i would need to multiply the output of delta
> by 44100 to approximate derivative by finite difference..
> but found out I had to multiply by some 6900 or so to
> get the amplitude of my sine wave to have unit amplitude...
> Am I blind about something ?

If you change the frequency, you'll see that the normalisation value is 
dependent on that. delta~ will output a maximum value at the zero 
crossing. its the difference between adjacent samples. That difference 
is dependent on the sampling rate and frequency of the sine. You would 
have to calculate your normalisation value according to this...

You'll see, that your assumed value of 4410 will fit for the frequency 
of pi/2 (1.570796 Hz)

Hope this helps...

Stefan

-- 
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|\-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com



More information about the maxmsp mailing list