mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 22:35:15 -04:00
prelim work on uzu/strudel#1944
This commit is contained in:
@@ -53,6 +53,7 @@ function getXenScale(scale, indices) {
|
||||
return scale.filter((_, i) => indices.includes(i));
|
||||
}
|
||||
|
||||
|
||||
function xenOffset(xenScale, offset, index = 0) {
|
||||
const i = _mod(index + offset, xenScale.length);
|
||||
const oct = Math.floor(offset / xenScale.length);
|
||||
|
||||
Reference in New Issue
Block a user