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

Caching in a simple way and saving CPU

DSP related issues, mathematics, processing and techniques

Caching in a simple way and saving CPU

Postby wlangfor@uoguelph.ca » Mon Oct 15, 2018 7:17 pm

Though I realize it is not the most unique concept. After working with Synthmaker and Flowstone
I've realized how similar to working with DSP code is to say HTML and CSS.

Especially in the tense of re-utilizing images. Like for instance there was a time when coders would use something called
a spacer.gif; Or in the case of this forum the smilies used for instance are not many images but one image?

Furthermore to make image caching in HTML and CSS, all one has to do is to have a hidden element with the images
to be cached inside. Think to Yourself; Is that not unlike the preview modules?

It was only after trial and error that I had come upon this and I thought I would share that; But to also provide a tip regarding optimization I suggest You make sure to use the same image for many knobs that are the same type. All of My plugins are 2%CPU
or less and I know that might make Me seem kind of old school, if You really think about it - The good plugins are the ones You might
use 20-30 times in a track. And that is when CPU Saving becomes so prudent.

Here's some screenshots depicting that:
bitmaps linked.jpg
cached images
bitmaps linked.jpg (64.18 KiB) Viewed 9681 times


knob module within.jpg
example 2
knob module within.jpg (62.82 KiB) Viewed 9680 times


bitmaps linked 2.jpg
example 3
bitmaps linked 2.jpg (73.71 KiB) Viewed 9680 times
My youtube channel: DSPplug
My Websites: www.dspplug.com KVRaudio flowstone products
User avatar
wlangfor@uoguelph.ca
 
Posts: 912
Joined: Tue Apr 03, 2018 5:50 pm
Location: North Bay, Ontario, Canada

Return to DSP

Who is online

Users browsing this forum: No registered users and 17 guests

cron