aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--music.nim2
-rw-r--r--music.py2
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)))