Package apple.phase

Class PHASESamplerNodeDefinition

  • All Implemented Interfaces:
    NSObject

    public class PHASESamplerNodeDefinition
    extends PHASEGeneratorNodeDefinition
    [@interface] PHASESamplerNodeDefinition Sampler node definition. Sampler nodes play back registered sound assets. API-Since: 15.0
    • Constructor Detail

      • PHASESamplerNodeDefinition

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • assetIdentifier

        @NotNull
        public @NotNull java.lang.String assetIdentifier()
        [@property] assetIdentifier The identifier that uniquely represents the registered sound asset this sampler will play.
      • 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()
      • cullOption

        public long cullOption()
        [@property] cullOption The cull option for the sampler. The default value is PHASECullOptionTerminate.
      • 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()
      • initWithSoundAssetIdentifierMixerDefinition

        public PHASESamplerNodeDefinition initWithSoundAssetIdentifierMixerDefinition​(@NotNull
                                                                                      @NotNull java.lang.String soundAssetIdentifier,
                                                                                      @NotNull
                                                                                      @NotNull PHASEMixerDefinition mixerDefinition)
        initWithSoundAssetIdentifier:mixerDefinition Create a sampler node definition
        Parameters:
        soundAssetIdentifier - The identifier of the registered sound asset this sampler will play
        mixerDefinition - The mixer definition this sampler will be assigned to
        Returns:
        A new PHASESamplerNodeDefinition object
      • initWithSoundAssetIdentifierMixerDefinitionIdentifier

        public PHASESamplerNodeDefinition initWithSoundAssetIdentifierMixerDefinitionIdentifier​(@NotNull
                                                                                                @NotNull java.lang.String soundAssetIdentifier,
                                                                                                @NotNull
                                                                                                @NotNull PHASEMixerDefinition mixerDefinition,
                                                                                                @NotNull
                                                                                                @NotNull java.lang.String identifier)
        initWithSoundAssetIdentifier:mixerDefinition:identifier Create a sampler node definition
        Parameters:
        soundAssetIdentifier - The identifier of the registered sound asset this sampler will play
        mixerDefinition - The mixer definition this sampler will be assigned to
        identifier - An optional custom identifier to give to this object
        Returns:
        A new PHASESamplerNodeDefinition 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)
      • playbackMode

        public long playbackMode()
        [@property] playbackMode The playback mode for the sampler. If the playback mode is set to PHASEPlaybackModeOneShot, you need to make sure the the audio data in the registered sound asset associated with this sampler begins and ends at zero crossings. Otherwise, you'll hear a click when beginning playback and / or ending playback. If the playback mode is set to PHASEPlaybackModeLooping, you need to make sure the audio data in the registered sound asset associated with this sampler loops smoothly from the end sample to the start sample. Please verify this during authoring. Failing to do so will result in audible clicks at loop boundaries. The default value is PHASEPlaybackModeOneShot.
      • resolveClassMethod

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

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

        public void setCullOption​(long value)
        [@property] cullOption The cull option for the sampler. The default value is PHASECullOptionTerminate.
      • setPlaybackMode

        public void setPlaybackMode​(long value)
        [@property] playbackMode The playback mode for the sampler. If the playback mode is set to PHASEPlaybackModeOneShot, you need to make sure the the audio data in the registered sound asset associated with this sampler begins and ends at zero crossings. Otherwise, you'll hear a click when beginning playback and / or ending playback. If the playback mode is set to PHASEPlaybackModeLooping, you need to make sure the audio data in the registered sound asset associated with this sampler loops smoothly from the end sample to the start sample. Please verify this during authoring. Failing to do so will result in audible clicks at loop boundaries. The default value is PHASEPlaybackModeOneShot.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • 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.