SynthMaker

Readout knob with MIDI learn GUI

Archive · 2009 27 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

philter5 ·

this could be a way to give the end user of your instrument or effect the option to configure the midi controls. Right double click and the knob is in learn mode and will be highlighted.also, in learn mode it will show the current CC Nr. in the label. learn mode will be auto disabled after a new CC is received (just turn the external control you want to assign to this knob)or if you left click the knob once again.

😉 phil

sunsynth ·

I use a filled circle in different colors to show the learn-mode-state...

aliasant ·

I had a similar project somewere here in the forum but I never got it to work in Reaper. Midi cant get thru to the knobs so even though my solution was brilliant in SM it didnt work at all in real life. But I only tested it in Reaper.

Did you guys actually get it to work in a host?

philter5 ·

damn aliasant you´re right, thx for the hint !i made this for a standalone exe (where it works fine) but now that you´ve said it i tested it in several ways in ableton live 7 and it´s not working!!! but i do not understand why! how can it be that i can control a plugin knob with a CC but when i want to make it learn a new cc number inside the host it does not work? sounds strange to me... and the other thing: when i press a note instead of turning a knob when the plugin knob is in learning it receives the message, why not when i turn a knob? 🙁 i am lost but i try to find the answer. i mean pre-configured CC´s by the developer of a plugin are nice but so many people are using different midi controllers etc (and they all got different CCs) that there MUST be a way to let the user decide how to map his controls. at least thats my opinion 😉

aliasant ·

Yeah. I agree with you. Seems to me that the host blocks it. I have seen plugins having this feature though so it cant be impossible but maybe it cant be done with SM. Maybe it needs some real code to be written.

Maybe this is something that should be requested as a new feature?

philter5 ·

aliasant wrote: Maybe this is something that should be requested as a new feature?

if it is really impossible to do it with SM, of course it should be requested!!! but i don´t get the logic behind that problem! it simply CAN´T block something from the midi messages!when i set a knob to CC74 for example and export it as plugin it works, so how can it be that there is something blocked when i want to set up the knob inside the host? the only way around seems a selector for the CC number instead of a learn function but that is not what i wanted... hmmm.... 😕 THIS FEATURE IS A MUST FOR ME! i tried some ways, for example replacing the wireless connections with normal links but none of the ways worked! aaarrghhh....

🙁 . Synthmaker Guru´s i need help!!!

phil

philter5 ·

