Roku Developer Program

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

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
Senior Developer, REDspace
redspace.com
0 Kudos
7 Replies
Tyler_Smith
Level 7

Re: Disable UI Sounds when using SoundEffect

Circling back on this.  Anyone at Roku have some tips?
Tyler Smith
Senior Developer, REDspace
redspace.com
0 Kudos
destruk
Level 10

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
Level 7

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 Smiley Happy
Tyler Smith
Senior Developer, REDspace
redspace.com
0 Kudos
Komag
Level 9

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
Level 7

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
Senior Developer, REDspace
redspace.com
0 Kudos
Komag
Level 9

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
Level 7

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
Senior Developer, REDspace
redspace.com
0 Kudos