top of page
  • Google+ Social Icon
  • Twitter Social Icon
  • LinkedIn Social Icon
  • Facebook Social Icon

Snowboy: My Try!

  • Writer: Jian Soo
    Jian Soo
  • Sep 25, 2017
  • 1 min read

Updated: Feb 27, 2019



Using the knowledge about the methods and functions from the demo.py, I constructed my own .py using the snowboydecoder.



Instead of producing a ding, the program instead calls the start_speech_recognition() function, which does nothing for now except print 'Speech recognition started!' Baby steps are still steps.


I was wondering what the 2 unused arguments (signal, frame) in the demo.py were for, so I originally coded the above program without the arguments. Turns out the .signal method for calls the interrupt with 2 arguments. Although these arguments aren't used, they still need to be included to avoid an error.

Up next: Making interpreter.py, classes included!


 
 
 

Recent Posts

See All
A massive update.

It's been a bit over a year since I've posted on this blog... GCSE revision, schoolwork and a massive project was on my mind, and I just...

 
 
 

Comentarios


First created by a 14-year-old who is only just starting to learn JavaScript.

Hence the Wix website.

bottom of page