If you have a problem or need to report a bug please email :

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

Modeling an Guitar Amp

For general discussion related FlowStone

Modeling an Guitar Amp

Postby gutoalvim » Fri Dec 27, 2013 1:07 am

Hello my name is Guto and im completely new to all of this. Well, i started to research what was the best plataform to create a guitar amplifier simulation and i ended here. I am interested in simulating and already existing amp, these being the Lead Channel of the Mesa Boogie Mark IV or Mark IIC+ (I already have the schematics for it).
Is this possible in FlowStone? If so, what are the steps in creating such thing? Does anyone have any advice on doing it?

Thanks for the help!

Posts: 1
Joined: Thu Dec 26, 2013 10:37 pm

Re: Modeling an Guitar Amp

Postby acg2010 » Fri Dec 27, 2013 4:25 pm

Guto, I am no expert and not even a guitar player myself but if you search the SynthMaker forums, there is a lot of good info on distortion and guitar amp sim info. My guitar amp sim project is here if you want to take a look at it:



It has been difficult to get direct help from people who actually create amp sims since they typically don't want to give up any programming or approach secrets. I spent a lot of time reading every thing I could about real guitar amps and cabinets on the internet and other sources to try and understand how they function to be able to try and model an amp. My project is just standard modules and some user created modules found on the forums. I also had a lot of help from people such as Trogluddite, Billv, and others here on the forums.

A good place to start on a guitar amp is to look at ways of creating distortion (waveshaper, gain, tangent functions, etc.). Then look at adding harmonics (odd, even). I found I needed a cab sim to tone down the higher frequencies generated by the amp.

Hope this helps some.

-acg2010 aka Ph D(J) Music
Posts: 80
Joined: Tue Oct 05, 2010 3:18 am

Re: Modeling an Guitar Amp

Postby KG_is_back » Fri Dec 27, 2013 7:16 pm

