Forum
    • Categories
    • Register
    • Login

    Expansion - Access AdditionalSourcecode file

    Scheduled Pinned Locked Moved General Questions
    60 Posts 3 Posters 7.8k 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.
    • DanHD
      DanH @David Healey
      last edited by DanH

      @d-healey said in Expansion - Access AdditionalSourcecode file:

      @danh

      var maxrandom;

      Stop using vars :p

      reg?

      Show us where you are getting newExpansion from.

      erm.... I'm not?

      Everything else is working though 😆
      Switching images, sample maps etc

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @DanH
        last edited by

        @danh

        reg?

        In this case, yes.

        erm.... I'm not?

        Where are you calling your newcombobox function from?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @David Healey
          last edited by

          @d-healey interface script

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @DanH
            last edited by

            @danh Show me

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @David Healey
              last edited by

              This post is deleted!
              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @DanH
                last edited by

                @danh Can you show me where you are calling your function from

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                DanHD 1 Reply Last reply Reply Quote 0
                • DanHD
                  DanH @David Healey
                  last edited by

                  @d-healey

                  expHandler.setExpansionCallback(newcombobox);
                  
                  newcombobox(undefined);
                  David HealeyD 1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @DanH
                    last edited by

                    @danh Well there's your problem. undefined is not an expansion.

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    DanHD 1 Reply Last reply Reply Quote 0
                    • DanHD
                      DanH @David Healey
                      last edited by

                      @d-healey thanks! ok I've commented that out (!) but error persists... hmmmmm

                      David HealeyD 1 Reply Last reply Reply Quote 0
                      • David HealeyD
                        David Healey @DanH
                        last edited by

                        @danh I'm seeing tiny little windows into your code so it's impossible for me to debug this. I suggest creating a minimal snippet that contains only what's necessary to demonstrate this problem.

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

                        DanHD 2 Replies Last reply Reply Quote 0
                        • DanHD
                          DanH @David Healey
                          last edited by

                          @d-healey yep fair enough, will do

                          1 Reply Last reply Reply Quote 0
                          • DanHD
                            DanH @David Healey
                            last edited by

                            @d-healey

                            HiseSnippet 1288.3ocsW0sahaDEdbR71h6OZW0dSuyhapQJkEZR2VopUMABrA0.DAjs6pznUSrGfYy3YrrGu.pJOH80nOY8Mn8L1FaClMkfT8Efmyey24mYNGeouvlDDH7QZkFsvifz9b8gK3xoMmhobTmyPZeodWbfj3aFSpwBObP.wAoos+qTDzJc.J54u+kFXFlaSxHgPuVPsIWPcoxLpWdxuRYr1XGxHpaNoO9jN1BdSASDB3Ye8ZHOr8c3IjdXkX6oizdRKGpT3OThkj.PlFBmECmJlwik+0z.5sLhZQczPvPwjQMmRYNWtzWCPHsCtLyy2O1y+Z8tTGZJ8rHvSiXXloQ9Xf1dODjp+HfjVNHcPLjdl9PaepmLiiBOeldGNjPFigPcdnDKKZuu4SzaJ.I3xpt36Hs8gEoZX8hZ0NzD9oxOaX.g6.o4Gv9lj4dmi4NLHO+RyV7ITNopsOA7oVy8v7.pfmv2pfhwrC.EyrR0IDYplWPCjQpkie.QdJiIlQbRES4yAVWmSn1TFoAFbuCMML2lmb5F4wtDGJ3C6f5s319K7jDma.fuUJuofhpxUEXt9lXuOG0pdgASsJ29zli5O3skUgmwBeKhIk+vwwJFIPsfwHJogZEOhujBgxJUULSveN3kZ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.
                            
                            David HealeyD 1 Reply Last reply Reply Quote 0
                            • David HealeyD
                              David Healey @DanH
                              last edited by

                              Place this at the top of the function and tell me what output it gives.

                              Console.print(newExpansion.getRootFolder().toString(0));

                              Free HISE Bootcamp Full Course for beginners.
                              YouTube Channel - Public HISE tutorials
                              My Patreon - HISE tutorials

                              DanHD 1 Reply Last reply Reply Quote 0
                              • DanHD
                                DanH @David Healey
                                last edited by

                                @d-healey said in Expansion - Access AdditionalSourcecode file:

                                Console.print(newExpansion.getRootFolder().toString(0));

                                I get the path of the expansion folder on my drive

                                David HealeyD 1 Reply Last reply Reply Quote 0
                                • David HealeyD
                                  David Healey @DanH
                                  last edited by David Healey

                                  @danh And the path is correct and that's the same root folder of where your data json file is?

                                  Also try this in the top of the function and tell me what the output is

                                  Console.print(trace(newExpansion.getDataFileList()));

                                  Free HISE Bootcamp Full Course for beginners.
                                  YouTube Channel - Public HISE tutorials
                                  My Patreon - HISE tutorials

                                  DanHD 2 Replies Last reply Reply Quote 0
                                  • DanHD
                                    DanH @David Healey
                                    last edited by

                                    @d-healey path is good, I copied the json to that folder as well as the ASC folder

                                    1 Reply Last reply Reply Quote 0
                                    • DanHD
                                      DanH @David Healey
                                      last edited by

                                      @d-healey

                                      Console.print(trace(newExpansion.getDataFileList()));

                                      an empty array. []

                                      David HealeyD 1 Reply Last reply Reply Quote 0
                                      • David HealeyD
                                        David Healey @DanH
                                        last edited by David Healey

                                        @danh So it's not finding your expansion's data files. Are your data files in your expansion's additional source code folder or your project's additional source code folder?

                                        Free HISE Bootcamp Full Course for beginners.
                                        YouTube Channel - Public HISE tutorials
                                        My Patreon - HISE tutorials

                                        DanHD 1 Reply Last reply Reply Quote 0
                                        • DanHD
                                          DanH @David Healey
                                          last edited by

                                          @d-healey expansion only

                                          David HealeyD 1 Reply Last reply Reply Quote 0
                                          • David HealeyD
                                            David Healey @DanH
                                            last edited by

                                            @danh zip your project (without samples, pool, and binaries folder) and send it to me

                                            Free HISE Bootcamp Full Course for beginners.
                                            YouTube Channel - Public HISE tutorials
                                            My Patreon - HISE tutorials

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

                                            40

                                            Online

                                            2.1k

                                            Users

                                            13.0k

                                            Topics

                                            113.1k

                                            Posts