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.

AUM AUHost_ blocks timing question

I've got a technical question here for AUv3 plugin development and AUM. If this is the wrong place to ask, please redirect me :smile:

I'm trying to figure out how to best schedule events based on the various clocks I have available in my render block. Before messing with audio units, I was just using mach_absolute_time. Now I am trying to choose between AUHostTransportStateBlock's currentSamplePosition, and AUHostMusicalContextBlock's currentBeatPosition.

Should I be using one or the other, or both? I could calculate my own beatPosition using currentSamplePosition and the tempo and sampling rate... but I am guessing it is being passed to ensure that the host and plugin are using the same exact calculations, without any rounding errors etc.

A second question: what's up with sampleOffsetToNextBeat? It's always a huge number (way too big to be the number of samples until the next beat, unless I'm missing something), and it doesn't change much. Is it just uninitialized?

Comments

  • @simulacrimations said:
    I've got a technical question here for AUv3 plugin development and AUM. If this is the wrong place to ask, please redirect me :smile:

    I'm trying to figure out how to best schedule events based on the various clocks I have available in my render block. Before messing with audio units, I was just using mach_absolute_time. Now I am trying to choose between AUHostTransportStateBlock's currentSamplePosition, and AUHostMusicalContextBlock's currentBeatPosition.

    Should I be using one or the other, or both? I could calculate my own beatPosition using currentSamplePosition and the tempo and sampling rate... but I am guessing it is being passed to ensure that the host and plugin are using the same exact calculations, without any rounding errors etc.

    A second question: what's up with sampleOffsetToNextBeat? It's always a huge number (way too big to be the number of samples until the next beat, unless I'm missing something), and it doesn't change much. Is it just uninitialized?

    You might find the Audiobus developers forum a good place to visit: https://developer.audiob.us

  • Hoooly... awesome. This is the resource I've been looking for! Thanks

Sign In or Register to comment.