SynthMaker

FLSM dsahboard - massive cpu when automating

Archive · 2012 8 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Imitatia Dei ·

Hi all

getting massive cpu load when automating controls in FL on a dsahboard im doing... Im pretty noob (only built a few simple vsti, never anything like this) so anyone able to help?

I hacked together an NRPN knob from something I found on here (needed an cc38 adding to it for fine control) - seems to work okay when tweaking (gives the desired result on the hardware synth). Just goes crazy when automating - I've had a look around the web and seems a common cause is redrawing the knob graphic (I wondered if the fact that it is nrpn played a role too - many more values per movement than cc and sending 4 cc's rather than 1...)- is that the problem here? How to fix?

All advice appreciated!

Imitatia Dei ·

Just realised this is in the wrong forum, can a mod move to help please? Thx

trogluddite ·

Hi there, welcome to the forum.

Moved your thread as requested. You might also be interested in some of the answers to the thread HERE (similar MIDI control project). There are some clues there for reducing the CC transmission to eliminate sending repeats of the same value - this happens because the knobs use float values, but MIDI is integers - so e.g. 10.1,10.2,10.3 from the knob all send data (change of knob), but MIDI data out will always be just 10 (rounded) repeated.

Imitatia Dei ·

Ah okay, thanks - makes a lot of sense, will check out that page. 🙂

Imitatia Dei ·

You beauty - thanks Trog! Seems to be sorted (for now, until I hamfistedly destroy it all again with an errant link or something 🙂 )

trogluddite ·

No problem. 🙂

Imitatia Dei wrote: I hamfistedly destroy it all again with an errant link or something

He he, hamfisted destruction of schematics is by far the most fun way of learning SM that I know! 😉

Oh, and I had another thought about optimising your schematic... Is there any other source of NRPN's in your set-up? (e.g. sent from sequencer tracks etc.) If your plugin is the only NRPN source, there may be no need to send the address numbers every time (CC 98/99) - they only need to be sent if the address changes - CC 6,38 will always update the last known address without it needing to be refreshed for every send.

Imitatia Dei ·

Alas, there will be about 250-300 controls all using NRPN on this, so both the address MSB and LSB does change quite a lot...

However, you've got me thinking if I group the controls internally by their MSB (all 0's together, al 1's together etc) then I can rig it to only pass on the trigger to CC99 when it changes - should be a lot more efficient I think, as all the voice/osc/filt/env/lfo controls are under MSB 0 (so more likely to be automated and tweaked), most of the fx and mod matrix etc are under MSB 1 or 2 (mostly set and forget controls)...

Should save about 1/6 of the cc99 messages from being triggered- thanks for pointing me in the right direction!

Now to put some thought into how I would make it work, hmm...

Imitatia Dei ·

Should also say, I'm going to be looking at releasing it (either free or donation-to-charity-ware, as I couldnt find a good free dashboard for my synth when I got it) so am looking for maximum portability between systems.

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.