News for hackers. Stuff that matters.
Re:Nam: Neural Amp Modeler by ofalkaed on Monday April 10, 2023 @02:37PM (#35515736)
I am doing things in just about the most idiotic and inefficient way, break the circuit down into easy to emulate blocks then emulating how they interact by adding in stuff which mimics that interaction.

The purpose of this exercise is to illustrate why it is so difficult to effectively emulate these circuits and this does it quite well and in a way most anyone can understand. So to show how the output stage loads the filter's core and affects frequency response, distortion, and gain of both the filter and the output stage I add in filtering, distortion and variable gain between them and go through the work getting them to respond as they do in the filter. Then go on to show how the resonance and cutoff affect this which is rather circular and further complicates getting that added bit of circuitry to respond proper and how everything affects everything else, nothing is in isolation.

So I slowly make up a big massive mess of a patch in PureData that eats my entire CPU but does a fairly solid job of the emulation then try and simplify things down. Along the way we compare our progress with the various digital implementations of the filter and probably will compare with the real deal.

Re:Nam: Neural Amp Modeler by Archit3ch on Tuesday April 11, 2023 @05:26PM (#35531809)
> The starting point is essentially the classic simple moog model with some extra stuff and I add in bits between those blocks to mimic the interactions while comparing it to various digital models of the filter, spice simulations and the real deal.

Yup, there are two main philosophies: start from a very accurate (e.g. SPICE) model and simplify it enough that it runs in real-time or start from a simple model (e.g. biquad) and add nonlinearities as required.

If you want talk more about the other approach, I just added an email in my profile. ;)

Re:Nam: Neural Amp Modeler by ofalkaed on Wednesday April 12, 2023 @05:23PM (#35547171)
The problem is that everyone implements those nonlinearities as isolated and largely static things, which they are not, they are dynamic and interact in complex ways. From what I can tell the vast majority of people who implement these models don't seem to really understand the analog world, they model the circuit in spice and run a simulation at a static setting with a single source and call it good, this kills the dynamics which are a fairly important part of the sound. This is also why many amp modelers are often said to do the high gain or clean sounds well but fail in some vague way on everything else, the simplified dynamics used for modeling are close enough to reality for those sounds.

The mini VCF is not the best option for my needs but it is useful in that I have a good many implementations to use as controls as the patch advances and I can show why it all matters well enough, I can provide musical examples which most anyone will be able to hear the differences between. Ultimately I think the software folks are making the wrong sacrifices which is why pedals like the Sans-Amp series and even the somewhat naive Run Off Groove [0] DIY offerings maintain a solid following despite not sounding much like the amps they attempt to mimic, they do respond like the amps, they maintain the dynamics or at least something close enough.

I am not sure we will have much to talk about but I will give you an email when I am back on the computer.

0) https://runoffgroove.com