Forum

    • Register
    • Login
    • Search
    • Categories

    FAUST Stereo Limiter 1176 Help needed

    Faust Development
    5
    15
    226
    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.
    • DabDab
      DabDab last edited by

      I need to create FAUST Limiter. But I am unable to assign controllers.

      Here is my Code :

      import ("stdfaust.lib");
      Ratios = hslider ("Ratio", 4,4,20,1);
      Att = hslider ("Attack",40,20,800,0.1);
      Rel = hslider ("Release", 50,50,1100,0.1);
      process = co.limiter_1176_R4_stereo;
      

      What I am doing wrong ?

      Trance Producer and Presets Designer.

      H Lindon 2 Replies Last reply Reply Quote 0
      • H
        harris rosendahl @DabDab last edited by

        @DabDab Your method looks ok when it's compared to here: https://faustlibraries.grame.fr/libs/compressors/#colimiter_1176_r4_stereo

        I am also interested how to use that compressor in Faust also.

        1 Reply Last reply Reply Quote 0
        • Lindon
          Lindon @DabDab last edited by Lindon

          @DabDab said in FAUST Stereo Limiter 1176 Help needed:

          I need to create FAUST Limiter. But I am unable to assign controllers.

          Here is my Code :

          import ("stdfaust.lib");
          Ratios = hslider ("Ratio", 4,4,20,1);
          Att = hslider ("Attack",40,20,800,0.1);
          Rel = hslider ("Release", 50,50,1100,0.1);
          process = co.limiter_1176_R4_stereo;
          

          What I am doing wrong ?

          Hmm, the params dont seem to be assigned.. maybe try:

          import ("stdfaust.lib");
          Ratios = hslider ("Ratio", 4,4,20,1);
          Att = hslider ("Attack",40,20,800,0.1);
          Rel = hslider ("Release", 50,50,1100,0.1);
          process = co.limiter_1176_R4_stereo(Ratios,Att,Rel);
          

          tho the documentation does say:

          This example is intended to get you started using compressor_* as a limiter, so all parameters are hardwired to nominal values here

          HISE Development for hire.
          www.channelrobot.com

          Lindon DabDab 2 Replies Last reply Reply Quote 0
          • Lindon
            Lindon @Lindon last edited by Lindon

            @Lindon so looking in the Faust lib we end up here:

            limiter_1176_R4_stereo = compressor_stereo(4,-6,0.0008,0.5);
            

            so if you substitute the compresor_stereo:

            _,_ : compressor_stereo(ratio,thresh,att,rel) : _,_
            

            it would be the same thing no? If so its not really an 1174 compressor is it...

            HISE Development for hire.
            www.channelrobot.com

            H 1 Reply Last reply Reply Quote 1
            • H
              harris rosendahl @Lindon last edited by harris rosendahl

              @Lindon said in FAUST Stereo Limiter 1176 Help needed:

              it would be the same thing no? If so its not really an 1174 compressor is it...

              Acording to here: https://faustlibraries.grame.fr/libs/compressors/#colimiter_1176_r4_stereo

              compressor_stereo and limiter_1176_R4_stereo are not the same things. Are they?

              Lindon 1 Reply Last reply Reply Quote 0
              • Lindon
                Lindon @harris rosendahl last edited by

                @harris-rosendahl go to line 996 here:

                https://github.com/grame-cncm/faustlibraries/blob/master/compressors.lib

                and see they are the same thing.

                HISE Development for hire.
                www.channelrobot.com

                H 1 Reply Last reply Reply Quote 1
                • H
                  harris rosendahl @Lindon last edited by

                  @Lindon Thank you for the info!

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

                    compressor_stereo is the generic algo with 4 parameters, limiter_1176_R4_stereois a specialized version with chosen value for those 4 parameters.

                    H 1 Reply Last reply Reply Quote 1
                    • H
                      harris rosendahl @sletz last edited by

                      @sletz Is Faust engine stable enough with Hise to release commercial products?

                      I am interested in the Wave Digital Models and ready to use Faust libraries.

                      But as I see Faust doesn't work stable in Hise and causes lots of daw crashes with the compiled plugins.

                      Can you please fix these stability and also even the installation issues (Intel-M1 Macs and Windows), so it would be great to use Faust in here.

                      Brian 1 Reply Last reply Reply Quote 0
                      • DabDab
                        DabDab @Lindon last edited by DabDab

                        @Lindon said in FAUST Stereo Limiter 1176 Help needed:

                        @DabDab said in FAUST Stereo Limiter 1176 Help needed:

                        I need to create FAUST Limiter. But I am unable to assign controllers.

                        Here is my Code :

                        import ("stdfaust.lib");
                        Ratios = hslider ("Ratio", 4,4,20,1);
                        Att = hslider ("Attack",40,20,800,0.1);
                        Rel = hslider ("Release", 50,50,1100,0.1);
                        process = co.limiter_1176_R4_stereo;
                        

                        What I am doing wrong ?

                        Hmm, the params dont seem to be assigned.. maybe try:

                        import ("stdfaust.lib");
                        Ratios = hslider ("Ratio", 4,4,20,1);
                        Att = hslider ("Attack",40,20,800,0.1);
                        Rel = hslider ("Release", 50,50,1100,0.1);
                        process = co.limiter_1176_R4_stereo(Ratios,Att,Rel);
                        

                        tho the documentation does say:

                        This example is intended to get you started using compressor_* as a limiter, so all parameters are hardwired to nominal values here

                        Nope.. This will not work. Still I am confused how to assign/get all the Limiter parameters ?

                        Trance Producer and Presets Designer.

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

                          @DabDab

                          '1176' is just an abstraction of the stock compressor, here is an example in script form that does work which might give you a better idea:

                          import("stdfaust.lib");
                          ratio = hslider("ratio",4,0,20,0.01);
                          thresh = hslider("threshold",-5,-30,0,0.01);
                          att = hslider("attack",2,0,10,0.01);
                          rel = hslider("release",2,0,5,0.01);
                          limiter1176 = _, _ : co.compressor_stereo(ratio,thresh,att,rel): _, _ ;

                          process = limiter1176;

                          Brian DabDab 2 Replies Last reply Reply Quote 0
                          • Brian
                            Brian @Brian last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • Brian
                              Brian @harris rosendahl last edited by

                              @harris-rosendahl said in FAUST Stereo Limiter 1176 Help needed:

                              @sletz Is Faust engine stable enough with Hise to release commercial products?

                              I am interested in the Wave Digital Models and ready to use Faust libraries.

                              But as I see Faust doesn't work stable in Hise and causes lots of daw crashes with the compiled plugins.

                              Can you please fix these stability and also even the installation issues (Intel-M1 Macs and Windows), so it would be great to use Faust in here.

                              @harris-rosendahl What version of FAUST are you using? And do you have a simple HISE project example that we can use to test with? Also, what specific issues do you get with installation, are you referring to installing the FAUST assets or a compiled plugin that has FAUST dsp code embedded?

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

                                @Brian I am talking about FAUST limiter. How do I use co.limiter_1176_R4_stereo FAUST Function ? co.limiter_1176_R4_stereo doesn't accept any parameters.

                                Trance Producer and Presets Designer.

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

                                  @DabDab co.limiter_1176_R4_stereo IS co.compressor but with fixed values to serve as an example, the script I provided gives control parameters to that exact compression algorithm.

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

                                  6
                                  Online

                                  977
                                  Users

                                  6.6k
                                  Topics

                                  60.6k
                                  Posts