Tasks #366

finding stragtegies for testing audio modules

Added by Nils Peters almost 10 years ago. Updated over 6 years ago.

Status:ClosedStart date:2009-12-13
Priority:NormalDue date:
Assignee:-% Done:


Category:-Spent time:-
Target version:-


1. Testing the impulse response of an audio module

  • the desired output is stored in a wave file of table
  • a unit test would start a recording into a buffer~
  • sending a click~ to the module
  • recording for a given time
  • comparing the desired wave file with the content of the test buffer~

2. How to compare?

  • Simple sample to sample comparison between desired wave form and test buffer
  • danger if test recording has a starting delay
  • what happens if the general gain of the test buffer recoding differs fro the desired recording?
* Normalized cross correlation between desired wave form and test buffer
  • output would be 1 if the test response would be similar but shifted in the buffer~
  • the lag output of the cross correlation shows the delay


#1 Updated by Nils Peters about 9 years ago

I created a wiki page to brainstorm and coordinate this task: Strategies_for_testing_audio_signals

#2 Updated by Trond Lossius over 6 years ago

  • Status changed from New to Closed

Moved to GitHub

Also available in: Atom PDF