beno ·
Can anyone give me pointers on how to use these? Basically I want to draw a triangle and I think I need to use these but I can't figure it out. I tried searching but couldn't find anything. Ben
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
beno ·
Can anyone give me pointers on how to use these? Basically I want to draw a triangle and I think I need to use these but I can't figure it out. I tried searching but couldn't find anything. Ben
jorge ·
beno wrote: Can anyone give me pointers on how to use these? Basically I want to draw a triangle and I think I need to use these but I can't figure it out. I tried searching but couldn't find anything. Ben
Yeah, we didnt get into arrays like floatArray, pointArray, stringArray etc, the PALine and G2PA are just the very initial components using arrays ( I dont mean arrays like in the code component although eventually it will be possible to convert between a graph and a Poly array ). Anyway, although it's not easy to use them at the moment due to lack of components, here is something you can already do using the parse components:
[old link] The parsing components are used to read a list of x,y values into two Graph Create component. The output of the Graph Create components are Graphs which are exactly the same as FloatArrays. Two floatArrays are then used to create a PointArray which is then used to draw a curved line with the PALine component ( I didnt realise it was drawing a curved line ). Eventually you'll have all kind of options for drawing bezier, curved, straight, filled etc but this stuff is really not a priority at the moment.
When we have more components available the schematic you'll need to create the same functionality as the one above will be a lot simpler, you wont need any parsing components.
infuzion ·
Hey, that's neat Jorge. I was thinking more of using Lines:
wrapping it all in a module to get:
jorge ·
infuzion wrote: Hey, that's neat Jorge. I was thinking more of using Lines:
Yeah, your solution is a lot better. I kind of answered to the title of the thread rather than what beno was actually trying to achieve.
beno ·
Thanks both of you. Jorge's worked for me because I wanted to use it as a pointer on a knob.
I kind of like the curvyness.
Thanks, Ben
infuzion ·
beno wrote: I kind of like the curvyness.
That is neat! You stumbled on a new uniqe style, like Ableton has their own styled knob!
beno ·
Thanks, I also made it so the knob tip lights to the second colour (blue in the screen shot) when it is at full left, full right or 12:00. It makes centering it easier. Ben
Shifrin ·
Oooooh, Beno, looks *very* nice, love the style 🙂
Shif.
beno ·
Thanks Shif!
stefan ·
Very hitchhikers guide to the galaxy'ish!
beno ·
Actually I got the idea from the new icons the BBC news uses to describe the direction of the wind. Actually come to think of it, they put a number in the middle of the knob, maybe I'll do that. Not much space though for a long float. Ben
beno ·
I love this app! The pal lines are really great for making knob shapes. Check it out:
I also implemented a cool pop up that displays the knob value as it changes. Ben
stefan ·
Awesome! The wheel styled ones are beautiful!
Shifrin ·
Yeah, they are looking fantastic beno!
Shif.
beno ·
Thanks guys!
malc ·
Liking this alot beno 🙂
Acolmiztli ·
Really like them.... um... are these going to be offered out at all?? 😉
beno ·
Acolmiztli wrote: Really like them.... um... are these going to be offered out at all?? 😉
Sure, I'm still tweaking them a bit but I should throw them up soon. Ben
Acolmiztli ·
Sweet. Can't wait.
Tom7777 ·
nice work beno, i made the pop up values also for all of my knobs a while back they are a cool feature to add i think 🙂
beno ·
OK, here you go. I've included both the knobs and a little helper module that makes it easy to convert from a 0-1 ratio to a set of values between a user specified min and max. Let me know how you like them and if you find any issues. Right now when a knob is disabled, you can still adjust its value. That could easily be changed but I figured live guys want to be able to adjust values at all times. Anyway, enjoy.
http://homepage.mac.com/benjaminolswang ... idgets.zip
Ben
Tom7777 ·
Thanks 🙂
platinumears ·
Thanks Ben! 🙂
Shifrin ·
platinumears wrote: Thanks Ben! 🙂
What he said 😀
Shif.
unkargherth ·
Nice work, beno
Anyway, Sorry. I couldn't resist to do a small 5-minutes modification on it
get it here
beno ·
Sorry, I'm away from my PC (I'm a Mac user at heart) and won't be around it for a few days. I'll take a look when I get back. What did you change if I might ask? Ben
unkargherth ·
Basically the color management of the knob "arrow". Instead of One color for all range with diferent colors at the start and end, i Built a color transitionfrom first to second that it's relatedto the value of knob. so at 0,0 you get the first, at 0.5 you get a 50%/50% and at 1.0 you get the second, in a smooth gradient
Don't know if it's really useful, but at least is funny (try black for first and red for second for a "devil-ish" look)
Acolmiztli ·
When the knob is on zero, it reverts back to red - at least it does here. Anyone else get this?
Rellik ·
Pretty sure that's intentional :P it does the same thing when it's in the middle and at the top, correct? Or am I - I could be confused as to the intended function of the schematic. I don't mind processing audio in the graphical/modular fashion, but making GUI elements modularly is simply baffling to me!
malc ·
This is great beno!
Nice avatar by the way - what happened to your nose? 😮
Shifrin ·
malc wrote: This is great beno!
Nice avatar by the way - what happened to your nose? 😮
I like the cartoon teeth 😉
Shif.
unkargherth ·
Rellik wrote: Pretty sure that's intentional :P it does the same thing when it's in the middle and at the top, correct? Or am I - I could be confused as to the intended function of the schematic. I don't mind processing audio in the graphical/modular fashion, but making GUI elements modularly is simply baffling to me!
WEll. I think is a mistake ( it was a exactly 5-min tweak). In theory, the idea is that color changes smothly from first to second, with no special considerations in any case
GaryG ·
Rellik wrote: I don't mind processing audio in the graphical/modular fashion, but making GUI elements modularly is simply baffling to me!
me too, but it's helluva lot of fun playing with them! 🙂
I've only really messed with existing schematics but found you can do so many crazy little things (relate thickness of elements to ratio for example).
In fact I may have played with GUI elements more than the audio ones... 😮
soma ·
Beno- I like this a lot but with the knob that has the popup display I noticed if I let go of the mouse after I have dragged off of the knob, the pop-up stays up, beacuse it has to sense a mouse up in the area of the knob.
Trying to figure out a solution.
(wondering if I can learn to do paged GUIs from this) [edit] oh paged guis are ez! use a flow to send from gui!
oddson ·
Sounds a little like the problem I had here. The solution was the after-drag trigger on the Y Drage Accumulate. I haven't checked yet but I'd assume it can be used to catch the mouseUp event you're looking for...
EDIT - found it. Knob Section/Knob Dial/Knob control.
Feed the after drag output to the changer 'down' input.
[Down? 😕 ]
oddson ·
This can also be simplified. The mouseUp/Down components aren't needed as the dragY will give you the ouputs you need.
Also the changer module can be replaced with the counter if you coerce the output into a boolean (a newish feature I think). For clarity you could turn it into a module called 'boolean switch' and coerce the output there and label the inputs 'true' and 'false'.
Wrote something here? To have a post removed or your name hidden, write to [email protected].