Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiswillbeyourgithub/spotify_tts
Reads title of spotify songs aloud using AI
https://github.com/thiswillbeyourgithub/spotify_tts
ai linux spotify tts unix
Last synced: 7 days ago
JSON representation
Reads title of spotify songs aloud using AI
- Host: GitHub
- URL: https://github.com/thiswillbeyourgithub/spotify_tts
- Owner: thiswillbeyourgithub
- License: gpl-3.0
- Created: 2021-09-06T09:43:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-12T23:41:20.000Z (over 3 years ago)
- Last Synced: 2024-12-16T21:27:26.080Z (2 months ago)
- Topics: ai, linux, spotify, tts, unix
- Language: Python
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spotify_tts
**Daemon using TTS (text to speech) to read aloud the name of the music playing on spotify, vlc or other media players**# Main points:
* Linux only, needs to have [playerctl](https://github.com/altdesktop/playerctl) installed
* 2 modes available, either poor quality speech using `espeak`, or high quality using [TransformerTTS](https://github.com/as-ideas/TransformerTTS)
* Contributions welcome.
* My crontab is something as follow:
```
*/5 * * * * start-stop-daemon --pidfile /tmp/spotify_tts_pid --make-pidfile --background --start --exec /PATH/spotify_tts.py -d /PATH/TransformerTTS
59 * * * * kill $(pgrep --full "spotify_tts.py")
```# Usage:
* `git clone https://github.com/thiswillbeyourgithub/Spotify_tts/`
* `cd Spotify_tts`
* `pip3 install -r ./requirements.txt` **optionnal, only if you want to use AI powered TTS**
* `cd Spotify_tts && python3 ./spotify_tts.py` to launch it directly, otherwise run it as daemon like shown above