mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-04-04 05:10:44 +02:00
transport -> clock
This commit is contained in:
parent
7f57465b3a
commit
7a4fa1692b
15 changed files with 37 additions and 36 deletions
|
|
@ -11,7 +11,7 @@ mod arranger_h;
|
|||
/// Root view for standalone `tek_arranger`
|
||||
pub struct ArrangerTui {
|
||||
jack: Arc<RwLock<JackConnection>>,
|
||||
pub clock: ClockModel,
|
||||
pub clock: Clock,
|
||||
pub phrases: PoolModel,
|
||||
pub tracks: Vec<ArrangerTrack>,
|
||||
pub scenes: Vec<ArrangerScene>,
|
||||
|
|
@ -69,7 +69,7 @@ impl ArrangerTui {
|
|||
}
|
||||
}
|
||||
from_jack!(|jack| ArrangerTui {
|
||||
let clock = ClockModel::from(jack);
|
||||
let clock = Clock::from(jack);
|
||||
let phrase = Arc::new(RwLock::new(MidiClip::new(
|
||||
"New", true, 4 * clock.timebase.ppq.get() as usize,
|
||||
None, Some(ItemColor::random().into())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue