SynthMaker

oscillators that are not in use

Archive · 2005 13 old posts

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

sluggo ·

what is the effect of having an oscillator in a synth that is not being used? Does this increase cpu levels during playback? For example, I'm building a synth where the user can choose between 7 osc (superwave type of thing) or just 2 osc. If unused osc don't produce a cpu penatly then the osc routing can be a lot simpler. If unused osc do take up cpu, then I may be better served to minimize the # of osc and implement more complicated routing/switching.

thanks

jorge ·

hi sluggo

Unused oscillators take no processing at all. When you say that you choose between 7 oscs or just 2, I assume you're using a Selector component. The selector causes a re-linking of the machine code each time the selection changes, the state of the memory stays exactly the same, it's just the code that changes to reflect the new selection.

sluggo ·

Yes, what I'm doing right now is incorporating 2 osc modules. One module contains 2 ocs, the other module contains 7 osc. A selector is incorporated for the user to pick the supersaw or dual detune osc.

thanks

stefan ·

To simplify what jorge said: A selector picks one connection, all the other stuff connected to it stays unconnected. If you have not at any other place connected these to other parts of the schematic they basicly are removed from the schematic (not in your visual schematic, but in what is compiled by SM). It's like just putting an oscillator somewhere in a module and not connecting it to anything.

Tom7777 ·

I was wondering this also, its good to know i can have a load of oscs in a schematic and not use all the cpu 🙂

Kitchen Sink ·

Interesting. 🙂 I wondered how it works, too. This would make a good addition to the user's manual.

sluggo ·

I'm kind of confused here, not sure that we're talking about the same thing. I'm not talking about compiling a synth for different amount of oscillators, I'm talking about a finished synth where the user chooses to use either 2 or 7 oscillators. All 9 oscillators are already compiled into the vst dll.

it's just the code that changes to reflect the new selection

If you have not at any other place connected these to other parts of the schematic they basicly are removed from the schematic (not in your visual schematic, but in what is compiled by SM)

jorge ·

sluggo wrote: All 9 oscillators are already compiled into the vst dll.

Compilations are dynamic, not fixed. They happen whenever needed like when you change the choice in a selector or multiplexer. What's saved with the vst dll is not the compiled code but the schematic. When you load your exported vst in a host, it does an initial compilation to make it work at startup but it might do further dynamic, in memory compilations each time you press a switch, selector etc. Basically only the parts of the schematic required for the sound you hear are being used.

Acolmiztli ·

So are we saying that oscillators NOT in use do not take any extra CPU? So if you've got a 128 oscillator synth (for sake of argument) but only 2 of them are in use, then 126 do not have any effects what so ever on CPU consumption?

If this is true, then WOW!

stefan ·

Acolmiztli wrote: So are we saying that oscillators NOT in use do not take any extra CPU? So if you've got a 128 oscillator synth (for sake of argument) but only 2 of them are in use, then 126 do not have any effects what so ever on CPU consumption?

If this is true, then WOW!

This is true.

bones ·

Are you serious!?! That fairly rawks! I am getting quite excited about this now.

BTW - Hi, I'm BONES and I just got onto the early adopters bandwagon. You'll be sick and tired of my stupid questions before long.

stefan ·

bones wrote: Are you serious!?! That fairly rawks! I am getting quite excited about this now.

BTW - Hi, I'm BONES and I just got onto the early adopters bandwagon. You'll be sick and tired of my stupid questions before long.

I think most of us already know who you are...

I think you're a funny prick, so just be your ordinary self 🙂

bones ·

I don't recognise quite a lot of the nicknames here. i just figured it woudl be the usual suspects but its good to see a fresh batch of minds to corrupt.

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.