HISE Logo Forum
    • Categories
    • Register
    • Login

    How do I script these handles?? || update::

    Scheduled Pinned Locked Moved Unsolved Scripting
    2 Posts 1 Posters 37 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.
    • ChazroxC
      Chazrox
      last edited by Chazrox

      I've been trying to script the length of my audiofile in my reverb plugin. Is there a simple way just to grab these handles via script instead of scripting the buffer and samples for this purpose? Seems like the job is already halfway done with the handles existing there. How can I script these controls? I dont need to do any extra processing other than changing the 'start' and 'end' points. 🙏

      Screenshot 2025-10-12 at 4.45.15 PM.png

      ChazroxC 1 Reply Last reply Reply Quote 0
      • ChazroxC
        Chazrox @Chazrox
        last edited by Chazrox

        @Chazrox Ok, I figured out this much....

        I needed to declare the Convolution reverb module (ScriptnodeFX) as and 'AudioProcessor' instead of and 'Effect'.

        Then I could use:

        Convolution.setSampleRange(min, max);
        
        

        then, use a knob to adjust 'max' value.

        One thing I can figure out how to do is, after loading a preset or scrolling through reverb presets, I need my 'Length/Time' knobs 'max' value to change to the currently loaded files 'sampleLength'. For some reason I can only get it to load upon recompiling.

        1 Reply Last reply Reply Quote 0
        • ChazroxC Chazrox marked this topic as a regular topic
        • ChazroxC Chazrox marked this topic as a question
        • First post
          Last post

        25

        Online

        2.0k

        Users

        12.7k

        Topics

        109.9k

        Posts