Open kylestetz opened 6 years ago
Wow ;D this is cool
@kylestetz, are you thinking this will always draw samples from /public/audio/acoustic
via loadDrumSounds
and drumMap
?
If I'm understanding that right, I'll take this one on!
Hey @agbales, someone already started taking this on in PR #10! Happy to have you pop in there and give some additional feedback if you're interested. I will probably be very slow at responding to/merging anything in this project 😅
The
(drums)
function can be extended to support atype
argument, e.g.(drums 2)
, which controls what set of samples is played. A precedent around lazy loading each kit was already established in Drums.js; extending this should be easy and won't force users to download audio files unnecessarily.