Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
EugeneZ
Level 7

Audio for games - playing music without MIDI support?

This question is for people who develop games for ROKU.

When you play a game, typically you have some light motivating music playing in the background.

But ROKU does not support MIDI files.

It does not have a synthesizer, and can't make a sound of given frequency.

How do you deal with that? Do you just package mp3s with your channels (4MB is the maximum, right?)

You would need about 1MB of mp3 instead of 20K of MIDI.

And "Options sidebar" keeps popping onto the screen if you use mp3 playing facility (Audio or roAudioPlayer).

Is there something better?

Thanks!

0 Kudos
2 REPLIES 2
renojim
Community Streaming Expert

Re: Audio for games - playing music without MIDI support?

This is a good question for @Romans_I_XVI .

You don't necessarily have to package the audio file with the app if you can host it somewhere and download it when you channel/app starts.  cachefs would be a good place for it.

Do you have game=1 in your manifest?

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
EugeneZ
Level 7

Re: Audio for games - playing music without MIDI support?

I was not aware of game=1

Thanks!

 

0 Kudos