Topic: Using Raspi 4 for Velocity Mapping
Hi all!
I'm still a newbie here :-)
My name is Georg, I'm from Germany... Sorry for my bad english ;-)
I'm using a Yamaha P125, and it seems I can only get velocity values 1-100 from the device (I'm using the "hard" built-in curve setting).
I'm pretty sure, I would damage the piano when trying to reach 127 ;-)
So for some months I used a midi loopback device and some extra software for fixing the velocity range...
But from the beginning I didn't like the idea.
Meanwhile I have a Raspberry Pi 4 and I thought, I could use it for fixing the velocity range problem...
And yes, I works pretty well :-)
In my case it was enough just using a linear mapping of velocity range 1-100 to the range 1-127...
I'm a C# / .NET developer, so my solution is based on .net core 3.1...
If someone is interested, I would share the code...
Solution is not perfect, still a proof of concept (console application). It's hardcoded to do linear mapping from a given input range to a specified output range, and it's hardcoded to use my devices...
But the code is easy to understand...
If there is some interest, I would make my solution more flexible... At least configurable devices ;-)
Here is my device chain:
P125 --usb--> raspi 4 --usb2midi--> ni komplete audio 6 --usb--> windows/pianoteq --> audio out
I'm using an ubuntu 18.04. arm64 image (but it works also in manjaro arm64, but do NOT work in raspbian!), and my usb2midi device is the "ESI MidiMate eX"
best regards
Georg