Remix.run Logo
rerdavies 7 hours ago

Working on a Spice compiler to convert schematics for classic guitar pedals into real-time executable code.

I provided a reference to a The Spice Manual 2nd ed. a page number and an equation number, and asked Claude to implement it (not really expecting it to succeed).

It proceeded to implement not only the equation, but the calculation of the Langrangian of the functio, another 30 lines below, which required taking symbolic partial derivatives for a not-at-all trivial function, and successfully figuring out which variable was which in the resulting matrix. The source material just said "Lagrangian of", and did not provide the partial differential equations. And then providing a comment that identified the page number and equation number in the source text for the "Lagrangian of" equation.

djmips 5 hours ago | parent [-]

That sounds pretty fun. I guess I could just Claude to do this hehe but are you sharing?

rerdavies 4 hours ago | parent [-]

I'm not mostly Claud-ing it. Perhaps I should. But in the difficult bits, it never ceases to amaze me what these tools are able to do.

Yes, if it matures, it will go open source. Not immediately clear at this moment whether it's feasible to do an Operational Transconductance Amp in realtime. :-/

And it's competing for attention with the 2.0 release of this at the moment:

https://rerdavies.github.io/pipedal/

Just went GA, so I'll have some cycles to come back to it.