"""Mach Boom: text to 24 kHz speech on a CPU. python tts.py "Your booking reference is AB-4471-Z." -o out.wav --voice Zoey """ import argparse, os, sys, time, wave import numpy as np HERE = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, HERE) from mach import MachBoom def pcm16(x): return (np.clip(x, -1, 1) * 32767).round().astype("