You been doing great process with this! Fantastic work. I hope this solves all your noise, gain, self-oscillating issues also.Boards arrived, now let's hope there will be no or minimal need for bodges.
This is very impressive! With AK codecs and guitar pot turned down it gets very quiet. When you open the pot you get normal high gain noise which is typical in guitars, as no pickup (even humbucker) with unbalanced instrument cable is perfect.I'm still deep in the GUI(ESP32) - Teensy integration.
Preset System:
supports up to 128 presets (if SD card is present) or 8 if using EEPROM only. EEPROM is still used to hold the 1st 8 presets. Acts like a backup copy, SD cards can fail. Preset names are added, limited to 15 characters.
I also added a separate software DC blocking filter on the input, it doesn't have to rely on the built in one.
I have successfully tested the hardware and will post the HW design files soon.
Overall i'm really happy with the design decisions, esp. the choice of ADC+DAC. It's so much better compared to pretty much all codec chips i've used previously. Hi gain guitar rhythm sound is a really good test to show all the signal chain flaws and imperfections.
Here is an audible comparison: 24bit WM8731 (HPF off, single ended IO) vs 32bit AK5552+AK4452 (differential IO). The samples are normalized since WM8731 works with lower reference voltage (3.3V), AKs run on 5V anlaog supply. WM is a lot noisier + still has a bit of oscillation, even when the guitar vol knob is muted. AK pair - well, here you can hear it:
Sounds really good, my humble suggestion for your design is: please consider to maybe use 48Khz instead of 44.1Khz (or maybe an option for selecting it?): this would allow in future for integrating to other equipment like ADAT/SPDIF more easily if you would also implement digital outputs (e.g. all my digital audio equipment in my home studio uses 48Khz including my RME PCIe audio interface) ?The saga continues:
based on the experiences gathered with the TGX4 i came up with an idea for a much smaller module type device to be used as a Stereo IR cabinet emulator + Reverb only. Such a module can be built into an analog preamp/distortion or an amplifier.
The hardware is based on Teensy4.0 and a custom board with the following features:
View attachment 35494
- stereo codec AK4558 (32bit 44.1kHz)
- buffered inputs and outputs
- separate stereo Headphone output with optional Volume pot
- plan is to have the IRs stored on an SD card as wav files
- HighPass, LowPass and Reverb level controls, Stereo doubler
- 4 pot inputs
- 4 buttons
- power input: 9VDC
- 1.28" round SPI display (GC9A01A) using LVGL9
The boards are on the way, meanwhile, i got the LVGL9 working with DMA and dual buffering, heavily inspired by
GC9A01A Display driver by mjs513 and KurtE
It's a stripped down, minimalistic library that initializes the display and privides a display_flush callback that writes the pixel data using DMA.
View attachment 35495
I need to test the library wth multiple displays before i'll post it. Potentially it could a base for a generic Teensy/LVGL driver library for various displays.