Added 0 byte after filename

This commit is contained in:
Joppe Blondel
2026-10-04 17:23:39 +02:00
parent 79d427668a
commit a945dd32ab
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ def main() -> None:
output_path = args.output or args.input.with_name(args.input.stem + ".wav")
tones = FSKWriter(args.sample_rate, args.low_cycles, args.high_cycles, args.low, args.high, args.amplitude)
tones.block(0, args.input.name.encode())
tones.block(0, args.input.name.encode() + b'\0')
tones.finalize()