Page 1 of 1
Need some help please!
Posted: Thu Nov 03, 2016 6:27 pm
by BobF
Hello gang,
I have up loaded a simple 512 stage shift register It's made up of 512 series cascaded flip flops if you look at the insides. As you can it uses up a lot of CPU cycles. The question is is there a better way to do this and keep the CPU load down? Any solution would be great and several even better. I know there may be none, yet I have seen several commercial vst plugins that boast hundreds to thousands of series cascades. How do they do it?
Also I have noticed the same thing with series cascades of filters, sample and holds, and so on.
Hope some of you can provide an answer.
Many thanks in advance, BobF.....
Re: Need some help please!
Posted: Fri Nov 04, 2016 9:19 am
by Spogg
Hi Bob
On my PC (i7) this uses 100% CPU
I guess it may be possible to reduce this by using ASM optimised modules but that's beyond me at the moment.
I do wonder if the result you wanted can be achieved in DSP in one more compact method rather than using a component-based approach. What was the result you wanted?
Also I wonder if two DSP boxes in series is less efficient than the same function in just one box. Maybe one of the wizards could help with that question...
Cheers
Spogg
Re: Need some help please!
Posted: Fri Nov 04, 2016 9:52 am
by adamszabo
What is this for anyway? It uses 100% cpu here too, and crashes most of the time.
Re: Need some help please!
Posted: Fri Nov 04, 2016 1:04 pm
by BobF
Hi gang,
No immediate use at the moment. I made the 512 bit shift registor sometime ago. It just demonstrated the problem very well. Like I said though , I have seen it with filters , sample and holds, and so on. I do want to start a project with 100 or more series cascaded filters though and am concerned about the same thing happening. I saw commercial vst that claims to have up to several hundred filters in series I want to try and copy.
Thanks guys, BobF.....