How many dsp codes can I stuff in a project?

For general discussion related FlowStone
Post Reply
User avatar
guyman
Posts: 207
Joined: Fri Mar 02, 2018 8:27 pm

How many dsp codes can I stuff in a project?

Post by guyman »

How many dsp codes can I stuff in a project or exported program?

If I have them all on selectors, will the cpu overhead be non existant?
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: How many dsp codes can I stuff in a project?

Post by Spogg »

Difficult to answer in a meaningful way (for me anyway!).

What I have done sometimes is to make multiple copies of something and see the effect on CPU when a note is played (or you can test in blue). I subtract the “resting” CPU (typically about 0.7 on my PC) then if I have 100 modules I divide the actual CPU by 100.
So if I got 11% CPU with a resting CPU of 1% that would mean each module is using about 0.1%.

If you synchronise all the modules you can change the code in just one and see the effect much better, since any small change is multiplied.

I don’t find the analyser system very useful because the readout is not so stable, so there’s guesswork involved.

Maybe someone else can give a better answer…
User avatar
HughBanton
Posts: 265
Joined: Sat Apr 12, 2008 3:10 pm
Location: Evesham, Worcestershire
Contact:

Re: How many dsp codes can I stuff in a project?

Post by HughBanton »

How many dsp codes? Thousands. Bear in mind that all stream components are already running dsp (or rather assembler) behind the scenes, and by re-writing and combining bunches of them into dsp, you are already automatically lightening the cpu load. The more you can aggregate the better, because connectors & links themselves have an overhead.

I'm sure I read somewhere here that when you use the stream selector prim, or the multiplexer prim within a stream, then whichever stream is NOT connected is actually not processed at all, everything bypassed.

In which case you'll be correct about the cpu load. I dare say you could use Spogg's multiple-copy method to verify this, neat idea.

H
Post Reply