Make sure you have installed the python library mido
from PIP before using this!
python3 graph.py [file] [midi channel] [# of midi events] [semitones to transpose, + or -]
Term | Explanation |
---|---|
file |
The location of the MIDI file to be processed |
midi channel |
The channel of the MIDI file to be processed |
# of midi events |
How many MIDI events to be processed before stopping |
semitones to transpose |
Set this number accordingly so the song is in range of the graph |
python3 graph.py examples/allstar.mid 1 125 19
python3 graph.py examples/astley.mid 4 125 13
- In graph settings, make sure both the X and Y scale are 0 to 100 exactly
- Make sure during this process you do not zoom in or out, pan around or do anything to affect the scale
- Paste the output of this program into a formula cell
- Select the formula onscreen so it is highlighted
- Enable Audio Trace with
Alt-T
, on macOption-T
- Set the tempo with
Alt-(1-5)
, on macOption-(1-5)
- Finally, playback with
H
.
https://www.desmos.com/accessibility#audio-trace
Pull Requests are highly encouraged! This was quickly hacked together by me and any improvements would be a welcome addition to this project.