Skip to content

Generated condition renaming

Vinit Veera requested to merge generated-condition-renaming into main

The function looks for directories in the output_path that start with "cXX" in their names where "XX" in "cXX" stands for the condition number, for example "c01". In those directories, it adds the directory name to the file name such that the renamed file looks like abc.cXX.wav.

  • For a single bitrate: the name is abc.cXX.wav and in the case of multiple bitrates, it'd be abc.cXX_160000.wav and abc.cXX_32000.wav
  • It would NOT work on directories other than the condition directories, e.g. tmp_blah_blah, processing, etc.
  • For ISM concatenated files it renames them to ISM_data_concatenated.cXX_32000.wav i.e. in the same way as mentioned in 1.

Merge request reports

Loading