Commit graph

4 commits

Author SHA1 Message Date
3261e761fb
feat: enhance audio handling with attribution
Audio file structures are refactored to include attribution data, which is dynamically appended to the HTML. This change centralizes the management of audio attributes and presentation, simplifying future audio feature enhancements. A new function, `updateVolumes()`, streamlines volume updates on input change events, improving code readability and maintainability.
2024-11-13 16:30:06 +01:00
372dfc6cdd
feat(audio): add fire sound with interactive controls
Introduced a new fire sound with sliders for volume control, enhancing the user experience with more audio options. Updated HTML and JavaScript to dynamically manage the audio controls and attributions. Removed hardcoded rain slider for a more flexible solution.
2024-11-13 15:35:17 +01:00
b2ec8b62cb
feat: enable looping for audio tracks
Ensure audio tracks loop continuously to improve user experience by maintaining audio ambiance without interruption. This change prevents abrupt stops when audio files reach their end, enhancing the seamlessness of sound playbacks.
2024-11-13 12:01:48 +01:00
efa5d905fe
feat: add rain sound with playback controls
Introduced a basic web page featuring a sound control interface that allows users to play or pause a rain sound. Includes a slider to adjust the rain sound volume. A modal offers audio attribution details, enhancing user experience and compliance with audio licensing. The addition consists of HTML for structure, CSS for styling, and JavaScript for interactive functionalities. This update enriches the website with ambient noise functionality, promoting an engaging user interface.
2024-11-13 10:56:57 +01:00