Speeding up audio analysis


    Feb 10 2011 | 9:01 pm
    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.

    • Feb 11 2011 | 2:41 pm
      Have you looked into using the NonRealTime driver in DSP Status?
    • Feb 11 2011 | 10:43 pm
      You might also integrate your analysis patch into an upsampled poly~.
    • Feb 12 2011 | 10:28 pm
      you could try peek~ through the whole file, but not sure how fast it'll be.
    • Feb 18 2011 | 8:08 pm
      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.