Closed hariesramdhani closed 4 years ago
The latest implementation will encode the filename
to id
and save it in a .json file for compressing the size of the string. The current AudioNormalizer object will return the dictionary of audio signals together with its corresponding ids to be fed to MFCCFeatureExtractor
It seems there is a typo in here, AudioNormalzer should be AudioNormalizer.
class AudioNormalizerTest(unittest.TestCase):
def setUp(self):
self.output_dir = "test_data"
self.X = ["INDASV_GEN_2.mp3"]
self.X = [f"{self.output_dir}/{x}" for x in self.X]
self.audio_normalizer = AudioNormalzer()
Request quickfix for this .Don't forget to turn the linter on :) @hariesramdhani
Issue #2 is fixed for now, along with this pull request the simple unit test that tells if the AudioNormalizer works normally or not is also pushed