Miserlou / chords2midi

Create MIDI files from numerical chord progressions!
352 stars 21 forks source link

no default arg kills execution on mac High Sierra #14

Open zenfish opened 5 years ago

zenfish commented 5 years ago

Line 43 in c2m.py currently reads -

parser.add_argument('-O', '--offset', type=float, help='Set the amount to offset each chord, in ticks. (default 0.0)')

Adding a default (like almost all the others in the arg parsing section) makes line 103 not crash and burn when you add 'offset' to some other vars.