Hello, I'm trying to load audio files directly from the Data folder without having to compile them to PDA. I'm on Mac OS.
Will (from Panic) said on Discord that the files can be played without conversion, albeit with a performance hit. However, when I try that, I get the error message: couldn't read header.
I tried an alternative approach, which is to convert WAV files to PDA on-device using a script written by Dave (from Panic). Although the files do successfully play in this case, they play at double speed, even when encoded at 44kHz 16 bit mono as the script suggests.
Does anyone have any suggestions for how to get this working?
Alternatively, if anyone has a way to convert an audio file to PDA without use of the SDK -- I've seen a Node script floating around that claims to do just that -- I would be very interested! Thank you!
I suppose you could try reproducing that part of pdc in SDK code. The PDA format is pretty well documented here so there shouldn't be much of a problem writing it.