Skip to content

Commit

Permalink
Merge branch 'main' into new_file_stop_music
Browse files Browse the repository at this point in the history
  • Loading branch information
subalterngames committed Jan 9, 2024
2 parents 6a3d726 + 68da7b3 commit 87d615a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
members = ["audio", "common", "input", "io", "render", "text"]

[workspace.package]
version = "0.2.1"
version = "0.2.2"
authors = ["Esther Alter <subalterngames@gmail.com>"]
description = "A minimalist and ergonomic MIDI sequencer"
documentation = "https://github.com/subalterngames/cacophony"
Expand Down Expand Up @@ -86,7 +86,7 @@ speech_dispatcher_0_9 = ["text/speech_dispatcher_0_9"]

[package]
name = "cacophony"
version = "0.2.1"
version = "0.2.2"
authors = ["Esther Alter <subalterngames@gmail.com>"]
description = "A minimalist and ergonomic MIDI sequencer"
documentation = "https://github.com/subalterngames/cacophony"
Expand Down Expand Up @@ -122,7 +122,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.1"
version = "0.2.2"
resources = ["data/*"]
copyright = "Copyright (c) Subaltern Games LLC 2023. All rights reserved."
short_description = "A minimalist and ergonomic MIDI sequencer."
Expand Down
2 changes: 1 addition & 1 deletion audio/src/conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl Conn {
pub fn set_music(&mut self, state: &State) {
let play_state = *self.play_state.lock();
match play_state {
PlayState::NotPlaying => self.start_music(state),
PlayState::NotPlaying | PlayState::Decaying => self.start_music(state),
_ => self.stop_music(&state.music),
}
}
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 0.2.x

## 0.2.2

- There was an input bug where the play/start key (spacebar) was sometimes unresponsive for the first few presses. This is because audio was still decaying from a previous play, meaning that technically the previous play was still ongoing. I fixed it.

## 0.2.1

- I replaced the default qwerty bindings for note input with a more "standard" layout. This information is stored in config.ini, so if you want the update, make sure to delete Documents/cacophony/config.ini if it exists (Cacophony will use the default data/config.ini instead).
Expand Down

0 comments on commit 87d615a

Please sign in to comment.