2 Commits

Author SHA1 Message Date
6b20f31fc2
Enhance play.sh script for volume adjustment
This commit includes improvements to the 'play.sh' script:
- Added a 'while' loop for volume 100, ensuring continuous playback with the specified volume.
- Changed the volume increment loop to start from volume 20 and increase by 10 in each iteration.
- Improved comments and formatting in the script.

The changes aim to enhance the script's functionality by addressing volume-related issues and providing better clarity in the script structure.
2024-02-13 09:52:16 +01:00
59e5ffc91a
Initial commit for play.sh script:
- Create play.sh script to play an alarm sound with increasing volume using the mpv player.
- The script iterates through different volume levels (20 to 100 in increments of 10).
- Utilize pkill to terminate any previous mpv processes before starting a new one.
- Incorporate comments for script header, loop, and process handling.
- Add wait command to ensure the completion of each mpv process before starting the next one.
- Created: 06.02.2024
- Description: Script to play an alarm sound with increasing volume.
2024-02-06 17:43:54 +01:00