• Home
  • About
    • C-H Kim's blog photo

      C-H Kim's blog

      Anyone is welcome who loving C / C++, Python, java... ect.

    • Learn More
    • Email
    • LinkedIn
    • Github
    • StackOverflow
    • Steam
  • Posts
    • All Posts
    • All Tags
  • Projects

Speech Recognized Music Player

27 Dec 2019

Reading time ~1 minute

Beta version

  • support only for Python3
  • Ubuntu

Requirements

install flac

$ sudo apt-get install flac

install SpeechRecognition

$ pip3 install SpeechRecognition

install Pyaudio

$ sudo apt-get install python3-pyaudio

if you want to use other music player than modify main.py

os.system("cvlc " + ans)

Running

run the main.py script

$ python3 main.py

Code Link



Python Share Tweet