Does the Gamebuino support midi or chiptune music?

General

megaman_6

5 years ago

I've read up on some of the tech specifications, there seems to be no mention of whether there's support of any tracker format music, I believe the Arduboy supports this type of music.

Is there any support for it? Would it be possible to even add it?

ripper121

NEW 5 years ago

Play midi files with the speaker or to use a Midi device with it?

megaman_6

5 years ago

Playing it with the built in speaker. 

megaman_6

NEW 5 years ago

ripper121 ripper121

Playing it with the built in speaker. 

Sorunome

NEW 5 years ago

You could convert them to an 8-bit unsigned single-channel wav file and play that back.


Or, you could write your own sound handler! How to do that you could check stuff from the arduboy crosscompilation: https://github.com/Sorunome/Gamebuino-ArduboyPlaytune/blob/master/src/Gamebuino-ArduboyPlaytune.cpp#L102

ripper121

NEW 5 years ago

When you convert it to a wave file, you can use my player ;).

https://gamebuino.com/creations/wavplayer

dreamer3

NEW 5 years ago

Of course it'd be possible to add.  Just write a software mixer and then plug it into the Gamebuino's sound output.  You could probably even borrow the most popular library for Arduboy but you'd have to rewrite the actual channel volume mixing component in C (since it's written in optimized assembler IIRC).  Shouldn't be a hard thing to do though.

Sorunome

5 years ago

You could probably even borrow the most popular library for Arduboy but you'd have to rewrite the actual channel volume mixing component in C (since it's written in optimized assembler IIRC).

do you mean this? xP https://github.com/Sorunome/Gamebuino-ArduboyPlaytune

There's more stuff in the arduboy crosscompile https://gamebuino.com/creations/arduboy-crosscompiling

Sorunome

NEW 5 years ago

dreamer3 dreamer3

You could probably even borrow the most popular library for Arduboy but you'd have to rewrite the actual channel volume mixing component in C (since it's written in optimized assembler IIRC).

do you mean this? xP https://github.com/Sorunome/Gamebuino-ArduboyPlaytune

There's more stuff in the arduboy crosscompile https://gamebuino.com/creations/arduboy-crosscompiling

dreamer3

NEW 5 years ago

Nope, was referring to the chiptune stuff that TeamARG was working on... ATMLib I think or something like that.