Due to high demand, expect some shipping delays at this time - orders may not ship for up to 2-3 business days.
0

Music Maker
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Music Maker

by electricpedals on Sat Jan 22, 2022 6:54 pm

Hi
I just have a possible silly question.
I'm trying to use the VS1053b Percussion Instruments (GM1+GM2).
Do I change the midiSetChannelBank(0, VS1053_BANK_MELODY)?
If I change the parameter to either:

#define VS1053_BANK_DRUMS1 0x78
#define VS1053_BANK_DRUMS2 0x7F

It does not seem to work and I can't select the drum kit?

Grateful for any help
Thanks

electricpedals
 
Posts: 2
Joined: Wed Dec 07, 2016 12:28 pm

Re: Music Maker

by mikeysklar on Mon Jan 24, 2022 7:09 pm

It looks like you have the right idea. Is this what you have tried:

Code: Select all | TOGGLE FULL SIZE
midiSetChannelBank(0, VS1053_BANK_DRUMS1);


Code: Select all | TOGGLE FULL SIZE
midiSetChannelBank(0, VS1053_BANK_DRUMS2);


from the datasheet:

0x00: bank select (0 is default, 0x78 and 0x7f is drums, 0x79 melodic)


https://www.vlsi.fi/fileadmin/datasheets/vs1053.pdf (pg31 and pg32)

mikeysklar
 
Posts: 7519
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.