Тёмный

WavetablePi: Better PWM audio 

Scrap Computing
Подписаться 2,8 тыс.
Просмотров 2,2 тыс.
50% 1

Understanding why the audio quality of the WavetablePi's PWM audio (i.e., without the HiFi DAC) was poor and trying to improve it with a low-pass filter. While doing so we are testing out audio from Warcraft II and Quest for Glory I.
Original WavetablePi Video: • WavetablePi: Wavetable...
WavetablePi: github.com/scr...
mt32-pi: github.com/dwh...
Raspberry Pi Audio Schematics: hackaday.com/2...

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@adamsfusion
@adamsfusion Год назад
Getting different results on breadboards is not all too uncommon. Breadboards have really bad stray capacitance problems as frequencies increase. Generally on more premium breadboards they'll send a metal plate you can adhere via the sticky back which definitely helps the problem, but generally you're going to see the effects of capacitance even when no capacitors are there.
@scrap_computing
@scrap_computing Год назад
Ah good to know about the metal plate, thanks!
@BrassicGamer
@BrassicGamer Год назад
I never looked into how audio filters worked before and now I know! Thanks.
@SianaGearz
@SianaGearz Год назад
This big breadboard is trouble. Every breadboard is trouble, but tiny little breadboard maybe less trouble. I can hear strong mains hum. You can use a filter with corner frequency well in the audio band; and then pre-emphasize the audio in software to compensate. Indeed due to LTAS having a 100Hz corner frequency, a 150Hz 6db/oct filter might not be that far off base!
@soniclab-cnc
@soniclab-cnc Год назад
I love that your voice sounds like a muppet. It makes your video even more entertaining 😂❤
@alextirrellRI
@alextirrellRI Год назад
Very cool! Great explanation of PWM! I am now curious how other DACs work.
@varno
@varno Год назад
I wonder if they could add some noise shaping to the output code, to shift the noise up in frequency and improve the benefit of filtering.
@CalamityLime
@CalamityLime Год назад
Hmmm. I'd wonder how the signals would cope with a Clamp cap of some kind. 10pf or 22pf cap to ground from each of the signals, I don't know how well it would work but I'd be curious to find out. Normally I wouldn't add a clamp cap to audio lines but these signals are a little more "simple" compared to newer audio gear, so maybe it would help. There's also ferrite beads for high frequency stuff but I don't see them making a difference other than acting as a low resistance resistor. Another potential improvement would be to have an LC filter to try to clean up the power going into the pi zero itself, it shouldn't make a difference with a decent PSU but noisy power always goes directly into the audio quality. There is always more nitty gritty stuff like moving to a 4 layer design to give yourself more ground plane between the pi zero and the rest of the machine. Slap a video card beside a sound card and you'll hear the pixels. Now that I'm thinking about it there's a few things I'd like to see done given that these are PWM signals. Nothing I think would actually work but it would be fun to see what they would do, maybe even a tinkerboard, those have actually good audio.
@olafschermann1592
@olafschermann1592 6 месяцев назад
Thanks
@timschonherr7674
@timschonherr7674 Год назад
Hey, thanks for sharing. I build 2 devices myself ( 2 because i thought i made a mistake on the first), but when i connect it to my CT2940 nothing is happening. The DAC gets troubling hot and the pi is not booting. If i connect the pi to a normal powersupply i can see it booting up (of course it is not connected to the Soundblaster at that time. Any one build one themself and can share some troubleshooting ideas? I only have 3 CT2940 with Wavetable header…are they not compatible? Thx & Cheers
@scrap_computing
@scrap_computing 11 месяцев назад
I checked with my CT2940 and the Pi powers on just fine. If the Pi does not power on when connected to the wavetable, it probably means that either the power or ground connection is open-circuit. Pi's pin 2 or 4 (5V) should be connected to the header's pin 10 (that is the 5th of the bottom row when looking at the Pi's side). Also the Pi's pin 6 (GND) should be connected to the header pin's pin 9 (the one above pin 10). If either is open-circuit, you could still probably fix them with some jumper wires. Good luck with troubleshooting! EDIT: I just added an image with the circuit schematic on the project's page on github. Feel free to check it out, it may help you with troubleshooting.
@MatthewSuffidy
@MatthewSuffidy Год назад
Get an X-Fi
Далее
Converting an Arduino PWM Output to a DAC Output
18:48
Просмотров 110 тыс.
This mother's baby is too unreliable.
00:13
Просмотров 23 млн
GDvi: Simplified HDMI for the Pico
15:00
Просмотров 3,1 тыс.
ARM yourselves! The Compute Blade is here.
11:14
Просмотров 301 тыс.