HISE Logo Forum
    • Categories
    • Register
    • Login

    Adventures in ScriptNode - Faust.....

    Scheduled Pinned Locked Moved Faust Development
    8 Posts 4 Posters 379 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.
    • LindonL
      Lindon
      last edited by

      OK so I have downloaded and installed Faust as prescribed in this post:

      Link Preview Image
      Updated Build instructions

      So time went on and I simplified the build process for Faust a bit so I thought I'll post the build instructions (or the link to the instructions) here and u...

      favicon

      Forum (forum.hise.audio)

      -- all seems fine..

      I create a new project and add a ScriptFX module to it...inside I add a core.faust node.
      I create a new file called FaustReverbFile03 (not sure why Im doing this bit - probably wrong) from the dots menu over on the left....

      Open a FaustEditorPanel and enter in the code Christoph posted for the reverb example...

      // Faust Source File: reverbtest
      // Created with HISE on 2022-10-12
      import("stdfaust.lib");
      
      // approximate reverberation time in seconds ([0.1..60] sec) (T60 - the time for the reverb to decay by 60db when damp == 0 ). Does not effect early reflections
      t60 = hslider("ReverbTime", 4.2, 0.1, 12, 0.1); 
      
      // controls damping of high-frequencies as the reverb decays. 0 is no damping, 1 is very strong damping. Values should be between ([0..1])
      damp = hslider("Damping", 0.5, 0.0, 1.0, 0.01); 
      
      // scales size of delay-lines within the reverberator, producing the impression of a larger or smaller space. Values below 1 can sound metallic. Values should be between [0.5..5]
      size = hslider("Size", 3.5, 0.5, 5.0, 0.01); 
      
      // controls shape of early reflections. Values of 0.707 or more produce smooth exponential decay. Lower values produce a slower build-up of echoes. Values should be between ([0..1])
      early_diff = hslider("Diffusion", 0.707, 0.0, 1.0, 0.01); 
      
      // depth ([0..1]) of delay-line modulation. Use in combination with mod_freq to set amount of chorusing within the structure
      mod_depth = hslider("Mod Depth", 0.1, 0.0, 1.0, 0.01);
      
      // frequency ([0..10] Hz) of delay-line modulation. Use in combination with modDepth to set amount of chorusing within the structure
      mod_freq = hslider("Mod Frequency", 0.1, 0.0, 10.0, 0.01); 
      
      // multiplier ([0..1]) for the reverberation time within the low band
      low = hslider("LF Gain", 1.0, 0.0, 1.0, 0.01);
      
      mid = 1.0; // multiplier ([0..1]) for the reverberation time within the mid band
      
      // multiplier ([0..1]) for the reverberation time within the high band
      high = hslider("HF Gain", 1.0, 0.0, 1.0, 0.01); 
      
      lowcut = 600;// frequency (100..6000 Hz) at which the crossover between the low and mid bands of the reverb occurs
      highcut = 5000; // frequency (1000..10000 Hz) at which the crossover between the mid and high bands of the reverb
      
      process = re.jpverb(t60, damp, size, early_diff, mod_depth, mod_freq, low, mid, high, lowcut, highcut);
      

      and get this error when I try to compile....

      Script FX1:! ERROR : unable to open file stdfaust.lib

      Faust is installed in the C:/Program Files/Faust directory...

      -- so what am I doing wrong?

      HISE Development for hire.
      www.channelrobot.com

      LindonL toxonicT S 3 Replies Last reply Reply Quote 0
      • LindonL
        Lindon @Lindon
        last edited by

        @Lindon ..and its because you need to set up the Faust path in the project preferences...by the looks of things...

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon did you set the path to faust in your project preferences?

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

            @Lindon said in Adventures in ScriptNode - Faust.....:

            @Lindon ..and its because you need to set up the Faust path in the project preferences...by the looks of things...

            ooops, that was faster than me! :D

            1 Reply Last reply Reply Quote 1
            • S
              Sounddiy @Lindon
              last edited by Sounddiy

              This post is deleted!
              LindonL Christoph HartC 2 Replies Last reply Reply Quote 0
              • LindonL
                Lindon @Sounddiy
                last edited by

                @Sounddiy err....I think I'm past this, and it wasnt a problem - but as you see above its fixed now.

                HISE Development for hire.
                www.channelrobot.com

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

                  @Sounddiy no thats deprecated. Check the sticky post for up to date instructions.

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

                    @Christoph-Hart oups
                    I see
                    I remove my post...

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

                    9

                    Online

                    1.7k

                    Users

                    11.8k

                    Topics

                    102.8k

                    Posts