HISE Logo Forum
    • Categories
    • Register
    • Login

    .ch1 samples stop working in compiled VSTi (did i miss something?)

    Scheduled Pinned Locked Moved Solved General Questions
    24 Posts 5 Posters 1.3k 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.
    • StraticahS
      Straticah
      last edited by Straticah

      Hey there the VSTi is done and we finally send it to testers now.

      We are encountering an issue after wav to monolith conversion not showing on compiled VSTi - i may have misunderstood the concept here :)

      We have 3 expansions containing around 150 .ch1 files + Samplemaps that get installed to AppData:

      '/Users/julian/Library/Application Support/Prototype Audio/Fraction/Expansions/Pro-Essentials/Samples/Phase Shift Pad.ch1'
      

      How my samplemaps look after converting in project folder (then moving into expansion):

      <?xml version="1.0" encoding="UTF-8"?>
      
      <samplemap CrossfadeGamma="1.0" ID="Fifty Keys" RRGroupAmount="1.0" MicPositions=";"
                 SaveMode="2">
        <sample Root="24" LoKey="24" HiKey="24" LoVel="0" HiVel="127" RRGroup="1"
                FileName="{EXP::Pro-Essentials}Keys/Fifty Keys/modular-60 - Track 1.wav"
                Duplicate="0" Volume="0" SampleEnd="911357" MonolithOffset="0"
                MonolithLength="913408" SampleRate="48000.0"/>
        <sample Root="25" LoKey="25" HiKey="25" LoVel="0" HiVel="127" RRGroup="1"
                FileName="{EXP::Pro-Essentials}Keys/Fifty Keys/modular-60 - Track 2.wav"
                Duplicate="0" Volume="0" SampleEnd="911357" MonolithOffset="913408"
                MonolithLength="913408" SampleRate="48000.0"/>
      
      //a lot more
      
      </samplemap>
      

      The .ch1 files seems to work well in HISE - but after the export no sound at all (all samplemaps do load tho)

      3e4a487f-611b-4ba2-836c-611e03a20aec-image.png

      Any steps that i am missing to make this work? :)

      creating user interfaces: www.vst-design.com
      founder @prototype.audio https://www.prototype.audio/

      StraticahS 1 Reply Last reply Reply Quote 0
      • StraticahS Straticah marked this topic as a question
      • StraticahS
        Straticah @Straticah
        last edited by

        @Straticah We do not use the HR Archive and have HISE_DEACTIVATE_OVERLAY=1
        We copy .ch1 files manually to

        /Users/julian/Library/Application Support/Prototype Audio/Fraction/Expansions/Pro-Essentials/Samples/Phase Shift Pad.ch1
        

        Is that part of the issue?

        creating user interfaces: www.vst-design.com
        founder @prototype.audio https://www.prototype.audio/

        StraticahS 1 Reply Last reply Reply Quote 0
        • StraticahS
          Straticah @Straticah
          last edited by Straticah

          @Straticah Could be MAC related it seems? FL Studio User on WIN confirms this exact setup it is working.

          creating user interfaces: www.vst-design.com
          founder @prototype.audio https://www.prototype.audio/

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

            @Straticah have you checked the global app data box in project preferences?

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

            StraticahS 2 Replies Last reply Reply Quote 0
            • StraticahS
              Straticah @d.healey
              last edited by

              @d-healey I noticed this when just watching an old tutorial of yours. It is not checked
              What does it do - compiling it rn. Wav based expansions worked fine while this was disabled.

              creating user interfaces: www.vst-design.com
              founder @prototype.audio https://www.prototype.audio/

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

                @d-healey Compiled it with checkmarks enabled. Now it does not find the samplemaps anymore and also the buttons that should open expansion fodler does not work anymore.

                I assume the checkmarks are inverted?

                creating user interfaces: www.vst-design.com
                founder @prototype.audio https://www.prototype.audio/

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

                  @Straticah said in .ch1 samples stop working in compiled VSTi (did i miss something?):

                  What does it do

                  It screws things up, so don't use it 😀 I'm sure it has some use case, but I don't know what it is.

                  How are you creating the LinkOSX file?

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

                  StraticahS 1 Reply Last reply Reply Quote 1
                  • StraticahS
                    Straticah @d.healey
                    last edited by Straticah

                    @d-healey Haha i just experienced that :)

                    Back to unchecked now!

                    The current flow is like that:

                    • VST3 gets installed to default location
                    • User opens VST - Dialog hat opens Expansion folder
                    • User places Expansion in this folder - restart

                    paths: /Users/julian/Library/Application Support/Prototype Audio/Fraction/Expansions/Pro-Essentials/Samples/Phase Shift Pad.ch1

                    This has been working with sample based expansions so far.

                    I assume the HR archive creates the LinkOSX file usually?
                    And then it can be changed with the Settings panel?

                    So when its missing HISE does not know where to look for samples.
                    This could actually be the issue its very likely. (why it worked before is not clear tho)

                    creating user interfaces: www.vst-design.com
                    founder @prototype.audio https://www.prototype.audio/

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

                      @Straticah Yes you need to create a LinkOSX file (and LinkWindows on Windows) within the expansion's Samples folder inside AppData that points to the location of the samples. Also it's not a good idea to force the user to put all the samples in AppData, especially if you have a lot of samples.

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

                      StraticahS 2 Replies Last reply Reply Quote 1
                      • StraticahS Straticah has marked this topic as solved
                      • StraticahS
                        Straticah @d.healey
                        last edited by Straticah

                        @d-healey This kind of solves two things at the same time then :) thanks!

                        I hope this thread will be helpful to others who have the same issue.

                        creating user interfaces: www.vst-design.com
                        founder @prototype.audio https://www.prototype.audio/

                        1 Reply Last reply Reply Quote 0
                        • StraticahS
                          Straticah @d.healey
                          last edited by

                          @d-healey How do i know which paths work and which do not work? (because some did not work at least for me)

                          creating user interfaces: www.vst-design.com
                          founder @prototype.audio https://www.prototype.audio/

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

                            @Straticah could you give me more context?

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

                            StraticahS 1 Reply Last reply Reply Quote 0
                            • StraticahS
                              Straticah @d.healey
                              last edited by Straticah

                              @d-healey Honestly the expansions only worked without issues when set to AppData folder:

                              This custom path did not work on my mac expansions.

                              e88bd194-1b4e-4c28-a730-5e92d75f9cbe-image.png

                              I have a couple questions:

                              • Does this "Locate Samples" menu work with expanions?
                              • We use expansion only - so i assume custom path looks for all exp. content?
                              • What is the "recommended way" of installing & moving expansions on user side?

                              Thank you in advance i should probably know more about expansions but i have worked with "baked in" samplemaps most of the time and this is new for me :)

                              creating user interfaces: www.vst-design.com
                              founder @prototype.audio https://www.prototype.audio/

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

                                @Straticah said in .ch1 samples stop working in compiled VSTi (did i miss something?):

                                Does this "Locate Samples" menu work with expanions?

                                I'm not sure, it's been a long time since I used expansions. I think each expansion has its own Samples folder and own Link file.

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

                                StraticahS 1 Reply Last reply Reply Quote 0
                                • StraticahS Straticah has marked this topic as unsolved
                                • StraticahS
                                  Straticah @d.healey
                                  last edited by

                                  @d-healey This would make sense, but i have not found anything that confirms that.

                                  If anybody can shine some light on how users can install/move expansions, this would help a ton.

                                  creating user interfaces: www.vst-design.com
                                  founder @prototype.audio https://www.prototype.audio/

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

                                    @Straticah I just checked with Rhapsody and each expansion does have its own Samples folder. I'm not using the encrypted expansions with Rhapsody but I suspect it will be the same.

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

                                    StraticahS 1 Reply Last reply Reply Quote 0
                                    • StraticahS
                                      Straticah @d.healey
                                      last edited by

                                      @d-healey Okay that makes sense - where/how does Rhapsody store and recall the locations of the users Expansion Samples? Is it custom or is HISE doing it via the the startup "overlay"?

                                      creating user interfaces: www.vst-design.com
                                      founder @prototype.audio https://www.prototype.audio/

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

                                        @Straticah There's a link file in each expansion's Samples folder that points to the location of the samples. I create the link file as part of my expansion install process, I also have scripted a system to allow the user to update it if they move the samples to another location.

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

                                        Christoph HartC 1 Reply Last reply Reply Quote 1
                                        • Christoph HartC
                                          Christoph Hart @d.healey
                                          last edited by

                                          @d-healey I think it also looks automatically in the global sample folder when the monolith can‘t be found in the expansion folder but it‘s also been ages that I‘ve used this myself.

                                          I definitely tried to offer both sample location possibilities so you can decide whats more convenient for you.

                                          StraticahS LindonL 2 Replies Last reply Reply Quote 1
                                          • StraticahS
                                            Straticah @Christoph Hart
                                            last edited by

                                            @Christoph-Hart Okay i will try to utilize the linker files and set path with them.

                                            If it does not work maybe i can still read it and override HISE expansion search path via API.

                                            If you have examples on how to set a custom expansion path for HISE lmk.

                                            Will look into Rhapsody path handling aswell. @d-healey

                                            creating user interfaces: www.vst-design.com
                                            founder @prototype.audio https://www.prototype.audio/

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

                                            15

                                            Online

                                            2.0k

                                            Users

                                            12.6k

                                            Topics

                                            109.4k

                                            Posts