diff --git a/Cargo.lock b/Cargo.lock index 056999e..55dad1b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -106,7 +106,7 @@ dependencies = [ [[package]] name = "audio" -version = "0.2.5" +version = "0.2.6" dependencies = [ "chrono", "common", @@ -243,7 +243,7 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "cacophony" -version = "0.2.5" +version = "0.2.6" dependencies = [ "audio", "clap", @@ -396,7 +396,7 @@ dependencies = [ [[package]] name = "common" -version = "0.2.5" +version = "0.2.6" dependencies = [ "clap", "directories", @@ -1133,7 +1133,7 @@ dependencies = [ [[package]] name = "input" -version = "0.2.5" +version = "0.2.6" dependencies = [ "clap", "common", @@ -1160,7 +1160,7 @@ dependencies = [ [[package]] name = "io" -version = "0.2.5" +version = "0.2.6" dependencies = [ "audio", "common", @@ -1964,7 +1964,7 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "render" -version = "0.2.5" +version = "0.2.6" dependencies = [ "audio", "colorgrad", @@ -2309,7 +2309,7 @@ dependencies = [ [[package]] name = "text" -version = "0.2.5" +version = "0.2.6" dependencies = [ "common", "csv", diff --git a/Cargo.toml b/Cargo.toml index e49543f..5d3d030 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ members = ["audio", "common", "input", "io", "render", "text"] [workspace.package] -version = "0.2.5" +version = "0.2.6" authors = ["Esther Alter "] description = "A minimalist and ergonomic MIDI sequencer" documentation = "https://github.com/subalterngames/cacophony" @@ -84,7 +84,7 @@ speech_dispatcher_0_9 = ["text/speech_dispatcher_0_9"] [package] name = "cacophony" -version = "0.2.5" +version = "0.2.6" authors = ["Esther Alter "] description = "A minimalist and ergonomic MIDI sequencer" documentation = "https://github.com/subalterngames/cacophony" @@ -120,7 +120,7 @@ path = "text" name = "Cacophony" identifier = "com.subalterngames.cacophony" icon = ["icon/32.png", "icon/64.png", "icon/128.png", "icon/256.png"] -version = "0.2.5" +version = "0.2.6" resources = ["data/*"] copyright = "Copyright (c) Subaltern Games LLC 2023. All rights reserved." short_description = "A minimalist and ergonomic MIDI sequencer." diff --git a/changelog.md b/changelog.md index d8a5376..767c993 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # 0.2.x +## 0.2.6 + +- Fixed: If you let all notes in your music play (as opposed to stopping in the middle), it frequently becomes impossible to play or add new notes. + ## 0.2.5 - Dropped MacOS 11 builds on itch because there isn't a GitHub workflow runner anymore. diff --git a/io/src/lib.rs b/io/src/lib.rs index 94c4aa0..8d0d2b2 100644 --- a/io/src/lib.rs +++ b/io/src/lib.rs @@ -441,6 +441,15 @@ impl IO { // Start to play music. conn.set_music(state); } + // No music is playing. + if state.input.is_playing + && matches!( + *conn.play_state.lock(), + PlayState::NotPlaying | PlayState::Decaying + ) + { + state.input.is_playing = false; + } // We're not done yet. false }