Hi LM, ... again
can anybody tell me how (if possible) to export data (esp. notes) from the event list?
the goal is, f.i. to be able to compare 2 midi parts (see differences, if any) or make some analysis in calc or checking for the songkey.
eventlist: export / copy data
Moderators: MattKingUSA, khz, spamatica
-
- Established Member
- Posts: 41
- Joined: Mon Jun 12, 2023 8:19 pm
- Has thanked: 37 times
- Been thanked: 2 times
eventlist: export / copy data
- Impostor
- Established Member
- Posts: 1392
- Joined: Wed Aug 17, 2022 1:55 pm
- Has thanked: 148 times
- Been thanked: 366 times
Re: eventlist: export / copy data
Right-click part, select "save to disk" as mypart.mpt.
Then do some terminal voodoo if you only want note info:
Code: Select all
grep "len=" mypart.mpt > mypart.notes
And the notes turn up in file mypart.notes. Given are event tick=timing, len=note length, a=note number, b=velocity. You could up the readability with some more terminal gymnastics if you so desire.
-
- Established Member
- Posts: 41
- Joined: Mon Jun 12, 2023 8:19 pm
- Has thanked: 37 times
- Been thanked: 2 times
Re: eventlist: export / copy data
this is what I was searching for, Thanks!
got it: when I see f.i. a="50" means the note 50
momentariy no terminal gymnastics due to a (yet) lack of knowledge
the site https://computermusicresource.com/midikeys.html
tells me it's d2 (same in MusE event list?)
whille https://inspiredacoustics.com/en/MIDI_n ... requencies
tells me it's d3
so I go for the first list right?
- Impostor
- Established Member
- Posts: 1392
- Joined: Wed Aug 17, 2022 1:55 pm
- Has thanked: 148 times
- Been thanked: 366 times
Re: eventlist: export / copy data
topmusik wrote: ↑Sun Mar 17, 2024 1:22 pmthis is what I was searching for, Thanks!
got it: when I see f.i. a="50" means the note 50
momentariy no terminal gymnastics due to a (yet) lack of knowledge
the site https://computermusicresource.com/midikeys.html
tells me it's d2 (same in MusE event list?)
whille https://inspiredacoustics.com/en/MIDI_n ... requencies
tells me it's d3
so I go for the first list right?
Octave number is not universally agreed upon. Let's just be thankful that a C is always a C, or is it?
The "a" value is only note number if it is preceded by a "len" value. That's why you can use grep on "len=" to isolate the note info. For other midi messages it means other things.