MidiMapping in z_config #47
Unanswered
MichaelPNolan
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I think I understand it a bit better, no worries if people don't have time to answer. You kind of have to define the function types in the library type before you can map them to functions. So I'm just copy/pasting the code to play note from midi_interface.ino into usbMidiHost.ino where it has short message handled. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So - I've integrated USB_Host_Midi module into this synth - I still haven't put a DC or the ADC but I'm just looking to understand further integration. Can someone help me with this:
This was here already
There is a uniformity of some parts of the various projects and variations/versions of config.h and z_config
These struct definitions - I've brought over - these seem to be pointers to function calls and this is a little beyond my limited coding experience - at least in recent years but I do have a formal education in Computer Science so nothing to do but work at it step by step. My guess (and sure, I can experiment and test) is that I can replace NULL to make the midi events get mapped to call Synth to add notes to it's structure of notes (voices) which it then processes at the sample rate called from the main loop.
Assumedly I can discover the notes/channel of my Launchpad and make a mapping something like the edirolMapping so I can trigger notes from that for testing and fun. So why is Midi_SendShortMessage. What else might I have to change in the usbMidiHost.ino to process this mapping?
Beta Was this translation helpful? Give feedback.
All reactions