How do I play canyon.mid on Arduino?

How do I do polyphony with only one buzzer?

Google did not provide enough answers ? Let Me Google That

I got the info, so how do I play the notes? I can't do the drums?

Not sure what to answer… that must be a joke I did not get…

Canyon.mid is a MIDI file found in Windows versions up to Windows 2000.

Thanks for the clarification :man_shrugging:

Then you need quite a lot of hardware and software to do it. First a MIDI sound generator module, and then the software to decode the file and split up the different parts and send them at the right time. It can be done but it is not easy. You have to ask yourself is it worth it for a Microsoft jingle?

This library https://github.com/MajicDesigns/MD_MIDIFile will let you decode the MIDI file. The library is also available from the IDE file manager.

You will still need to send it to a MIDI device for playing, or interpret the MIDI commands to play the notes yourself.

I once did a project to make a simple MIDI sound generator box, out of an Adafruit Music Maker Feather wing, you can see it at:-
https://magpi.raspberrypi.org/issues/63
The fact that the software is made for a Raspberry Pi is irrelevant, it is just a MIDI device and will work with the Arduino with a 5 Pin serial MIDI interface.

You will still need to connect it to some active ( that is powered ) speakers, or an amplifier and speakers.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.