1

(13 replies, posted in Other Hardware)

Hi all,
I'm working on a PDM flow audio, and i'm testing some code that convert from PDM 2 PCM. So I'm starting from a PCM audio, than i convert to PDM with the fantastic code posted here (thank you very much!!) and finally back to PCM with my code.
Now i have a question: when I convert from PCM 2 PDM, should i have a number of bit equal to (num_pcm_samples * 8)/decimation_factor ?
A numeric example:
I want to have a PCM audio flow at 16khz, from PDM i sample at 1.024Mhz (16kz*64).
For each msec i have 128 PDM samples (bit) and 16 PCM samples. Correct?
Now when I convert from PCM 2 PDM with the script of Vegas Diamond, i've that the PDM samples are equal to PCM samples.
What am I doing wrong?