Open gritd opened 4 years ago
Hi, there.
Thanks for your interest!
I'm taking a look at your suggestions and the code you sent.
The easiest way to integrate your suggestions is to make a merge request (https://opensource.com/article/19/7/create-pull-request-github). It will also allow us to discuss the proposed code directly.
Regarding the tempo synchronization, I was actually thinking of adding it later.
Concerning the use of the variable "userval" to store the midi channel and the note duration, the idea seems interesting to me. I guess it would be useful to be able to record and replay notes from different channels or instruments.
Very cool to see your RK002 project here on github! I saw you don't have external tempo on it yet, but with a RK002_clockSetMode(0) the RK002 can generate it's own tempo or automatically slave to an incoming one. Maybe that's interesting? Would be nice if it could slave to an existing setup. Also if you can combine the duration and midi channel in the note buffer userval you should be able to save a midi channel together with the duration in one byte (note duration could be 0-15 in that case) and the other half could be the midi channel) I made a bit of a start on this, maybe check it out, hope you like it (not sure how to use github on forking and such so I've attached the .zip Euclide4TracksJammer_multichannel.zip .