Giter Club home page Giter Club logo

clap-detection's People

Contributors

iver56 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

clap-detection's Issues

Look for multiple clap rhythms at the same time

With this feature, one can have different clap rhythms that can trigger different actions. For example, one specific clap rhythm will turn on the lights while a different clap rhythm will turn on the TV.

Define pattern by musical notation beat lengths instead of pauses

As a musician, one might be more used to 'length of notes', instead of 'length of pauses'.

So in the example notes given

clap

Instead of defining the pattern to be [2, 1, 1, 2] as the relative pauses between 'notes',
you could define it in musical beats as [1./4, 1./8, 1./8, 1./4, 1./4].

Now, a 'converter' could find the smallest of these fractions, and do multiplications to convert it to the proper pattern format.

Improve clap detection using machine learning

Just looking for transients is not good enough because it results in a lot of false positives. A better approach would be machine learning

  • Discard background noise. Sample the noise while the spectrum is not in flux.
  • Train a neural network to recognize clap sounds but reject other types of sounds with a transient.

boost input level possible?

Hi

I have a cheap microfone usb-stick but the input level is quite low.
In alsamixer I can go up to 23.81dB but its still to silent to recognize
my claps. Is it possible to somehow preprocess the input stream somehow
that it gets amplified? Is it correct to set 0dbfs = 23 in clap.csd?

Which sound card do you use?

I just encountered an input error with my Aureon Dual sound card.
unable to set number of channels...it said.

So I just wonder which sound card you use. And do you have any recommendation on sound card that works fine on raspberry pi?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.