Usage of soundfont drumkits? #47
-
Hi, loving this library! I would like to use soundfont drumkits (aka midi channel 10 banks). It seems like these are missing from the prerendered soundfonts. Is there any other way to add them? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
As far as I know there's no soundfont drumkits available out there. I'm open to support them if you find it. My idea is to support, at some point, something like https://github.com/sfzinstruments/virtuosity_drums but it will take time until sfz file format is fully supported. |
Beta Was this translation helpful? Give feedback.
-
I think most GM soundfonts have drumkits included. FluidR3_GM does for sure:
so I guess the problem is that they are not hosted anywhere. I think I could extract them and put them up somewhere. What should I keep in mind to make using them in smplr easier? |
Beta Was this translation helpful? Give feedback.
I have a drumkit here now:
https://github.com/henrikvilhelmberglund/midi-js-compat-soundfonts/tree/gh-pages/GM-soundfonts/FluidR3_GM/drumkits
It seems like it works if I pass the link in
instrumentUrl
. It saysMIDI.Soundfont.marimba = {
though, not sure what to do about that since it's not really a GM instrument but maybe it doesn't matter? Anyway, seems like I can add new drumkits and use them as well which is nice.I have an online demo here as well: https://keyboard.henrikvilhelmberglund.com/soundfont-drums