AUv3Controls

0.3.3

SwiftUI knob and toggle for use with AUv3 components. Uses The Composable Architecture by Point-Free
bradhowes/AUv3Controls

What's New

Taylor's Version

2024-03-29T23:06:18Z

Fixed title animation

CI COV

AUv3Controls

SwiftUI knob and toggle controls for use with AUv3 components. Uses the excellent Composable Architecture for Swift by Point-Free.

The controls are attached to AUParameter entities, so changes in the control will affect their associated AUParameter value. This works the other way as well: external changes to the AUParameter -- say from a MIDI controller or preset load -- will be reflected in the control. Below is a demonstration on iOS:

And below shows rendering on macOS:

Controls

There is a circular knob that acts like a vertical slider. It normally shows the setting's name, but when being manipulated it shows the current value.

  • Vertical dragging changes the value of the knob
  • Moving horizontally away from the center of the knob will increase resolution of vertical movements
  • Touching the title will show an editor to allow typing a value
  • When present, uses ScrollViewProxy to make sure that the editor is visible when it appears

The toggle view just works on boolean values:

Here is a combination of several knobs into two distinct groups. The groups are embedded in a scroll view so as to operate under narrow device width constrains:

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Wed Nov 20 2024 22:45:37 GMT-1000 (Hawaii-Aleutian Standard Time)