Latest News: Bitwig updates Bitwig Studio to v5.1
How does MIDI Learn in a synth work?
-
- KVRist
- Topic Starter
- 133 posts since 10 May, 2015
Hey all,
I'm trying to write a script for the Korg NanoKontrol2 (I know one already exists, but I'm looking to learn how it all works while also attempting to add some features that aren't there at the moment) and I can't seem to understand how MIDI Learn in a synth, that is right click in Serum and select MIDI Learn as an example, works.
Randomly experimenting has got me to the point where I've worked out it's related to createNoteInput, but I'm wondering if there's any way to control it better. For instance, can I stop the messages being sent in one "mode" and allow them to be sent in another? Is there any way for me to see the messages that go straight out to the application?
Any info anyone could provide would be great.
Thanks
I'm trying to write a script for the Korg NanoKontrol2 (I know one already exists, but I'm looking to learn how it all works while also attempting to add some features that aren't there at the moment) and I can't seem to understand how MIDI Learn in a synth, that is right click in Serum and select MIDI Learn as an example, works.
Randomly experimenting has got me to the point where I've worked out it's related to createNoteInput, but I'm wondering if there's any way to control it better. For instance, can I stop the messages being sent in one "mode" and allow them to be sent in another? Is there any way for me to see the messages that go straight out to the application?
Any info anyone could provide would be great.
Thanks
- KVRAF
- 4104 posts since 13 May, 2004
Have you watched by development tutorials?shaboogen wrote: ↑Sat Feb 23, 2019 4:30 am Hey all,
I'm trying to write a script for the Korg NanoKontrol2 (I know one already exists, but I'm looking to learn how it all works while also attempting to add some features that aren't there at the moment) and I can't seem to understand how MIDI Learn in a synth, that is right click in Serum and select MIDI Learn as an example, works.
Randomly experimenting has got me to the point where I've worked out it's related to createNoteInput, but I'm wondering if there's any way to control it better. For instance, can I stop the messages being sent in one "mode" and allow them to be sent in another? Is there any way for me to see the messages that go straight out to the application?
Any info anyone could provide would be great.
Thanks
viewtopic.php?f=268&t=515602
-
- KVRist
- Topic Starter
- 133 posts since 10 May, 2015
Yeah, I've watched up until you switched to Java. I don't remember this point being covered specifically, unless I missed something.moss wrote: ↑Sat Feb 23, 2019 10:02 am Have you watched by development tutorials?
viewtopic.php?f=268&t=515602
- KVRAF
- 4104 posts since 13 May, 2004
In Part VII I talk about how to implement Modes. MIDI filtering should be in Part 4 or 5.shaboogen wrote: ↑Sat Feb 23, 2019 10:22 amYeah, I've watched up until you switched to Java. I don't remember this point being covered specifically, unless I missed something.moss wrote: ↑Sat Feb 23, 2019 10:02 am Have you watched by development tutorials?
viewtopic.php?f=268&t=515602
-
- KVRist
- Topic Starter
- 133 posts since 10 May, 2015
As I've said, I've watched both of those videos already, and neither of them really answers my question.
I'm currently filtering B????? which sends CC messages straight out into Bitwig. This allows them to be used to learn parameters in synths directly as opposed to through Bitwig (which is key to be able to save default MIDI maps in things like Serum).
I'm not having trouble setting up alternate modes as I have a working knowledge of programming fundamentals, but I'm wondering whether the note input can be controlled after it's been set up given that It can't be be called again outside of the init function. You can set whether the actions should consume events after the init function, but doing that basically shuts the script off (for me anyway).
- KVRAF
- 4104 posts since 13 May, 2004
Ah, I see. I guess you are running into a long standing bug: https://github.com/teotigraphix/Framewo ... /issues/95
-
- KVRist
- Topic Starter
- 133 posts since 10 May, 2015
So you're saying that the bug prevents you from being able to use MIDI learn without a note input being present?moss wrote: ↑Sat Feb 23, 2019 1:35 pm Ah, I see. I guess you are running into a long standing bug: https://github.com/teotigraphix/Framewo ... /issues/95
Sorry, I'm not really understanding that bug description.
- KVRAF
- 4104 posts since 13 May, 2004
When you try to learn a midi CC controller through a script/extension it does not work.shaboogen wrote: ↑Sat Feb 23, 2019 10:27 pmSo you're saying that the bug prevents you from being able to use MIDI learn without a note input being present?moss wrote: ↑Sat Feb 23, 2019 1:35 pm Ah, I see. I guess you are running into a long standing bug: https://github.com/teotigraphix/Framewo ... /issues/95
Sorry, I'm not really understanding that bug description.
-
- KVRist
- Topic Starter
- 133 posts since 10 May, 2015