Previous owner said that he can give me a LITTLE help, but he sells this keyboard “as is”. So for now I have to solve few very important issues:
doubled PitchBend and Modulation controllers don’t work properly. It looks that value depends on how far joystick AND wheel are moved.
When one is on nominal - values jump 0-max on second controller.
“near zero” values are generated all the time - it’s quite uncomfortable especially when I look on it in my DAW
Sustain pedal generates 0-64 values - it HAS to be 0-127
Aftertouch values jumps between 0 and maximum pressed
minimal Note ON value is more-less 20. So there is no very pianissimo. For now it’s not important but near future I want to recalibrate all the keys to achieve values between 1 and 127.
I don’n know completly what program should I download to have ability to change these bugs - and even more - I totally can’t do it by myself…
I have two friends only who could help me, but one of them lives few hundreads miles from me, and second is previous owner.
I need serious help, because keyboard is great and I want to keep it, but I have to get rid of these bugs.
MIDI ports should be located on the core board, so your “MIDI IN-OUT board” is probably just a PCB that holds the physical connectors. “2 boards with incoming signals from keyboard” could be either a DIN/DOUT board setup for a scan matrix, or whatever else. As sparx said, you will have to read up in order to be able to describe properly what setup you have. Only then we can try to help you.
I read ucapps.de and try to understand basics, I’m not (believe me) one of those people, who don’t want to know, just want to get instant answer.
More Photos - I’ll do it in the evening. But there’s nothing more to show. It look like it’s simple project: 88 keys keyboard with dynamic and aftertouch, MIDI IN and OUT, Pitchbend-Modulation lever, PitchBend wheel, Modulation Wheel, Sustain pedal input… no LCD (I will buy one - 2x16 or 2x20 characters?), no more pots or sliders.
I’m from Poland
On photos you can see all the PCB’s inside enclosure. there’s nothing more than one core PCB and two “matrix” PCBs. It looks like they are AIN modules (or DIN modules???), connected stright to keyboard and to Core module.
you should start by identifying the ICs that are on the “matrix” PCBs (most probably 74HCxxx - see what the xxx is on yours). Then we know if those are DIN or DOUT boards, or both, or AIN.
Next, you should install MIOS Studio. Connect both MIDI in and out to out and in ports of your computer, tell MIOS Studio which MIDI ports your keyboard is connected to (in case you have more than one MIDI I/O in your system), and see what message you get when you power up your keyboard and press the “Query” button. We are interested in the content of the box that starts with “Operating System: MIOS8”.
For my suggestions above you do not need an LCD at all.
Whether you get a 2x16 or 2x20 does not matter much - I would go for the 2x20 if costs were comparable, because there is more screen space. If that screen space is actually used depends of the software running on your MIDIbox, which is still unknown…
for now I know that inside is CORE on PIC, DIN and DOUT only, I have code for this keyboard, compiler and loader, but still it’s black magic for me :-/
I can send you code, compiler etc if you would like to see it.[kompiler.rar](< base_url >/applications/core/interface/file/attachment.php?id=9422)[sm_16x16_fatar_88wood_V2009.rar](< base_url >/applications/core/interface/file/attachment.php?id=9421)
Next, you should install MIOS Studio. Connect both MIDI in and out to out and in ports of your computer, tell MIOS Studio which MIDI ports your keyboard is connected to (in case you have more than one MIDI I/O in your system), and see what message you get when you power up your keyboard and press the “Query” button. We are interested in the content of the box that starts with “Operating System: MIOS8”.
I have been trying to give you some support and point you in the right directions, but it seems you prefer to ignore these hints. You should probably consider dropping the whole project and turn to the guy who sold you this stuff. :sad:
That code is based on Thorsten’s experimental fast switch matrix demonstration project. A few people have gotten things sort of working based on it but it has never advanced to the point of being a solid project.
I’m not sure but MIDIO128 v3 might include support for a switch matrix. If it does, switching to that project probably would be a good idea. There will be more people who can help if you are using a mainstream project. [[Edit: I just looked and MIDIO128 v3 uses a different Core board. I wouldn’t switch the Core for now since you have something that is basically working.]]
The biggest challenge is to get switch matrix code that handles velocity sensitivity. CuBase has reported the greatest success in this area and your code is probably based on his efforts.
Unfortunately what you are trying to do is not a beginner project. This type of thing presents challenges even to more experienced MidiBox users. You need to be very patient as you climb a steep learning curve. You probably will need to do several things that are less than all you want to do just to learn. One beauty of MidiBox is that it is easy to replace the software so you can start with easier, less functional software and then build on it.
This type of project should be discussed under “Midification” where it is slightly more likely that people with experience in this type of project will notice you. This area is for questions about assembly language programming. You might have those types of questions along the way but you are asking bigger questions right now.
Your first step is to be able to build the code you have, without changes, and successfully load it on the MidiBox. Have you done that yet?
Thanks, I’ve was thinking it’s just a simple setup with Sustain, somewhere in code (setting min and max value).
About a project - in a fact this is projest from CuBase I think (I don’t know if this guy is present on this forum, but I can suppose that this is the person.
He told me he had problems with this project, tears blood and sweat. Project is almost done, most irritating things are PitchBend, Modulation, AfterTouch. While PB and MOD wheels are doubled, so they go crazy if one PB is set to “0” and second is higher/lower; AT just acts like sending impulses of “0” and “actual” value.
Keyboard project is operational, with some bugs I described above: main issues are PB, MOD and AT controllers. I would like to change Velocity response too (for now it starts from value +/- 20 instead of 1), but in this point it’s not as important, because it works good as it is.
Thank you very much for help in finding Sustain lines, Now I have to make changes in code, compile it and load to CORE. Which one MIDI Studio should I to use? this one in attachement (few post above) or this one from uCApps download?