diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 7fcc62d..65f5a8b 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,23 +1,30 @@ -Version: 0.0.7 -- Date: 2023.12.29 +# Version: 0.0.8 +Date: 2024.01.03 +- Changes: + - Plot words +- Fix: + - Missing word lines in plot + +# Version: 0.0.7 +Date: 2023.12.29 - Changes: - Added format version support for 0.3.0, 1.0.0 and 1.1.0 -Version: 0.0.6 -- Date: 2023.12.28 +# Version: 0.0.6 +Date: 2023.12.28 - Changes: - Optimized the removing of silence in transcription data - Mute the processing audio in parts where no singing is detected - Plot muted audio -Version: 0.0.5 -- Date: 2023.12.23 +# Version: 0.0.5 +Date: 2023.12.23 - Changes: - Format GENRE string - Extract year from date -Version: 0.0.4 -- Date: 2023.12.16 +# Version: 0.0.4 +Date: 2023.12.16 - Changes: - Optimized the conversion to Mono - Removed limitation to mp3 and wav audio formats diff --git a/src/Settings.py b/src/Settings.py index 24cc738..28c603b 100644 --- a/src/Settings.py +++ b/src/Settings.py @@ -1,5 +1,5 @@ class Settings: - APP_VERSION = "0.0.7" + APP_VERSION = "0.0.8" create_midi = True create_plot = False diff --git a/src/modules/plot.py b/src/modules/plot.py index b8eaf4d..895a314 100644 --- a/src/modules/plot.py +++ b/src/modules/plot.py @@ -224,7 +224,7 @@ def draw_words(transcribed_data, midi_notes): xy_start_pos = ( data.start, - 1, + numpy.log10([note_frequency - half_frequency_range])[0], ) width = data.end - data.start rect = Rectangle( @@ -236,6 +236,7 @@ def draw_words(transcribed_data, midi_notes): alpha=0.5, ) plt.gca().add_patch(rect) + plt.text(data.start + width/4, numpy.log10([note_frequency + half_frequency_range])[0], data.word, rotation=90) def snake(s):