Defined build_table_from_wav in table_gen.py