jto1 ·
Could some one tell me where i could find info on midi learn with s|m knobs and sliders please. thanks in advance.
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
jto1 ·
Could some one tell me where i could find info on midi learn with s|m knobs and sliders please. thanks in advance.
oddson ·
There are some old posts about this... some of the links to example files are dead and the controls have changed a lot since then...
The place to implement it is in the CC module in the stock controls.
If you're not in too big a hurry I could whip something up later tonight but I have to go make dinner for the wife now...
oddson ·
Ok... dinner is in the oven and this is easier than I thought.
All that's changed is the MIDI CC module (so you should be able to transfer it to whatever control you want).
Right now I've lost the ability to have a preset MIDI CC for the control but I assume I can restore that at some point. But this is a good place to start.
MIDIlearn.osm
Like many VSTs with MIDI learn you have a global setting and whichever knob you click while receiving MIDI CC becomes associated with that CC number.
EDIT - got it working with the property assigned CC number feature. Posted to existing link...
I haven't tested thoroughly... please let me know if there are problems.
jto1 ·
I fell of to sleep so im only seeing this right now. thank you oddson it is appreciated.
jto1 ·
Hi oddson could you tell me how to use this, I was trying to right click it to see if a menu pops up with the option to midi learn. I am new to this app sorry.
oddson ·
You could alter it to have a right-click menu... but for now it's a global setting (currently just the boolean transmitted from the top level through the 'MIDI Learen On' transmitter).
If MIDI learn is on, any control will associate with a CC number if it is being moved while the CC control is also being moved.
I've seen a number of VSTs work this way and it seems pretty resonable but you do need to have a hand on the mouse and the other on the MIDI control.
A context menu would not be to difficult... but you would have to be past the novice stage.
jto1 ·
Thanks again oddson.
oddson ·
I should note that for this to work in an actual schematic you need to add a nameless MIDI transmitter... same as for the stock CC behaviour.
BasherT ·
I am not worthy to add to what oddson 😍 has said but I have produced a midilearn osmof my own.
To activate midi learn you need to press "alt" as you select the knob. The next controller signal received will then control the knob.
As with Oddson's example you will need to add a nameless midi transmitter
oddson ·
Small point on yours BasherT... you're not filtering CC only on the splitter so if the user hits a note on his way to a MIDI control the note number will become the CC number.
jto1 ·
Thanks guy's, your great.
mayo ·
jto1 wrote: I was trying to right click it to see if a menu pops up with the option to midi learn.
has anyone an osm example for making this please? thanks in advance!
BasherT ·
Hi Mayo
I had been meaning to update my midi learn knob and your post has given me the kick I needed.
Here is a link to an OSMthat has animated and bitmap knobs with midilearn.
I have introduced a CC filter as suggested by Oddson
If you right click on a knob a popup appears and you can select "learn" then the knob will learn the next CC message received. 🙂
Also included in the OSM is RL's excellent midi control knob:
see here: enhanced knob with full midi control
mayo ·
I love you BasherT!! 😍
I'll try it!
BasherT ·
Just trying to move this on a bit, I have been trying to develop the knob posted above so that it is a readout knob.
OSM
The difficulty I have been having is getting the value to show up when the knob is controlled by midi CC.
I have almost got there by placing a module in the Midi CC module which outputs a true boolean value when midi CC changes and then resets to a false boolean value after a short delay when midi CC stops changing. This boolean value is then transmitted to the smartlabel module where it triggers the smart label display.
The problem is that this boolean module is sticking and sometimes the label value does not return.
I know the answer to this is staring me in the face but it is driving me nust. Can anyone help?
infuzion ·
BasherT wrote: The problem is that this boolean module is sticking and sometimes the label value does not return.
Odd, SM's readout knob works fine, but yours doesn't... must be a trigger issue. Usually when I have a problem like this I change link order, cheat by adding extra triggers around, etc.
BasherT ·
SM's readout knob works fine, but yours doesn't...
Yeah, it is strange. If you turn the knob directly it works fine, but if you do it via midi cc sometimes it works fine and other times it sticks with the value and doesn't return the label
I am sure it is something I am doing wrong in my midicc module. I just can't figure out what it is. It is probably staring me right the face.
Acrobat ·
BasherT wrote: Quote: wrote: SM's readout knob works fine, but yours doesn't...
Yeah, it is strange. If you turn the knob directly it works fine, but if you do it via midi cc sometimes it works fine and other times it sticks with the value and doesn't return the label
I am sure it is something I am doing wrong in my midicc module. I just can't figure out what it is. It is probably staring me right the face.
Try to check if the MIDI CC float input enters just before the VST preset module or it affects also the relative graphics module... A.
BasherT ·
Thanks acrobat and infuzion.
You inspired me to really think about how the triggers were working. I have now produced an OSM that works! The trick was to produce a module that outputs a boolean true when the input value changes but which then resets to a boolean false when the value stops. I started again and came up with this:
It uses a timer to reset the boolean output.
I then needed to add into the smartlable module a Bool to False trigger to switch the knobs label back on after the value has stopped changing.
So there we have it, a readout knob that has midi learn thru right click and which shows the readout when the midi controller changes!
I will put it up on the Wiki.
infuzion ·
BasherT wrote: You inspired me to really think about how the triggers were working....The trick was to produce a module that outputs a boolean true when the input value changes but which then resets to a boolean false when the value stops. I started again and came up with this:
You're welcome I tried to find this in your OSM, but could not. Anyhow, all you need here is the Timer, Int for the time, & a Counter if you want to reduce it further.
Nu Audio Science ·
Can this be done with switchs and drop down menus ?
NAS
Nu Audio Science ·
I must be doing something wrong When i built this into a schematic the first CC it recieves it sets all controls to then you can learn them On top of that it crashs quite a few hosts Any hints here ?
NAS
BasherT ·
Sorry for the delay in getting back on this (work, kids, bad back...God, I am getting Old )
I have carried out some testing at the weekend. there is a problem with my schematic that I did not realise before posting. Curiously, the schematic does not work to trigger the readout knob from CC received by a midi controller but it does work from RL's midi cc knob.
I think it may be a problem to do with midi, triggers and timers
Using timers with MIDI
I am working on a solution based on Malcs post in the thread above and will post it here as and when.
infuzion wrote: I tried to find this in your OSM, but could not.
You can find it here:
Knob >> midi cc >> changing value??
NAS wrote: Can this be done with switchs and drop down menus ?
Not sure what you're asking NAS. Do you mean can we use external controllers to control switches and drop down menus? I think with a switch it should be pretty easy, drop down menu will be harder but should be dooable. if I get some time I will have a try on both of these too.
sunsynth ·
Hi BasherT,
exact:
I think it may be a problem to do with midi, triggers and timers
Using timers with MIDI
Will you allow me 2 give all a solution 4 this based on your, malc's and my work? Or is your version already complete?
SUNsynth
BasherT ·
Please go ahead! All help gratefully received
sunsynth ·
here you go: Link (Save Target as...)
It's only the Midi CC Modul...
SUNsynth
BasherT ·
Thanks Sunsynth!
I have used your module to sort out the problem I was having
OSM
The osm now seems to work but it does cause the occasional crash and sometimes loses focus. I haven't tried it in an exported VST yet.
I have also created a midi learn switch as requested by NAS.
I am about to try and see if I can use midi cc to control a drop down list! Should be fun...
sunsynth ·
Hmm,
the reason of this looses focus thing might be the changed principle that SM uses between Host and VST-Plugin...
In my own biiigg project it only crashes if i use 2 or more external midi controls at once with fast moving of knobs or sliders...
P.S.: Keep going!
SUNsynth
Wrote something here? To have a post removed or your name hidden, write to [email protected].