HOLY SYNTHMAKER GURUS I`M CALLING YOU TO HELP ME OOOMMMMMM PLEASE GIVE ME THE ANSWER OMMMMM MY MIND AND BODY ARE BECOMING A UNIT THRU THE POWER OF THE MUSIC OOMMMMMM 😉

BTW: what about you Walther? does your version work inside a host?

philter5 ·

i tried the same without the midi learn function and a selector instead. same problem. in exe´s it works but doesn´t work inside ableton! i simply don´t understand it.... 😝 why does it work fine with preconfigured CC ´s and not the other way?

sunsynth ·

i'll report it later Phil... have 2 sleep now... will test it in some hosts...

philter5 ·

i´ve tried to use an edit box for the cc configuration (the midi CC chooser that was part of one of the audiooak module packs i think) and i´ve added a preset manager. as long as the CC is not yet used by the host (in my case Ableton Live 7) it works !!! 😮 too bad that i forgot to save the OSM file but i will rebuild it now and post it asap. here is the DLL file i´ve exported, if somebody wants to test it in some other hosts this would be nice 🙂

tektoog ·

Hey, Just tested your DLL in my old cubaseVST32 and it worked fine with all CCs... no crash...

philter5 ·

thx a lot for the report. sounds good 😀

philter5 ·

here is the osm file. works even without the preset manager. 😀

sunsynth ·

Had time to test it in EnergyXT + bidule:

my Midi-learn-knobs work all fine 🙂

Juno60 ·

I tested your first osm (cc learn knob) in Ableton Live 7, and it works fine. Try to set the midi control surface in preferences to none. 🙂

aliasant ·

Ooooh philter5

Your the angel of CCs 🙂

Gonna test this today and Ill report back if it works for me too.

aliasant ·

So it works if you set the CC number manually in the host.

Hmm. Here is an osm were I included my "automatic cc learn knob thing"

It works in SM like this. Right click and hold the knob while turning a hardware knob. The hardware will take over emediatly and the readout changes color to yellow. Just release the right click when done. If you keep holding it down and turn another hardware knob that one will take over. Double Right click to reset. It also saves the midichannel and cc number in the preset.

This is what I want to work in a host. What is it that we need for it to work. SM vst can obviously receive cc so why not this way?

oddson ·

I still have a preference for a global MIDI learn system so that you can set up all your inputs at one time and then turn off the learn.

I posted a simple MIDI CC module to replace the stock that does just this midi learn

But there's a problem.

You need to be actively moving the virtual and MIDI controls simultaneously.

To make it so it's more like the learn in something like polyIblit (where if the learn is on and you've touched the control with the mouse it's primed to receive a CC to learn) you'd have to go into each controller you're changing and feed up a trigger from the lowest levels of the control because the 'Interact' boolean has had it's triggers filtered out. (The easiest way to do this is through the 'Interact' boolean's existing path.)

But I was trying to make a simple module replacement that could be dropped into any module and give it global MIDI learn.

If the 'Interact' boolean was altered in each stock control to allow a single trigger through on LDown (which should be OK as it's the hundreds of triggers with knob movement that were the real target of the trigger blocker anyway) then a simple boolean switch could track if a LDown was received since going into learn mode.

The change takes about a minute for each module... but unless it's done on the stock modules the idea of a simple replacement module is not possible. But it's a option for those able to find the LDown primitive and feed a trigger past the blocker... so if your interested here's an OSM for that:

philter5 ·

hey oddson this works really great, thx a lot! 😀

philter5 ·

i made a little mod of your OSM oddson. this version works not with interaction to toggle the learn mode but with a mouse over trigger . just switch on Learning Mode,move the mouse cursor over the knob you want to set up, turn the Midi Control you want to use and that´s it. i have connected the mouse over module to a selector to make it only active if you´re in learning mode. i´ve tested it as *.dll file in Ableton Live 7 and as standalone export and both works great 😮 thx again oddson! 😉

The *.rar file contains the OSM and the DLL and EXE files i used for testing.

phil

Tzarls ·

Here´s my very basic attempt at doing this cc learn thing, in the shape of an external module - in other words, a module that should work with existing knobs, no modifications neccesary to any existing control.

The OSM has a MIDI input simulator (in case you don´t have an external controller at hand) to feed 2 different cc´s:10 and 100. Then comes the module that intercepts the MIDI signal and reroutes the cc´s and controls the learn proccess. Just set the master learn switch to reveal each of the knob´s learn control and enable cc learning.

The switches can be replaced with push buttons or mouse-overs that are only active when a global Learn is enabled.

AngularMomentum ·

philter5 wrote: i made a little mod of your OSM oddson. this version works not with interaction to toggle the learn mode but with a mouse over trigger . just switch on Learning Mode,move the mouse cursor over the knob you want to set up, turn the Midi Control you want to use and that´s it. i have connected the mouse over module to a selector to make it only active if you´re in learning mode. i´ve tested it as *.dll file in Ableton Live 7 and as standalone export and both works great 😮 thx again oddson! 😉

The *.rar file contains the OSM and the DLL and EXE files i used for testing.

phil

Works nice for me...what about the unlearn? 😉

philter5 ·

AngularMomentum wrote: Works nice for me...what about the unlearn? 😉

...nice point thomas i really just forgot about that! here is an example OSM with one unlearn/reset function for single knobs and one that resets all knobs together. To unlearn/reset one single knob, just right click it when learning mode is active. To reset all knobs together just press the "reset all" button when learning mode is active 😉

AngularMomentum ·

Just trying to get to stimulate...I have my own MIDI learn knobs with learn and unlearn. 😉

philter5 ·

AngularMomentum wrote: Just trying to get to stimulate...I have my own MIDI learn knobs with learn and unlearn. 😉

no problem, thx for the kick in the ass! sometimes i need some "stimulation" to work, hehe 😈

AngularMomentum ·

🙂

exonerate ·

Tzarls wrote: Here´s my very basic attempt at doing this cc learn thing, in the shape of an external module - in other words, a module that should work with existing knobs, no modifications neccesary to any existing control.

The OSM has a MIDI input simulator (in case you don´t have an external controller at hand) to feed 2 different cc´s:10 and 100. Then comes the module that intercepts the MIDI signal and reroutes the cc´s and controls the learn proccess. Just set the master learn switch to reveal each of the knob´s learn control and enable cc learning.

The switches can be replaced with push buttons or mouse-overs that are only active when a global Learn is enabled.

That's a nice way of doing it. 🙂

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.