jasmid icon indicating copy to clipboard operation
jasmid copied to clipboard

How to get key signature

Open tjvg91 opened this issue 9 years ago • 2 comments

I wanna be able to get key signature of midi file. How do I do so?

tjvg91 avatar Jan 21 '16 03:01 tjvg91

Hope this helps:

http://www.recordingblogs.com/sa/tabid/88/Default.aspx?topic=MIDI+Key+Signature+meta+message

On Thu, 21 Jan 2016 at 13:14 tjvg91 [email protected] wrote:

I wanna be able to get key signature of midi file How do I do so?

— Reply to this email directly or view it on GitHub https://github.com/gasman/jasmid/issues/20.

J van Schalkwyk

janvsc avatar Jan 21 '16 03:01 janvsc

programmatically, i meant. I already know the theory behind key signatures and how they work in MIDI files, but thanks.

I already found out how, using MidiFile(data).tracks[0][n], where n is the location of the info regarding key signature.

tjvg91 avatar Jan 21 '16 15:01 tjvg91