sampler: enable recording

This commit is contained in:
🪞👃🪞 2025-04-25 21:08:41 +03:00
parent 2877545140
commit 3b5c23f68c
5 changed files with 16 additions and 3 deletions

View file

@ -6,7 +6,9 @@ expose! {
[Option<Arc<RwLock<Sample>>>] => {}
[PathBuf] => {}
[f32] => {}
[u7] => {}
[u7] => {
":sample" => (self.note_pos() as u8).into(),
}
[usize] => {
":sample-up" => self.note_pos().min(119) + 8,
":sample-down" => self.note_pos().max(8) - 8,