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.
- 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.