public class AUParameterTree extends AUParameterGroup implements NSSecureCoding
The top level group node, representing all of an audio unit's parameters.
An audio unit's parameters are organized into a tree containing groups and parameters. Groups may be nested.
The tree is KVO-compliant. For example, if the tree contains a group named "LFO" , containing a parameter named rate, then "LFO.rate" refers to that parameter object, and "LFO.rate.value" refers to that parameter's value.
An audio unit may choose to dynamically rearrange the tree. When doing so, it must issue a KVO notification on the audio unit's parameterTree property. The tree's elements are mostly immutable (except for values and implementor hooks); the only way to modify them is to publish a new tree.
AUParameterNode.Block_implementorDisplayNameWithLengthCallback_ret, AUParameterNode.Block_implementorStringFromValueCallback_ret, AUParameterNode.Block_implementorValueFromStringCallback_ret, AUParameterNode.Block_implementorValueObserver_ret, AUParameterNode.Block_implementorValueProvider_ret, AUParameterNode.Block_setImplementorDisplayNameWithLengthCallback, AUParameterNode.Block_setImplementorStringFromValueCallback, AUParameterNode.Block_setImplementorValueFromStringCallback, AUParameterNode.Block_setImplementorValueObserver, AUParameterNode.Block_setImplementorValueProvider, AUParameterNode.Block_tokenByAddingParameterAutomationObserver, AUParameterNode.Block_tokenByAddingParameterObserver, AUParameterNode.Block_tokenByAddingParameterRecordingObserverNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
AUParameterTree(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static AUParameterTree |
alloc() |
static AUParameterTree |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static AUParameterGroup |
createGroupFromTemplateIdentifierNameAddressOffset(AUParameterGroup templateGroup,
java.lang.String identifier,
java.lang.String name,
long addressOffset)
Initialize a group as a copied instance of a template group.
|
static AUParameterGroup |
createGroupTemplate(NSArray<? extends AUParameterNode> children)
Create a template group which may be used as a prototype for further group instances.
|
static AUParameterGroup |
createGroupWithIdentifierNameChildren(java.lang.String identifier,
java.lang.String name,
NSArray<? extends AUParameterNode> children)
Create an AUParameterGroup.
|
static AUParameter |
createParameterWithIdentifierNameAddressMinMaxUnitUnitNameFlagsValueStringsDependentParameters(java.lang.String identifier,
java.lang.String name,
long address,
float min,
float max,
int unit,
java.lang.String unitName,
int flags,
NSArray<java.lang.String> valueStrings,
NSArray<? extends NSNumber> dependentParameters)
Create an AUParameter.
|
static AUParameterTree |
createTreeWithChildren(NSArray<? extends AUParameterNode> children)
Create an AUParameterTree.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
static long |
hash_static() |
AUParameterTree |
init() |
AUParameterTree |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static AUParameterTree |
new_objc() |
AUParameter |
parameterWithAddress(long address)
parameterWithAddress:
|
AUParameter |
parameterWithIDScopeElement(int paramID,
int scope,
int element)
parameterWithID:scope:element:
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static long |
version_static() |
allParameters, childrendisplayName, displayNameWithLength, identifier, implementorDisplayNameWithLengthCallback, implementorStringFromValueCallback, implementorValueFromStringCallback, implementorValueObserver, implementorValueProvider, keyPath, removeParameterObserver, setImplementorDisplayNameWithLengthCallback, setImplementorStringFromValueCallback, setImplementorValueFromStringCallback, setImplementorValueObserver, setImplementorValueProvider, tokenByAddingParameterAutomationObserver, tokenByAddingParameterObserver, tokenByAddingParameterRecordingObserveraccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static AUParameterTree alloc()
public static AUParameterTree allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static AUParameterGroup createGroupFromTemplateIdentifierNameAddressOffset(AUParameterGroup templateGroup, java.lang.String identifier, java.lang.String name, long addressOffset)
templateGroup - A group to be used as a template and largely copied.identifier - An identifier for the new group (non-localized, persistent).name - The new group's human-readable name (localized).addressOffset - The new group's parameters' addresses will be offset from those in
the template by this value.public static AUParameterGroup createGroupTemplate(NSArray<? extends AUParameterNode> children)
Template groups provide a way to construct multiple instances of identical parameter groups, sharing certain immutable state between the instances.
Template groups may not appear in trees except at the root.
public static AUParameterGroup createGroupWithIdentifierNameChildren(java.lang.String identifier, java.lang.String name, NSArray<? extends AUParameterNode> children)
identifier - An identifier for the group (non-localized, persistent).name - The group's human-readable name (localized).children - The group's child nodes.public static AUParameter createParameterWithIdentifierNameAddressMinMaxUnitUnitNameFlagsValueStringsDependentParameters(java.lang.String identifier, java.lang.String name, long address, float min, float max, int unit, java.lang.String unitName, int flags, NSArray<java.lang.String> valueStrings, NSArray<? extends NSNumber> dependentParameters)
public static AUParameterTree createTreeWithChildren(NSArray<? extends AUParameterNode> children)
children - The tree's top-level child nodes.public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static AUParameterTree new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static long version_static()
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingencodeWithCoder in class AUParameterGrouppublic AUParameterTree init()
init in class AUParameterGrouppublic AUParameterTree initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class AUParameterGrouppublic AUParameter parameterWithAddress(long address)
Search a tree for a parameter with a specific address.
public AUParameter parameterWithIDScopeElement(int paramID, int scope, int element)
Search a tree for a specific v2 audio unit parameter.
V2 audio units publish parameters identified by a parameter ID, scope, and element. A host that knows that it is dealing with a v2 unit can locate parameters using this method, for example, for the Apple-supplied system audio units.
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class AUParameterGroup