HISE Logo Forum
    • Categories
    • Register
    • Login

    Build fail - Semantics: "Reference to ‘Point’ is ambiguous"

    Scheduled Pinned Locked Moved General Questions
    35 Posts 7 Posters 2.5k 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.
    • d.healeyD
      d.healey @bthj
      last edited by

      @bthj said in Build fail - Semantics: "Reference to ‘Point’ is ambiguous":

      I clicked the house icon and when choosing an interface size

      I didn't even know you could still do that. I think it's a bug, an interface script is added by default to new projects so there should be no need for this extra step. If you don't see a default interface script go to File >> New.

      How could I redefine the layout size for this project?

      At the top of the interface script you can set the size Content.makeFrontInterface(600, 600)

      "projects > standalone > HISE Standalone.jucer"
      and
      "projects > plugin > HISE.jucer"

      The first one builds a standalone application, the second one builds a VST or AU plugin. 99% of the time you want the first one.

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

      bthjB 1 Reply Last reply Reply Quote 0
      • bthjB
        bthj @d.healey
        last edited by bthj

        @d-healey Thanks, now I can change the size
        (selecting preset sizes for different form factors under the house icon on initial project launch was interesting, even though it resulted in a crash).

        Out of curiosity, what 1% use cases are there for the plugin build of HISE?

        d.healeyD Dan KorneffD 2 Replies Last reply Reply Quote 0
        • d.healeyD
          d.healey @bthj
          last edited by

          @bthj

          Out of curiosity, what 1% use cases are there for the plugin build of HISE?

          Two I can think of are:
          Debugging a problem that only presents itself in a plugin.
          Testing features that are only useful when the project is being run as a plugin.

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

          1 Reply Last reply Reply Quote 1
          • Dan KorneffD
            Dan Korneff @bthj
            last edited by

            @bthj multi channel instruments can only be built with HISE plugin version.

            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

              alt text

              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
              • Dan KorneffD
                Dan Korneff @d.healey
                last edited by

                @d-healey say like a drum sampler that has 24 separate audio outputs. Instruments made with standalone only have stereo output

                Dan Korneff - Producer / Mixer / Audio Nerd

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

                  @dustbro You'll only have stereo output within HISE standalone, but your compiled project can have as many outputs as you like. Compiling always uses the same compiler no matter which build of HISE you generate the JUCE project from

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

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

                    @d-healey But I think Dan is right, you can't connect the master container to the outputs unless it's running in multichannel mode (I might be wrong though and it might work miraculously - the only multichannel plugin I've done so far was with PercX and I've added some custom C++ routing code there).

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

                      @Christoph-Hart Oh I shall have to experiment

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

                      1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @Christoph Hart
                        last edited by

                        @Christoph-Hart this is your code and it works great in the standalone Hise, this is only 6 channels but it should work for more I guess :)

                        //  Bass side   ----------------------------
                        inline function onOutBassControl(component, value)
                        {
                        	
                        	// this variable checks if the output channel exists.
                        	local success = true;
                        	
                        	switch(value)
                            {
                                case 1: // Routes the first two input channels (= sine wave);
                                        // to the first to output channels
                                    matrix.addConnection(0, 0);
                                    matrix.addConnection(1, 1);
                                    break;
                                case 2: // Routes the first two input channels
                                        // to the second stereo output
                                    matrix.addConnection(0, 2);
                                    
                                    // addConnection returns true if the connection could be added
                                    // if the host doesn't support multichannels, this returns false
                                    // and you can reset the connections to default later (see below)
                                    success = matrix.addConnection(1, 3);
                                    break;
                                case 3:
                                    matrix.addConnection(0, 4);
                                    success = matrix.addConnection(1, 5);
                                    break;
                            }
                            
                            if(!success)
                            {
                                // Reset to Channel 1+2 in case of an error
                                matrix.addConnection(0, 0);
                                matrix.addConnection(1, 1);
                            }
                            
                            //SucessLabel.set("text", success ? "OK" : "Error");
                        };
                        
                        Content.getComponent("OutBass").setControlCallback(onOutBassControl);
                        
                        
                        //  Treble side --------------------------------
                        inline function onOutTrebleControl(component, value)
                        {
                        	
                        	// this variable checks if the output channel exists.
                        	local success = true;
                        	
                        	switch(value)
                            {
                                case 1:
                                    matrix.addConnection(2, 0);
                                    matrix.addConnection(3, 1);
                                    break;
                                case 2:
                                    matrix.addConnection(2, 2);
                                    success = matrix.addConnection(3, 3);
                                    break;
                                case 3:
                                    matrix.addConnection(2, 4);
                                    success = matrix.addConnection(3, 5);
                                    break;
                            }
                            
                            if(!success)
                            {
                                matrix.addConnection(2, 0);
                                matrix.addConnection(3, 1);
                            }
                            
                            //SucessLabel.set("text", success ? "OK" : "Error");
                        };
                        
                        Content.getComponent("OutTreble").setControlCallback(onOutTrebleControl);
                        
                        
                        

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

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

                        12

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.3k

                        Posts