https://github.com/mikolalysenko/detect-pitch
Detects the pitch of an audio snippet
https://github.com/mikolalysenko/detect-pitch
Last synced: 4 months ago
JSON representation
Detects the pitch of an audio snippet
- Host: GitHub
- URL: https://github.com/mikolalysenko/detect-pitch
- Owner: mikolalysenko
- License: mit
- Created: 2013-06-15T01:17:01.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-06-05T14:23:37.000Z (about 10 years ago)
- Last Synced: 2025-03-16T20:51:16.175Z (4 months ago)
- Language: JavaScript
- Homepage: https://mikolalysenko.github.io/detect-pitch
- Size: 545 KB
- Stars: 61
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
detect-pitch
============
Detects the pitch of a signal using the autocorrelation method.## Example
```javascript
var detectPitch = require('detect-pitch')var n = 1024
var ω = 2.0 * Math.PI / n//Initialize signal
var signal = new Float32Array(n)
for(var i=0; i