Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Set GUI Controls to a Value - Halp?

For general discussion related FlowStone

Re: Set GUI Controls to a Value - Halp?

Postby oshex » Tue Apr 23, 2013 10:08 am

Hi, I just started experimenting with flowstone a few days ago. Could someone send me an example or explain how i reset a knob to a value via mouseLDouble or a mouse event component? Could only find help on synthmaker, but i want to use ruby, and most of all, understand what i'm doing. I dont really understand the talk in this thread :)

Edit: Figured it out :idea:

def mouseLDouble x,y
@value = [[@value,0.5].min,0.5].max
output 0,@value
output 1,true
redraw
oshex
 
Posts: 2
Joined: Tue Apr 23, 2013 10:03 am

Re: Set GUI Controls to a Value - Halp?

Postby Perfect Human Interface » Tue Apr 23, 2013 10:20 am

Holy crap that seems so easy in comparison...

I spent a ton of hours cramming features into my knobs; I wonder what I could have done had I known my way around Ruby.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Set GUI Controls to a Value - Halp?

Postby oshex » Tue Apr 23, 2013 10:52 am

Perfect Human Interface wrote:Holy crap that seems so easy in comparison...

I spent a ton of hours cramming features into my knobs; I wonder what I could have done had I known my way around Ruby.


I feel ya, spent days on this now, and i don't know ruby, just got lucky now from reading bits and pieces.
Good luck with your project, now i need to figure out how to do legato :/ :lol:
oshex
 
Posts: 2
Joined: Tue Apr 23, 2013 10:03 am

Previous

Return to General

Who is online

Users browsing this forum: No registered users and 87 guests