Kyma Forum
  Tips & Techniques
  ELLIPTICAL ORBITS

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   ELLIPTICAL ORBITS
garth paine
Member
posted 30 July 2012 21:32         Edit/Delete Message   Reply w/Quote
Hi everyone

I want to make a control variable that outputs a log characteristic that would represent an elliptical orbit where one end of the ellipse was 1 and the other -1.

I have thought about using
(!Slope ** (!Gate ramp: !DecayTime s) - 1 / (!Slope - 1))

however I remember some nice math in an example that uses sine and cos for a really smooth rounding of the extremes - I can not find it now... and Math is not my strong point :-(

Can someone point me in the right direction? Thanks, Garth

IP: Logged

pete
Member
posted 31 July 2012 14:08         Edit/Delete Message   Reply w/Quote
Hi Garth

With a sin wave and it's matching cos wave, they will plot a perfect circle if one is the X axis and the other is the Y. If you change the level of just one of them you will get an elliptical plot instead of a circle.

You can generate a sin and cos with two identical QuadOscillators modules, but feed one with a constant one on the left and zero on the right input and the other with a constant zero on the left and one on the right. Make sure the value/formula in all the Frequency field of the QuadOscillators are the same and then the sin/cos relationship will remain true.

Changing the frequency changes the rate you go round the circle. If you want to go round the circle anti clockwise put in a negative frequency.

Hope this makes sense

Pete

[This message has been edited by pete (edited 31 July 2012).]

IP: Logged

SSC
Administrator
posted 31 July 2012 15:53         Edit/Delete Message   Reply w/Quote
Garth, is this the parametric equation you were remembering?

x = a cos(t)
y = b sin(t)

Then I guess you would substitute a fullRamp generator for t. x would be your left-right pan and y would be your front back pan? In your example a = 1, so you can drop that. And b would control the eccentricity of the ellipse.

Do you want two parameters (x and y)? Or did you want to use x as a control and y as the output?

IP: Logged

garth paine
Member
posted 31 July 2012 18:15         Edit/Delete Message   Reply w/Quote
As always very enlightening responses thanks - in this case I am not using it to Pan around the circle, but more as a behaviour through freq. domain - the nature of the faster movement through the centre and the slower rounding of the extremes seems like the kind of thing I am looking for - the dancers are also orbiting in a wide variety of ways and so this same inertia - momentum quality is seen in their gestures.

I am looking for a single variable output, i.e.. X, and a script to place in a SoundToGlobalController object.

IP: Logged

SSC
Administrator
posted 31 July 2012 19:18         Edit/Delete Message   Reply w/Quote
If the equation of an ellipse is:

(x squared / a squared) + (y squared / b squared) = 1

(where a is distance from 0 to the ellipse on one axis and b is the distance on the other axis).

You've already said that a=1, so we can drop it and get

(y squared / b squared) = 1 - x squared

and

y = (1 - x squared)) sqrt * b

So maybe if you put this into a Frequency field:

(1 - !x squared) sqrt * !FreqRange hz + !FreqMin h

you could use it to generate frequencies based on a controller named !X. Note, the frequency would get lower, the larger X is.

Curious to hear.


IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c