Python: Read Microphone
instalasi pyaudio apt-get install python-pyaudio One way I've done it: read a block of samples at a time, say 0.05 seconds worth compute the RMS amplitude of the block (square root of the average of the squares of the individual samples) if the block's RMS amplitude is greater than a threshold, it's a "noisy block" else it's a "quiet block" a sudden tap would be a quiet block followed by a small
| Penerbit | Taratsa |
|---|---|
| Tahun | 2014-05-04 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:2442f22a-8b39-53c9-9359-ad4741c05e14 |