Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

finding stragtegies for testing audio modules #1

Open
hems opened this issue Jun 10, 2013 · 0 comments
Open

finding stragtegies for testing audio modules #1

hems opened this issue Jun 10, 2013 · 0 comments
Labels

Comments

@hems
Copy link
Member

hems commented Jun 10, 2013

  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~
  1. 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

    see more on the original redmine issue http://redmine.jamoma.org/issues/366

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant