This commit is contained in:
Felix Roos 2022-11-03 12:52:01 +01:00
parent 06d6621c14
commit 1a6743dba9

View File

@ -10,7 +10,7 @@ import Hap from './hap.mjs';
import State from './state.mjs';
import { unionWithObj } from './value.mjs';
import { isNote, toMidi, compose, removeUndefineds, flatten, id, listRange, curry, mod, numeralArgs } from './util.mjs';
import { compose, removeUndefineds, flatten, id, listRange, curry, mod, numeralArgs, parseNumeral } from './util.mjs';
import drawLine from './drawLine.mjs';
/** @class Class representing a pattern. */
@ -447,7 +447,7 @@ export class Pattern {
}
_asNumber() {
return this.fmap(numeralArgs);
return this.fmap(parseNumeral);
}
/**