printing MIDI notes on a music staff
Apologies in advance if this is in wrong section not sure where to put it.
I'm reading in note_On Events from a keyboard and printing those notes onto a musical staff or stave using the java sound api. I have code working that generates the sound when the keyboard is playing but i don't know how to add it to the score.
Hopefully there's someone who's used the java sound api and/or jmusic that might know or be able to give some idea of methods to use. Please find code attached