It certainly is doable in flowstone. When you have the schematic you're quarter way there already.
Some parts of the schematic are filters. Use Hilbert transform and Z-transform to create digital versions of those filters (if you can't do it find someone who can).
With the amplifier/gain/distortion stages it is somewhat more tricky. In real world the tubes and transistors distort the wave, but it is not a static wave shaping - it is program-dependent (the wave transfer function is dependent on many factors that can change quite fast: power load, overall power of the signal, interactions with other parts of the circuit). That is very hard to capture.
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Modeling an Guitar Amp

Postby acg2010 » Sun Dec 29, 2013 4:22 pm

Here are some of the relevant SynthMaker forum links I was referring to. This is just from searching for "guitar amp". There are other links if you search for distortion, guitar amp sim, etc. I didn't have anything better to do this Sunday, so I spent time listing the links here in case anyone else was interested. The Bold line is the topic and the link for that topic is below it.

Differential DC Bias Adjust synthmaker implementation ... amp#p92318

HELP! Guitar amp style knobs ... amp#p87653

Emulating a Germanium PNP Transistor in Synthmaker or Flows ... amp#p92033

Comma delimited file parsing ... amp#p91600

Guitar Amp Sim ... amp#p89019

using (FL)Synthmaker to make a guitar amp plugin ... amp#p82356

D plugins ... amp#p80685

Oversampling Toolkit ... amp#p45132

Guitar Preamp EXAMPLE for SM People ... amp#p71039

Guitar Amp ... amp#p67280

Shred 1.06 Released ... amp#p65002

RevolutionZ Head Amp ... amp#p61186

need help learning SM basics ... amp#p60850

Amplifier Simulation? ... amp#p10019

How to make a Guitar Amp? ... amp#p59799

Drive ... amp#p57536

Who knows C++ Really Good/SM language really well? ... amp#p53775

Skin ... amp#p53653

What is causing these denormals ... amp#p53165

"My Instruments Guitar Bass Effects and Creations of Fun" ... amp#p52700

Need help with Float Array from disk ... amp#p52497

Credits for Guitar Amp ... amp#p52369

5 Cyborgs bass guitar amp simulator ... amp#p48762

simple distortion ... amp#p21851

Amp Distortion ... amp#p18271
Posts: 80
Joined: Tue Oct 05, 2010 3:18 am

Re: Modeling an Guitar Amp

Postby acg2010 » Sun Dec 29, 2013 4:56 pm

Here is some outside links regarding guitar amps and cabs:

A guitar preamp using biquads and a waveshaper

Cabinet simulation using biquad filters

Cabinet simulators

graphic EQ as cabinet simulator? ... ic=48850.0

Of course, this is just the tip of the iceberg regarding info on the internet. But these are some of the ones I used for my attempt at a guitar cab sim.

As KG_is_back said, For a first approach, you can try and simulate the actual circuits of the amp schematic and there are already plenty of C++ code already out there for doing that (tube sim, etc.). A second approach to creating a guitar amp sim is to look at each main circuit or section of a amp (pre-amp, tone stack, gain, etc.) and try and simulate that portion with something that approximates the function with out trying to actually reproduce the exact circuit. A third approach is to actually measure the phase and frequency response of each circuit and try and simulate each with a combination of the two first approaches. My attempt at a guitar amp was approached more from following the second way listed.

For my cabinet simulation, I followed the example as discussed in the second link listed above and used the Biquad Designer software (listed below) to obtain the coefficients for the biquads to simulate the cab response:

Ideally if you could simulate the frequency response curve of the guitar cab, you could store the coefficients and biquad configuration (type of filters, i.e. high and low self, notch, bandpass, etc.) and be able to simulate/approximate a number of guitar cabs.

A lot of people also use IR (impulse response) to simulate cabinets and even to simulate different playing environments (large rooms, cathedral, etc.). This approach is a little more complicated because you must be a to perform convolution of the incoming guitar signal and the IR.
Posts: 80
Joined: Tue Oct 05, 2010 3:18 am

Re: Modeling an Guitar Amp

Postby acg2010 » Thu Jan 02, 2014 5:20 am

More thoughts on approaches to modeling guitar amps:

Start by reading the Sound on Sound article " Modelling Plugins: ... lugins.htm

The author Mel Lambert does a good job of discussing approaches (transfer function, virtual circuits, etc.).

Then read David Yeh's publications on modeling synth and guitar amp and tube circuits:

The papers cover digital audio effects and amp modeling.

Then you could look at using the circuit simulation software LTSpice to model and test amp circuits:

Then look at Duncan's Amp Modeling page here:

Then use Will Pirkle's vst C++ software, RackAFX to model and test ideas for the guitar amp:

Additional C++ code for audio effects, synths, oscillators, tubes and amps can be found at:

Ronald Passion explains how to model a amp from a functional standpoint on the SynthMaker forum:

the Simulanalog website has some good articles on amp modeling and tube modeling:

Additional internet references: ... =51&t=4543 ... linear.pdf
Posts: 80
Joined: Tue Oct 05, 2010 3:18 am

Re: Modeling an Guitar Amp

Postby tester » Thu Jan 02, 2014 11:56 am

Nice resources and job done, thank you.
Need to take a break? Looking for relaxing sounds? I have something right for you.
(by purchasing, you are also supporting further development of related projects).
Thank you for your contribution.
Posts: 1719
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Modeling an Guitar Amp

Postby acg2010 » Fri Jan 03, 2014 5:19 am

Thanks tester.

If you really want to model a amp using the schematic then look at these references:

DSP Implementation of a 1961 Fender Champ Amplifier: ... Report.pdf

A 4-stage amp model is described in this article: ... per_29.pdf

Real-Time Digital Modeling of Analog Circuitry For Audio Applications: ... on_MQP.pdf
Posts: 80
Joined: Tue Oct 05, 2010 3:18 am

Re: Modeling an Guitar Amp

Postby trogluddite » Fri Jan 03, 2014 3:53 pm

Wow - lots of bedtime reading! Thanks for taking the time to collect those for us, agc. :D
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
Posts: 1706
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Modeling an Guitar Amp

Postby acg2010 » Sun Jun 15, 2014 4:08 pm

FYI - Lots of literature references, thoughts, and ideas pertaining to modeling guitar amps and tubes compiled by mastermindjacquard at the guitarampmodeling forums at: ... b6a#p95937

Posts: 80
Joined: Tue Oct 05, 2010 3:18 am


Return to General

Who is online

Users browsing this forum: No registered users and 17 guests