Jump to content

Recommended Posts

Posted

Hey everyone

 

I'm trying to connect my MF_NG module to my STM32F4 Core via the MIOS IO.

When connected via a different midi interface, the MF_NG module works perfectly fine. But I cannot get the connection via the MIDI IO module to work.

Is there any special configuration in the NGC file I need to consider?
I tried to route the incoming midi signals to the core like this:

 

EVENT_MF id=2 ports=11111111000000000000
MF n=1 enabled=1 midi_in_port=IN1 midi_out_port=OUT1 config_port=USB2 chn=1
ROUTER n=1 src_chn=All dst_port=OUT1

 

I'm guessing it's wrong. 
Has anybody the answer to this? I'm starting to loose my mind over here...

All the best!

 

Frederik 

Posted

hello

you need to define  MF events for each fader and associated midi event, which is different from the (fader) module parameter

 

this is the partial NG template for motor fader

################################################################################
# Motorfaders
################################################################################

# we've a single MBHP_MF_NG module with 8 motorfaders
# It has to be configured for Motormix protocol!
MF n=1  enabled=1  midi_in_port=IN3  midi_out_port=OUT3  chn=1  ts_first_button_id=2001  config_port=USB3

# on motorfader movements
EVENT_MF  id= 1  type=PitchBend  chn= 1  range=0:16383
EVENT_MF  id= 2  type=PitchBend  chn= 2  range=0:16383
EVENT_MF  id= 3  type=PitchBend  chn= 3  range=0:16383
EVENT_MF  id= 4  type=PitchBend  chn= 4  range=0:16383
EVENT_MF  id= 5  type=PitchBend  chn= 5  range=0:16383
EVENT_MF  id= 6  type=PitchBend  chn= 6  range=0:16383
EVENT_MF  id= 7  type=PitchBend  chn= 7  range=0:16383
EVENT_MF  id= 8  type=PitchBend  chn= 8  range=0:16383

# on touchsensor event (first id has been specified in the MF configuration above)
EVENT_BUTTON  id= 2001  type=NoteOn chn= 1 key=0x68  range=0:127
EVENT_BUTTON  id= 2002  type=NoteOn chn= 1 key=0x69  range=0:127
EVENT_BUTTON  id= 2003  type=NoteOn chn= 1 key=0x70  range=0:127
EVENT_BUTTON  id= 2004  type=NoteOn chn= 1 key=0x71  range=0:127
EVENT_BUTTON  id= 2005  type=NoteOn chn= 1 key=0x72  range=0:127
EVENT_BUTTON  id= 2006  type=NoteOn chn= 1 key=0x73  range=0:127
EVENT_BUTTON  id= 2007  type=NoteOn chn= 1 key=0x74  range=0:127
EVENT_BUTTON  id= 2008  type=NoteOn chn= 1 key=0x75  range=0:127

  best

Zam

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...
×
×
  • Create New...