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

Animated Knobs - Where are the 'Steps' ?

For general discussion related FlowStone

Animated Knobs - Where are the 'Steps' ?

Postby RJHollins » Sat Apr 27, 2013 8:29 am

Hello FS members.

I've been checking out the FS DEMO.

Recently I've been all over the SM forum, developed my first VST app after many moons of SM sitting on the back shelf ... only to lately learn that SM has evolved to FS.

I was able to import a small piece of my project into FS, and things seem like it's compatible. That was nice to see!

I'm still trying to better understand advantages of switching over to this new Dev platform. [also considering that there are so many 'familiar' faces here]. So now I spend time reading both forums in my learning quest.

I do have one question though ... Something that caught me.

I was looking inside the stock 'animated' KNOB. What I didn't see was the expected setting to set the knob into 'STEPs' ?!?! Is this 'function' available ??

One thing I did see that looked fantastic ... the RUBY routine to put a GAUGE around a knob. This looks great, and has been something I was going to try and implement in SM myself. Using KNOBMan has been the way I've gone, but I never cared for the way the graphics looked. They always seemed fuzzy and less sharp from KnobMan. Anyway ... that one feature could very well be the decider for me :)

Oh ... also ... is there some comparison list out there that list the FS advantage over SM ?? Not so much about programming 'robotics', but more to platform capability and such ? I understand that apps will be restricted to the PC platform [no MAC], but I'm thinking about the newer OS [64 bit]. I'm on XP-32 [still] ... again, any things to consider in migrating over ??

Thanks everyone for fielding the newb questions !
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Animated Knobs - Where are the 'Steps' ?

Postby Nubeat7 » Sat Apr 27, 2013 9:42 am

i always did it in green like multiply it with 12 and changed it to integers for changing the semitones, for shure there is a way in ruby too but too complicated for my knowledge..

funny you said this about knobman and the missing sharpness, i wanted to ask a similar question.. because i want to make a picture of my actual ruby surface including all the labels and knobs i did except the knob markes and load it as one picture to avoid doing it in realtime when using it as plugin, tried to do it with screenshots but this wasnt give me good results, because i needed to change the size in photoshop where i was loosing the sharpness too, any suggestions how to do this...

edit: maybe a function like render actual surface to any picture fileformat would be great, i think there was something like this in SM
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Animated Knobs - Where are the 'Steps' ?

Postby RJHollins » Sat Apr 27, 2013 11:53 am

Hm ... Not sure I was clear about the 'steps'. I was referring to a knob 'clicking
To defined locations. Maybe it is called 'snap'?
In SM we could go 'properties' and enter a number of clicks a knob could snap to.

As to knob an graphic, yea, I mean the knob itself looked fine, it was just the text
Around the knob that was not as clear as that straight from SM.

Looking again at the FS gauge, the ruby stuff looks interesting. I wonder how difficult it would be
To have an array list of, say, eq frequencies that would display around a knob at the major division lines?
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Animated Knobs - Where are the 'Steps' ?

Postby Nubeat7 » Sat Apr 27, 2013 12:46 pm

yes i know what you mean, maybe it would be ann easy way to write some cases related to the value in the draw section - like when value == 0,2 draw marker and so on, but to do it with variable count of steps its gonna be more difficult, I´m @ work atm but i think i will have a look in the evening because its a thing i wanted to try a while ago but never did it, maybe i will find a solution...
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Animated Knobs - Where are the 'Steps' ?

Postby Nubeat7 » Sat Apr 27, 2013 10:15 pm

ok here is a working knob with snap to steps just turn it on in properties and set the steps you want to have, i did the logic for it right at the beginning of the draw method,was pretty easy at the end just multiply value it with the steps you want, convert to int and divide it thru the steps again.

just not sure if the save and load states should be @value1 now ??
knob_snap.fsm
(8.88 KiB) Downloaded 1028 times

edit: added default when press crtl +leftclck
Last edited by Nubeat7 on Mon Apr 29, 2013 8:10 pm, edited 1 time in total.
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Animated Knobs - Where are the 'Steps' ?

Postby RJHollins » Mon Apr 29, 2013 3:23 am

Hi Nubeat7,

Thanks for posting the knob schematic. I had a chance to briefly test, and seems to be working !

I'm surprised that the stock knob didn't have this built in ?!?! :o

When I 'tested', I need to go back and check the SM knob for compatibility. I NOT sure, but the 'STEP' numbers seemed to have a different # of steps than the entered number would indicate. [??].

Something else noticed ... the [CNTRL- Left Clk] doesn't set the knob to the 'default' value ?!?

Is the demo version of FS missing primitives ??? These seem such fundamental functions not to be there.
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Animated Knobs - Where are the 'Steps' ?

Postby trogluddite » Mon Apr 29, 2013 8:59 am

RJHollins wrote:Is the demo version of FS missing primitives ??? These seem such fundamental functions not to be there.

Not missing primitives - but a few corners were shaved off when the new Ruby stuff was coded!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Animated Knobs - Where are the 'Steps' ?

Postby Nubeat7 » Mon Apr 29, 2013 5:55 pm

what do you mean with
RJHollins wrote:I NOT sure, but the 'STEP' numbers seemed to have a different # of steps than the entered number would indicate. [??].


for the default, this in the mouseMove section should do it:
Code: Select all
if(isKeyPressed "Control")
      @value = @default
      @value1 = @default
   else
      @value = @value
      @value1 = @value1
   end


+ you need to make the @default input
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Animated Knobs - Where are the 'Steps' ?

Postby RJHollins » Mon Apr 29, 2013 7:19 pm

Hi Trog & NuBeat7,

OK. Well ... I'm very new to checking out FS ... heck, I still feel quite the rookie with SM !! :shock:
:lol:

But from what I'm able to check out [with some small pieces of my project], it appears that the migration would work.
So that is encouraging 8-)

This 'KNOB THING', and the ability to notate a 'GAUGE' around a Knob would be a notable positive for me to switch over to FS.

I've been trying to follow some of the RUBY discussion. My first attempt to add the code for 'knob default', from NuBeat7 lit up the knob with a red error warning :o :roll: So, this is gonna take some learning ...

Looking forward ... this 'GAUGE' feature is something I see very important to my project [being built in], and would change my design philosophy for the entire project. I would like to explore this in more detail.

If I may, I would like to present some organized 'wish list' to float past the 'GURUs' to see if this would be possible.
I WAS nearing the release of my first project, but now considering delaying that in light of FS.

Let me pull some stuff together to post in this thread.
:)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Animated Knobs - Where are the 'Steps' ?

Postby Nubeat7 » Mon Apr 29, 2013 8:21 pm

i edited the download, it includes the default now too, for me grafics and interacting really brought me into the ruby but i`m still far away from more complex stuff yet, but thats the nice thing after short time you will be able to write little codes and be happy that they work and bring you more easy solutions than doing it in green, and so you can grow slowly into it..
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Next

Return to General

Who is online

Users browsing this forum: No registered users and 83 guests