Speeding up audio analysis

Feb 10, 2011 at 9:01pm

Speeding up audio analysis

I currently have a patch that analyzes an audio file by playing through it and calculating a running average for frequency, average gain, and a few other aspects. The problem is that you have to wait for the entire file to play through for the analysis to complete!

Is there a way to seek through an audio file at a faster speed without loss of precision? I suppose I could just play the file back at 4x the speed or something, but I feel like doing so would screw up the measurements.

#54905
Feb 11, 2011 at 2:41pm

Have you looked into using the NonRealTime driver in DSP Status?

#197728
Feb 11, 2011 at 10:43pm

You might also integrate your analysis patch into an upsampled poly~.

#197729
Feb 12, 2011 at 10:28pm

you could try peek~ through the whole file, but not sure how fast it’ll be.

#197730
Feb 18, 2011 at 8:08pm

Thanks Holland, that helps speed it up a lot! I didn’t know there was that option.

Roald and seejayjames, thanks for the ideas, I might see if I can get any speed boosts from them. For now though, using the NonRealTime driver helps immensely.

#197731

You must be logged in to reply to this topic.