Dead Center, Dead Simple !

Post any examples or modules that you want to share here
Post Reply
User avatar
rocknrollkat
Posts: 213
Joined: Mon Jan 04, 2016 7:04 pm
Location: Oakland Gardens, New York City, U.S.A.
Contact:

Dead Center, Dead Simple !

Post by rocknrollkat »

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 1014 times
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Dead Center, Dead Simple !

Post by RJHollins »

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!
User avatar
rocknrollkat
Posts: 213
Joined: Mon Jan 04, 2016 7:04 pm
Location: Oakland Gardens, New York City, U.S.A.
Contact:

Re: Dead Center, Dead Simple !

Post by rocknrollkat »

[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.
Contact:

Re: Dead Center, Dead Simple !

Post by rocknrollkat »

[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
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: Dead Center, Dead Simple !

Post by RJHollins »

sure thing.
Attachments
ROXY RUBY knob center locater.fsm
mod'd for 0->1 min/max
(121.46 KiB) Downloaded 1032 times
User avatar
rocknrollkat
Posts: 213
Joined: Mon Jan 04, 2016 7:04 pm
Location: Oakland Gardens, New York City, U.S.A.
Contact:

Re: Dead Center, Dead Simple !

Post by rocknrollkat »

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
Post Reply