A voice control based song player written in bash
- ffmpeg is used to capture a 5 sec audio and save it as a wav audio file.
- vosk-offline-transcriber then converts this audio file into possible text combinations.
- web scraping is implemented by using above text as query on one of the many clone sites of youtube to get the video id.
- this id is used to generate the video-url which is used to get the aud-url using yt-dlp.
- google_speech is finally used for the output sound and mpv player plays the audio-url.