ABP Electronics Posted October 3, 2014 Report Share Posted October 3, 2014 Hello All Midibox users, I am a complete newbie with MIDIbox, please forgive me if my question looks stupid. Here is my configuration: Mios Studio, MBHP_CORE_STM32F4, 1xMIDI IO module, 1xDIO_MATRIX module, Fatar keyboard (61 keys with velocity). My core module doesn't have SD card for now - I am waiting for a SD socket to arrive from suppliers. OS-Windows 8.1. bootloader installed ok, standard project.hex file to start with. For the moment I am trying to make my Fatar Keyboard talking to midi OUT of MIDI IO module. I started with following configuration: KEYBOARD n=1 rows=0 dout_sr1=0 dout_sr2=0 din_sr1=0 din_sr2=0 din_inverted=0 break_inverted=0 din_key_offset=32 \ scan_velocity=1 scan_optimized=0 note_offset=36 \ delay_fastest=5 delay_fastest_black_keys=0 delay_slowest=100 With this configuration I could see midi see some midi messages on midi monitor when keys were pressed / released - these messages were incorrect so I changed above configuration in Mios Studio to: KEYBOARD n=1 rows=8 dout_sr1=1 dout_sr2=2 din_sr1=1 din_sr2=2 din_inverted=0 break_inverted=0 din_key_offset=32 \ scan_velocity=1 scan_optimized=0 note_offset=36 \ delay_fastest=5 delay_fastest_black_keys=0 delay_slowest=100 and I also added: EVENT_KB id=1 type=NoteOn chn=1 key=any use_key_number=1 range=0:127 ports=1111111100000000 after above change I can't see any midi messages on Mios Studio, also Midi OUT LED doesn't flash anymore (it flashed on first / default configuration). When I enter the debug mode for KB 1 I can see on terminal all key presses working absolutely perfect with correct note numbers and correct velocity. But there is no midi Output visible at all. When debug mode is set to "off" - there is absolutely no signs of life from Fatar keyboard - looks like hw_id KB:1 is disabled. Please help me, is this happening because I have no SD card installed?? Am I missing something? Regards, Bartosz Quote Link to comment Share on other sites More sharing options...
TK. Posted October 13, 2014 Report Share Posted October 13, 2014 Hi Bartosz, this is a quite old posting, did you solve this meanwhile? I'm a bit unsure if a SD Card will be required for these tests - it shouldn't, but to be honest: I never tried out a keyboard without writing the definitions into a .NGC file. It might be required to enter "RESET_HW" before these commands to ensure that no other configuration overlays the keyboard functions. Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
ABP Electronics Posted October 21, 2014 Author Report Share Posted October 21, 2014 (edited) Hi TK, Thanks for your reply. YES- problem solved with SD card. Seems like NG needs SD card to run properly. If no card present - then it loads default values. Now I have loads of buttons working, some sliders and some LED - so far it is going good. NEW PROBLEM - I am trying to set-up encoder to work following way: when turned clockwise - sends CC12 value 127, When turned anticlockwise sends cc13 value 127.... I am a bit lost with this exercise. Any suggestions? .......well, well...it is worth reading what other people write. I just have found a solution :rolleyes: . Regards, Bartosz Edited October 21, 2014 by ABP Electronics Quote Link to comment Share on other sites More sharing options...
FantomXR Posted October 22, 2014 Report Share Posted October 22, 2014 Hey! I'm interested in which case it is necessary to program an encoder like this. Could you please give an example? Quote Link to comment Share on other sites More sharing options...
ABP Electronics Posted October 22, 2014 Author Report Share Posted October 22, 2014 Hey! I'm interested in which case it is necessary to program an encoder like this. Could you please give an example? Hi, I know this is strange. Here is an explanation: i am working with some software, 1 of the functions is tempo control. For some strange reasons software only allows me to assign buttons to tempo+ / tempo -. To make it more complicated: tempo + button will respond to CC x/ any value and tempo - button needs different CC y / any value. For example: tempo + = CC12/0:127, tempo - = CC13/0:127. I cant use the same CC for +/-. I think it explains the problem...which is solved thanks to TK :) Regards, Bartosz Quote Link to comment Share on other sites More sharing options...
FantomXR Posted October 22, 2014 Report Share Posted October 22, 2014 Thanks for the answer :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.