prelim work on uzu/strudel#1944
This commit is contained in:
parent
eb3818eebb
commit
5da3ae8df4
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ function getXenScale(scale, indices) {
|
||||||
return scale.filter((_, i) => indices.includes(i));
|
return scale.filter((_, i) => indices.includes(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function xenOffset(xenScale, offset, index = 0) {
|
function xenOffset(xenScale, offset, index = 0) {
|
||||||
const i = _mod(index + offset, xenScale.length);
|
const i = _mod(index + offset, xenScale.length);
|
||||||
const oct = Math.floor(offset / xenScale.length);
|
const oct = Math.floor(offset / xenScale.length);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue