Loopy Pro: Create music, your way.

What is Loopy Pro?Loopy Pro is a powerful, flexible, and intuitive live looper, sampler, clip launcher and DAW for iPhone and iPad. At its core, it allows you to record and layer sounds in real-time to create complex musical arrangements. But it doesn’t stop there—Loopy Pro offers advanced tools to customize your workflow, build dynamic performance setups, and create a seamless connection between instruments, effects, and external gear.

Use it for live looping, sequencing, arranging, mixing, and much more. Whether you're a live performer, a producer, or just experimenting with sound, Loopy Pro helps you take control of your creative process.

Download on the App Store

Loopy Pro is your all-in-one musical toolkit. Try it for free today.

touch gui element "fader" movement up/down detection?

hi coders, how to do this properly?
pseudocode:

fader(){
pv = get parameter value
v = get value from touch fader movement
if v > last_v
pv = pv + 1
else
pv = pv - 1
}

thanks:)

Comments

  • edited July 2022

    The naive math would be:

    pv = pv + (v - last_v)

    But that will give you a cumulative error.

    Better would be:

    • when fader is first touched:

      • initial_v = v
      • initial_pv = pv
    • on movement:

      • pv = initial_pv + (v - initial_v)

    (assuming v is the current fader position)

  • exactly what i wanted!:)
    thank you very much @SevenSystems

Sign In or Register to comment.