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

Dead Center, Dead Simple !

Post any examples or modules that you want to share here

Dead Center, Dead Simple !

Postby rocknrollkat » Wed Nov 29, 2017 2:28 pm

Hi Gang,
Let's say you want to locate dead center on that pan pot project.
Here's a handy dandy way to do it with nifty LEDs that look great on your mixing console as well !
Or, you can configure the code to locate any pot value you need.
The code is so simple it needs no explanation.
Open up the box and see what's what, learn and have fun.
And as always, it's dead simple !

Enjoy,

ROXY :D
Attachments
ROXY RUBY knob center locater.fsm
Dead center, dead simple !
(121.38 KiB) Downloaded 954 times
User avatar
rocknrollkat
 
Posts: 213
Joined: Mon Jan 04, 2016 7:04 pm
Location: Oakland Gardens, New York City, U.S.A.

Re: Dead Center, Dead Simple !

Postby RJHollins » Wed Nov 29, 2017 5:27 pm

Hi Roxy,

Was checking this out. For almost all of my Knob/Sliders I use a MIN/MAX of 0/1. [something the Guru's of SM
pointed out for DAW automation, etc].

Anyway, I mod'd the RUBY code. Changed the INPUT to a float, and the conditions to 0.5 works !

Also seeing a 'self.output' syntax. That's new to me.

I like simple. I've been called worse. :| Thanks!
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Dead Center, Dead Simple !

Postby rocknrollkat » Wed Nov 29, 2017 5:55 pm

[color=#FF00BF]Hi RJ,
Hey, good to know about that 0 to 1 for automation, I'm just getting into that now, so knowing that will save a TON of headaches down the road !
I'll have to rework some of my DLLs now that I know this, but better now than later.
As you can see, the code is dead simple, so a rewrite is no problem, thanks for taking the time to reply !

All the best,

ROXY :D
[/color]
User avatar
rocknrollkat
 
Posts: 213
Joined: Mon Jan 04, 2016 7:04 pm
Location: Oakland Gardens, New York City, U.S.A.

Re: Dead Center, Dead Simple !

Postby rocknrollkat » Wed Nov 29, 2017 6:02 pm

[quote="RJHollins"]Hi Roxy,

Anyway, I mod'd the RUBY code. Changed the INPUT to a float, and the conditions to 0.5 works !

RJ, could you 'up' your modded fsm file so I can see what you did to the Ruby code?
I'm new to Ruby so any info would help, thanks !

ROXY :D
User avatar
rocknrollkat
 
Posts: 213
Joined: Mon Jan 04, 2016 7:04 pm
Location: Oakland Gardens, New York City, U.S.A.

Re: Dead Center, Dead Simple !

Postby RJHollins » Wed Nov 29, 2017 8:07 pm

sure thing.
Attachments
ROXY RUBY knob center locater.fsm
mod'd for 0->1 min/max
(121.46 KiB) Downloaded 981 times
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Dead Center, Dead Simple !

Postby rocknrollkat » Wed Nov 29, 2017 9:10 pm

RJHollins wrote:sure thing.

Thanks-a-plenty, RF !
I had no idea (forgot) how to convert to 'float', and also, Ruby wants "0.5" instead of just ".5" for the values.
Your mod cleared that up for me, thanks !

Catch you soon,

ROXY :D
User avatar
rocknrollkat
 
Posts: 213
Joined: Mon Jan 04, 2016 7:04 pm
Location: Oakland Gardens, New York City, U.S.A.


Return to User Examples

Who is online

Users browsing this forum: Google [Bot] and 38 guests