Jump to content

Can MBNG send MIDI to one of its own input ports?


borfo
 Share

Recommended Posts

I'm thinking about modifying MBNG slightly to control a headless/knobless audio mixer I'm building (the plan was always to make it a MIDI-controlled device, controlled from external software or hardware I want to build a UI for, but I thought why not use the NG itself if possible...)  The NG would serve as the control interface for the mixer (as well as doing other stuff, controlling synths, whatever you'd normally do with it).  The mixer controls would send MIDI (OSC could work too, but instead of leaving the device via an out port, I'd like to send to one of the NG's own in ports.  That way I could use the

APP_MIDI_NotifyPackage(mios32_midi_port_t port, mios32_midi_package_t midi_package) 

hook in app.c to monitor for incoming MIDI control signals meant for the mixer (including MIDI sent from the NG itself, as well as any external mixer control signals that I might send in from other devices.)  If a mixer control message is found, the NG would send a control signal to the mixer hardware via I2C.

Can the NG send MIDI to itself in a way that would be caught by the APP_MIDI_NotifyPackage hook?

 

I suppose I could physically connect an NG out port to one of its own in ports, but it'd be cleaner to do it internally...

 

Also, is it possible to access values of Midibox NG control elements (like, the current value of an encoder for example) from within app.c?

 

Edited by borfo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...