NoteWorthy Composer Forum

Forums => Tips & Tricks => Object Plugins => Topic started by: Flurmy on 2022-11-20 05:44 pm

Title: MIDIcontroller
Post by: Flurmy on 2022-11-20 05:44 pm
My first plugin, and done with a very rusty Lua. Anyway, surprisingly ;-), here is it and seems doing what I needed.

This plugin allows access to the MIDI controllers (MPC) NWC doesn't handle natively. I still wonder why.
The controller values are always assumed as absolute values (no sweep allowed).

Some controllers are simply on/off switch like the well known "pedal up"/"pedal down". Indeed, "pedal" is itself exactly a controller, simply handled natively by NWC.
The switch controllers available are 'Portamento', 'Sostenuto', 'Soft', 'Legato' and 'Hold'. In these cases any value below 64 means off, above or equal 64 means on.

Since I found annoying this plugin text taking a lot of space, I added a parameter equivalent to the well known "preserve width" that's unchecked by default.
I'd have found useful to have also the text hidden by default, but I was unable to do so.

N.B. I took for myself the NWC plugin ID "fl". I hope none has anything to object. But since it's not "official" I can't attach the bare file, I had to zip it.
Title: Re: MIDIcontroller
Post by: NoteWorthy Online on 2022-11-24 04:52 am
fl is yours now.
Title: Re: MIDIcontroller
Post by: Francis Beaumier on 2022-11-24 10:30 am

It's early Thanksgiving morning and I am thankful to hear from you again, Eric! Happy Thanksgiving!
Title: Re: MIDIcontroller
Post by: Flurmy on 2022-11-24 08:17 pm
It's early Thanksgiving morning and I am thankful to hear from you again, Eric! Happy Thanksgiving!
So do I.
And thanks for the official acknowledgment!
Title: Re: MIDIcontroller
Post by: Mike Shawaluk on 2022-11-25 09:56 am
Now that the plugin ID "fl" is assigned to you, you should replace the zipped file with the unzipped file on the top message of this thread. That way the "Manage objects" command in NWC will be able to update peoples' systems when you release updates to the object.
Title: Re: MIDIcontroller
Post by: Flurmy on 2022-11-25 08:19 pm
Done.
Thanks, Mike.
Title: Re: MIDIcontroller
Post by: NoteWorthy Online on 2022-11-26 01:29 pm
A clip to get a new user started:

Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|User|MIDIcontroller.fl|Pos:8|Controller:Hold|Value:0
!NoteWorthyComposerClip-End