Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

using midi controller increases cpu load?

For general discussion related FlowStone

using midi controller increases cpu load?

Postby Nubeat7 » Fri May 31, 2013 8:38 pm

after implementing midilearn to my knobs in my actual fx plugin, i realised that using a midicontroller knob increases the cpu up to 10% more then using the gui knob?
any suggestions why this is happening?
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: using midi controller increases cpu load?

Postby tektoog » Sat Jun 01, 2013 12:35 am

A probable insidious loop in your design....
"Essential random order for chaotic repetitive sequences"
User avatar
tektoog
 
Posts: 141
Joined: Sat Oct 30, 2010 11:49 pm
Location: Geneva - Switzerland

Re: using midi controller increases cpu load?

Postby Nubeat7 » Sat Jun 01, 2013 8:01 am

i`m using the midilearn system which chacckl and you where creating here: viewtopic.php?f=3&t=641&start=30
i also changed the 100 ticks inside to a 25 global tick but didn`t make any difference....
i already was searching for some loops but couldnt find something..

cpu increases most when turning the knobs fast
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: using midi controller increases cpu load?

Postby tester » Sat Jun 01, 2013 11:11 am

Gui actions increase CPU usage. GDI response or something like that. Try moving very fast whatever slider or probably even mouse over gui very fast and it would have similar effect. But from what I noticed on other windows software - although it can consume 40% of CPU (according to task manager) - these are rather low priority spikes, thus they don't seem to affect operational things.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: using midi controller increases cpu load?

Postby Nubeat7 » Sat Jun 01, 2013 11:42 am

i need to try look how it is when exported as vst... but in fs it only increases when using the midiknob when using the mouse on the gui it is normal, there is a big difference between mouse and midiknob, thats why im wondering..
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: using midi controller increases cpu load?

Postby philter5 » Sat Jun 01, 2013 1:22 pm

in synthmakers registered user forum there is a knob infuzion posted a while ago+
search for heartbeat ticker
there are also some examples + tests i made related to the problem you described.
or are you talkin about a knob made with ruby?
philter5
 
Posts: 11
Joined: Fri Nov 12, 2010 9:11 am

Re: using midi controller increases cpu load?

Postby Nubeat7 » Sat Jun 01, 2013 2:53 pm

thanks filter for the tip i will search for it in the evening ( @ work atm)! the knobs are done in ruby but i will have a look maybe something is useful or i can find a solution through it, to solve this issue...
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: using midi controller increases cpu load?

Postby philter5 » Sat Jun 01, 2013 5:25 pm

philter5
 
Posts: 11
Joined: Fri Nov 12, 2010 9:11 am

Re: using midi controller increases cpu load?

Postby Nubeat7 » Mon Jun 03, 2013 11:53 pm

thanks Philter, it helped a liitle bit, i tried to optimize also the ruby code of the knob, like infuzon brought some things up in the thread, and i divided the redraw limiter triggers by 2 when setting per controller this helped pretty good but it still increases more then using the mouse which makes nearly no difference for the cpu...

i posted the knob here: viewtopic.php?f=3&t=641&p=6190#p6190

to keep it in place
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests