filoe / cscore

An advanced audio library, written in C#. Provides tons of features. From playing/recording audio to decoding/encoding audio streams/files to processing audio data in realtime (e.g. applying custom effects during playback, create visualizations,...). The possibilities are nearly unlimited.
Other
2.14k stars 450 forks source link

Question: Simple Rhythm Analysis #406

Open matheusisquierdo opened 4 years ago

matheusisquierdo commented 4 years ago

I need to create an application to analyze simple rhythms. Does anyone have an idea if it is possible to do this with CSCore and where to start?

Sample Audio: https://b9tecmatheusbucket.s3.us-east-2.amazonaws.com/geral/example_audio_to_analyse.m4a

Reference: https://users.cs.northwestern.edu/~pardo/courses/eecs352/lectures/MPM12-rhythm.pdf

Tks

filoe commented 4 years ago

You can use cscore as the base. CSCore allows to you process various formats of audio in various ways as samples. You have access to normalized samples. But there is no ready to use algorithm for beat detection or "rhythm analysis".

matheusisquierdo commented 4 years ago

@filo Thanks for the answer. Is there a way to measure decibels given time in an audio? What classes could you explore to do this?

matheusisquierdo commented 4 years ago

I found the WaveformData Class in a Example. Can it help me to understand the sound in period time?