Extract information from .midi files? || Midi file dropper tile?
-
I want to be able to drop a midi file onto the midi file drop floating tile and via script, extract chord information. Can somebody point me in the right direction? Thanks in advance!
. ??? -
C Chazrox marked this topic as a question on
-
@Chazrox
LoadAsMidiFilelooks like it will do what you want
-
@d-healey I must investigate!

-
Im still trying to figure this out if anybody wants to drop any tips.
-
I haven't tried to parse info from MIDI but my first thought would be to use a setFileDropCallback a bit like David's recent video, along with loadasMidiFile. But I might be completely barking up the wrong tree
-
@rglides I saw that and started watching it. Im trying to break that down right now. I think what you're suggesting is the way to go!
Thank you @d-healey for releasing that video! I know that was one of your exclusive patreon videos

-
@d-healey @rglides Yoooooo! We're gettin somewhere with this!
Check it out...im able to get a bunch of info from the midi file but,
the thing I really want which is 'midiFile.Events' is showing up as empty.If anybody has some insight on this Thank You in advance!

Im also noticing that no matter what .mid file I drop, when im tracing 'midiFile' as shown in my script, its always the same "TimeSignature" "NumBars"...etc....

console prints...

-
I think im going about this backwards in a way....
How do I get midi note information from .mid files that are dropped into a midi player? The midi player is obviously able to parse the note event information. How would I extract the information from files loading into the midi player? In this method I could just use a built in midiDrop overlay panel and script the extracting process but the data source would now be the MIDIPlayers built in data structure.