ok im soon finished with my new synth just one probem cpu?
Archive · 200911 old posts
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
djbrynte ·
i wonder if anyone could help me get the ysnth lesser cpu. And will be good if u dont spread it out if i send it to u. I gona need help with this part. I wil lgive credits in the synth ofc. If ur intrested pm me. Its a rombler aka sampler. Its very cool synth. Now the cpu usage is 30% thats hell alot. So i need to get it at least 15-20 % if its possible. Would be nice if u could help me out. Then we talk about credits and stuff.
trogluddite ·
First thing to say - getting CPU down is everybody's BIG problem here!!
Second thing - are you using S|M CPU % meter. S|M CPU % only measures one Core - so if you use a Dual Core or Quad Core computer, the measure is wrong. Try using the Windows performance tools to measure CPU. For example, my latest project shows 25% CPU in S|M, but Windows says only 8%.
Third thing - the CPU % in S|M shows stream CPU, but does not show 'Green' CPU or GUI CPU.
So even the measuring is not accurate.
After this, to get CPU really low, you need to use a lot of ASM to make the compiled code a lot more efficient. Sometimes you can make some parts of a schematic use much much much less this way. But this is a hard thing to learn.
Most important thing - can you use your project to do good music? If yes, then don't worry so much about CPU - when I started to do music on a PC, there were 8 audio tracks and maybe 3 effects (no synths!) before it crashed - before that I made music with a cassette tape four track and NO effects. Remember that the music you make is more important than what you make it with.
The Luddite
djbrynte ·
ye ur right. But must be some small tips trix to get down some 5% just.. i mean like basic tips and trix how i build it to get down cpu. I kow some tips i get from some tutorials is there any more tutorials 😀
aliasant ·
djbrynte wrote: ye ur right. But must be some small tips trix to get down some 5% just.. i mean like basic tips and trix how i build it to get down cpu. I kow some tips i get from some tutorials is there any more tutorials 😀
The simplest thing is to GET RID OF ANYTHING THAT DOESNT NEED TO BE IN THERE......... 😉
That means everything. Start with that and you will find things a little faster.
An example might be some math your doing but it ends up with a fixed value. Get rid of the math primitives and use that fixed value instead.
Then there are the denormals.
Plenty of threads about that both in the forums and in the wiki.
Another thing is filters having denormals even in the poly section and that can eat voices.
Then there are the to long Release times. The longer release the longer will those voices stay active. Even if your main ADSR Release is short you might have another release that is left on a higher value. Voices will stay active till the last release is, eh, released?
After that there is coding. Get all your math into as few code blocks as possible and then optimize it and finally ASM it.
I know you dont use many arrays and such or any fancy GUI so you shouldnt have to worry to much about triggers but they are a constant headache of mine.
trogluddite ·
aliasant wrote: Get all your math into as few code blocks as possible and then optimize it and finally ASM it
And try to be patient, this will take time - to learn as well as to do. I just saved a quarter of the CPU on a 6 month old project by adding just one ASM addition in the right place (to avoid denormals) - but, boy, did it take some sweat to find that 'right place' and which of several anti-denormal techniques was the right one to use!
MegaHurtz ·
Where you have the effects section, you use a multyplexer. to switch V input.
If you use another selector behind it (to switch the sound output), you can cut them out of processing.
this should save a nice chunk.
djbrynte ·
hmm ok would be nice if u show me an example... And thnx for helping me guys realy like it 😀 i know i need to be patient 😀
trogluddite ·
djbrynte wrote: hmm ok would be nice if u show me an example
Would be easier for us if you could show us some examples too - it's very hard to help without some idea of your schematic layout.
djbrynte ·
sue i can post one of my synths and show u my stuff but. I prefer doign it in regisered using area then.
trogluddite ·
djbrynte wrote: I prefer doign it in regisered using area then
That's cool, I do the same myself. All the best guru's are registered anyhow - and I don't see that any of them would like to have a reputation for ripping people off. You don't have to post a whole schematic either, just the little bits that you think are most needing some help.
djbrynte ·
ok i will post it today and all help is welcome. to get it better. Mybe u guys have ideas and stuff like that and i hope no one steals it. I will post it without the design if thats ok.
Wrote something here? To have a post removed or your name hidden, write to [email protected].