Sorry, just realized you were using the createFileInput()
method …
function setup() {
...
createFileInput(file => {
let snd = loadSound(file.data, _ => {
snd.play();
});
});
}
Sorry, just realized you were using the createFileInput()
method …
function setup() {
...
createFileInput(file => {
let snd = loadSound(file.data, _ => {
snd.play();
});
});
}