I've also tried to create the bit stream with this patch
If I said "don't bother" earlier, there was a reason, there was quite a few things wrong with what I posted and unless you tried actually reading the specs to fix it, you had no hope whatsoever of making it work.
I now created a sylvain/tch branch with a version that creates multiple traffic_xx.out files based on the DL_USAGE value to try and demultiplex a bit. There are 2 other 'demux hack' commented in the code,one based on timeslot and one based
tetra-rx data.bits cdecoder traffic_XX.out traffic_XX.codec sdecoder traffic_XX.codec traffic_XX.pcm aplay -fS16_LE traffic_XX.pcm
Cheers,
Sylvain