diff --git a/iclc2023/slides/src/prebake.mjs b/iclc2023/slides/src/prebake.mjs index ecbd9e4b7..5e37fe9c2 100644 --- a/iclc2023/slides/src/prebake.mjs +++ b/iclc2023/slides/src/prebake.mjs @@ -1,4 +1,4 @@ -import { Pattern, toMidi, valueToMidi } from '@strudel.cycles/core'; +import { Pattern, noteToMidi, valueToMidi } from '@strudel.cycles/core'; import { registerSynthSounds, samples } from '@strudel.cycles/webaudio'; export async function prebake() { @@ -18,7 +18,7 @@ export async function prebake() { ]); } /* -const maxPan = toMidi('C8'); +const maxPan = noteToMidi('C8'); const panwidth = (pan, width) => pan * width + (1 - width) / 2; Pattern.prototype.piano = function () {