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

Donation alert tiers #93

Open
Planks opened this issue Dec 9, 2023 · 2 comments
Open

Donation alert tiers #93

Planks opened this issue Dec 9, 2023 · 2 comments
Assignees

Comments

@Planks
Copy link

Planks commented Dec 9, 2023

Add (to nodecg webadmin) tiers of audio/visual alerts instead of having a fixed alert ("the ding").

Pseudocode:

alerts [
threshold: 0, sound: alert.mp3, volume: 50, graphic: none
threshold: 5, sound: 5dollar.mp3, volume: 50,  graphic: none
threshold: 15, sound: 15dollar.mp3, volume: 80, graphic: meme.png
threshold: 50, sound: 50dollar.mp3, volume: 100,  graphic: omegameme.gif
]

threshold: The minimum currency amount passed from the tracker for the alert to play. 0 is valid (any donation).
sound: the sound that should play (taken from uploads)
volume: modifier as a %, allows us to balance the sfx if they're not normalised and also allows us to make them progressively louder. values above 100 allowed (to add gain, suggest capping at 250)
graphic: an additional graphic that should immediately replace the mediabox (taken from uploads)

Either sound, graphic, or both, are required.

@zoton2
Copy link
Member

zoton2 commented Dec 9, 2023

Planks (in Discord DMs) has also suggested another parameter: graphic display time.

@Planks
Copy link
Author

Planks commented Dec 18, 2023

Now partially completed with audio effects as defined

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