Page 1 of 1

Programming Simple Pitch Wheel Behaviour

Posted: Sun Nov 15, 2015 4:50 pm
by mwhlr
Hi guys,

I'm wondering if anyone could assist me with programming a simple pitch wheel that I've made in Flow-stone.
The wheel is controlling the pitch of two oscillators, as can be seen in the attached image.


Untitled.png
Untitled.png (38.7 KiB) Viewed 8341 times


I would like to have the wheel snap to a value of 1 whenever it is not being used (whenever the mouse is not controlling it), but am unsure how I would program this. I am a beginner in terms of coding and have never used Ruby, so am pretty stuck for how I would go about it. Could anyone possibly assist me with this?

Many thanks,
Mwhlr

Re: Programming Simple Pitch Wheel Behaviour

Posted: Sun Nov 15, 2015 9:56 pm
by Nubeat7
just trigger a default value (of 1) when release mouse (and maybe also afterload), nice animated knob, did you design it by yourself?

Re: Programming Simple Pitch Wheel Behaviour

Posted: Mon Nov 16, 2015 10:07 am
by mwhlr
Nubeat7 wrote:just trigger a default value (of 1) when release mouse (and maybe also afterload), nice animated knob, did you design it by yourself?


Hi Nubeat, thanks for your response.

Yes, I made it after fiddling around with knobman for a few hours. :)

Does the method you've suggest involve the use of both primitives and coding? Excuse my ignorance, but as a complete beginner, I'm still struggling with how to go about this. I'm also aware that the animated knob itself would have to snap to it's position at "1". Is this more complicated than I initially thought?

Re: Programming Simple Pitch Wheel Behaviour

Posted: Fri Nov 20, 2015 11:54 am
by mwhlr
Apologies for the double post. I'm still unsure about this and would appreciate some more help. Also happy to provide the animated pitch wheel if anyone is interested.