Jump to content

MIDIbox KB


TK.
 Share

Recommended Posts

TK makes an in depth comment on this issue (in ucapps, I think).

 

Although the transport is much faster (than uart MIDI) there is a lot more processing that goes on at both ends.

 

Therefore, for a simple task such as transmitting notes from a KB probably better to stick to plain old MIDI.

Link to comment
Share on other sites

  • 7 months later...

New release:

 

 

MIDIbox KB V1.014

~~~~~~~~~~~~~~~~~

 

   o added "break_is_make" option which allows to trigger a note when the break

     contact is activated (nice for playing organ style)

 

 

MIDIbox KB V1.013

~~~~~~~~~~~~~~~~~

 

   o the MIDI router forwards SysEx messages regardless if channels are filtered,

     or "All" is used. It's ensured that messages are only sent once if multiple

     router nodes forward to the same destination port.

 

   o added "make_debounced" parameter: Note Off will be played when the

     Break contact has been released, and not when the Make contact has been released.

 

   o support for MBHP_CORE_STM32F4

 

 

Best Regards, Thorsten.

Link to comment
Share on other sites

  • 1 month later...

I have a question regarding the aftertouch strip.

 

Duggle told me a long time ago about how to scale an analog input. 

Now I want to know, if I still need this kind of circuit even if I use an AINSER8 / AINSER64 module. Or is it really as simple as connect one side to 0V and the other side to 5V? (maybe 10k pullup?)

 

Thanks,

Chris

Link to comment
Share on other sites

I have a schematic here, which shows the four pins of the strip that comes from the keyboard.

 

Pin 1 goes via a resistor to GND

Pin 2 / 4 are going to 5V

Pin 3 goes via a capacitor to GND

 

The values of the resistor and the capacitor are not shown in the schematic.

 

So, the AIN should fit really well, shouldn't it? Do I need the resistor and the capacitor?

Edited by FantomXR
Link to comment
Share on other sites

I'd think that the analog output is on pin 3.

If you set up the circuit as per the schematic (with same or similar value of resistor), then what is the voltage range max to min on pin 3 when you activate the aftertouch?

What is the voltage at rest (key not pressed)? 

The voltage range that is produced will determine whether you need to scale and offset this signal. 

Link to comment
Share on other sites

Excuse me to not be clear.

I thought you mean with "schematic" the one you provided in a blog article. But you mean the schematic I have here.

The problem is, that I don't have any specs on the schematic. I just uploaded it. It looks like this:



This schematic is from an instrument this keybed is build in. I don't own the instrument (otherwise I could open it and look up the values), I just have the keybed. As I have good connections to a distributor of fatar he sends me this schematic because there are no other informations about the AT-strip available.

So, I want to connect this aftertouch strip to NG via AINSER8. I already tried to connect it via a 10k resistor. This worked! But as I'm not sure if I damage the strip in kind a way I wanted to ask here :-) Edited by FantomXR
Link to comment
Share on other sites

  • 7 months later...

Which configuration capabilities do you need for a AINSER8?

If predefined CCs should be sent, it would be an easy enhancement, if more flexibility is required, more work has to be done and this has to be properly discussed (because from the past I know that sooner or later you will ask for a "very important missing feature" which contradicts with the concept and then will result into a lot of work to support a special option for you...)

 

Best Regards, Thorsten.

Link to comment
Share on other sites

I thought, that it might be possible to enhance the KB-app with two more analog inputs, so all 8 inputs of an AINSER can be used.

 

Nobody requested this so far, the firmware was not prepared for this, and therefore it wasn't available.

(or did you find this somewhere in the documentation?)

 

However, here it is:

http://www.ucapps.de/mios32/midibox_kb_v1_016_pre2.zip

 

The 4th analog pin is called "expression pedal" and assigned to CC#11 by default (but the CC can be changed)

 

Some of your old configuration settings (especially delay values for black keys) will get lost once you upload the firmware, you've to reconfigure them.

 

Best Regards, Thorsten.

 

P.S.: I won't have the time to add new features in the next 2 months.

I will only implement urgent bugfixes in the next weeks

Link to comment
Share on other sites

Thanks for the quick change!

 

I'll check it out in the next hour ;-)

 

Of course I'd need to reconfigure the keyboard. 

Are the changes also already made in the svn? If yes I could compile my own firmware, which has the delay_slowest_black_keys integrated.

 

Thanks again!

Link to comment
Share on other sites

Hey TK,

 

it works great! Thank you very much! ;-)

 

I try to understand how the midi-ports are set. It works via a hex-number but I don't get how this hex-number gets calculated. Could you please give me a short explanation about it? This would be awesome :-)

 

All the best!

Chris

Link to comment
Share on other sites

Alright, the new version is released now:

 

MIDIbox KB V1.016
~~~~~~~~~~~~~~~~~

   o Support for AINSER8 module
     It has to be connected to J19; chip select line RC1 will be used (set jumper J4 accordingly)
     In the AIN configuration it can be selected as pin 128..135

   o added 4th AIN pin for "expression pedal" (CC#11 by default can be re-assigned).

and the documentation has been updated: http://www.ucapps.de/midibox_kb.html

 

 

I try to understand how the midi-ports are set. It works via a hex-number but I don't get how this hex-number gets calculated.

 

This was already described with some examples in the documentation (search for "midi_ports")

 

Best Regards, Thorsten.

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...