jlstuart125 / NoteGoat

Program implemented in MATLab to read images of piano sheet music and return a MIDI file of what it sounds like.
0 stars 0 forks source link

Added some new functions: #7

Closed jlstuart125 closed 1 year ago

jlstuart125 commented 1 year ago

get_measure_im - returns the image of a measure within a stanza. Takes in the lines that separate the measures of a stanza which are generated from the get_measure_lines function get_measure_lines - returns a list of all the vertical lines that separate the measures of a given stanza(subwindow) - takes in the isolated notes image that is generated by the separate lines function separate_lines - uses morphological operations to create two separate images: one of the staff lines only and one of the notes that are left matrix2midi - function i found online (thanks to ktm on github). takes a matrix of specific format (specified on the docs from this guy's website) and converts them to a midi formatted thingy
writemidi - takes the result of the matrix2midi function and creates a new midi file