mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
rudimentary input quantizer
This commit is contained in:
parent
665885f6ff
commit
f6a7cbf38e
8 changed files with 108 additions and 54 deletions
|
|
@ -25,6 +25,7 @@ render!(App |self, buf, area| {
|
|||
record: self.track().map(|t|t.1.recording).unwrap_or(false),
|
||||
overdub: self.track().map(|t|t.1.overdub).unwrap_or(false),
|
||||
frame: self.playhead,
|
||||
quant: self.quant,
|
||||
}.render(buf, area)?.height;
|
||||
|
||||
y = y + SceneGridView {
|
||||
|
|
@ -54,10 +55,10 @@ render!(App |self, buf, area| {
|
|||
let phrase = self.phrase();
|
||||
|
||||
let seq_area = SequencerView {
|
||||
phrase,
|
||||
focused: self.section == 2,
|
||||
ppq: self.timebase.ppq() as usize,
|
||||
now: self.timebase.frames_pulses(self.playhead as f64) as usize,
|
||||
phrase: phrase,
|
||||
time_cursor: self.time_cursor,
|
||||
time_start: self.time_start,
|
||||
time_zoom: self.time_zoom,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue