I'm trying to play a custom haptic pattern from a .wav
file. The apple docs specify that:
AHAP files are JSON-compliant dictionary representations of haptic and audio patterns that you can compose in a text editor, or any program that exports content in the JSON format.
I'm wondering how to generate that JSON file from the original audio file?