Open WilliamHiggs opened 6 years ago
http://denvycom.com/blog/detect-beats-extract-amplitude-data-from-an-audio-file-using-nodejs/
Here is a good blog on using the web audio api to detect peaks in the PCM data.
🥁 Snare hits could trigger additional animations or colour changes.
Added basic peak detection. The data needs to still be PCM though. Will work on this further.
http://denvycom.com/blog/detect-beats-extract-amplitude-data-from-an-audio-file-using-nodejs/
Here is a good blog on using the web audio api to detect peaks in the PCM data.
🥁 Snare hits could trigger additional animations or colour changes.