SynthMaker

elliptic path

Archive · 2011 11 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

philter5 ·

hey guys, i am working on a xy pad that i made for a friend. the main goal is to drive perfectly round or elliptic paths. every move action has autoslide and is hooked up to a lfo. but i´m stuck on how to get the XY coordinates from the point because i use the View rotate prImitiv. for the GUI it works . has somebody an idea ow i can create a circle for the path to P"preview" te path the rotation would take? i thought about ripping some functions from the properties panel of the SM bitmap knob (overlay circle, can be dragged,resized and show the circle path). will try this now. but how to go for elliptic paths? also the autoslide XY doesn´t slide smooth but tbh i ave not digged deeper .... here is tthe osm, it´s juck a quick rebuild because i don´t have the original osm here...

Edit: have to resize the osm a little, too large to upload here, limited to 2 mb 😕

philter5 ·

here is the osm. as i said i am just looking for a easy way to get the xy coordinates and a way to make elliptic paths... would bi nice if somebody can have a short look here....thxc 😉

philter5 ·

nobody?....hmmm.... can someone point me in a direction how to get the XY path/coordinates of a circle? 😉

rl ·

circle: x^2 + y^2 = r^2 ellipse: x^2/a^2 + y^2/b^2 = 1

solve this for y and you get: (two solutions each) circle: y = +- sqrt (r^2-x^2) for x = [-r..+r] ellipse: y = +- sqrt (b^2 * (1 - x^2/a^2) ) for x = [-a..+a]

(http://www.wolframalpha.com/input/?i=ellipse)

does this answer your question? oder habe ich was nicht verstanden?

philter5 ·

hey thx a lot RL (ich weiß nicht ob du mich richtig oder falsch verstanden hast , denn ICH verstehe bis jetzt nur Bahnhof...'). that´s a point in the right direction for me, i have to investigate further... 😉 i am very bad with math and this stuff... 😕 i thought that there would be an easier way.

infuzion ·

DSP = math 😉

philter5 ·

infuzion wrote: DSP = math 😉

i know infuzion, i know.... that´s the main reason why i use SM just for fun hehe 😀 but i learn. slowly but i learn 🙂

infuzion ·

philter5 wrote: infuzion wrote: DSP = math 😉

i know infuzion, i know.... that´s the main reason why i use SM just for fun hehe 😀 but i learn. slowly but i learn 🙂

I know I have to learn more maths myself... I wish I payed more attention in school!

stw ·

Here's an osm example of RLs formula. Maybe this helps a bit more... 🙂

martinvicanek ·

rl wrote: circle: x^2 + y^2 = r^2 ellipse: x^2/a^2 + y^2/b^2 = 1

solve this for y and you get: (two solutions each) circle: y = +- sqrt (r^2-x^2) for x = [-r..+r] ellipse: y = +- sqrt (b^2 * (1 - x^2/a^2) ) for x = [-a..+a]

Another representation is: x = r*cos(t); y = r*sin(t); (circle) x = a*cos(t); y = b*sin(t); (ellipse) with t = [0...2*Pi]

philter5 ·

martinvicanek wrote: rl wrote: circle: x^2 + y^2 = r^2 ellipse: x^2/a^2 + y^2/b^2 = 1

solve this for y and you get: (two solutions each) circle: y = +- sqrt (r^2-x^2) for x = [-r..+r] ellipse: y = +- sqrt (b^2 * (1 - x^2/a^2) ) for x = [-a..+a]

Another representation is: x = r*cos(t); y = r*sin(t); (circle) x = a*cos(t); y = b*sin(t); (ellipse) with t = [0...2*Pi]

thx a lot guys...

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.