From 7c3d8e5c8dbbcb609afb6472612cf30fc1de8369 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Thu, 23 Mar 2023 11:57:43 +0100 Subject: [PATCH] fix: import --- iclc2023/slides/src/prebake.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 () {