Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom Sound Emitter (or lower SFX volume for everyone) #12

Open
kantner opened this issue Sep 2, 2021 · 3 comments
Open

Add custom Sound Emitter (or lower SFX volume for everyone) #12

kantner opened this issue Sep 2, 2021 · 3 comments

Comments

@kantner
Copy link

kantner commented Sep 2, 2021

Hi!

I have integrated one of the existing sound emitters into my map, but the volume is too high. I can of course reduce the volume manually by adjusting the SFX volume in the user settings, but I want to use the room for a conference and don't want to impose this on all participants individually (too complicated!).

Hence I see three options:
A) Upload new sound file (with lower volume) in a custom sound emitter object.
B) Replace sound file linked to an existing sound emitter.
C) Set the SFX volume globally for everyone somewhere in the admin controls.

... what can I do?

Thanks!

@securitybore
Copy link

If you are comfortable with the API, then you can manually adjust the volume of sound objects using the getMap/setMap calls and editing the JSON map data.

@kantner
Copy link
Author

kantner commented Sep 2, 2021

Uhh ... sounds great. Could you briefly explain how I can access this?

@securitybore
Copy link

You can get the documentation (such as it is) of the API here: https://www.notion.so/EXTERNAL-Gather-API-3bbf6c59325f40aca7ef5ce14c677444

If you invoke the getMap call you'll have the raw JSON data from the map. Put it into a text editor and you'll see where you can adjust the volume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants