Skip to content

Commit 1e9afd9

Browse files
committed
nits
1 parent 6976682 commit 1e9afd9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

examples/tts/mimi.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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);

examples/tts/tts-csm.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)