Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .aupreset support #171

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add .aupreset support #171

wants to merge 1 commit into from

Conversation

rhelsing
Copy link

@rhelsing rhelsing commented Dec 1, 2022

#160

Getting started, feedback would be appreciated on next steps! @emilio1234 @psobot

@rhelsing rhelsing changed the title add audio unit scaffolding Add .aupreset support Dec 1, 2022
presetFilePath);
}

if (!client.setPreset(presetData)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know that this will work - the JUCE code doesn't seem to have a setPreset method on AudioUnitClient:

    struct AudioUnitClient
    {
        virtual ~AudioUnitClient() = default;
        virtual AudioUnit getAudioUnitHandle() const noexcept = 0;
    };

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Older thread:

And more specific feature request thread that I just opened for this:

Copy link

@0xdevalias 0xdevalias May 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related technical docs:

  • https://developer.apple.com/documentation/audiotoolbox/auaudiounitpreset
    • AUAudioUnitPreset

    • The AUAudioUnitPreset class describes an interface for custom parameter settings provided by the audio unit developer. These presets often produce a useful sound or starting point.

    • For more details on working with Audio Unit presets, see Audio Units - How to correctly save and restore Audio Unit presets. Note that the version 3 fullState property is bridged to the version 2 kAudioUnitProperty_ClassInfo API. Similarly, the version 3 fullStateForDocument property is bridged to the version 2 kAudioUnitProperty_ClassInfoFromDocument API.

  • https://developer.apple.com/library/archive/technotes/tn2157/_index.html
    • Technical Note TN2157
      Audio Units - How to correctly save and restore Audio Unit presets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants