I am doing acoustic research and need to get waveforms from several mics.
I have a Steinberg UR44 which records in S24_3LE. It has 6 channels. I know that per sample it generates 3 bytes, and that all 6 channels is encoded in these 3 bytes. But I have no idea what bit operations need to be done in order to separate the channels and get usable waveforms.
I'm fully capable of capturing and playing with the snd_pcm_readi
and snd_pcm_writei
functions. But can't make heads or tails of the 3 byte bit format.
PS if you can recommend any books on audio programming, I'd appreciate it.