mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
shorten notes by 1ppq
This commit is contained in:
parent
677eaf4654
commit
a37527bd58
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ impl PhraseEditorModel {
|
||||||
let note_start = self.time_point();
|
let note_start = self.time_point();
|
||||||
let note_point = self.note_point();
|
let note_point = self.note_point();
|
||||||
let note_len = self.note_len();
|
let note_len = self.note_len();
|
||||||
let note_end = note_start + note_len;
|
let note_end = note_start + (note_len.saturating_sub(1));
|
||||||
let key: u7 = u7::from(note_point as u8);
|
let key: u7 = u7::from(note_point as u8);
|
||||||
let vel: u7 = 100.into();
|
let vel: u7 = 100.into();
|
||||||
let length = phrase.length;
|
let length = phrase.length;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue