Package apple.phase

Class PHASEBlendNodeDefinition

  • All Implemented Interfaces:
    NSObject

    public class PHASEBlendNodeDefinition
    extends PHASESoundEventNodeDefinition
    [@interface] PHASEBlendNodeDefinition An object for defining a blend sound event node when building a sound event. A blend node blends between its children based on a numeric parameter. API-Since: 15.0
    • Constructor Detail

      • PHASEBlendNodeDefinition

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • addRangeForInputValuesAboveFullGainAtValueFadeCurveTypeSubtree

        public void addRangeForInputValuesAboveFullGainAtValueFadeCurveTypeSubtree​(double value,
                                                                                   double fullGainAtValue,
                                                                                   long fadeCurveType,
                                                                                   @NotNull
                                                                                   @NotNull PHASESoundEventNodeDefinition subtree)
        addRangeForInputValuesAbove:fullGainAtValue:fadeCurveType:subtree Create a blend range that is active for all values above a given threshold.
        Parameters:
        value - The value for which the range will be active if the blend node's input value is above this threshold.
        fullGainAtValue - This value defines a threshold for which a fade curve will be applied to the gain, when the input value is between "value" and "fullGainAtValue".
        fadeCurveType - A curve type that defines which kind of fade curve to apply.
        subtree - A PHASESoundEventNodeDefinition subtree that will be active for this range.
      • addRangeForInputValuesBelowFullGainAtValueFadeCurveTypeSubtree

        public void addRangeForInputValuesBelowFullGainAtValueFadeCurveTypeSubtree​(double value,
                                                                                   double fullGainAtValue,
                                                                                   long fadeCurveType,
                                                                                   @NotNull
                                                                                   @NotNull PHASESoundEventNodeDefinition subtree)
        addRangeForInputValuesBelow:fullGainAtValue:fadeCurveType:subtree Create a blend range that is active for all values below a given threshold.
        Parameters:
        value - The value for which the range will be active if the blend node's input value is below this threshold.
        fullGainAtValue - This value defines a threshold for which a fade curve will be applied to the gain, when the input value is between "value" and "fullGainAtValue".
        fadeCurveType - A curve type that defines which kind of fade curve to apply.
        subtree - A PHASESoundEventNodeDefinition subtree that will be active for this range.
      • addRangeForInputValuesBetweenHighValueFullGainAtLowValueFullGainAtHighValueLowFadeCurveTypeHighFadeCurveTypeSubtree

        public void addRangeForInputValuesBetweenHighValueFullGainAtLowValueFullGainAtHighValueLowFadeCurveTypeHighFadeCurveTypeSubtree​(double lowValue,
                                                                                                                                        double highValue,
                                                                                                                                        double fullGainAtLowValue,
                                                                                                                                        double fullGainAtHighValue,
                                                                                                                                        long lowFadeCurveType,
                                                                                                                                        long highFadeCurveType,
                                                                                                                                        @NotNull
                                                                                                                                        @NotNull PHASESoundEventNodeDefinition subtree)
        addRangeForInputValuesBetween:highValue:fullGainAtLowValue:fullGainAtHighValue:lowFadeCurveType:highFadeCurveType:subtree Create a blend range that is active for all input values between lowValue and highValue
        Parameters:
        lowValue - The lower bound for which this range is active.
        highValue - The upper bound for which this range is active.
        fullGainAtLowValue - The threshold for which a fade curve defined by lowFadeCurveType will be applied to the gain when the input value is between lowValue and fullGainAtLowValue
        fullGainAtHighValue - The threshold for which a fade curve defined by highFadeCurveType will be applied to the gain when the input value is between highValue and fullGainAtHighValue
        lowFadeCurveType - A curve type that defines which kind of fade curve to apply for the low fade range.
        highFadeCurveType - A curve type that defines which kind of fade curve to apply for the high fade range..
        subtree - A PHASESoundEventNodeDefinition subtree that will be active for this range.
      • addRangeWithEnvelopeSubtree

        public void addRangeWithEnvelopeSubtree​(@NotNull
                                                @NotNull PHASEEnvelope envelope,
                                                @NotNull
                                                @NotNull PHASESoundEventNodeDefinition subtree)
        addRangeWithEnvelope:subtree Create a blend range defined by a PHASEEnvelope object.
        Parameters:
        envelope - The PHASEEnvelope object that defines the output gain for a range.
        subtree - A PHASESoundEventNodeDefinition subtree that will be active for this range.
      • automaticallyNotifiesObserversForKey

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

        @Nullable
        public @Nullable PHASENumberMetaParameterDefinition blendParameterDefinition()
        [@property] blendParameterDefinition The readonly property that returns the PHASENumberMetaParameterDefinition this blend node was created with and assigned to.
      • 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()
      • hash_static

        public static long hash_static()
      • initDistanceBlendWithSpatialMixerDefinition

        public PHASEBlendNodeDefinition initDistanceBlendWithSpatialMixerDefinition​(@NotNull
                                                                                    @NotNull PHASESpatialMixerDefinition spatialMixerDefinition)
        initDistanceBlendWithSpatialMixerDefinition Create a blend node definition
        Parameters:
        spatialMixerDefinition - A PHASESpatialMixerDefinition that will bind the blend parameter to the distance between the source and listener.
        Returns:
        A new PHASEBlendNodeDefinition object
      • initDistanceBlendWithSpatialMixerDefinitionIdentifier

        public PHASEBlendNodeDefinition initDistanceBlendWithSpatialMixerDefinitionIdentifier​(@NotNull
                                                                                              @NotNull PHASESpatialMixerDefinition spatialMixerDefinition,
                                                                                              @NotNull
                                                                                              @NotNull java.lang.String identifier)
        initDistanceBlendWithSpatialMixerDefinition:identifier Create a blend node definition
        Parameters:
        spatialMixerDefinition - A PHASESpatialMixerDefinition that will bind the blend parameter to the distance between the source and listener.
        identifier - An optional custom identifier to give to this object
        Returns:
        A new PHASEBlendNodeDefinition object
      • initWithBlendMetaParameterDefinition

        public PHASEBlendNodeDefinition initWithBlendMetaParameterDefinition​(@NotNull
                                                                             @NotNull PHASENumberMetaParameterDefinition blendMetaParameterDefinition)
        initWithBlendMetaParameterDefinition Create a blend node definition
        Parameters:
        blendMetaParameterDefinition - A metaparameter definition that wil be used to control the parameter of the blend node at runtime.
        Returns:
        A new PHASEBlendNodeDefinition object
      • initWithBlendMetaParameterDefinitionIdentifier

        public PHASEBlendNodeDefinition initWithBlendMetaParameterDefinitionIdentifier​(@NotNull
                                                                                       @NotNull PHASENumberMetaParameterDefinition blendMetaParameterDefinition,
                                                                                       @NotNull
                                                                                       @NotNull java.lang.String identifier)
        initWithBlendMetaParameterDefinition:identifier Create a blend node definition
        Parameters:
        blendMetaParameterDefinition - A metaparameter definition that wil be used to control the parameter of the blend node at runtime.
        identifier - An optional custom identifier to give to this object
        Returns:
        A new PHASEBlendNodeDefinition object
      • 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)
      • resolveClassMethod

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

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

        public static void setVersion_static​(long aVersion)
      • spatialMixerDefinitionForDistance

        @Nullable
        public @Nullable PHASESpatialMixerDefinition spatialMixerDefinitionForDistance()
        [@property] distanceSpatialMixerDefinition The readonly property that returns the PHASESpatialMixerDefinition this blend node was created with and assigned to.
      • superclass_static

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

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.