fix: import

This commit is contained in:
Felix Roos
2023-03-23 11:57:43 +01:00
parent 3dad55e266
commit 7c3d8e5c8d
+2 -2
View File
@@ -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 () {