diff options
author | Anthony Wang | 2023-03-12 13:55:55 -0400 |
---|---|---|
committer | Anthony Wang | 2023-03-12 13:55:55 -0400 |
commit | 46911993234b7c9cc07546f56843b35621b7f811 (patch) | |
tree | 8eba49133963791ce0ef0ba8ce46e1b612f41e6a | |
parent | 44b8c5f7311eccb8058df27be1a4d55651580940 (diff) |
Fix typo in comments
-rw-r--r-- | music.nim | 2 | ||||
-rw-r--r-- | music.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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) @@ -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))) |