Algorithms for determining the key of an audio sample

前端 未结 8 2085
野趣味
野趣味 2020-12-22 14:59

I am interested in determining the musical key of an audio sample. How would (or could) an algorithm go about trying to approximate the key of a musical audio sample?

<
8条回答
  •  悲哀的现实
    2020-12-22 15:56

    First you need a pitch detection algorithm (e.g. autocorrelation).

    You can use then your pitch detection algorithm to extract the pitch over a number of short time windows. After that you would need to see which musical key the sampled pitches fit best with.

提交回复
热议问题