Comments (9)
links fixed
from winhue.
Hmmm i have to look into this because I have no clue how to implement this...
from winhue.
I have found a way to do this. I will try to implement it in the next version as a tool.
from winhue.
I played around with this and it's not as easy at is seems. I might not have it in the next version. I will try but no promises. Interfacing the microphone is easy. Analyzing the samples and finding the clap is another thing. I have a piece of code that does it but it's rather weak. One clap can end in 8 or 9 trigger of a clap depending on the sample. I'm not an audio expert.
from winhue.
Sounds good!
from winhue.
@Hyrules Why not just make it so you can only toggle it once every few seconds? That would solve the multiple triggering problem.
from winhue.
you can use this method: https://github.com/tom-s/clap-detector/blob/master/index.js
its using the silence detection of SOX, see the manual: http://sox.sourceforge.net/sox.html
silence [โl] above-periods [duration threshold[d|%] [below-periods duration threshold[d|%]] Removes silence from the beginning, middle, or end of the audio. โSilenceโ is determined by a specified threshold.
from winhue.
Both links gives a 404...
from winhue.
Maybe you can use the Microsoft Speech API for this? (Just a suggestion, it might not have anything to do with it)
from winhue.
Related Issues (20)
- Program crashes multiple times per day HOT 9
- New view to search and filter rules HOT 1
- unreachable lights not greyed-out HOT 1
- renaming hub users HOT 3
- Hue with hostname and port HOT 3
- Problem with HotkeyCreator: How can i delete a Hotkey? HOT 5
- winhue crash when looking for a new hunb HOT 1
- Bridge V1 (EOL) will not be supported anymore
- Unable to Pair HOT 19
- Feature request HOT 1
- Not accepting feature request anymore.
- Copy/paste bulbview and other similar HOT 1
- Cannot add certain conditions that are nested inside of "state" for Lutron Aurora Dimmer HOT 5
- Crash when editing a 'Recourse Link' HOT 1
- LBW010 not recognized HOT 1
- reachable status HOT 10
- WinHue suddenly crashes on start under Win 7 Prof 64bit - also after installing lastest version HOT 4
- Random crash while idle in background HOT 5
- Program crasch when adding action HOT 1
- End of the line for WinHue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winhue.