HISE Logo Forum
    • Categories
    • Register
    • Login

    Memory usage of referencing same/duplicate audio file in another sample map/group?

    Scheduled Pinned Locked Moved General Questions
    2 Posts 2 Posters 366 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.
    • C
      Confuzzled
      last edited by

      What's the memory usage/impact of using the same audio file in separate sample map locations/groups?

      For instance, I'd rather not render unique release samples, but have the sustain referenced again, in its own location with a unique start, so that I can graft releases that occur before the end of the natural length of the sample.

      I'm hoping this can save on disk space of raw samples, and then leverage the parameters within the sampler module.

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

        Once you've compressed your sample maps, you can open one of them in the sampler and from the right click context menu select Tools > Redirect Monolith Reference, and select the monolith (ch file) that contains the "master" version of the samples.

        For example if you have a staccato sample map, and you are also using the staccato samples as release tails you could redirect the release tails sample map to use the samples in the staccato monolith. You can then delete the release sample map ch file.

        You might also need to use Engine.setAllowDuplicateSamples(false); but I can't remember if that's necessary.

        f5c722fb-e0dc-47ad-9fca-ba7488655d73-image.png

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

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

        22

        Online

        1.7k

        Users

        11.8k

        Topics

        102.4k

        Posts