You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there! I was using your module for my app normally when I found that the sound was a little too loud for users, so I decided to lower it a little. But I can't achieve to lower sound's volume, it seems I can only increase it (if I put -10.0 it is extremely loud):
So here normally, I would have put vol=-10.0 to lower the volume, but when I do volume := &effects.Volume{Streamer: streamer, Volume: vol} it does the opposite (it hurts)
Can you please tell me how to lower this volume?
Thank you very much!
The text was updated successfully, but these errors were encountered:
Hello, I'm not on my computer right now but I suspect the volume struct is missing the Base value, which causes negative volumes to result in an infinite gain.
If that doesn't work let me know. Also consider switching to the gopxl/beep fork. Faiface's repository is no longer maintained. I'll also see issues on the gopxl repo more quickly.
Hey there! I was using your module for my app normally when I found that the sound was a little too loud for users, so I decided to lower it a little. But I can't achieve to lower sound's volume, it seems I can only increase it (if I put -10.0 it is extremely loud):
So here normally, I would have put
vol=-10.0
to lower the volume, but when I dovolume := &effects.Volume{Streamer: streamer, Volume: vol}
it does the opposite (it hurts)Can you please tell me how to lower this volume?
Thank you very much!
The text was updated successfully, but these errors were encountered: