Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
renojim
Community Streaming Expert

Re: Custom Sound Effects

At one time I experimented with what worked and what didn't. Hopefully, if a sound works on one hardware revision, it will work on all of them.

For the record, I've used sounds that were 1-channel 16-bit samples with 8kHz, 11.025kHz, and 22.05kHz sampling rates and as short as 75ms. I don't believe I ever got any 8 bit samples to work.

I'm pretty sure stereo works, although I could be mistaken. I try to keep my sound files that are included in the package as small as possible, so I just use mono and as low a sampling rate as I can get away with.

-JT
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
BradC
Binge Watcher

Re: Custom Sound Effects

"renojim" wrote:
Hopefully, if a sound works on one hardware revision, it will work on all of them.


Unfortunately, that's not been my experience. Sound files that play perfectly on some roku models will not play at all or play very badly on other models. The r3, stick, and XS seem to have the most issues, while the older models seem to do better.


If anyone finds any magic bullets, please share.
♦MiniGolf♦HangMan♦Brain Puck♦Retro Tennis♦BORK♦FLIP♦Pathogen♦Pathogen 2♦Shut the Box♦Birdie♦Logic♦Dots♦Pool♦küglo♦Bubble Wrap♦Trivia Channel♦Mancala♦Air Hockey♦Weather♦CAMERA♦Your Photos Screensaver♦Desert Beauty Screensaver♦Wild Lakes Screensaver♦
0 Kudos
RokuJoel
Binge Watcher

Re: Custom Sound Effects

File length matters - I think around 250k is (was?) the maximum file size per sound when I looked into this a long time ago. 8 bit sounds didn't really work on newer devices. There was a bug about certain khz files not playing, not sure if the fix for that was ever integrated into the firmware or not.

- Joel
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.