derkyjadex / M8WebDisplay

Display for headless M8 tracker
https://derkyjadex.github.io/M8WebDisplay/
MIT License
199 stars 41 forks source link

Keys for note entry #4

Closed cpkcpkcpk closed 3 years ago

cpkcpkcpk commented 3 years ago

Hey, would it be possible to add keys for note entry, in the same way the TouchDesigner display uses A-L keys and +/- to switch octave?

Thanks

derkyjadex commented 3 years ago

I haven't really looked at this recently but I assume TouchDesigner is sending the notes via USB MIDI. It should certainly be possible to open the MIDI device and send note on/off messages on key down/up events.

I don't know if I'm likely to implement this myself any time soon, but feel free to have a go yourself and raise a pull request if you get it working.

gunnbr commented 3 years ago

I implemented this in my C# M8 display. It's quite easy to do and I have been meaning to try to add it to the M8WebDisplay. Hopefully I'll get some time to work on that soon...

derkyjadex commented 3 years ago

I've had a look at this and it turns out it's simpler than I was expecting (I forgot about the serial command to send notes). I've got something basic working. Should have a fully working version ready soonish.

derkyjadex commented 3 years ago

I've added this in the latest update. Works pretty much the same as the TouchDesigner version. Details are on the updated about screen.

cpkcpkcpk commented 3 years ago

Thanks so much for adding this!

gunnbr commented 3 years ago

Awesome! Thank you!!