Class AVParameterEvent

  • All Implemented Interfaces:
    NSObject

    public class AVParameterEvent
    extends AVMusicEvent
    AVParameterEvent The event class representing a parameter set/change event on the AVMusicTrack's destinationAudioUnit. AVParameterEvents make it possible to schedule and/or automate parameter changes on the audio unit that has been configured as the destination for the AVMusicTrack containing this event. When the track is played as part of a sequence, the destination audio unit will receive set-parameter messages whose values change smoothly along a linear ramp between each event's beat location. If an AVParameterEvent is added to an empty, non-automation track, the track becomes an automation track. API-Since: 16.0
    • Constructor Detail

      • AVParameterEvent

        protected AVParameterEvent​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static AVParameterEvent allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • element

        public int element()
        [@property] element The element index within the scope (see AudioUnitElement).
      • hash_static

        public static long hash_static()
      • initWithParameterIDScopeElementValue

        public AVParameterEvent initWithParameterIDScopeElementValue​(int parameterID,
                                                                     int scope,
                                                                     int element,
                                                                     float value)
        initWithParameterID:scope:element:value Initialize the event with the parameter ID, scope, element, and value for the parameter to be set.
        Parameters:
        parameterID - The ID of the parameter (see AudioUnitParameterID).
        scope - The audio unit scope for the parameter (see AudioUnitScope).
        element - The element index within the scope (see AudioUnitElement).
        value - The value of the parameter to be set. Range: Dependent on parameter.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • parameterID

        public int parameterID()
        [@property] parameterID The ID of the parameter (see AudioUnitParameterID).
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • scope

        public int scope()
        [@property] scope The audio unit scope for the parameter (see AudioUnitScope).
      • setElement

        public void setElement​(int value)
        [@property] element The element index within the scope (see AudioUnitElement).
      • setParameterID

        public void setParameterID​(int value)
        [@property] parameterID The ID of the parameter (see AudioUnitParameterID).
      • setScope

        public void setScope​(int value)
        [@property] scope The audio unit scope for the parameter (see AudioUnitScope).
      • setValue

        public void setValue​(float value)
        [@property] value The value of the parameter to be set. Range: Dependent on parameter.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • value

        public float value()
        [@property] value The value of the parameter to be set. Range: Dependent on parameter.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.