Package apple.phase

Class PHASEGroup

  • All Implemented Interfaces:
    NSObject

    public class PHASEGroup
    extends NSObject
    [@interface] PHASEGroup A PHASEGroup allows clients to group generator nodes for shared processing. Clients can set the gain and playback rate, as well as mute and solo the generator nodes in a group. API-Since: 15.0
    • Constructor Detail

      • PHASEGroup

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static PHASEGroup 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()
      • fadeGainDurationCurveType

        public void fadeGainDurationCurveType​(double gain,
                                              double duration,
                                              long curveType)
        fadeGain:duration:curveType: Fade the gain of this group over a specified duration and curve. [@note] The fade gain is applied on top of the base gain of the group.
        Parameters:
        gain - A target linear gain scalar. Values are clamped to the range [0, 1].
        duration - The duration over which to ramp to the target linear gain scalar. Values must be >= 0. The duration is scaled by unitsPerSecond internally, so can be provided at the client's native time scale.
        curveType - The type of curve function that is applied during the fade.
      • fadeRateDurationCurveType

        public void fadeRateDurationCurveType​(double rate,
                                              double duration,
                                              long curveType)
        fadeRate:duration:curveType: Fade the playback rate of this group over a specified duration and curve. [@note] The fade gain is applied on top of the base gain of the group.
        Parameters:
        rate - A target linear rate scalar. Values are clamped to the range [0.25, 4.0].
        duration - The duration over which to ramp to the target linear rate scalar. Values must be >= 0. The duration is scaled by unitsPerSecond internally, so can be provided at the client's native time scale.
        curveType - The type of curve function that is applied during the fade.
      • gain

        public double gain()
        [@property] gain Linear gain scalar. [@note] Values are clamped to the range [0, 1]. Default value is 1.
      • hash_static

        public static long hash_static()
      • identifier

        @NotNull
        public @NotNull java.lang.String identifier()
        [@property] identifier The identifier that uniquely represents this group.
      • initWithIdentifier

        public PHASEGroup initWithIdentifier​(@NotNull
                                             @NotNull java.lang.String identifier)
        initWithIdentifier: Create a new group.
        Parameters:
        identifier - The identifier that uniquely represents this group.
      • instanceMethodSignatureForSelector

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

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

        public boolean isMuted()
        [@property] muted Whether or not this group is muted.
      • isSoloed

        public boolean isSoloed()
        [@property] soloed Whether or not this group is soloed.
      • 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)
      • mute

        public void mute()
        mute Mute the group.
      • rate

        public double rate()
        [@property] rate Linear rate scalar. [@note] Values are clamped to the range [0.25, 4]. Default value is 1.
      • registerWithEngine

        public void registerWithEngine​(@NotNull
                                       @NotNull PHASEEngine engine)
        registerWithEngine Registers a group with a particular engine so that referenced assets can find it. [@note] An exception will be thrown if the engine is invalid or the group already exists.
        Parameters:
        engine - An engine object to associate this group with.
      • resolveClassMethod

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

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

        public void setGain​(double value)
        [@property] gain Linear gain scalar. [@note] Values are clamped to the range [0, 1]. Default value is 1.
      • setRate

        public void setRate​(double value)
        [@property] rate Linear rate scalar. [@note] Values are clamped to the range [0.25, 4]. Default value is 1.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • solo

        public void solo()
        solo Solo the group.
      • superclass_static

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

        public void unmute()
        unmute Unmute the group.
      • unregisterFromEngine

        public void unregisterFromEngine()
        unregisterFromEngine Unregister the group from a particular engine.
      • unsolo

        public void unsolo()
        unsolo Unsolo the group.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.