It is currently Thu Mar 28, 2024 3:51 am


Hauptwerk Memory Management

Using the CODM to create your own organ definitions, exchange CODM organ definitions, ...
  • Author
  • Message
Offline
User avatar

chr.schmitz

Member

  • Posts: 374
  • Joined: Sun Aug 25, 2013 11:49 pm

Hauptwerk Memory Management

PostFri Aug 26, 2016 6:02 am

I have two questions regarding Hauptwerk memory management.

1. Does every screen provided by a sample set occupy memory or only the screen(s), which are currently displayed?

2. Does it make sense to compress graphic files (E.g. http://compresspng.com. I tried different tools, but this was by far the most effective.) in order to decrease the memory footprint of the displayed image set?

Thanks in advance!

Best,
Christoph
Offline
User avatar

mdyde

Moderator

  • Posts: 15441
  • Joined: Fri Mar 14, 2003 1:19 pm
  • Location: UK

Re: Hauptwerk Memory Management

PostFri Aug 26, 2016 1:13 pm

Hello Christoph,

chr.schmitz wrote:1. Does every screen provided by a sample set occupy memory or only the screen(s), which are currently displayed?


All images specified in the organ definition are loaded whenever you load the sample set. (That's necessary for sufficient real-time performance.)

chr.schmitz wrote:2. Does it make sense to compress graphic files (E.g. http://compresspng.com. I tried different tools, but this was by far the most effective.) in order to decrease the memory footprint of the displayed image set?


As far as I know only the image size and bit-depth (8-bit colour, etc.) affects the memory footprint, since I believe the image is stored in memory uncompressed (again for real-time performance reasons). The underlying multi-platform library and operating system handle those things. File format and compression are only relevant for loading/saving images (disk space, loading speed, etc.).

I wouldn't really worry too much about it anyway, since image files are usually tiny compared to the sample data. I'd suggest just using PNG files, which are reasonably well compressed anyway (and thus may load slightly faster and take up less space in installation media), loss-less, and support transparency.
Best regards, Martin.
Hauptwerk software designer/developer, Milan Digital Audio.
Offline
User avatar

chr.schmitz

Member

  • Posts: 374
  • Joined: Sun Aug 25, 2013 11:49 pm

Re: Hauptwerk Memory Management

PostSat Aug 27, 2016 11:44 am

Hello Martin,

thank you very much for the rapid response!

Christoph

Return to Custom Organ Design Module (CODM)

Who is online

Users browsing this forum: No registered users and 5 guests