minor changes #1

Merged
Annika merged 2 commits from Ailuriya/femtosynth:master into master 2026-07-24 08:34:53 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 18413a0931 - Show all commits
+3 -2
View File
@@ -7,6 +7,7 @@ int main() {
const int sample_rate = 48000;
const float freq = 50.0f;
float phase = 0.0f;
int duration = 1;
PipeMini audio;
@@ -25,8 +26,8 @@ int main() {
return 1;
}
printf("playing %f Hz sine for 5 seconds...\n", freq);
sleep(1);
printf("playing %f Hz sine for %d seconds...\n", freq, duration);
sleep(duration);
return 0;
}
BIN
View File
Binary file not shown.