Metronome + rand + interpolation

Discuss Lemur and share techniques.
Post Reply
oran-outan
Newbie
Posts: 39
Joined: 18 Dec 2011 17:30

Metronome + rand + interpolation

Post by oran-outan »

hi

some few questions... around process with rand...
- I have create a "metronome" (using peak detection with sin) and used it to run rand().
at each "peak" a new random value out...
this run good.
but Next, I like to create interpolation, line process, between the two rand value. the time interpolation corresponding to time between metronome peak.
I have look at the follow example, but not run good... if anyone can help me about the process... how interpolate between the last x and the new random value with time ?

- for create time pulse I used :
a = sin(time*(Metronome.x*50)) + 1; //"Metronome" is a Fader object
How I convert this to have value in ms to show it on Monitor object or on the fader value ?
I have think : 1000/Metronome.x*50 (convert "time" which is in "ms" with metronome factor) but result is false.

I join the template on link...

other stuff, certainly for the wishlist...
Is there possibility to make vibrate iPhone ?
An interested way to have sensitive feedback, link with sound Level...

thanks
Best
0-0
Attachments
rndTest.jzml
(10.82 KiB) Downloaded 71 times
Post Reply