Schedule music to play in the background
Project description
background-music
Schedule music to play in the background.
Detects changes to config file while running.
Plays music with pygame. AI-generated and unreviewed.
Motivation
Plan the music you want to play ahead of time so you actually listen to it. Idem vs ipse vs attention.
I don't like having to mess with my phone to play music because it a distraction machine.
An alternative to algorithms.
Alternatives and prior work
There is a tool called musicron focused on playing projects. I could not find the home page.
cmus is a command line tool which has a playlist and a remote contro.
You could use spotify and just play music with algorithms or use your phone.
Installation
pipx install background-music
Usage
Write config
9-10 file.wav
10-11 random:file2.wav,file3.wav
11-13 paylist.txt # work through the playlist
13-14 random:playlist.txt
Mon 18:30-18:40 monday.wav
Tue 18:30-18:40 monday.wav
bgmus config
Hacking
I encouraage your to fork this and call it bgmusic-something. You can then tell me about this fork on github as a PR and I will loot your features :D and cite you.
About me
I make tools for reading and agency.
I also mess around with music and music technology and home automation in my spare time. If this sounds interesting you might like to check out r/musicaltreadmilldesk about my music desk.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file background_music-0.1.0.tar.gz.
File metadata
- Download URL: background_music-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d601ac9ab6375acf2661d83f5a45cace96572a087cbe9a411d351518aad5f617
|
|
| MD5 |
6b77cc5b1aeaebb2dc5215c2029b9753
|
|
| BLAKE2b-256 |
809203a1b8eb42f0bdfe098592f86550f561dac2d16677ec21abc97eef042bc5
|
File details
Details for the file background_music-0.1.0-py3-none-any.whl.
File metadata
- Download URL: background_music-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27a9c75715628f7bc635a1cda0fb28eb6cea17bc0a5775eba8da5dc4ad3dace4
|
|
| MD5 |
f83172bb45f58e0865cbda241f1caa9f
|
|
| BLAKE2b-256 |
50d288cd57818f9bad2ccaa4a0c3c66e670fc3f9e842288c0b5d1539e2973f27
|