Hi everyone,
I'm working on a project that includes the possibility for the user to record a melody either by singing, a MIDI controller or a virtual keyboard. So far I'm having a bit of trouble with the MIDI part. The main idea is to record the MIDI values that the user plays with his MIDI controller and store them in two tables (one for notes, the other for velocities). After, the user can playback what he has recorded.
The part I'm having problems with is the duration of the notes played by the user. I can't seem to find a way to have different durations for each note depending on how long a key is pressed in the controller. The problem starts directly when the recording starts because even though a key is kept pressed for some time, the table only writes one value in the table for that note (when it is first pressed). The same happens for the velocity. I was looking into stripnote, but didn't find much documentation on it and after trying to use it I didn't have much success.
Not sure if I'm making myself clear but in case I am, does anybody know a way of making this possible? I'll add my patch (sorry if it's a bit messy). Main patch is TFG.
This is my first post, so sorry if it's not supposed to go here.