HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust is here...

    Scheduled Pinned Locked Moved Faust Development
    96 Posts 21 Posters 13.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.
    • P
      ps @Christoph Hart
      last edited by

      @Christoph-Hart awesome stuff with the hbargraph and very unfortunate with the crash - fingers crossed that you will find the root of evil here :)
      Just tried to compile the latest develop to give the midi a try - build fails on my m1

       using vSIMDType = typename NativeOps::vSIMDType;
      
      Implicit instantiation of undefined template 'juce::dsp::SIMDNativeOps<unsigned long>'
      
      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @ps
        last edited by

        @ps Yes I'm crawling through the macOS compile errors at the moment - it always messes up macOS when I start doing template stuff :)

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

          @Christoph-Hart ah no worries - let me know when it's building on your end :)

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

            @ps Now it should build and export on macOS.

            P 1 Reply Last reply Reply Quote 1
            • P
              ps @Christoph Hart
              last edited by

              @Christoph-Hart works like a charm - playing around with the midi stuff works great too!
              Now the reverb example crashes already on compiling the Faust node in the script fx - the only reverb I could get to works far is the freeverb

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

                @ps Yes, that's actually the first clue that leads somewhere - I've changed the compilation to happen on a background thread a few days ago and it appears that any call to the Faust library must happen on the UI thread on macOS or it will crash.

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

                  We solved it! It was definitely one of the more annoying bugs but the default stack size on macOS is 512kb with the only exception of the main UI thread which is 8MB which is why the faust compiler crashed whenever it was called on another thread with a bigger faust code (as a matter of fact this example crashes with less than 2MB of stack space)

                  @sletz is currently updating the libfaust code to fix the problem at the source but I‘ll add a temporary fix on the HISE side because it might take a while until the next faust release.

                  P 1 Reply Last reply Reply Quote 6
                  • P
                    ps @Christoph Hart
                    last edited by

                    @Christoph-Hart works! awesome!

                    1 Reply Last reply Reply Quote 0
                    • P
                      parabuh
                      last edited by

                      Anyone had familiar problem with building hise with faust? I have something like that.Screenshot 2022-11-04 at 17.56.18.png

                      1 Reply Last reply Reply Quote 0
                      • S
                        sletz
                        last edited by

                        On which platform?

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          parabuh @sletz
                          last edited by

                          @sletz m1 with new Xcode

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            sletz @parabuh
                            last edited by

                            @parabuh And how is Faust compiled ?

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sawer
                              last edited by

                              Hello Everyone!
                              I am facing issues when working with Faust in the scriptnode.
                              Screenshot 2022-11-15 at 07.20.06.png

                              In this instance, I was trying to compile the example re.jprev library (by Christoph), however, nothing happened when I compiled it.

                              Secondly, when I try to click the show SVG popup, the alert window (in the picture) comes out saying that no application can open the .dsp file.

                              Thirdly, before having this issue, I was also trying to try other libraries. But when compiled nothing happens. Only the jprev was working until the current problem happened, I still do not know what have I done to not make it work anymore.

                              How can I solve this issue?

                              Thanks.

                              BrianB toxonicT 3 Replies Last reply Reply Quote 0
                              • BrianB
                                Brian @Sawer
                                last edited by

                                @Sawer looks like you’ve not installed it properly. Have you followed the Mac install instructions?

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Sawer @Brian
                                  last edited by

                                  @Brian
                                  This part is solved, I've enabled the external editor in my settings.

                                  Now I have to figure out why other libraries aren't being processed.

                                  1 Reply Last reply Reply Quote 0
                                  • toxonicT
                                    toxonic @Sawer
                                    last edited by

                                    @Sawer I'm not on Mac, but if you have enabled the external editor option you have to assign the .dsp files to be opened by default with your editor app of choice.
                                    I'm sure, if you click "choose apllication..." you'll be able to choose an editor application.
                                    jprev is not a library, it's a function of the library "reverbs.lib".
                                    if you just use

                                    import("stdfaust.lib");
                                    

                                    all standard libraries available will be included.

                                    1 Reply Last reply Reply Quote 0
                                    • BrianB
                                      Brian @Sawer
                                      last edited by

                                      @Sawer any editor will do then, even just the basic text app works just fine.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Sawer @Brian
                                        last edited by

                                        @Brian @toxonic Sorted out, thanks!

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          Sawer @Sawer
                                          last edited by

                                          @Sawer Screenshot 2022-11-16 at 08.00.47.png
                                          When I use the demos from faust IDE, everything works fine(2x2 channels).
                                          As soon as I try implementing my own parameters, I always get this odd channel mismatch errors.
                                          Same for libraries with 8x8 (it will ask 9x8).

                                          Am I missing something?

                                          toxonicT 1 Reply Last reply Reply Quote 0
                                          • toxonicT
                                            toxonic @Sawer
                                            last edited by

                                            @Sawer Can you post your faust code?

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

                                            21

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts