xi2

a plain text language that compiles to MIDI
git clone https://git.ce9e.org/xi2.git

commit
9cfb1d73533bee216748afaaa768821125183ef0
parent
2bfbd59bf73e68b300174495f2c0589ad485f83a
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-09-18 15:40
style: structure imports

Diffstat

M iparser.py 3 ++-
M xi2.py 4 +++-

2 files changed, 5 insertions, 2 deletions


diff --git a/iparser.py b/iparser.py

@@ -1,4 +1,5 @@
    1    -1 from midi import *
   -1     1 from midi import Midi
   -1     2 from midi import MidiFile
    2     3 
    3     4 # The tricky part here is the time conversion.
    4     5 # and noteOff events

diff --git a/xi2.py b/xi2.py

@@ -1,7 +1,9 @@
    1     1 import argparse
    2     2 import re
   -1     3 
    3     4 from iparser import IParser
    4    -1 from midi import Midi, MidiFile
   -1     5 from midi import Midi
   -1     6 from midi import MidiFile
    5     7 
    6     8 """Parse xi2 code and convert to MIDI."""
    7     9