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: 
Tyler_Smith
Binge Watcher

Disable UI Sounds when using SoundEffect

When triggering a Sound Effect using https://sdkdocs.roku.com/display/sdkdoc/SoundEffect I want to disable the default sound from the keypress.

Example:
In a carousel the user presses the "right" key.  Instead of the user hearing the default "click" sound. I want them to only hear the SoundEffect I have played.
Tyler Smith
0 Kudos
7 REPLIES 7
Tyler_Smith
Binge Watcher

Re: Disable UI Sounds when using SoundEffect

Circling back on this.  Anyone at Roku have some tips?
Tyler Smith
0 Kudos
destruk
Binge Watcher

Re: Disable UI Sounds when using SoundEffect

AFAIK the only way to accomplish this currently is to tell the end user to adjust the settings for their Roku sounds to 'off'.
"HOME"
"SETTINGS"
"AUDIO"
"MENU VOLUME"
0 Kudos
Tyler_Smith
Binge Watcher

Re: Disable UI Sounds when using SoundEffect

Hmmm, not a suitable solution unfortunately.
I notice that Netflix disables all UI sounds so I would hope there's a way. Unless they are just lucky 🙂
Tyler Smith
0 Kudos
Komag
Roku Guru

Re: Disable UI Sounds when using SoundEffect

If you build and entire custom channel using roScreen, you can fully control sound effects.
0 Kudos
Tyler_Smith
Binge Watcher

Re: Disable UI Sounds when using SoundEffect

"Komag" wrote:
If you build and entire custom channel using roScreen, you can fully control sound effects.

We are using Scene Graph.  Once a "return" is made in onKeyEvent is automatically plays the sound associated with the action.
Tyler Smith
0 Kudos
Komag
Roku Guru

Re: Disable UI Sounds when using SoundEffect

I think Netflix uses roScreen, since you asked about them, but I'm not certain
0 Kudos
Tyler_Smith
Binge Watcher

Re: Disable UI Sounds when using SoundEffect

"Komag" wrote:
I think Netflix uses roScreen, since you asked about them, but I'm not certain

Quite possible
Tyler Smith
0 Kudos