-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I started experimenting with beet to create a non-euclidean rhythm generator. I'm using the npm version of it inside my vuejs project. And whenever I create a layer from a pattern (as the docs say) I get this error.
Uncaught (in promise) TypeError: can't convert undefined to object
webworkify beet_js.js:4256
Metro wa-metro.js:21
Layer layer.js:10
js beet_js.js:4549
My code:
import Beet from 'beet.js'
const context = new AudioContext();
const beet = new Beet({
context: context,
tempo: 120
});
let pattern = beet.pattern(3, 7);
let layer = beet.layer(pattern, (t) => console.log(t));
Metadata
Metadata
Assignees
Labels
No labels