prelim work on uzu/strudel#1944
This commit is contained in:
parent
897a750f70
commit
c74dd95bd0
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue