So this is a "Picture of Sound" generated via Simulation of the Electronics/Schematic with LTSpice.
It shows the "Screamer" ScreamerV2.spl7 (musikding.de) with symmetric clipping, full Drive and 50% Tone.
See here for a detailed description of the picture: Picture of Sound - Make visible the Behaviour of an Overdrive or an Amp - Elektronik allgemein - Das Musikding Forum
When I started to find ways to achieve this, it turned out, that LTSpice already has got Harmonic Distortion Analysis built in. So actually the task is reduced to start generation, export the right data and extract it out of a *.log file. And then generate the diagram.
The Python script uses numpy, matplotlib and easygui libraries. I use anaconda distribution with Python 3.8 at the moment.
The Python script has to find the right informations in the log file. Therefore the number of frequencies and the number of amplitude levels have to match.
So be sure to have:
These two .step lines have to be in one .op window and they have to have this order.
So here we can see, what happens, if we activate asymmetric clipping, full Drive and 50% Tone. Drucken screamermods.svg (musikding.de) D3.
- There is more harmonic distortion (bigger squares) but they are more on the green side, which means that the 2nd harmonics have more weight here. This will sound "more friendly".
Have Fun, Christof