separate TimeInteger/TimeFloat

This commit is contained in:
🪞👃🪞 2024-10-26 20:07:36 +03:00
parent 89dcc2afe2
commit 063706017e
4 changed files with 91 additions and 59 deletions

View file

@ -119,8 +119,6 @@ pub struct PhrasePlayer<E: Engine> {
pub phrase: Option<(AtomicUsize, Option<Arc<RwLock<Phrase>>>)>,
/// Start time and next phrase
pub next_phrase: Option<(AtomicUsize, Option<Arc<RwLock<Phrase>>>)>,
/// Frames remaining until switch to next phrase
pub switch_at: Option<AtomicUsize>,
/// Play input through output.
pub monitoring: bool,
/// Write input to sequence.
@ -334,7 +332,6 @@ impl<E: Engine> PhrasePlayer<E> {
clock: clock.clone(),
phrase: None,
next_phrase: None,
switch_at: None,
notes_in: Arc::new(RwLock::new([false;128])),
notes_out: Arc::new(RwLock::new([false;128])),
monitoring: false,