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.
New incoming reverb for the library:
ReverbSC
ported from Soundpipe, original authors:
Sean Costello, Istvan Varga
This one is not to heavy on the CPU, but RAM hungry (387k).
I'm still working on fine tuning the code. There will be 2 options...
Here is a next component for my audio effect library for Teensy4: Stereo guitar/bass cabinet emulation based on
Uniformly-Partitioned Convolution Filter by Brian Millier.
A PlatformIO and ArduinoIDE projects are available in the examples repo...
I have updated the example projects repo with a version for ArduinoIDE 2.0 and info on how to set it up. Tested on Linux only, the project compiles fine.
https://github.com/hexeguitar/hexefx_audiolib_F32_examples
New Year, new reverb incoming
Plate Reverb V2.0
with a lots of new or reworked features:
- pair of HP and LP filters inside the reverb tank - controls the bass/treble loss in the tail
- pair of HP and LP filters at the output shapes the...