HISE Logo Forum
    • Categories
    • Register
    • Login

    Changing playback position of audio looper

    Scheduled Pinned Locked Moved Scripting
    looperplayhead
    2 Posts 2 Posters 42 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.
    • M
      marbey
      last edited by

      Hi all,

      I am working on my first HISE plugin where you can load in an audio file, write a formula like "T *1.25", where it then sets the playback position to the formula output every 1/60th of a second (using a timer callback).
      Basically controlling the playback via a formula instead of with points, like you would do in gross beat or shaperbox timeshaper.
      I am currently using an audio looper module where I am constantly stopping a note, changing the sample range and then starting a note again. This is probably not the right way to do it at all, and causes severe artifacts that sound like buffer underruns.
      I tried experimenting with samplestartmod but it seems to set a random starting point.
      Any ideas? I'm not sure if this is even possible without writing a full scriptfx thingy.

      First time using HISE (and first time making an audio plugin at all), so I apologise if what I am doing is ridiculous.

      Thanks in advance,
      Marbey

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @marbey
        last edited by

        @marbey consider replacing your Audio Looper with a Sampler and using a SampleStart modulator there, remember the sample start modulator will work in percentages of the range you set up for the sample (wav file) itself in the sample editor

        HISE Development for hire.
        www.channelrobot.com

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

        35

        Online

        1.8k

        Users

        12.0k

        Topics

        104.1k

        Posts