Does the Gamebuino support midi or chiptune music?

Général

megaman_6

il y a 5 ans

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 il y a 5 ans

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

megaman_6

il y a 5 ans

Playing it with the built in speaker. 

megaman_6

NEW il y a 5 ans

ripper121 ripper121

Playing it with the built in speaker. 

Sorunome

NEW il y a 5 ans

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 il y a 5 ans

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

https://gamebuino.com/creations/wavplayer

dreamer3

NEW il y a 5 ans

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

il y a 5 ans

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 il y a 5 ans

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 il y a 5 ans

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