DiBiQuadroAudio
Newbie
- Messages
- 14
I’m not sure whether this thread was opened to talk about circuit modeling or about amplifier modeling in general.
If I were starting from scratch today (which is not my case), I might begin with a black-box approach and take a look at the NAM GitHub project, perhaps trying to understand whether there's room for improvement somewhere, mainly for my own purposes (so not for selling plugins).
If instead we want to talk about circuit-level simulations (and here I assume I’m sufficiently familiar with the state of the art):
Note: not all circuit simulations are built in the same way. Ideally they should get the same results of a Spice simulation (if they are using the same non linear models), but it is not always the case. Some crucial choices must be made, such as how to represent the circuit, whether to split it into blocks (and what to put in each block), and which models to use to represent nonlinear components (e.g. 12AX7, transistors, op-amps, transformers, pentodes, etc.). Newer models are supposed to be more refined than older ones.
In the case of DiBiQuadro: our simulations prioritize accuracy and precision at the expense of performance (implicitly, we are aware of the basic performance optimization techniques you're already referring to in this 3ad).
Regarding the third scenario (real-time circuit simulations from scratch): IMHO it's pointless to invent or over-discuss these topics on forums - even though you're free to continue, of course - because there are resources specifically dedicated to this kind of subject (e.g. DAFx, specific master and PhD engineering theses on these topics, etc.). If you have the necessary background, it makes much more sense to educate yourself by reading those materials directly.
If I were starting from scratch today (which is not my case), I might begin with a black-box approach and take a look at the NAM GitHub project, perhaps trying to understand whether there's room for improvement somewhere, mainly for my own purposes (so not for selling plugins).
If instead we want to talk about circuit-level simulations (and here I assume I’m sufficiently familiar with the state of the art):
- Non–real-time simulations can be done with SPICE simulators/editors. My favorites are TI Tina and ngspice, but there are others, even more well known (e.g. PSpice, LTSpice). Both TI Tina and ngspice allow processing WAV files (ngspice needed a small code modification). You still need to look online for 12AX7 models, and possibly power tube models as well (EL34, 6L6, etc.). They can be found quite easily. I wouldn’t underestimate these tools, even though they don’t run in real time. They help build an understanding of how guitar amplifiers work, and with some oversampling and batch scripting you can achieve, in my opinion, very good sounds. But it requires patience. That's what I did for years.
- Real-time simulations using existing tools: LiveSpice is a very interesting one.
- Real-time simulations built from scratch: here you need not only a basic understanding of how circuits work, but also C++ development skills, at least basic knowledge of matrices (basic operations, determinants, invertibility, etc.) or at least how to determine transfer functions, and knowledge of iterative root-finding algorithms (e.g. Newton–Raphson-like methods).
Note: not all circuit simulations are built in the same way. Ideally they should get the same results of a Spice simulation (if they are using the same non linear models), but it is not always the case. Some crucial choices must be made, such as how to represent the circuit, whether to split it into blocks (and what to put in each block), and which models to use to represent nonlinear components (e.g. 12AX7, transistors, op-amps, transformers, pentodes, etc.). Newer models are supposed to be more refined than older ones.
In the case of DiBiQuadro: our simulations prioritize accuracy and precision at the expense of performance (implicitly, we are aware of the basic performance optimization techniques you're already referring to in this 3ad).
Regarding the third scenario (real-time circuit simulations from scratch): IMHO it's pointless to invent or over-discuss these topics on forums - even though you're free to continue, of course - because there are resources specifically dedicated to this kind of subject (e.g. DAFx, specific master and PhD engineering theses on these topics, etc.). If you have the necessary background, it makes much more sense to educate yourself by reading those materials directly.
