HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust linking Mac

    Scheduled Pinned Locked Moved Faust Development
    34 Posts 4 Posters 1.6k 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.
    • hisefiloH
      hisefilo @Christoph Hart
      last edited by

      @Christoph-Hart Next stop!

      I'm on Intel Mac.
      Any clue??

      Screen Shot 2022-10-29 at 9.21.56 AM.png

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

        Seems like the linker is missing the functions from the faust library. Have you added the library to the External Libraries to Link field?

        Also make sure you've installed the correct version of Faust, there are ARM and Intel versions.

        hisefiloH 2 Replies Last reply Reply Quote 0
        • hisefiloH
          hisefilo @Christoph Hart
          last edited by hisefilo

          @Christoph-Hart I guess so
          Screen Shot 2022-10-29 at 9.50.51 AM.png


          Screen Shot 2022-10-29 at 10.06.12 AM.png


          Screen Shot 2022-10-29 at 10.06.04 AM.png

          1 Reply Last reply Reply Quote 0
          • hisefiloH
            hisefilo @Christoph Hart
            last edited by

            @Christoph-Hart External Libraries to Link filled gives me this

            Screen Shot 2022-10-29 at 10.11.59 AM.png

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

              What have you put in there? I think you only need to add faust there, it will add the other decorators and paths to find the library itself.

              hisefiloH 1 Reply Last reply Reply Quote 0
              • hisefiloH
                hisefilo @Christoph Hart
                last edited by

                @Christoph-Hart LOL the full path /Users/filo/Filo/VST-Project/HISE-Setup-Installers-Software/Faust-2.50.6/lib

                just 'faust' worked

                but now our friend jassert

                Screen Shot 2022-10-29 at 10.24.53 AM.png

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

                  @hisefilo yeah don't bother, that's just debug stuff.

                  hisefiloH 1 Reply Last reply Reply Quote 0
                  • hisefiloH
                    hisefilo @Christoph Hart
                    last edited by hisefilo

                    @Christoph-Hart awesome!! commented that jassert and I'm in!!!

                    Thanks for being there man! I really really appreciate that. Let's see what I can create with this awesome new HISE superpowers

                    Side-note: I was trying to manually integrate Faust to Hise source time ago, just replacing the processBlock with faust processBlock LOL. Made a sound at least!

                    Screen Shot 2022-10-29 at 10.27.33 AM.png

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

                      @hisefilo yes, the integration should be way better now :)

                      Have you installed HISE on a new system? This dialog only shows if you haven't loaded a project yet in HISE.

                      Also you might want to disable Faust External Editor and add a Faust Editor Floating tile in the code editor tab, then you'll get the same UX as editing HiseScript with Faust including autocomplete and error highlighting...

                      hisefiloH 1 Reply Last reply Reply Quote 0
                      • hisefiloH
                        hisefilo @Christoph Hart
                        last edited by

                        @Christoph-Hart Nope, the same system

                        I commented this assert also in order to make it run

                        Screen Shot 2022-10-29 at 10.40.51 AM.png

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

                          @hisefilo oh you don't need to comment out these jasserts, just click the continue button on Xcode (in the debug panel).

                          Also you know that you're running the Debug build, right? It's much slower than the release version.

                          hisefiloH 2 Replies Last reply Reply Quote 0
                          • hisefiloH
                            hisefilo @Christoph Hart
                            last edited by

                            @Christoph-Hart Yes, I know! I just built a release version. Still getting this every time it opens

                            Screen Shot 2022-10-29 at 11.16.05 AM.png

                            hisefiloH 1 Reply Last reply Reply Quote 0
                            • hisefiloH
                              hisefilo @Christoph Hart
                              last edited by

                              @Christoph-Hart also many unexpected quits. let me know if I can help in any way

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

                                @hisefilo yeah don‘t click on that icon - it generates a svg preview but that might explode with bigger patches :)

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

                                  But if you send me the faust file I‘ll try to debug the crash.

                                  hisefiloH 1 Reply Last reply Reply Quote 0
                                  • hisefiloH
                                    hisefilo @Christoph Hart
                                    last edited by

                                    @Christoph-Hart Diagram is not needed. I can see it in Faust, but. I cannot make it make a sound, nor edit the code :downcast_face_with_sweat:

                                    Faust Code

                                    import("music.lib");
                                    import("filter.lib");
                                    
                                    myString(freq,feedback) = +~(fdelay4(1024,delLength) <: (_+_')/2 : *(feedback))
                                    with{
                                    	delLength = SR/freq - 1;
                                    };
                                    
                                    frequency = hslider("freq",440,51,2000,0.01);
                                    feedback = hslider("feedback",0.99,0.95,1,0.01);
                                    gate = button("gate");
                                    
                                    impulse = gate <: _,_' : - : >(0);
                                    
                                    process = impulse : myString(frequency,feedback)<:_,_;
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • hisefiloH
                                      hisefilo @hisefilo
                                      last edited by hisefilo

                                      @hisefilo @Christoph-Hart Figured out!!!!!!!! You NEED to create a new project folder, not to load an old one created with a previous version of HISE. I guess the faust thing needs some subfolders
                                      That was causing the alert to be shown every time HISE started

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

                                        @hisefilo weird, normally it should create all missing folders when a old project is loaded...

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

                                          BTW, I've just pushed a change to the build procedure that removes the necessity of putting in compiler flags into the projucer on macOS.

                                          The instructions and how to install it are available here:

                                          Link Preview Image
                                          HISE/tools/faust at develop · christophhart/HISE

                                          The open source framework for sample based instruments - HISE/tools/faust at develop · christophhart/HISE

                                          favicon

                                          GitHub (github.com)

                                          If you want you can check whether this works on your end too, would be great to have confirmation that it works.

                                          hisefiloH 2 Replies Last reply Reply Quote 4
                                          • hisefiloH
                                            hisefilo @Christoph Hart
                                            last edited by

                                            @Christoph-Hart will do!!! Thanks mate

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

                                            21

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.9k

                                            Posts