Skip to content

Commit

Permalink
Add changelog, make jams filename independent of midi file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsalamon committed Apr 22, 2019
1 parent ef7479b commit aab7aef
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion audio_to_midi_melodia.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def audio_to_midi_melodia(infile, outfile, bpm, smooth=0.25, minduration=0.1,

if savejams:
print("Saving JAMS to disk...")
jamsfile = outfile.replace(".mid", ".jams")
jamsfile = os.path.splitext(outfile)[0] + ".jams"
track_duration = len(data) / float(fs)
save_jams(jamsfile, notes, track_duration, os.path.basename(infile))

Expand Down
23 changes: 23 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.. _changes:

Changelog
---------

v0.0.4
~~~~~~
- Make jams filename creation independent of MIDI file extension
- Add changelog in docs/changes.rst

v0.0.3
~~~~~~
- Add requirements.txt
- Update README

v0.0.2
~~~~~~
- Update hz2midi to avoid log2(0) warnings
- Update README

v0.0.1
~~~~~~
- First release, as originally uploaded.
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""Version info"""

short_version = '0.0'
version = '0.0.3'
version = '0.0.4'

0 comments on commit aab7aef

Please sign in to comment.