groakat / AudioTagger

5 stars 2 forks source link

Redundant spectrogram code #44

Closed macaodha closed 10 years ago

macaodha commented 10 years ago

There are two very similar version of SpecGen(), one in converter.py and the other in audioTagger.py. It would be nice to unify these.

groakat commented 10 years ago

I think the SpecGen() has some fixed parameters, because I hard-coded the audible range settings. The converter should represent the state of SpecGen before I added the ultrasonic mode to the audioTagger

groakat commented 10 years ago

i.e. can you write a quick test that compares the output of the new and old SpecGen of random sized random arrays, please?