Added 0 byte after filename
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user