Does anyone know if there's more docs on the intention behind this?
Looks like a cool project at first glance, and the code is really nice. But I don't fully get what a " background" music player is? Is the idea that you're not choosing specific song and it'll instead cycle through predesignated ones?
- It plays instantly. You don't need to click through a GUI and see names, labels etc. Just press a play shortcut.
- There's an element of surprise, and you can hear your whole collection. Sure, you can do that with a GUI, but it's a few extra clicks.
You will always get used to music. I wrote a player that will play a piece of music less frequently if I skip it faster, so what I skip less I will hear again sooner. Also, I add extra meta keys to the shortcut if I'm far too used to something and don't want to hear it in a while.
Also, I flag music that has lyrics / speaking / vocal sounds so I can skip it when I'm trying to focus.
Hey! OP here.
I primarily work in the terminal, so Muse is a more convenient way for me to play music. Personally, I don't really care what track should play, so as you said it just cycles through predesignated ones. The reason why I call it a "background" music player is that I can just run Muse, and it will play music without any manual intervention or thought.
Hey, nice project, I enjoyed reading your code! I do the same thing and wrote a terminal mp3 player a while back in python (mpy3).
I really like the idea though of just having an "on/off" switch and not thinking about what's playing. Feels like a fun implementation- will definitely give it a go!
17 comments
[ 3.9 ms ] story [ 47.2 ms ] threadLooks like a cool project at first glance, and the code is really nice. But I don't fully get what a " background" music player is? Is the idea that you're not choosing specific song and it'll instead cycle through predesignated ones?
At random. That's why it's background.
> Does anyone know if there's more docs on the intention behind this?
I would assume what it's just what is on the box - a player for when you want some background noise.
Though it gave me an idea and I added a batch file to my global scripts:
From the github page:
- There's an element of surprise, and you can hear your whole collection. Sure, you can do that with a GUI, but it's a few extra clicks.
You will always get used to music. I wrote a player that will play a piece of music less frequently if I skip it faster, so what I skip less I will hear again sooner. Also, I add extra meta keys to the shortcut if I'm far too used to something and don't want to hear it in a while.
Also, I flag music that has lyrics / speaking / vocal sounds so I can skip it when I'm trying to focus.
I created a similar app using mac's afplay 11 (yikes) years ago https://github.com/andion/gramola
I don't use it anymore but at the time it made my battery last longer, you can see a battery consumption comparison on the repo.
I really like the idea though of just having an "on/off" switch and not thinking about what's playing. Feels like a fun implementation- will definitely give it a go!
can I use "cargo install --git https://github.com/aabiji/muse"?
I also recommend:
https://github.com/ratatui-org/ratatui
https://github.com/mikaelmello/inquire
for your further development
I also have a Rust CLI music project here if you want to have a look
https://github.com/glicol/glicol-cli
Cool project.