From the original SynthMaker forum (2004–2014), with its members’ names and dates.
CoreStyler ·
Hi all.
I have some questions. I'm doing a CPU usage reduction for my synth Dominus, but there are some stange things that happens.
First, also if i turn down the oscillators (switching to a null source) i continues to see CPU usage when midi notes are triggered. So even if bypass an entire oscillator, it continues to be calculated?
i was sure that when bypassing a soruce with a selector the software will stop to calculate this part of signal.
This make CPU really intense when using a single oscillator, because both 3 are used and should be only one.
What are the suggestion for bypassing a signal? (coming from frequency, the entire oscillator).
These thing are making me fool.. 🙁
Cyforce ·
If you set the osc`s to zero(multiplie/vca) it still will use cpu, best would be to add a small addon on the vca control, like attached...
So the osc will be bypassed if the volume is down.
CoreStyler ·
Tanks. I done the same but inverse.
So i used float equals ( to 0) to turn down. Maybe is a problem of the selector or the osm is bugged?.
Maybe the null module (where you see only one out) is forgotten by sm that continues to send the stream?
Cyforce ·
Well... that`s the problem.
The switcher/selected must(!) be behind(!) the modules which you want to bypass.
From normal logical view, they should be before, but inside synthmaker it works on the other way 😀
If a modul runs than into a dead end/not connected output - that it`s bypass/off.
And the selector, if the 0.000 float switch it, the connection is cut/or the modul you want to bypass is parked in a closed point, which bypassing it.
Hard to explain it simple and lightful 😀 but i guess you understand how is meaned 😉
trogluddite ·
Looks from your screenshot that you make the switch send zero frequency when selectors are off? (disconnected inputs always default to zero, or empty strings - and this still counts as a valid input value)
The oscillators will still run with this 'zero' setting - like a car stopped at a junction, there is no movement but the engine is still running. If you were to turn the selectors 'off' mid-cycle, they would even freeze the current osc output value (i.e. you would just get a fixed DC offset).
To turn off CPU it has to be the outputs of a module that are disconnected. For a module with many stream outs, it would have to be all of the outputs disconnected. Just one 'live' stream output is enough to start the processing.
A 'live' output is one that has a path to the audio outputs (maybe via many other modules) , or to a 'stream-to-green convertor' primitive (e.g. M2F, Analyser, GUI meters and oscilloscope displays)
CoreStyler ·
Tanks a lot. i always do that in this manner but i was thinking, if i do the bypass first? this make sense. SM read the entire code any time. This make sense of outputs closed at end. 😉 isn't it?
I'm finishing a really huge synths, and CPU takes really too much. There are a lot of functions that maybe i need to remove.
For the moment, running unison 4 voices, by using many notes can reach 50-60 % of my intel core i7 Quad @ 2.0 ghz!!!.
The main consuming thing is the "spread" oscillators function built-in. I done a "jp6k-like" multi-osc detuning, using wavetable read, but when on it consumes too much. Currently running 7 read wavetable for 3 oscillators. so 21 read primitives detuned by diffrent values. too much.
Sound taste is really good, but really consuming. i was thinking on changing this one and make a spreading between the 3 oscillators (but requires almost 2 oscillaotors on) or to make ever oscillator componed by 3-4 wavetable read instead of 7.
The synth actually run both unison (withch multi-voice primitive) and poly, 3 osc including FM modulation, PWM + lfo, Sub-noise osc, oscillators sync (2 & 3), one filter+ custom env+Step LFO, STEP-lfo based arpeggiator and trancegate (host synced), 2 free lfo, 2 free adst, a modulation matrix including midi parameters and cc, 3 effects (delay,reverb,chorus).
But SM is really CPU unfriendly, so i need several hours of work for optimizing that.
philter5 ·
hey corestyler,
sounds interesting your project... looking forward to see the finished synth. 😍
i got a project similar to yours but my bad coding skills ever stop me at the point where i have to reduce CPU .
but my workaround is just to use no/only few "extra " FX (like delays,reverbs or even mastering stuff like compressors) inside a Synthmaker Instrument, and use external VST´s/Abletons Stock FX for that.
of course that won´t help if the FX are a essential part of the sounddesign(in your case i think so ). but reverbs or delays AT THE END of your audio chain can easily replaced like that. 😉
phil
CoreStyler ·
philter5 wrote: hey corestyler,
sounds interesting your project... looking forward to see the finished synth. 😍
i got a project similar to yours but my bad coding skills ever stop me at the point where i have to reduce CPU .
but my workaround is just to use no/only few "extra " FX (like delays,reverbs or even mastering stuff like compressors) inside a Synthmaker Instrument, and use external VST´s/Abletons Stock FX for that.
of course that won´t help if the FX are a essential part of the sounddesign(in your case i think so ). but reverbs or delays AT THE END of your audio chain can easily replaced like that. 😉
phil
Good to hear. Yes i was thinking to remove effect or to use only less of them. The fact is that FX does not consumes so much, the mainly consumings things are the oscillator. For sure, i had to reduce the OSC spreading. I will make i synthesizer too with this, but not Dominus. A little synth maybe can handle these kind of thing without being too hard. The fact is that many parts, can't be created/converted in ASm or code.. like unison that is done via arrays and midi to voice primitive. Another consuming thing maybe is the arp that voices are combined and turned another time to poly.. in order to make it mono.
philter5 ·
CoreStyler wrote:
philter5 wrote: hey corestyler,
sounds interesting your project... looking forward to see the finished synth. 😍
i got a project similar to yours but my bad coding skills ever stop me at the point where i have to reduce CPU .
but my workaround is just to use no/only few "extra " FX (like delays,reverbs or even mastering stuff like compressors) inside a Synthmaker Instrument, and use external VST´s/Abletons Stock FX for that.
of course that won´t help if the FX are a essential part of the sounddesign(in your case i think so ). but reverbs or delays AT THE END of your audio chain can easily replaced like that. 😉
phil
Good to hear. Yes i was thinking to remove effect or to use only less of them. The fact is that FX does not consumes so much, the mainly consumings things are the oscillator. #
a little LESS CPU power for end-of-the-chain fx can give you a little MORE CPU power for your OSC spread 🙂 but as said above thats only a workaround that works for ASM/Code noobs like me 😀
Wrote something here? To have a post removed or your name hidden, write to [email protected].