DEMO Neural Seed: A.I. Amp/Pedal Capture on the Terrarium Pedal

This post contains an audio or video demo

keyth72

Well-known member
neuralseed.jpg

I just finished a project using the Terrarium pedal (powered by the Daisy Seed digital board), which uses neural networks to emulate real amps and pedals. Similar in concept to Kemper/ToneX/NeuralDSP but scaled down to an inexpensive DIY platform (total cost was around $100). The code is open source, if you build the Terrarium (or already have one) you can download the "neuralseed.bin" and upload it to get the same pedal shown in this demo video:


Here's the code and more info on how this works:

To capture your own gear takes minimal coding knowledge, but it's not too bad if you want to learn or already know a little about programming. This info is at the bottom of the Github page linked above. The pedal comes pre-loaded with 11 amp/pedal models, including a TS9, Klone, ENGL amp, 5150, Friedman, (amps must be clean or low gain due to the minimal neural model currently able to run on the Terrarium). Besides the amp and pedal models, controls include input/output levels, wet/dry mix, and 4 band EQ boost.

Edit:
Wanted to share some of my build experience that might be helpful. There is very little space underneath the Daisy Seed, so make sure your components will fit. I believe the correct capacitor sizes are in the Terrarium build doc, but I just used what I already had and soldered the components that wouldn't fit on the other side (the larger value caps). Also I couldn't fit a socket for the TL072 like I usually do, had to solder directly to the Terrarium PCB. When ordering the Daisy Seed, you have the option of with or without headers, so make sure you have the header included option for a couple extra bucks (unless you really want to do this yourself). The solder pads for the Daisy Seed pins are small and very close together, so really take time on this part and it will save headache later. I hand drilled my own 125B enclosure, so I used wires to connect the pots and switches to allow for some error when I drilled the holes. Probably much easier to use the template or have Tayda drill the holes and use the pcb mount right angle pots.

Edit 2: If I make another one, I'll probably buy these extra headers so I don't have to solder the Daisy Seed directly to the board, also might allow for more space. https://forum.pedalpcb.com/threads/terrarium-socket-recommendation.4395/

Enjoy!
 
Last edited:
I have a daisy seed and a terrarium pcb, both pf which have been sitting untouched in a box for over a year. I should dig those out sometime, there are some neat projects out there, including this one 😁
 
Finished assembling a Terrarium last night - and Neural Seed was the first thing I tried. Great fun!
That’s awesome! You’re the first person I’ve heard back from on building it, let me know if you have any suggestions! Planning on improving it, for instance I’m not fully happy with the wet/dry mix, also would like to experiment with different params for the EQ switches.
 
My VOX Ac15 burnt its transformer so it's in the shop, already had a terrarium pedal built but programmed on a different thing.
I was struggling trying to find ways to play guitar again while it gets repaired, but I remembered I saw a build for an "amp sim" out there. Installed this on my terrarium and tried it. I'm really impressed by how the different models react, this is exactly what I needed while I get my amp repaired!

Thank you so much @keyth72 for all your hard work, once again. You truly saved me from a depression.

You said you wanted to improve the build, is that this github repo?
https://github.com/GuitarML/Seed
I was wondering if there was a "noob friendly" way to load different models or even a model repo out there for different amp voicings?
I.E: Instead of modeling the klon style pedal and mesa amps, I'd much rather have the Dirty Shirley Mini Amp model and the bassman models ! How would I go about that?


Cheers!
 
Last edited:
My VOX Ac15 burnt its transformer so it's in the shop, already had a terrarium pedal built but programmed on a different thing.
I was struggling trying to find ways to play guitar again while it gets repaired, but I remembered I saw a build for an "amp sim" out there. Installed this on my terrarium and tried it. I'm really impressed by how the different models react, this is exactly what I needed while I get my amp repaired!

Thank you so much @keyth72 for all your hard work, once again. You truly saved me from a depression.

You said you wanted to improve the build, is that this github repo?
https://github.com/GuitarML/Seed
I was wondering if there was a "noob friendly" way to load different models or even a model repo out there for different amp voicings?
I.E: Instead of modeling the klon style pedal and mesa amps, I'd much rather have the Dirty Shirley Mini Amp model and the bassman models ! How would I go about that?


Cheers!
Glad you are finding it useful! This is the repo for NeuralSeed:

The one you found is the "Seed" pedal, which adds other effects in addition to just the neural modelling, it is compatible with the Terrarium.

It's fairly simple to swap out model data, but if you're not familiar with c++ code it's not exactly "noob friendly". It's been awhile since I've looked at the NeuralSeed code, but I think the models I included in there are all I have available for that particular size network. The size of the neural net models are specified in the code, and they are slightly different between Seed and NeuralSeed. If you look at my Proteus plugin (GuitarML.com), those models are much larger and won't be able to run on the Daisy Seed. You can train new models to work on the NeuralSeed/Seed, but I don't currently have tutorial for that. If you do want to learn more though, I would start with the "Proteus" related videos on my youtube channel: https://www.youtube.com/@GuitarML

Those will give you an idea of how model training works and how to use my code to do it. It's a huge rabbit hole but I've gotten alot of mileage out of it!
 
Thank you so much for your answer as usual keyth! You truly are such a valuable asset to this site and to the musical community !

I am now playing with the "seed" instead of this one, I really love what you did with the buttons and functions I can get out of it! Especially the looper, which is just fantastic use of that second switch!
I'll check out all your documentation, from what I gather, switching out models should be fairly easy on the seed, as from what I can see, some other models are already in the code, I just need to decipher how to switch the default ones with other ones already on there.
I am a bit familiar with syntax and object-oriented programming, but one a scale of 1/10, i'd say I'm a 4 at most! haha

I figure I need to set up a development environment to be able to modify and build upon your already existing work?
Cheers!
 
I recommend Geany editor for working with Electrosmith daisy-things. Do not use the arduino abstraction.

I have a Terrarium, and this code might be the niftiest thing you can do with it.
 
I figure I need to set up a development environment to be able to modify and build upon your already existing work?
Cheers!
Yes, you'll need to install the Daisy Toolchain from the Daisy wiki page, or wherever Electrosmith keeps it, and follow any instructions specific to Win/Mac/Linux. As far as IDE's, I use Visual Studio Code, haven't tried Geany editor but I'll probably check it out.

To switch models on the seed, there should be a models header file (.h), I forget exactly what I called it, but it contains all the neural network weights and biases. Basically just lots of arrays of float values. The first 4 are the ones loaded on Seed by default, and then there are 4 more hidden ones that you can swap out with the first 4 if you'd rather have those by default. The Neural Seed models are a slightly bigger size that won't currently be compatible in the Seed code.

All this reminds me, I meant to revisit the Seed code and update it with compiler optimizations. When I originally wrote it, I didn't know what all you could optimize, so I think I can use larger, better sounding models by turning on "Ofast" optimization and using the CPU boost flag.
 
Thank you all, got it sorted out by changing the Seed\src\all_model_data_gru9_4count.h file's content to only include the 4 models I wanted :)
Much appreciated
 
Back
Top