HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust is here...

    Scheduled Pinned Locked Moved Faust Development
    96 Posts 21 Posters 13.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.
    • 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
                      • S
                        Sawer @toxonic
                        last edited by Sawer

                        @toxonic

                        Here you go, thanks. Screenshot 2022-11-16 at 16.38.08.png

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

                          @Sawer indeed, i can't see, where the third input channel comes from. But where did you change the code, respectivly added your parameters?

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

                            @toxonic

                            import("stdfaust.lib");
                            
                            process = dm.dattorro_rev_demo;	
                            
                            

                            This code works.

                            import("stdfaust.lib");
                            
                            bw = hslider("BAndWidth",0.5 ,0 , 1,0.1);
                            inputDiff1 = hslider("Diffusor1",0.5 ,0 ,1 ,0.1);
                            inputDiff2 = hslider("Diffusor2",0.5 ,0 ,1 ,0.1);
                            decay = hslider("Decay", 0.5,0 ,1 , 0.1);
                            decDiff1 = hslider("dDiffusor1",0.5 ,0 ,1 ,0.1);
                            decDiff2 = hslider("dDiffusor2",0.5 ,0 ,1 ,0.1);
                            damping = hslider("damping",0.5 ,0 ,1 ,0.1);
                            
                            
                            
                            process = re.dattorro_rev(bw, inputDiff1, inputDiff2, decay, decDiff1, decDiff2, damping);
                            

                            This code(with my parameter) doesn't.

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

                              @Sawer i'm actually at work, i'll have a look at it later. Did you already check the SVG diagram (the Button with the eye on the faust node)?

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

                                @toxonic
                                3x2 Also on the svg.

                                Screenshot 2022-11-16 at 19.24.57.png

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

                                  @Sawer ahh, okay, i'm still at work, but try to use this as process line instead:

                                  process = _,_:re.dattorro_rev(bw, inputDiff1, inputDiff2, decay, decDiff1, decDiff2, damping);
                                  
                                  S 2 Replies Last reply Reply Quote 1
                                  • S
                                    Sawer @toxonic
                                    last edited by

                                    @toxonic Trying now, thanks.

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

                                      @toxonic
                                      Screenshot 2022-11-16 at 21.16.44.png

                                      Ahahha, this is way too strange...

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

                                        @Sawer Okay, this was not that simple to figure out: There was an error in the description of the reverb in the library. There's missing the parameter for the predelay.
                                        The code should probably rather look like this:

                                        import("stdfaust.lib");
                                        
                                        predelay = hslider("Predelay",0.5 ,0 , 1,0.1);
                                        bw = hslider("BandWidth",0.5 ,0 , 1,0.1);
                                        inputDiff1 = hslider("Diffusor1",0.5 ,0 ,1 ,0.1);
                                        inputDiff2 = hslider("Diffusor2",0.5 ,0 ,1 ,0.1);
                                        decay = hslider("Decay", 0.5,0 ,1 , 0.1);
                                        decDiff1 = hslider("dDiffusor1",0.5 ,0 ,1 ,0.1);
                                        decDiff2 = hslider("dDiffusor2",0.5 ,0 ,1 ,0.1);
                                        damping = hslider("damping",0.5 ,0 ,1 ,0.1);
                                        
                                        
                                        
                                        process = re.dattorro_rev(predelay,bw, inputDiff1, inputDiff2, decay, decDiff1, decDiff2, damping);
                                        

                                        Note, that this is not really working like it should, because this is just the wet reverb, you would have to add a mixing unit for the dry sound.

                                        Christoph HartC S 2 Replies Last reply Reply Quote 0
                                        • Christoph HartC
                                          Christoph Hart @toxonic
                                          last edited by

                                          @toxonic or a dry_wet template that does that for you in scriptnode...

                                          1 Reply Last reply Reply Quote 1
                                          • StraticahS
                                            Straticah @Christoph Hart
                                            last edited by

                                            @Christoph-Hart Is it possible to "auto compile" Faust nodes on export to still be able to debug or reroute effects in the HISE project after the export is done?

                                            building user interfaces in HISE :)
                                            web: www.vst-design.com

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

                                            49

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.1k

                                            Posts