sound-recognition

Sound recognition for Phonegap

六眼飞鱼酱① 提交于 2021-01-29 04:15:04
问题 I am creating an Android application using Phonegap. I would like to record a sound (for example, a doorbell), and detect if that sound is heard again. Is there any sound recognition plugin for Phonegap? If not, how can I access the frequencies of the recorded sound (for example, in an array), so I can manually write an algorithm to compare the two audio files? Is there any audio format which stores data in that form? Thank you 来源: https://stackoverflow.com/questions/39315104/sound

How do I get the values of a specific frequency range

…衆ロ難τιáo~ 提交于 2019-12-24 20:35:04
问题 I have a .wav file, I load it and I get the next spectrogram showing the spectrum in dB http://i.stack.imgur.com/22TjY.png Now I would like to know these values exactly because I want to compare with other wav file, for recognizing if these 4 values are there. http://i.stack.imgur.com/Jun25.png The source to generate that pictures (taken from other stackoverflow example) ## some stuff here for i in range(0, int(RATE / CHUNK_SIZE * RECORD_SECONDS)): # little endian, signed shortdata_chunk data

Methods to do outlier detection in sound recognition?

北战南征 提交于 2019-12-12 05:03:39
问题 There are models to recognize 2-class sounds, which are class-A and class-B. How to recognize class-C sounds as abnormal sound ? I tried to set a threshold while recognizing by frames. above 70% -> class A or B else -> abnormal For example, If a sound has 10 frames, and the result is frame 1 2 3 4 5 6 7 8 9 10 A B A B A A A B A A A=7 B=3 -> class A frame 1 2 3 4 5 6 7 8 9 10 B B A B A A A B A A A=6 B=4 -> abnormal The performance is very bad. what should I do ? 回答1: There are two ways to look

Clap sound detection in C#

假装没事ソ 提交于 2019-12-09 00:30:51
问题 I would like to be able to detect a clapping sound. Being pretty new to any form of sound recognition, is there simple any way to do this? If not, any good resources for C# sound recognition/detection? My goal is to automate a clients media center with some basic clap-based controls. 回答1: There was a similar question asked in the past: Given an audio stream, find when a door slams (sound pressure level calculation?) Although the question was not specific to C#, it does have some ideas for

Clap sound detection in C#

我怕爱的太早我们不能终老 提交于 2019-11-30 18:30:52
I would like to be able to detect a clapping sound. Being pretty new to any form of sound recognition, is there simple any way to do this? If not, any good resources for C# sound recognition/detection? My goal is to automate a clients media center with some basic clap-based controls. coobird There was a similar question asked in the past: Given an audio stream, find when a door slams (sound pressure level calculation?) Although the question was not specific to C#, it does have some ideas for algorithms to use. (Disclosure: Yes, I did answer that question.) Not sure whether this will be of any