📜 ⬆️ ⬇️

good python alarm clock

After reading the article on Habrahabr about a good alarm clock , I decided to try it for myself, and indeed, waking up with it is much nicer.
The basic principle is expressed in three theses:

As a result, the author of the post wrote an application on a flash, which takes at random mp3 files from the folder and at certain times loses them.
Everything is fine, except that the speed with which the sound grows cannot be adjusted.
I wrote to the author, waited, and decided to do something similar myself.
The script is written in Python and run from the command line (eventually you need to add a program with certain parameters to the Windows Task Scheduler).



To run, you need to install the immediate Python language , Python for Windows extensions, and put the Winamp.py library into the Lib folder, located in the Python installation directory. This library was written by Arkadiusz Wahlig .
')
The alarm script is located here , and runs as follows:
goodalarm.py --mp3path="__MP3_" --timegrowing="____"

2778634395_2975da728f

Easy lift! .)

Original article in my blog

Source: https://habr.com/ru/post/73444/


All Articles