SynthMaker

Patch Cable GUI

Archive · 2009 9 old posts

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

Meer ·

Hello, I'm new to all this, but i'm trying to make a gui with patch cables, like reason. At first i was thinking of using a parabola beetween 2 points and a bitmap array, or something. But now i've had a bit of success using an arc and two draggable things, although the math involved to modify the arc when the draggable things are moved around makes my head asplode. what way do you think would be the best for doing this?

nix ·

I'm interested in this too. Great way to make modular synths and effects. Maybe I'll try, but in some time though, my latest creation is keeping me busy. So you've managed to make connections between modules in a VST?

Meer ·

Right now i'm just trying to get the cables to look good when they're dragged around on the screen, currently it sort of looks like a custom happy face generator...

I haven't started any sort of synth design yet, but when (if...) i get the gui to work, i assume i'd just use multiplexers to make the connections.

Disco_Steve ·

read up on the physics of hanging wires. the equations aren't that complicated and will produce cables that hang in a very realistic way.

as far as I remember the mass of the wires falls out of the equations so all your left with is a parabola. which varies depending on the height and length between them. the equations are based on wires of a fixed length. so on adding a scaling term (say) so that the length changes with the distance between the points then the parabola will only be a function of the relative 'heights' of the points.

I cant remember the equations off head, but I need to revise semi conductors today, exam tomorrow 🙁

very interesting project keep up the good work 🙂

stw ·

Disco_Steve wrote: I cant remember the equations off head, but I need to revise semi conductors today, exam tomorrow 🙁

very interesting project keep up the good work 🙂

just for the start of it: Parabola: f(x)= a * x^2 + b

philter5 ·

this was my last try to make a patch cable gui, but i have never finished it. you can only bend the cables atm but not really connected them in a usefull way. but i think with a little math it is possible to get a nice looking gui. i will clean up my schematic and post it later, here is a small exe if you like to test it

matti ·

I worked on some patch cords some time ago. Didn't finish the project tho. But it seemed to be pretty simple with the mouse primitives. Just make a mouse area and take the drag values to make the connections. I think i left my project to the state where i would need to draw some cables.. (instead of just lines)

philter5 ·

😀 come on lets throw our ideas together and i am sure we will get a good result!

philter5 ·

i have started a patch cable gui project(if you han´t seen it yet 🙂 ) and it would be really nice to collaborate with somebody to get a REALLY good result.so if you want to join or give some help or some good hints feel free to post ! PATCH CABLE PROJECT

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.