In search of an online piano
One of my previous sketches Melody Conversation used a MIDI input to allow interaction using an external MIDI piano (or other instrument).
It would be useful to have a similar MIDI controller that uses a copmuter’s keyboard to input notes to MIDI. It is proving hard to find one
Some possibilities:
https://apps.musedlab.org/aqwertyon - UI here has a kind of karaoke function!
- It also works a midi controller for https://phhu.org/melody-conv/! This is fantastic.
- According is possibly a more natural instrument for a computer keyboard (pegs have similar layout, and relative lack of dynamic control of each note more appropriate)
- Conclusion: need to investigate this project more: can I embed it? Can I have it produce real time score?
Piano: https://multiplayerpiano.com/?c=Room446699533087 works -
pitch recognition
Might also be possible via ml5 pitch recognition
See implementation at https://magenta.tensorflow.org/maestro-vocal-coach - good UI! (though I can’t get the microphone to work)…
For ML5 pitch detection see https://learn.ml5js.org/#/reference/pitch-detection and https://editor.p5js.org/ml5/sketches/H8iUid_ADl
More piano
https://magenta.tensorflow.org/demos/performance_rnn/index.html#
- the piano on this works… but Ican’t play it…
https://github.com/kevinsqi/react-piano is a react piano. Good. Needs events mapped to midi?
[https://github.com/djipco/webmidi] might be useful to get it to work. See also https://github.com/kevinsqi/react-piano/issues/62