|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <AtomSynthComponent.h>
公開メンバ関数 | |
| CRIWARECORE_API | UAtomSynthComponent (const FObjectInitializer &ObjectInitializer) |
| virtual CRIWARECORE_API void | Activate (bool bReset=false) override |
| CRIWARECORE_API void | AdjustVolume (float AdjustVolumeDuration, float AdjustVolumeLevel, const EAtomFaderCurve FadeCurve=EAtomFaderCurve::Linear) const |
| virtual CRIWARECORE_API void | BeginDestroy () override |
| CRIWARECORE_API void | CreateAtomComponent () |
| virtual CRIWARECORE_API void | Deactivate () override |
| virtual CRIWARECORE_API void | EndPlay (const EEndPlayReason::Type Reason) override |
| CRIWARECORE_API void | FadeIn (float FadeInDuration, float FadeVolumeLevel=1.0f, float StartTime=0.0f, const EAtomFaderCurve FadeCurve=EAtomFaderCurve::Linear) const |
| CRIWARECORE_API void | FadeOut (float FadeOutDuration, float FadeVolumeLevel, const EAtomFaderCurve FadeCurve=EAtomFaderCurve::Linear) const |
| CRIWARECORE_API UAtomComponent * | GetAtomComponent () |
| TScriptInterface< IAtomComponentExtension > | GetAtomComponentExtension () const |
| virtual CRIWARECORE_API UAtomSoundClass * | GetSoundClass () |
| CRIWARECORE_API void | Initialize (int32 SampleRateOverride=-1) |
| CRIWARECORE_API bool | IsPlaying () const |
| virtual CRIWARECORE_API bool | IsReadyForOwnerToAutoDestroy () const override |
| CRIWARECORE_API void | OnAtomComponentEnvelopeValue (const UAtomComponent *AtomComponent, const UAtomSoundBase *Sound, const float EnvelopeValue) |
| virtual CRIWARECORE_API void | OnRegister () override |
| virtual CRIWARECORE_API void | OnUnregister () override |
| virtual CRIWARECORE_API void | Serialize (FArchive &Ar) override |
| CRIWARECORE_API void | SetAisacControlValue (const FAtomAisacControl &AisacControl, float Value) |
| CRIWARECORE_API void | SetAtomBusSend (UAtomBus *Bus, float SendLevel) |
| CRIWARECORE_API void | SetAtomBusSendPreEffect (UAtomBus *AtomBus, float AtomBusSendLevel) |
| CRIWARECORE_API void | SetAudioBusSendPreEffect (UAtomAudioBus *AudioBus, float AudioBusSendLevel) |
| CRIWARECORE_API void | SetLowPassFilterEnabled (bool InLowPassFilterEnabled) |
| virtual CRIWARECORE_API void | SetLowPassFilterFrequency (float InLowPassFilterFrequency) |
| CRIWARECORE_API void | SetModulationRouting (const TSet< UAtomModulatorBase * > &Modulators, const EAtomModulationDestination Destination, const EAtomModulationRouting RoutingMethod=EAtomModulationRouting::Inherit) |
| CRIWARECORE_API void | SetMultiplePositions (TArray< FTransform > Positions, EAtomMultiPositionType MultiPositionType) |
| CRIWARECORE_API void | SetRackSend (UAtomRackBase *Rack) |
| CRIWARECORE_API void | SetSourceBusSendPreEffect (UAtomSoundSourceBus *SoundSourceBus, float SourceBusSendLevel) |
| CRIWARECORE_API void | SetVolumeMultiplier (float VolumeMultiplier) |
| CRIWARECORE_API void | Start () |
| CRIWARECORE_API void | Stop () |
| CRIWARECORE_API | UPARAM (DisplayName="Modulators") TSet< UAtomModulatorBase * > GetModulators(const EAtomModulationDestination Destination) |
公開変数類 | |
| TArray< FAtomSoundToBusSend > | AtomBusSends |
| TSubclassOf< UAtomComponent > | AtomComponentClass |
| TObjectPtr< UAtomRackWithParentBase > | AtomRack |
| struct FAtomAttenuationSettings | AttenuationOverrides |
| TObjectPtr< class UAtomAttenuation > | AttenuationSettings |
| uint8 | bAllowSpatialization: 1 |
| uint8 | bAlwaysPlay: 1 |
| bool | bApplyExtensionSettings |
| uint8 | bAutoDestroy: 1 |
| uint32 | bEnableBaseRack: 1 |
| uint32 | bEnableBusSends: 1 |
| uint32 | bEnableSourceBusSends: 1 |
| uint8 | bIsPreviewSound: 1 |
| uint8 | bIsUISound: 1 |
| uint8 | bOverrideAttenuation: 1 |
| uint8 | bStopWhenOwnerDestroyed: 1 |
| TSet< TObjectPtr< UAtomConcurrency > > | ConcurrencySet |
| int32 | EnvelopeFollowerAttackTime |
| int32 | EnvelopeFollowerReleaseTime |
| FAtomSoundModulationRoutingSettings | ModulationRouting |
| FOnAtomSynthEnvelopeValue | OnAtomSoundEnvelopeValue |
| FOnAtomSynthEnvelopeValueNative | OnAtomSoundEnvelopeValueNative |
| TArray< FAtomSoundSourceBusSendInfo > | PreEffectSourceBusSends |
| TObjectPtr< UAtomSoundClass > | SoundClass |
限定公開メンバ関数 | |
| virtual IAtomSoundGeneratorPtr | CreateSoundGenerator (const FAtomSoundGeneratorInitParams &InParams) |
| CRIWARECORE_API FAtomRuntime * | GetAtomRuntime () const |
| virtual bool | Init (int32 &SampleRate) |
| virtual void | OnEndGenerate (IAtomSoundGeneratorPtr Generator) |
限定公開変数類 | |
| int32 | NumChannels |
| int32 | PreferredBufferLength |
非公開メンバ関数 | |
| CRIWARECORE_API IAtomSoundGeneratorPtr | CreateSoundGeneratorInternal (const FAtomSoundGeneratorInitParams &InParams) |
非公開変数類 | |
| TObjectPtr< UAtomComponent > | AtomComponent |
| bool | bIsInitialized |
| bool | bIsSynthPlaying |
| TObjectPtr< UAtomComponentExtensionSettings > | ExtensionSettings |
| IAtomSoundGeneratorPtr | SoundGenerator |
| TObjectPtr< UAtomSynthSound > | SynthSound |
フレンド | |
| class | UAtomSynthSound |
An Atom compomennet that use externally created player and voices.
Used for source access to sound created externally by CriWare libraries using their own AtomVoicePools and AtomExPlayers.
| UAtomSynthComponent::UAtomSynthComponent | ( | const FObjectInitializer & | ObjectInitializer | ) |
|
overridevirtual |
| void UAtomSynthComponent::AdjustVolume | ( | float | AdjustVolumeDuration, |
| float | AdjustVolumeLevel, | ||
| const EAtomFaderCurve | FadeCurve = EAtomFaderCurve::Linear ) const |
This function allows designers to trigger an adjustment to the sound instance's playback Volume with options for smoothly applying a curve over time.
| AdjustVolumeDuration | The length of time in which to interpolate between the initial volume and the new volume. |
| AdjustVolumeLevel | The new volume to set the Audio Component to. |
| FadeCurve | The curve used when interpolating between the old and new volume. |
|
overridevirtual |
| void UAtomSynthComponent::CreateAtomComponent | ( | ) |
Creates the Atom component if it hasn't already been created yet. This should only be used when trying to assign explicit settings to the AtomComponent before calling Start().
|
inlineprotectedvirtual |
UAtomAudioLinkComponentで再実装されています。
|
private |
|
overridevirtual |
|
overridevirtual |
| void UAtomSynthComponent::FadeIn | ( | float | FadeInDuration, |
| float | FadeVolumeLevel = 1.0f, | ||
| float | StartTime = 0.0f, | ||
| const EAtomFaderCurve | FadeCurve = EAtomFaderCurve::Linear ) const |
This function allows designers to call Play on an Audio Component instance while applying a volume curve over time. Parameters allow designers to indicate the duration of the fade, the curve shape, and the start time if seeking into the sound.
| FadeInDuration | How long it should take to reach the FadeVolumeLevel |
| FadeVolumeLevel | The percentage of the AudioComponents's calculated volume to fade to |
| FadeCurve | The curve to use when interpolating between the old and new volume |
| void UAtomSynthComponent::FadeOut | ( | float | FadeOutDuration, |
| float | FadeVolumeLevel, | ||
| const EAtomFaderCurve | FadeCurve = EAtomFaderCurve::Linear ) const |
This function allows designers to call a delayed Stop on an Audio Component instance while applying a volume curve over time. Parameters allow designers to indicate the duration of the fade and the curve shape.
| FadeOutDuration | how long it should take to reach the FadeVolumeLevel |
| FadeVolumeLevel | the percentage of the AudioComponents's calculated volume in which to fade to |
| FadeCurve | The curve to use when interpolating between the old and new volume |
| UAtomComponent * UAtomSynthComponent::GetAtomComponent | ( | ) |
Retrieves this synth component's Atom component.
|
inline |
Gets an interface that exposes extended functionnalities of the owned AtomComponent.
|
protected |
|
virtual |
|
inlineprotectedvirtual |
| void UAtomSynthComponent::Initialize | ( | int32 | SampleRateOverride = -1 | ) |
Call for creating this external component from code or some other location.
| bool UAtomSynthComponent::IsPlaying | ( | ) | const |
Returns true if this component is currently playing.
|
overridevirtual |
| void UAtomSynthComponent::OnAtomComponentEnvelopeValue | ( | const UAtomComponent * | AtomComponent, |
| const UAtomSoundBase * | Sound, | ||
| const float | EnvelopeValue ) |
|
inlineprotectedvirtual |
UAtomAudioLinkComponentで再実装されています。
|
overridevirtual |
UAtomAudioLinkComponentで再実装されています。
|
overridevirtual |
UAtomAudioLinkComponentで再実装されています。
|
overridevirtual |
| void UAtomSynthComponent::SetAisacControlValue | ( | const FAtomAisacControl & | AisacControl, |
| float | Value ) |
Modulates in realtime the desired AISAC control value. This multiply with the base control value and with any routed modulation.
| AisacControl | The AISAC control to modulate. |
| Value | The value used to modulate the base value. |
| void UAtomSynthComponent::SetAtomBusSend | ( | UAtomBus * | Bus, |
| float | SendLevel ) |
Sets how much audio the sound should send to the given AudioBus (pre effect).
|
inline |
| void UAtomSynthComponent::SetAudioBusSendPreEffect | ( | UAtomAudioBus * | AudioBus, |
| float | AudioBusSendLevel ) |
Sets how much audio the sound should send to the given SourceBus (post effect). Sets how much audio the sound should send to the given AudioBus (pre effect).
| void UAtomSynthComponent::SetLowPassFilterEnabled | ( | bool | InLowPassFilterEnabled | ) |
Sets how much audio the sound should send to the given AudioBus (post effect). Sets whether or not the low pass filter is enabled on the audio component.
|
virtual |
Sets lowpass filter frequency of the audio component.
| void UAtomSynthComponent::SetModulationRouting | ( | const TSet< UAtomModulatorBase * > & | Modulators, |
| const EAtomModulationDestination | Destination, | ||
| const EAtomModulationRouting | RoutingMethod = EAtomModulationRouting::Inherit ) |
Sets the routing for one of the given Synth component's Modulation Destinations.
| Modulators | The set of modulators to apply to the given destination on the component. |
| Destination | The destination to assign the modulators to. |
| RoutingMethod | The routing method to use for the given modulator. |
| void UAtomSynthComponent::SetMultiplePositions | ( | TArray< FTransform > | Positions, |
| EAtomMultiPositionType | MultiPositionType ) |
Sets multiple source attenuation positions if spatialization is enabled.
| void UAtomSynthComponent::SetRackSend | ( | UAtomRackBase * | Rack | ) |
Sets sound send to the given Rack.
| void UAtomSynthComponent::SetSourceBusSendPreEffect | ( | UAtomSoundSourceBus * | SoundSourceBus, |
| float | SourceBusSendLevel ) |
Sets how much audio the sound should send to the given SourceBus (pre effect).
| void UAtomSynthComponent::SetVolumeMultiplier | ( | float | VolumeMultiplier | ) |
Set a new volume multiplier
| void UAtomSynthComponent::Start | ( | ) |
| void UAtomSynthComponent::Stop | ( | ) |
| CRIWARECORE_API UAtomSynthComponent::UPARAM | ( | DisplayName | = "Modulators" | ) | const |
Gets the set of currently active modulators for a given Modulation Destination.
| Destination | The Destination to retrieve the Modulators from. |
|
friend |
| TArray<FAtomSoundToBusSend> UAtomSynthComponent::AtomBusSends |
An array of submix sends. Audio from this sound will send a portion of its audio to these effects.
|
private |
| TSubclassOf<UAtomComponent> UAtomSynthComponent::AtomComponentClass |
The AtomComponent sub-class to use (MultiPositions, Lips...)
| TObjectPtr<UAtomRackWithParentBase> UAtomSynthComponent::AtomRack |
Rack this sound belongs to
| struct FAtomAttenuationSettings UAtomSynthComponent::AttenuationOverrides |
If bOverrideSettings is true, the attenuation properties to use for sounds generated by this component
| TObjectPtr<class UAtomAttenuation> UAtomSynthComponent::AttenuationSettings |
If bOverrideSettings is false, the asset to use to determine attenuation properties for sounds generated by this component
| uint8 UAtomSynthComponent::bAllowSpatialization |
Is this audio component allowed to be spatialized?
| uint8 UAtomSynthComponent::bAlwaysPlay |
Whether to artificially prioritize the component to play
| bool UAtomSynthComponent::bApplyExtensionSettings |
Whether to use the Atom component extension settings if available.
| uint8 UAtomSynthComponent::bAutoDestroy |
Auto destroy this component on completion
| uint32 UAtomSynthComponent::bEnableBaseRack |
If enabled, sound will route to the Master Rack by default or to the Base Rack if defined. If disabled, sound will route ONLY to the Bus Sends
| uint32 UAtomSynthComponent::bEnableBusSends |
Whether or not to enable Bus Sends other than the Base Rack.
| uint32 UAtomSynthComponent::bEnableSourceBusSends |
Whether or not to enable sending this audio's output to buses.
|
private |
| uint8 UAtomSynthComponent::bIsPreviewSound |
Whether or not this synth is playing as a preview sound
|
private |
| uint8 UAtomSynthComponent::bIsUISound |
Whether or not this sound plays when the game is paused in the UI
| uint8 UAtomSynthComponent::bOverrideAttenuation |
Should the Attenuation Settings asset be used (false) or should the properties set directly on the component be used for attenuation properties
| uint8 UAtomSynthComponent::bStopWhenOwnerDestroyed |
Stop sound when owner is destroyed
| TSet<TObjectPtr<UAtomConcurrency> > UAtomSynthComponent::ConcurrencySet |
What sound concurrency to use for sounds generated by this Atom component
| int32 UAtomSynthComponent::EnvelopeFollowerAttackTime |
The attack time in milliseconds for the envelope follower. Delegate callbacks can be registered to get the envelope value of sounds played with this audio component. Only used in audio mixer.
| int32 UAtomSynthComponent::EnvelopeFollowerReleaseTime |
The release time in milliseconds for the envelope follower. Delegate callbacks can be registered to get the envelope value of sounds played with this audio component. Only used in audio mixer.
|
private |
| FAtomSoundModulationRoutingSettings UAtomSynthComponent::ModulationRouting |
|
protected |
| FOnAtomSynthEnvelopeValue UAtomSynthComponent::OnAtomSoundEnvelopeValue |
| FOnAtomSynthEnvelopeValueNative UAtomSynthComponent::OnAtomSoundEnvelopeValueNative |
Shadow delegate for non UObject subscribers
| TArray<FAtomSoundSourceBusSendInfo> UAtomSynthComponent::PreEffectSourceBusSends |
The source effect chain to use for this sound. This sound will send its audio output to this list of buses if there are bus instances playing after source effects are processed. This sound will send its audio output to this list of buses if there are bus instances playing before source effects are processed.
|
protected |
| TObjectPtr<UAtomSoundClass> UAtomSynthComponent::SoundClass |
Sound class this sound belongs to
|
private |
|
private |