HISE Logo Forum
    • Categories
    • Register
    • Login

    Change the pitch of the IR sample

    Scheduled Pinned Locked Moved General Questions
    2 Posts 2 Posters 45 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.
    • resonantR
      resonant
      last edited by

      Is it possible to change the pitch of the IR sample loaded into the Convolution node?

      griffinboyG 1 Reply Last reply Reply Quote 0
      • griffinboyG
        griffinboy @resonant
        last edited by griffinboy

        @resonant

        You can do DSP in hise script.
        I imagine the method would be to load the ir into a hise buffer object (an array that holds each sample of your audio file), then do some kind of resample algorithm to fill a new buffer with a repitched version (making the file faster or slower by interpolating the samples) then load that processed audio data into the convolver.

        Of course, if you use c++ you can do this all with high quality and efficiency .
        But I'm guessing you're asking about doing it in hise script.

        I've not done audio manipulation in hise script before. But I've seen that it's possible, looking at the docs

        Link Preview Image
        HISE | Scripting | Buffer

        A buffer of floating point data

        favicon

        (docs.hise.dev)

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

        31

        Online

        1.8k

        Users

        12.1k

        Topics

        105.8k

        Posts