Sound analysis to create Guitar Hero levels automatically

I am trying to create a game similar to Guitar-Hero (something like this ) and I want to be able to analyze the audio file provided by the user and automatically create levels, but I'm not sure how to do it.

I thought that maybe I need to use the BPM detection algorithm and put the arrow on the bit and rail on some kind of repeating pattern, but I don't know how to implement them.

In addition, I use NAudio BlockAlignReductionStream, which has a Read method that copies byte [] data, but what happens when I read a two-channel audio file? Does it read 1 byte from the first channel and 1 byte from the second? (because it says 16-bit PCM) and does the same with a 24-bit and 32-bit float?

+5
source share
1 answer

Bit Detection (or, more specifically, BPM Definition)

Overview of the bit detection algorithm for using a comb filter:

It looks like they are doing:

, . , . .

: ​​ . : http://www.flipcode.com/misc/BeatDetectionAlgorithms.pdf - , , .

, . FFT, ( ). , .

BPM , .

" - ", , .

.

. BPM , , . , BPM. .

, , . , , , .

.

, , . , , . , , , , .

, , , , .. , Generative Music .. .

, " " ( - ), Generative Music , , .

, , , .

:.

+8

All Articles