HISE Logo Forum
    • Categories
    • Register
    • Login

    FAUST Buffer Freeze smooth fade

    Scheduled Pinned Locked Moved Faust Development
    1 Posts 1 Posters 88 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.
    • T
      treynterrio
      last edited by

      Hi there,

      I created a freeze effect that loops the buffer of the incoming audio signal in FAUST, but I haven't found a proper solution to achieve smooth fades at the beginning and end of the buffer loop. I tried attack-release-envelope-like things, but that didn't get rid of the clicking. Does anyone have an idea how I can do this?

      Here is the code:

      import("stdfaust.lib");
      
      size = 192000; 
      index = ba.period(size);
      
      input(x) =  +(x * (1 - r)) ~ 
                  (de.delay(size - 1, size - 1) * r);
      
      r = checkbox("Freeze Buffer");
      
      process(x1, x2) = input(x1), input(x2);
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      17

      Online

      1.7k

      Users

      11.9k

      Topics

      103.6k

      Posts