Does the Gamebuino support midi or chiptune music?

General

megaman_6

4 months 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 4 months ago

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

megaman_6

4 months ago

Playing it with the built in speaker. 

megaman_6

NEW 4 months ago

ripper121 ripper121

Playing it with the built in speaker. 

Sorunome

NEW 4 months 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 4 months ago

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

https://gamebuino.com/creations/wavplayer

dreamer3

NEW 2 months 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

2 months 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 2 months 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 2 months ago

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

You must be logged in in order to post a message on the forum

Log in