My system is very fast and while this is a complex synth, there’s no good reason it should run so fast alone and then require 8192 samples latency just to barely run one instance in a DAW. This clearly runs perfectly fine in Standalone with not much stress. with my soundcard set to 64 samples and the JUCE Standalone exe set to the lowest it allows of 265 ms. I just tested a bit further and the Standalone runs perfectly smooth even down to the lowest latency settings available on my system with no effort, ie. Is there something I’m missing again to get useful information from the Profiler when running it on the VST in a host? I would like to see which function within the VST is using up all this insane amount of processing to necessitate the dramatically greater latency to run. Might there be any solution to get the same or reasonable close performance out of a DAW? Any ideas on what this might represent and how to fix it? Every single one of those cores is more than strong enough to handle an instance of the synth at low latency in standalone. I have an insane amount of processing power. Most importantly, is there some way to correct for this? A different plugin format? A different sound card? Something I can change about my code that might be causing this issue? Why can’t the VST3 operate at the same or even close to the same latency as the standalone? Why can’t the DAWs (either Reaper or Cubase) come close to even utilizing most of a full core before they start dropping out? If the synth works perfectly in standalone on one core at given settings, I have 16 high powered cores all running at the same clock speed, and I open a clean empty project in Reaper, shouldn’t I be able to load at least 12 instances of the synth before I run into problems? If I just load even one instance alone in Reaper, shouldn’t it be at least close to the standalone performance? I cannot understand the source of this insane VST3 inefficiency. I have all my cores set with Hyperthreading disabled in BIOS to maximize their capacity and they are all set to the same speed for consistency. there are no interrupts or system issues occurring). I get at most two green bars on any area (ie. I have run Latency Monitor (LatencyMon) to check for any background problems and my system is crystal clean. Cubase is dropping out even at those settings. Reaper at least I can get one instance to run smoothly with those settings. I cannot utilize any of my CPU cores to anywhere near their fullest extent.I need 9x as large a buffer to get it to run smoothly. So there are two levels of inefficiency and poor performance in the VST3: Standalone: 882 samples latency (10 ms) in Standalone with full amount of bandpasses to utilize a core of CPU up to around 75-90%.VST3: 8192 samples latency (93 ms) in Reaper to function with 2/3 the amount of bandpasses to utilize a core of CPU up to around 55-75%.In terms of performance, to run smoothly, I am needing: However, in VST3 mode it is horribly inefficient and cannot run properly at any reasonable latency unless I drop the number of bandpasses (ie. In standalone, it runs perfectly with all the efficiency I need. I have maximized the efficiency of the code as best I can. This is just for my own use, so I didn’t mind making it extremely complex. I spent several years now building a very complex modal synth using arrays of resonant bandpasses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |