3 ms·
Old school programmer, of the mind set of DIY/roll own tool. My experience/backround: pipy / python is more complex setup than using midi2tex,awk to format fo
by sargstuff 4y ago
Old school programmer, of the mind set of DIY/roll own tool.
My experience/backround: pipy / python is more complex setup than using midi2tex,awk to format for grep search.
Awk typically used to convert files between formats. There are readily available midi to text conversion tool(s) finable via a search engine.
In this case, using awk to convert midi file to text format (or make use of a format from a midi to text tool) that can be use with grep would be the implied step.
- sargstuff 4y agomidi2text dumped format that can be piped to jq to use jq search functions might be what looking for.
- stevehiehn 4y agoAh, I see what you are saying. Just tried some midi to text tools I get results like: "0 On ch=1 n=44 v=118 138 Off ch=1 n=44 v=0 240 On ch=1 n=46 v=63 377 Off ch=1 n=46 v=0 ..." Which is cool, but from there I still need a layer to interpret the raw MIDI instruction into tonal harmony so a musician could query chords etc (i.e Cm9-G7-Bbmaj7), and thats where the midi to harmony libs come in
- sargstuff 4y agoSimilar to what a multi-pass programming language compiler does. at each step, cololess things into groups, until reach appropriate level of usefullness. 1) pull out the midi notes (ideally with some way to tag as a visual vertical group). 2) Regular expression pattern match/convert verticals to chord 3) Repeat with chord groupings & which groups looking for. Ummm.... midi 2 nyquest 2 python AI automation starting to sound like a more rational way to go. ;)