Coder Social home page Coder Social logo

audio_emergency_nonros's Introduction

Audio emregency

User hums to create an audio emergency signal

Procedure

Run python emerg_record.py <name> to record a 3s clip of the user humming. This generates .wav in the output directory and subsequently calls the evaluation script on this wav file
Optionally run python emerg_evaluate.py <name> to process .wav file in output directory and recognize the dominant frequencies.
Either process generates _freqs.csv in output directory containing dominamt frequencies.
Run python emerg_test.py <name> to start up the live testing process. This requires a _freqs.csv in output directory with correct dominant frequencies. Output is cluttered with ALSA trash messages, ignore it. In another terminal, run tail -f result.csv to get a cleaner output.
If hum is recognised correctly, you see a string "hum" at the end of the output line. If talking is recognised, you see a string "talk".

TODO

  1. Include everything into ROS
  2. Have a topic publish info and read that instead of tail -f result.csv

Investigate

  1. Why batch processing gives different results between realtime and wave file execution

audio_emergency_nonros's People

Watchers

James Cloos avatar

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.