Python Forum
Getting help on developing a code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting help on developing a code
#1
hello everyone

i', not a professional programmer, actually my field of study is different from these stuff. btw i'm trying to learn python because i love coding.

I want to write a code that deletes half of the people in a contact list, now this is my problem:

the program is supposed to start working when an external thing outside the pc makes a noise (like a clap) and i don't have any knowledge about connecting the pc to an external switch or detector.

can anyone explain how should i start and what should I buy to do this?
Reply
#2
pocketsphinx can be setup to trigger an event when a certain word is heard
You can train the vocabulary, so (I'm guessing here) you might be able to save a hand clap as a word,
and use it to trigger an event.
Here's a lightblub control that uses pocketsphinx.
you should be able to figure out how to do this by looking at the code here: https://github.com/ybutb/yee-voice
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  I need advise with developing a brute forcing script fatjuicypython 11 5,020 Aug-21-2020, 09:20 PM
Last Post: Marbelous
  Best extension for Andriod developing ? samuelbachorik 1 1,598 Apr-29-2020, 01:30 PM
Last Post: Larz60+
  Developing application for Android atari400 1 1,905 Nov-27-2019, 08:31 AM
Last Post: buran
  Developing Python with OpenCV into an Android App AviationFreak 1 6,808 Sep-29-2019, 08:55 AM
Last Post: wavic
  Help developing img cropping tool in python lerugray 9 6,758 Dec-20-2017, 08:07 AM
Last Post: Mekire

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020