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
The speaker package allows for playback of beep.Streamer values through physical speakers. However, it lacks a built-in mechanism for controlling the volume of the audio output.
Desired Behavior
It would be beneficial to add a feature that allows users to control the volume of audio playback using the speaker package. This can be achieved through the addition of volume control options in the API, giving users the ability to fine-tune audio volume as per their requirements. It's worth noting that although Beep provides effects.Volume, it currently operates at the beep.Streamer level and not at the speaker level (for all beep.Streamer).
Proposed Implementation
Introduce a new method or option to the speaker API, such as in the speaker.Init, that allows users to set the desired volume level.
The volume control should accept a value or range, with 0 being mute and 100 (or maximum supported) being the loudest.
Ensures that effects.Volume takes precedence over the volume initialized through the speaker. This ensures that each beep.Streamer retains control over setting its own volume, allowing for more fine-grained adjustments.
Benefits:
Improved user experience by providing volume control for audio playback.
Enables a broader range of apps and use cases, allowing for dynamic and on-the-fly adjustments to speaker volume. This versatility is particularly valuable for applications where real-time volume modifications are essential.
Example Use Case
Here I'm tryna develop Apple Hearing's Background Sounds drop-in replacement.
2023-11-01_13-57-47.mp4
There I have over 30+ sounds, and I'd prefer not to individually adjust the volume for each beep.Streamer.
Thanks!
The text was updated successfully, but these errors were encountered:
Current Behavior
The
speaker
package allows for playback ofbeep.Streamer
values through physical speakers. However, it lacks a built-in mechanism for controlling the volume of the audio output.Desired Behavior
It would be beneficial to add a feature that allows users to control the volume of audio playback using the
speaker
package. This can be achieved through the addition of volume control options in the API, giving users the ability to fine-tune audio volume as per their requirements. It's worth noting that although Beep provideseffects.Volume
, it currently operates at thebeep.Streamer
level and not at the speaker level (for allbeep.Streamer
).Proposed Implementation
speaker
API, such as in thespeaker.Init
, that allows users to set the desired volume level.effects.Volume
takes precedence over the volume initialized through thespeaker
. This ensures that eachbeep.Streamer
retains control over setting its own volume, allowing for more fine-grained adjustments.Benefits:
Example Use Case
Here I'm tryna develop Apple Hearing's Background Sounds drop-in replacement.
2023-11-01_13-57-47.mp4
There I have over 30+ sounds, and I'd prefer not to individually adjust the volume for each
beep.Streamer
.Thanks!
The text was updated successfully, but these errors were encountered: