Replies: 1 comment 3 replies
-
The problem is that the Raspberry Pi includes circuitry to produce the PWM output on the headphone jacks, and that circuitry is set up for a certain resolution, stereo signal. It will require a hardware change to swap the stereo signal for a higher resolution mono signal using the technique as used in Mozzi. See: https://hackaday.com/2018/07/13/behind-the-pin-how-the-raspberry-pi-gets-its-audio/ for an explanation, and here for the same circuit on a Pi 4: https://datasheets.raspberrypi.com/rpi4/raspberry-pi-4-reduced-schematics.pdf It might be possible to produce independent PWM audio using GPIO directly using the type of setup described for Mozzi, but then it won't be using the on-board 3.5mm jack socket... ... and if we start adding extra circuitry to GPIO, then it really is a lot simpler to use a cheap DAC :) Kevin |
Beta Was this translation helpful? Give feedback.
-
The Mozzi library offers on some boards the possibility of using a "Hi-Fi" mode by combining 2 PWM signals.
I'm not sure how this is achieved, but since the original DX7 had a mono output, I think it would be reasonable to offer the possibility to the user of giving up stereo output to have better quality output through PWM.
The output circuit to sum the two separate PWM channels is really simple and requires just 3 extra components (2 resistors and a cap).
EDIT: here is a good explanation of how this works
Beta Was this translation helpful? Give feedback.
All reactions