Wrong octave for MIDI files exported from Ableton
mclean909 opened this issue · 1 comments
mclean909 commented
Hi
I'm exporting a midi file from Ableton, right click -> export midi clip:
When I upload it to https://tonejs.github.io/Midi/
I get C4 instead of C3:
{
"header": {
"keySignatures": [],
"meta": [],
"name": "\u0000",
"ppq": 96,
"tempos": [],
"timeSignatures": [
{
"ticks": 0,
"timeSignature": [
4,
4
],
"measures": 0
},
{
"ticks": 0,
"timeSignature": [
4,
4
],
"measures": 0
}
]
},
"tracks": [
{
"channel": 0,
"controlChanges": {},
"pitchBends": [],
"instrument": {
"family": "piano",
"name": "acoustic grand piano",
"number": 0
},
"name": "\u0000",
"notes": [
{
"duration": 0.125,
"durationTicks": 24,
"midi": 60,
"name": "C4",
"ticks": 0,
"time": 0,
"velocity": 0.7874015748031497
},
{
"duration": 0.125,
"durationTicks": 24,
"midi": 60,
"name": "C4",
"ticks": 96,
"time": 0.5,
"velocity": 0.7874015748031497
},
{
"duration": 0.125,
"durationTicks": 24,
"midi": 60,
"name": "C4",
"ticks": 192,
"time": 1,
"velocity": 0.7874015748031497
},
{
"duration": 0.125,
"durationTicks": 24,
"midi": 60,
"name": "C4",
"ticks": 288,
"time": 1.5,
"velocity": 0.7874015748031497
}
]
}
]
}
I uploaded the .midi file here : https://filebin.net/7bh8kh0jz32fdgfx
I'm I missing something or doing something wrong, or is that a bug ?
Thank you
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.