-
Notifications
You must be signed in to change notification settings - Fork 4
Usage
Shreyansh Singh edited this page Apr 19, 2021
·
2 revisions
- Put your audio files inside the directory Audio/.
- Edit the
audio.txt
file with the name of the audio you want to play when the sleep starts. For example if you want to playmy_file.mp3
present in the Audio/ directory then writeAudio/my_file.mp3
. Make sure that the file has just one line. - Run ./drmhk -h to explore what are the parameters which can be feeded as the input to the program.
-
Example: If you want to run the program as a simulation and set the beats per minute threshold to 70 then run
./drmhk -s 1 -t 70
. - To run in default mode run
./drmhk
The main program can be run with several parameters. To know them run the main program with -h parameters like this ./drmhk -h
.
Output of the ./drmhk -h
is:
Usage:
-h for help-t [int] to put bpm threshold
-g [bool] 1 to plot in qtplot. Default: 1
-l [bool] 1 to play audio locally. Default: 1
-n [bool] 1 to set night time to now. Default: 0
-w [int] set waiting time to confirm sleep.
-s [bool, 0 or 1] 1 for simulated bpm. Default:
Please take your time and read these instructions carefully.
We provide detailed changes for each release.
Be sure to read the CONTRIBUTING guidelines before reporting a new issue or open a pull request.