Open Benoit1980 opened 3 years ago
Hello,
I need to be able to play tiny wav files one after the other(with BPM sync). At the moment I coded;
var sound = []; this.samples.forEach((item, i) => { sound[i] = new Pizzicato.Sound({ source: 'file', options: { path: item.sampleUrl } }, () => { sound[i].play(); }); })
My first problem is that all the files are playing like on a sprite(all at once). How to have them playing sequentially and only once please?
It looks like the library does not have a BPM function, am I correct? ie: Play the give files on a beat at 125BPM,135BPM and so on.
Thank you for the great library!
Maybe you could consider Pizzicato.Group?
Hello,
I need to be able to play tiny wav files one after the other(with BPM sync). At the moment I coded;
My first problem is that all the files are playing like on a sprite(all at once). How to have them playing sequentially and only once please?
It looks like the library does not have a BPM function, am I correct? ie: Play the give files on a beat at 125BPM,135BPM and so on.
Thank you for the great library!