File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ int main(int argc, const char ** argv) {
7979 while (std::getline (fin, line)) {
8080 // Skip empty lines
8181 if (line.empty ()) continue ;
82+ // TODO: support both comma (with spaces) and new line
8283 try {
8384 int code = std::stoi (line);
8485 codes.push_back (code);
Original file line number Diff line number Diff line change @@ -270,6 +270,8 @@ int main(int argc, char ** argv) {
270270 generated_codes = mimi.transpose_input (generated_codes);
271271 std::vector<float > wav_data = mimi.decode (generated_codes);
272272
273+ printf (" output wav file: %s\n " , params.out_file .c_str ());
274+
273275 if (!save_wav16 (params.out_file .c_str (), wav_data, mimi.get_sample_rate ())) {
274276 LOG_ERR (" Failed to save wav file\n " );
275277 return 1 ;
You can’t perform that action at this time.
0 commit comments