HISE Logo Forum
    • Categories
    • Register
    • Login

    FAUST Stereo Limiter 1176 Help needed

    Scheduled Pinned Locked Moved Faust Development
    15 Posts 5 Posters 1.1k 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.
    • DabDabD
      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 ?

      Bollywood Music Producer and Trance Producer.

      ? LindonL 2 Replies Last reply Reply Quote 0
      • ?
        A Former User @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
        • LindonL
          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

          LindonL DabDabD 2 Replies Last reply Reply Quote 0
          • LindonL
            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

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Lindon
              last edited by A Former User

              @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?

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @A Former User
                last edited by

                @harris-rosendahl go to line 996 here:

                Link Preview Image
                faustlibraries/compressors.lib at master · grame-cncm/faustlibraries

                The Faust libraries. Contribute to grame-cncm/faustlibraries development by creating an account on GitHub.

                favicon

                GitHub (github.com)

                and see they are the same thing.

                HISE Development for hire.
                www.channelrobot.com

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @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.

                    ? 1 Reply Last reply Reply Quote 1
                    • ?
                      A Former User @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.

                      BrianB 1 Reply Last reply Reply Quote 0
                      • DabDabD
                        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 ?

                        Bollywood Music Producer and Trance Producer.

                        BrianB 1 Reply Last reply Reply Quote 0
                        • BrianB
                          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;

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

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • BrianB
                              Brian @A Former User
                              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
                              • DabDabD
                                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.

                                Bollywood Music Producer and Trance Producer.

                                BrianB 1 Reply Last reply Reply Quote 0
                                • BrianB
                                  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

                                  56

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  102.1k

                                  Posts