I took the Waveforms Audio example, set the frequencies to 1000Hz, wave type to sine, and maxed the levels with
sgtl5000_1.lineInLevel(0);
sgtl5000_1.lineOutLevel(13);
And looked at the line outputs with my QA403 audio analyzer:
Which...
One crude way of resample it would be to simply use a DC component and update it from whatever the sensor source is. DC outputs the same value until changed. Maybe add a lowpass @ 2kHz if the input f is around 4kHz.
Diecast boxes are pretty much standard for the stompbox builds.
AK4552 vs AK4452 - of course that was typo, i mean the 32bit 4452.
The volume pot will fit, tested many times in practice, the 3d model is not the type i'm going to use, i've just...
Thank you!
Hardware platform is in the works, i'm trying to make it versatile and mod friendly:
Teensy4.1
AK5552 + AK4552
ADC+DAC can be replaced with a separate module containing a codec + whatever it needs. I2S, I2C, differential ADC input...
Oh, please, any fixes are welcome.
Meanwhile, a track i have been working on for a few weeks. All sounds are made with using this project on T4.1+WM8731, some post processing is used on the mix, nothing too drastic, though.
Version 1.4 dropped in including:
new way to define and add hardware platforms. Minimal is now a standard T40 + Audio Adaptor Board
pre built hex files for T40 & T41 + Audio Board
added ES8388 codec (i'm quite disappointed with this one, but...
I modified a toy Dalek I was given (its original function was broken) to become a bespoke synth. Here is a demo of it, version 1.
The internals include a Teensy 4.1 and Audio card.
I mean 32bit converters are a bit an overkill, but also a chance to play with them (literally too). Guitar signal with all the playing techniques is very dynamic. Plus the high gain - i'm curious how will they behave combined with the neural amp...
This is what i'm getting, no calibration done, peak values taken for all gain settings (0x00-0x1F) over a 1 sec step between them. ADC is not muted internally, only the input audio via the jack contacts, there is an opamp buffer before the ADC.
Here is an interesting comparison: feedback + noise on high gain (Lead2 + Boost used to cut low end only) for the two codecs:
SGTL5000 + WM8731
Granted, the WM8731 on my board has a separate Vreg for the analog 3.3V rail and a lot more uF on all...
Yes, it will be designed from scratch. Well, almost, i'll use whatever i learned from previous builds.
I have a sneaky plan which might work: design the pcb with the codec being a kind of module on the pcb - original can be cut off, removed and...
It's just another reason to start a dedicated hardware design.
These are the settings for the SGTL5000 i'm using now:
codec.inputSelect(AUDIO_INPUT_LINEIN);
codec.volume(0.0f);
codec.micGain(0);
codec.muteHeadphone();
codec.lineInLevel(0)...
Working on the simpler version for Teensy4.0. I do have it with a SGTL5000 codec, default input gain it too much for a guitar. I think i copied it from an example. LineIn gain is is set to 10, but 5 is the optimal value - tested with a 7string +...
Maybe something went wrong with the default settings/presets written to eeprom on the 1st boot.
Please try the following:
- open the stats.cpp file
- in the stats_init() function, line 51, change statsMode = STATS_MODE_INFO; to statsMode =...
https://github.com/hexeguitar/TGX4
I have added one more HW configuration: for the Blackaddr TGA Pro board. I don't have one to test, but would be great if anyone could try the included in the bin folder precompiled hex file. There is also one...
The gumstick-sized Teensy 4.0 made this project possible! Fender's iconic Stratocaster's control cavity was routed to accommodate a few analog pots and a dual-pole 5-position blade switch but I've crammed the Teensy, a stereo codec, two RGB LED...
Soon, i went into the latency rabbit hole trying to optimize it a bit, but it would require a new audio system.I'll leave it for now. It's perfectly usable and playable.
I think i'll add a master high pass filer, have it on my second IR cabsim...
A short sound sample using the Delay in Freeze mode to create a stereo sound layer + playing over it with one of the Crunch Sounds + Plate reverb, later on adding modulation to the delay loop.
https://streamable.com/0cyd6i
(can't embed...
There is a way to add/use different impulse responses, but i haven't gotten to test it thoroughly yet. I have made a python script that converts the wav files into c arrays. Will be added in the foreseeable future. If you want to play with it...
Problem description:
I have noticed that if some of the components do exceed the max allowed execution time in the audio ISR (load goes over 100%) the overall latency is increased and stays increased. That is - it is enough to do it once and the...
Following the world's best version control practices i'm finishing working on the final_final version of the Amp Emulation.
The number of controls started to grow rapidly, i decided to split them into 3 tabs:
1. Amp:
New items are:
- Input...
I have encountered this issue, it's not really Teensy related, but the SGTL5000 codec chip.
I was able to narrow it down to a resonance happening due to impedance of the capacitor combo and the SGTL5000's analog power supply pin resulting in a...
Just wondering, this looks a bit too ideal (full 3.3V scale, pulse shape) to be a crosstalk. Have you checked the CS lines with a continuity tester if there is a short between them and/or a different signal?
If everything worked as a prototype...
It's MIDI, so the raw values for CC are always 7bit int, 0-127. Look at the CC receive callback. It's converted to float 0.0 - 1.0 there.
Dials are set to show 0-100 range instead of raw midi value. This can be changed in the html file. More info...
Nice build!
The difference between an unbuffered (LoZ, under 100k) and bufferred input (>300k-1M) won't be very drastic, usually it's the top end where various overtones live. With clean sound it might be only slightly noticeable. With...
Version with Delay requires PSRAM, although you can change it using the delay constructor. Default settings are 400ms in RAM2.
I've set it to 1sec in PSRAM:
AudioEffectDelayStereo_F32 echo=AudioEffectDelayStereo_F32(1000, true); // 1 sec...
Yes, delay and Reaper JS plugin are in.
I have changed the signal path a bit. The amp sim is mono, but i made the component to work a 2xmono one, summing the L+R inputs when on and sending the same signal to L+R output. However, when bypassed...
If you enable a track recording and set the Input to MIDI >> Teensy >> Channel (or all channels) you should be able to see a midi comm indicator (yellow square blinking in the default theme).
In Preferences/MIDI Devices, the Teensy Input should...
main.cpp is the main sketch, like *.ino file. The difference is you have to declare all functions before using them just as with regular c/c++ programming.
To add more controls via the web interface, using the codec input level as an example:
1...
I played a bit with the Reaper's JS plugin engine. The new Amp Modeler example will include a JS controller plugin, doing pretty much the same as the html+webMDI, but with automation, MIDI clock sync and all the audio tools a DAW provides.
What problems did you encounter with the PlatformIO?
I have just tested a fresh install of VScode + PIO on Win10, cloned project repo installed all the libraries and compiled fine.
There has been changes to the main library, clicking build does...
Delay is available in the library repo. No example yet, still testing it.
Lots of fun! This is the complete amp modeler with delay, reverb, IR cab sim. Delay uses 1sec buffers in extmem (PSRAM on Teensy4.1).
https://streamable.com/9wgemt
I tried, but failed for now. After getting all the path and includes correct Arduino somehow puts a lot of code into RAM1, exceeding the limit. No problems with Platformio.
The constructor takes a variable, which is the max delay time in ms and also a bool that says where to put the buffers. Default is RAM2, optional PSRAM. The latter do use more CPU as the RAM2 version.
There are 4 buffers in a stereo pingpong...
Just implemented a new tap_tempo function which can be called via MIDI clock callback, footswitch or something else.
Here is a short sample of delay synced to a drum track with MIDI clock sent via USB:
Another interesting feature is if just a...
There is no better feedback than a piece of beautiful music with the code working somewhere inside it :) Thank you!
I do have a nice stereo ping pong modulated delay in the works, hope to post it here soon. Not a reverb, but a time based effect...
Yes, i know about tonehunt, however the NAM models are not compatible with this version of the component.
IR cabsim can be bypassed or just imply removed. There is an EQ built into the SGTL5000 codec used on the TeensyAudioAdaptor. Just a matter...
Amp Modeler example project is available here:
https://github.com/hexeguitar/hexefx_audiolib_F32_examples/tree/main/NeuralAmpModeler
For now PlarformIO only.
Yes, the signal chain used in that video was:
I2S->NoiseGate->AmpModeler->EQ->SpringReverb->StereoIR Cabsim->I2S
Load max about 80% with everything turned on.
\m/ :)
More news: managed to port the Neural Network amp modeller from Seed by GuitarML (originally runs on STM32H7 i believe) to Tennsy, added a bunch of other stuff like:
- new Noise Gate with external side chain input. This way i was able to...
Thanks!
Things got a bit more exciting - got the RTNeural library working on the Tennsy4.1. CPU load is around 45%, with the tone stack and stereo IR speaker sim tops at about 60%. Still plenty for reverb, delay and a few other effects.