mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
separate TimeInteger/TimeFloat
This commit is contained in:
parent
89dcc2afe2
commit
063706017e
4 changed files with 91 additions and 59 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue