SynthMaker

Capacitors, Transitors, and Resistors into SM modules

Archive · 2006 12 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Devi Ever ·

How hard would it be to create modules in SM that would react the same way as simple real world electronical components (i.e. Caps, resistors, trannies, pots) so that all you had to was put them together like you would a circuit?

The reason I ask, is that I was thinking with the way SM works using modules, shouldn't be as simple as creating mathamatical models of each and then you could simply adjust their values and test out circuits virtually that way. Right?

If anyone is interested in taking on this project, I'd be glad to provide some financial compensation for the time put into it.

Basically what I'm after here is the ability to test out virtual circuits using nothing more than capacitors, resistors, transistors, and potentiometers using a 9 volt power supply.

Think guitar pedals.

... and if it would make it simpler to have set values for each module (component), I'd be down for working with that too, as I tend to only use a dozen or so specific value components in the real world to begin with. :')

devi-

stefan ·

It would be a bit tricky since there's no concept of current within SM.

Devi Ever ·

stefan wrote: It would be a bit tricky since there's no concept of current within SM.

... but it's all math in the end, so it should be possible, I'm assuming, unless SM lacks the ability to compute such things. 😉

devi-

sambean ·

It is possible to a degree, It's how the famous digital moog filter code was developed, you discretize the difference equations AFAIK..

Here's a paper that covers some of the principals..

http://www.elec.qmul.ac.uk/dafx03/proce ... dafx38.pdf

I don't know much about circuit maths but this may be a good starting point..

Sam

stefan ·

sambean wrote: It is possible to a degree, It's how the famous digital moog filter code was developed, you discretize the difference equations AFAIK..

Here's a paper that covers some of the principals..

http://www.elec.qmul.ac.uk/dafx03/proce ... dafx38.pdf

I don't know much about circuit maths but this may be a good starting point..

Sam

Indeed. But for single components it's not as simple. It's easier to simulate schematics than components really.

How do you simulate a single resistor? Without getting all multi-dimensional in the maths I mean 🙂

Devi Ever ·

... but is it impossible with SM?

I would gladly spend the time to figure it out myself, but I'm a few years behind on math, theory, and already have a full schedule working on other things, but I do have patience, and am willing to help fund the project if anyone is interested in taking it on.

Let me know : [email removed]

devi-

stefan ·

Devi Ever wrote: ... but is it impossible with SM?

I would gladly spend the time to figure it out myself, but I'm a few years behind on math, theory, and already have a full schedule working on other things, but I do have patience, and am willing to help fund the project if anyone is interested in taking it on.

Let me know : [email removed]

devi-

It is ofcourse somewhat possible. But it'd be slow and it would atleast have to be complex (two dimensional) maths. For decent results on usually need to use ridicously high sample rates when simulating real world circuits as well.

GaryG ·

i don't know about the audio side of things but there are certainly schematic simulators around : http://qucs.sourceforge.net/ for example.

This one (online) is fun: http://www.falstad.com/circuit/

.g

trip_out ·

Any schematic can be modeled by mathematical theory. If you are really interested in modelling circuit behaviour, learn this theory and write your code in a dsp block.

doug4350 ·

I think a starting point would be a code component with a mono feed. If possible, you could create a current link and connect it to a knob. For the current (i mean present) dsp model in SM, a constant current source is assumed. Worse case, you could have a current variable in your code component and manually change it. This is impractical for "real world" or even guitar pedal sims 🙂.

Also, some circuits use nature (rather than science) to work. Take the transistor based multivibrator. It depends on slight, even miniscule differences (temperature, impurities, time for the current to reach them, etc.) between the 2 transistor & discrete components to kick off the oscillation on power up.

There's the synchronization issue too. How to manage parallel wires. ATM, SM has some quirks depending on the link order when there's > 1 connector on a link in certain cases.

I'd be interested out of curiosity, but don't have a purpose for it. I don't have much time neither.

Sure, you can model it using maths. Definately a challenge, but hey, who knows, it may end up adding some warmth to the brittle digital world 🙂

Aloha, Doug

Devi Ever ·

Thanks for the bit of insight Doug.

I have a feeling _someone_ will one day create such a program eventually, especially as processor speed, well, speeds up. :')

It'll be a great day for people like me who are raised on old skool and don't have a lot of time to learn new school. :'/

devi-

doug4350 ·

I was also thinking caps will be a bit of a challenge since they block dc and transmit ac 90 or 180 degrees (I forget which atm) out of phase. In fact, anything reacting to frequency will be good fun 🙂.

I had a little snippet for another lister to get started over here...

Tube Screamer.

Aloha, Doug

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.