Circuitry emulation

Official support for: signaldust.com
octagonaudio
KVRer
Topic Starter
2 posts since 1 Jul, 2021

Post Wed Jan 19, 2022 2:39 am

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Hello mystran,

I want to build a circuit simulation external for pure-data, where you can set a circuit by inputting the netlist as a message. You can then use signals from pd to change voltages or resistances, I thought that could create a lot of interesting possibilities. I was wondering if I have your blessing to use the source code of Halite as a starting point, found here: https://github.com/mbrucher/Halite/blob ... halite.cpp (https://github.com/mbrucher/Halite/blob/master/halite.cpp)
You will of course be credited!

I was also wondering if you have any plans for the Salt source code, I'm sure a lot of people would be interested in something like that, and unfortunately there is no way to acquire Salt right now.

edit: Forgot to mention but this project will obviously be free/open-source

mystran
KVRAF
6917 posts since 12 Feb, 2006 from Helsinki, Finland

Post Wed Jan 19, 2022 4:38 am

There is the original thread for Halite is here: viewtopic.php?p=6984103#p6984103

I don't mind if people use the code, but keep in mind the Halite is not terribly efficient as it was written as "educational" software to demonstrate how circuit simulation can be done, more so than how to do it fast (which would have made the code a lot more confusing).

As for Salt, I don't know what I'm going to do with that yet.
Preferred pronouns would be "it/it" because according to this country, I'm a piece of human trash.

octagonaudio
KVRer
Topic Starter
2 posts since 1 Jul, 2021

Post Wed Jan 19, 2022 7:33 am

Cool, thanks! I've replaced the solver with KLU, which makes the performance decent (but as you mentioned, it could be better).

Return to “Signaldust”