HISE Logo Forum
    • Categories
    • Register
    • Login

    Project won't open

    Scheduled Pinned Locked Moved Bug Reports
    11 Posts 3 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.
    • Dan KorneffD
      Dan Korneff @d.healey
      last edited by

      @d-healey I have the same here.
      I was able to close/reopen the XML a few times and it came back to life.
      It's almost as if it only partially loads a project file intermittently at the moment

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        @dustbro Was that with my project?

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

        Dan KorneffD 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart
          last edited by

          Sorry guys, I'll take a look at this tomorrow, seems like a rather critical one :)

          @d-healey Is this behaviour reproducable with the project you posted?

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

            @christoph-hart I only posted the xmlpreset and the .hip file. Do you need the full project?

            Edit: Just in case I have the whole project here - https://github.com/davidhealey/librewave_woodwinds and requires my scripting framework submodule - https://github.com/davidhealey/HISE-Scripting-Framework

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

            1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @d.healey
              last edited by

              @d-healey it was one of my projects

              Dan Korneff - Producer / Mixer / Audio Nerd

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                You seem to have a lot of absolute (Linux) paths in your samplemaps, which all are redirected to /media/dave/Work 1/Xtant Audio/Products/Virtual Instruments/Woodwind/Sofia Woodwinds/Sessions/. This prevents anyone else from loading your project unless they are named Dave and have the same directory structure :)

                Resolving these paths make the debug version of HISE go mad. Have you tried redirecting the sample folder (last setting in HISE Settings -> Project Settings)?

                1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart
                  last edited by

                  I disabled sample map loading in order to load your project and it loads fine here. Can you check if that works on your system? Just add a return statement in this method in hi_sampler/sampler/ModulatorSamplerData.cpp:657:

                  void SampleMap::load(const PoolReference& reference)
                  {
                  	LockHelpers::freeToGo(sampler->getMainController());
                  
                  	clear(dontSendNotification);
                  
                  	currentPool = getSampler()->getMainController()->getCurrentSampleMapPool();
                  
                  	sampleMapData = currentPool->loadFromReference(reference, PoolHelpers::LoadAndCacheWeak);
                  	currentPool->addListener(this);
                  
                  	return; // <= skips the sample map loading...
                  
                  	if (sampleMapData)
                  	{
                  		auto v = sampleMapData.getData()->createCopy();
                  
                  		parseValueTree(v);
                  		changed = false;
                  	}
                  	else
                  		jassertfalse;
                  
                  	sendSampleMapChangeMessage();
                  }
                  

                  I can imagine it has something to do with the sample loading interfering on the background thread with something else. If that fixes your problem, I need to get the samples somehow so I can fully reproduce your scenario.

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

                    @christoph-hart Brilliant, that fixed it. So keeping the samples outside my project folder until I'm ready to monolithasize them is not a good idea!

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

                    1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart
                      last edited by

                      Well, have you checked out the redirect Sample folder option? I added this exactly for your scenario (sample working directory is on another drive).

                      It basically creates the same link file as the compiled plugin (LinkWindows / LinkOSX / LinkLinux) in the sample folder and resolves all sample references as relative path to the given folder so you end up with these nice

                      {PROJECT_FOLDER}Sample.wav
                      

                      references in the sample map even if the samples are not in the actual Samples subfolder.

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

                        @christoph-hart Oh I forgot. Just tried it and it seems to have worked :D

                        alt text

                        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

                        39

                        Online

                        1.8k

                        Users

                        12.1k

                        Topics

                        105.2k

                        Posts