HISE Logo Forum
    • Categories
    • Register
    • Login

    Graphics and memory.

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 294 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lalalandsynthL
      lalalandsynth
      last edited by

      Just wondering , I am making an interface with pngs , that can be resized to 200%. So the resolution is 1468x928. 100% is obviously half that .
      Not a problem as such so far , but ... when I make a png filmstrip for one of my knobs , admittedly a large one , just that one knob is 51 mb.

      Not sure about what effect this has on memory or cpu requirements when loading moving the graphics if they are so large ?

      Concerned I am shooting myself in the foot or has anyone had any experience with this ?

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @lalalandsynth
        last edited by ustk

        @lalalandsynth

        Link Preview Image
        HISE | HISE | Images

        Explains the Images Folder

        favicon

        (docs.hise.audio)

        Apparently, @orange speaks about a max image folder size of 50Mb (don't know if it's still valid though)
        https://forum.hise.audio/topic/1229/pultec-eq-model-beta-testers-needed

        For my part, I'm going all vectors. But in case of using PNGs, I wouldn't have 95% of my plugin size being only for graphics...

        Can't help pressing F5 in the forum...

        lalalandsynthL 1 Reply Last reply Reply Quote 1
        • lalalandsynthL
          lalalandsynth @ustk
          last edited by lalalandsynth

          @ustk Yes, I suspected this might cause a problem , maybe I will just have it resizeable to 125 % ? If I do that i can keep my images folder at 30, 40 mb.

          I am working on vectors as well, just dont have the skills yet, also rlottie seems to crash on most of my more involved vector animations, so i hit a wall there.

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

          1 Reply Last reply Reply Quote 0
          • orangeO
            orange
            last edited by orange

            Yeah. Like @ustk said, currently Hise has a ~50MB limitation for embedded files (images and audio files). Total image size + Audio file size should be max. ~50MB.

            Also image optimization (size reduction) is not working here. Because even when you optimize your images, they will be decompressed and stored in memory as 32 bit Bitmaps, so the image size will be increased again.

            Also when your total image + audio file size is bigger than ~50MB, you will probably get "Compiler is out of heap space" error too, while you're compiling your project.

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

            lalalandsynthL 2 Replies Last reply Reply Quote 2
            • lalalandsynthL
              lalalandsynth @orange
              last edited by

              @orange I am glad i asked :) Need to take some steps back but nothing major.

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

              1 Reply Last reply Reply Quote 0
              • lalalandsynthL
                lalalandsynth @orange
                last edited by

                @orange As for the max file size , if making an impulse reverb that exceeds the 50 mb limit in impulse files , they need to be installed separately but are they installed as wavs ?

                https://lalalandaudio.com/

                https://lalalandsynth.com/

                https://www.facebook.com/lalalandsynth

                https://www.facebook.com/lalalandsynth

                orangeO 1 Reply Last reply Reply Quote 0
                • orangeO
                  orange @lalalandsynth
                  last edited by orange

                  @lalalandsynth said in Graphics and memory.:

                  @orange As for the max file size , if making an impulse reverb that exceeds the 50 mb limit in impulse files , they need to be installed separately but are they installed as wavs ?

                  If your binary resources are too big, you need to exclude the audio files and images from your plugin. You can Set Embed AudioFiles in Plugin to false in the project properties. But in this case the files need to be installed separately. By the way, I haven't tried this procedure before. Normally I embed everything.

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post

                  28

                  Online

                  1.8k

                  Users

                  12.0k

                  Topics

                  104.1k

                  Posts