This commit is contained in:
tyow 2026-02-02 16:10:47 -05:00
parent 81d02cf5ae
commit 897a750f70

View file

@ -123,10 +123,11 @@ export const xen = register('xen', function (scaleNameOrRatios, pat) {
/** /**
* Assumes pattern of frequencies tuned to some `base` frequency, such as the output of `xen` * Assumes pattern of frequencies tuned to some `base` frequency, such as the output of `xen`
* Because `xen` defaults to `220Hz`, so will `withBase`. * Because `xen` defaults to `220Hz`, so will `withBase`.
* but you can specify a different original base with the standard optional array syntax `:` * but you can specify a different original base with the standard optional array syntax '`:`'
* @name withBase * @name withBase
* @param {number} base * @param {number} base
* @param {number} (optional) originalBase * @param {number} (optional) originalBase
* @tags tonal
* *
* @example * @example
* "[0 1 2 3] [3 4] [4 3 2 1]".xen("hexany23").withBase("<220 [300 200]>") * "[0 1 2 3] [3 4] [4 3 2 1]".xen("hexany23").withBase("<220 [300 200]>")
@ -167,6 +168,7 @@ export const withBase = register('withBase', (b, pat) => {
* Transposes the frequency by `amt` edoSteps * Transposes the frequency by `amt` edoSteps
* @name ftranspose * @name ftranspose
* @synonyms ftrans, fTrans, ftranspose, fTranspose * @synonyms ftrans, fTrans, ftranspose, fTranspose
* @tags tonal
* @param {number} amt * @param {number} amt
* @param {number} edoSize (optional) * @param {number} edoSize (optional)
* @returns {Pattern} * @returns {Pattern}