From 46911993234b7c9cc07546f56843b35621b7f811 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Sun, 12 Mar 2023 13:55:55 -0400 Subject: Fix typo in comments --- music.nim | 2 +- music.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/music.nim b/music.nim index 2ad0e3f..30c256c 100644 --- a/music.nim +++ b/music.nim @@ -334,7 +334,7 @@ music.process(bass, 64) music.process(outro, 72, 4) music.sortByStart() -# Print out music encoded in s16 to standard output +# Print out music encoded in s32 to standard output for i in (0 * bitrate ..< 84 * bitrate): let bytes = cast[array[4, uint8]](music.at(i / bitrate)) doAssert 4 == stdout.writeBytes(bytes, 0, 4) diff --git a/music.py b/music.py index c08b981..74197b6 100644 --- a/music.py +++ b/music.py @@ -325,6 +325,6 @@ def at(t): return int(2**28 * ret) -# Print out music encoded in s16 to standard output +# Print out music encoded in s32 to standard output for i in range(0 * bitrate, 84 * bitrate): sys.stdout.buffer.write(struct.pack('i', at(i / bitrate))) -- cgit v1.2.3-70-g09d2