CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
UAtomSynthComponent クラス

#include <AtomSynthComponent.h>

UAtomSynthComponent の継承関係図

公開メンバ関数

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 UAtomComponentGetAtomComponent ()
TScriptInterface< IAtomComponentExtensionGetAtomComponentExtension () const
virtual CRIWARECORE_API UAtomSoundClassGetSoundClass ()
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< FAtomSoundToBusSendAtomBusSends
TSubclassOf< UAtomComponentAtomComponentClass
TObjectPtr< UAtomRackWithParentBaseAtomRack
struct FAtomAttenuationSettings AttenuationOverrides
TObjectPtr< class UAtomAttenuationAttenuationSettings
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< FAtomSoundSourceBusSendInfoPreEffectSourceBusSends
TObjectPtr< UAtomSoundClassSoundClass

限定公開メンバ関数

virtual IAtomSoundGeneratorPtr CreateSoundGenerator (const FAtomSoundGeneratorInitParams &InParams)
CRIWARECORE_API FAtomRuntimeGetAtomRuntime () const
virtual bool Init (int32 &SampleRate)
virtual void OnEndGenerate (IAtomSoundGeneratorPtr Generator)

限定公開変数類

int32 NumChannels
int32 PreferredBufferLength

非公開メンバ関数

CRIWARECORE_API IAtomSoundGeneratorPtr CreateSoundGeneratorInternal (const FAtomSoundGeneratorInitParams &InParams)

非公開変数類

TObjectPtr< UAtomComponentAtomComponent
bool bIsInitialized
bool bIsSynthPlaying
TObjectPtr< UAtomComponentExtensionSettingsExtensionSettings
IAtomSoundGeneratorPtr SoundGenerator
TObjectPtr< UAtomSynthSoundSynthSound

フレンド

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::UAtomSynthComponent ( const FObjectInitializer & ObjectInitializer)

関数詳解

◆ Activate()

void UAtomSynthComponent::Activate ( bool bReset = false)
overridevirtual

◆ AdjustVolume()

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.

引数
AdjustVolumeDurationThe length of time in which to interpolate between the initial volume and the new volume.
AdjustVolumeLevelThe new volume to set the Audio Component to.
FadeCurveThe curve used when interpolating between the old and new volume.

◆ BeginDestroy()

void UAtomSynthComponent::BeginDestroy ( )
overridevirtual

◆ CreateAtomComponent()

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().

◆ CreateSoundGenerator()

virtual IAtomSoundGeneratorPtr UAtomSynthComponent::CreateSoundGenerator ( const FAtomSoundGeneratorInitParams & InParams)
inlineprotectedvirtual

UAtomAudioLinkComponentで再実装されています。

◆ CreateSoundGeneratorInternal()

IAtomSoundGeneratorPtr UAtomSynthComponent::CreateSoundGeneratorInternal ( const FAtomSoundGeneratorInitParams & InParams)
private

◆ Deactivate()

void UAtomSynthComponent::Deactivate ( )
overridevirtual

◆ EndPlay()

void UAtomSynthComponent::EndPlay ( const EEndPlayReason::Type Reason)
overridevirtual

◆ FadeIn()

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.

引数
FadeInDurationHow long it should take to reach the FadeVolumeLevel
FadeVolumeLevelThe percentage of the AudioComponents's calculated volume to fade to
FadeCurveThe curve to use when interpolating between the old and new volume

◆ FadeOut()

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.

引数
FadeOutDurationhow long it should take to reach the FadeVolumeLevel
FadeVolumeLevelthe percentage of the AudioComponents's calculated volume in which to fade to
FadeCurveThe curve to use when interpolating between the old and new volume

◆ GetAtomComponent()

UAtomComponent * UAtomSynthComponent::GetAtomComponent ( )

Retrieves this synth component's Atom component.

◆ GetAtomComponentExtension()

TScriptInterface< IAtomComponentExtension > UAtomSynthComponent::GetAtomComponentExtension ( ) const
inline

Gets an interface that exposes extended functionnalities of the owned AtomComponent.

◆ GetAtomRuntime()

FAtomRuntime * UAtomSynthComponent::GetAtomRuntime ( ) const
protected

◆ GetSoundClass()

UAtomSoundClass * UAtomSynthComponent::GetSoundClass ( )
virtual

◆ Init()

virtual bool UAtomSynthComponent::Init ( int32 & SampleRate)
inlineprotectedvirtual

◆ Initialize()

void UAtomSynthComponent::Initialize ( int32 SampleRateOverride = -1)

Call for creating this external component from code or some other location.

◆ IsPlaying()

bool UAtomSynthComponent::IsPlaying ( ) const

Returns true if this component is currently playing.

◆ IsReadyForOwnerToAutoDestroy()

bool UAtomSynthComponent::IsReadyForOwnerToAutoDestroy ( ) const
overridevirtual

◆ OnAtomComponentEnvelopeValue()

void UAtomSynthComponent::OnAtomComponentEnvelopeValue ( const UAtomComponent * AtomComponent,
const UAtomSoundBase * Sound,
const float EnvelopeValue )

◆ OnEndGenerate()

virtual void UAtomSynthComponent::OnEndGenerate ( IAtomSoundGeneratorPtr Generator)
inlineprotectedvirtual

UAtomAudioLinkComponentで再実装されています。

◆ OnRegister()

void UAtomSynthComponent::OnRegister ( )
overridevirtual

UAtomAudioLinkComponentで再実装されています。

◆ OnUnregister()

void UAtomSynthComponent::OnUnregister ( )
overridevirtual

UAtomAudioLinkComponentで再実装されています。

◆ Serialize()

void UAtomSynthComponent::Serialize ( FArchive & Ar)
overridevirtual

◆ SetAisacControlValue()

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.

引数
AisacControlThe AISAC control to modulate.
ValueThe value used to modulate the base value.

◆ SetAtomBusSend()

void UAtomSynthComponent::SetAtomBusSend ( UAtomBus * Bus,
float SendLevel )

Sets how much audio the sound should send to the given AudioBus (pre effect).

◆ SetAtomBusSendPreEffect()

CRIWARECORE_API void UAtomSynthComponent::SetAtomBusSendPreEffect ( UAtomBus * AtomBus,
float AtomBusSendLevel )
inline

◆ SetAudioBusSendPreEffect()

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).

◆ SetLowPassFilterEnabled()

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.

◆ SetLowPassFilterFrequency()

void UAtomSynthComponent::SetLowPassFilterFrequency ( float InLowPassFilterFrequency)
virtual

Sets lowpass filter frequency of the audio component.

◆ SetModulationRouting()

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.

引数
ModulatorsThe set of modulators to apply to the given destination on the component.
DestinationThe destination to assign the modulators to.
RoutingMethodThe routing method to use for the given modulator.

◆ SetMultiplePositions()

void UAtomSynthComponent::SetMultiplePositions ( TArray< FTransform > Positions,
EAtomMultiPositionType MultiPositionType )

Sets multiple source attenuation positions if spatialization is enabled.

◆ SetRackSend()

void UAtomSynthComponent::SetRackSend ( UAtomRackBase * Rack)

Sets sound send to the given Rack.

◆ SetSourceBusSendPreEffect()

void UAtomSynthComponent::SetSourceBusSendPreEffect ( UAtomSoundSourceBus * SoundSourceBus,
float SourceBusSendLevel )

Sets how much audio the sound should send to the given SourceBus (pre effect).

◆ SetVolumeMultiplier()

void UAtomSynthComponent::SetVolumeMultiplier ( float VolumeMultiplier)

Set a new volume multiplier

◆ Start()

void UAtomSynthComponent::Start ( )

◆ Stop()

void UAtomSynthComponent::Stop ( )

◆ UPARAM()

CRIWARECORE_API UAtomSynthComponent::UPARAM ( DisplayName = "Modulators") const

Gets the set of currently active modulators for a given Modulation Destination.

引数
DestinationThe Destination to retrieve the Modulators from.
戻り値
The set of of Modulators applied to this component for the given Destination.

◆ UAtomSynthSound

friend class UAtomSynthSound
friend

メンバ詳解

◆ AtomBusSends

TArray<FAtomSoundToBusSend> UAtomSynthComponent::AtomBusSends

An array of submix sends. Audio from this sound will send a portion of its audio to these effects.

◆ AtomComponent

TObjectPtr<UAtomComponent> UAtomSynthComponent::AtomComponent
private

◆ AtomComponentClass

TSubclassOf<UAtomComponent> UAtomSynthComponent::AtomComponentClass

The AtomComponent sub-class to use (MultiPositions, Lips...)

◆ AtomRack

TObjectPtr<UAtomRackWithParentBase> UAtomSynthComponent::AtomRack

Rack this sound belongs to

◆ AttenuationOverrides

struct FAtomAttenuationSettings UAtomSynthComponent::AttenuationOverrides

If bOverrideSettings is true, the attenuation properties to use for sounds generated by this component

◆ AttenuationSettings

TObjectPtr<class UAtomAttenuation> UAtomSynthComponent::AttenuationSettings

If bOverrideSettings is false, the asset to use to determine attenuation properties for sounds generated by this component

◆ bAllowSpatialization

uint8 UAtomSynthComponent::bAllowSpatialization

Is this audio component allowed to be spatialized?

◆ bAlwaysPlay

uint8 UAtomSynthComponent::bAlwaysPlay

Whether to artificially prioritize the component to play

◆ bApplyExtensionSettings

bool UAtomSynthComponent::bApplyExtensionSettings

Whether to use the Atom component extension settings if available.

◆ bAutoDestroy

uint8 UAtomSynthComponent::bAutoDestroy

Auto destroy this component on completion

◆ bEnableBaseRack

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

◆ bEnableBusSends

uint32 UAtomSynthComponent::bEnableBusSends

Whether or not to enable Bus Sends other than the Base Rack.

◆ bEnableSourceBusSends

uint32 UAtomSynthComponent::bEnableSourceBusSends

Whether or not to enable sending this audio's output to buses.

◆ bIsInitialized

bool UAtomSynthComponent::bIsInitialized
private

◆ bIsPreviewSound

uint8 UAtomSynthComponent::bIsPreviewSound

Whether or not this synth is playing as a preview sound

◆ bIsSynthPlaying

bool UAtomSynthComponent::bIsSynthPlaying
private

◆ bIsUISound

uint8 UAtomSynthComponent::bIsUISound

Whether or not this sound plays when the game is paused in the UI

◆ bOverrideAttenuation

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

◆ bStopWhenOwnerDestroyed

uint8 UAtomSynthComponent::bStopWhenOwnerDestroyed

Stop sound when owner is destroyed

◆ ConcurrencySet

TSet<TObjectPtr<UAtomConcurrency> > UAtomSynthComponent::ConcurrencySet

What sound concurrency to use for sounds generated by this Atom component

◆ EnvelopeFollowerAttackTime

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.

◆ EnvelopeFollowerReleaseTime

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.

◆ ExtensionSettings

TObjectPtr<UAtomComponentExtensionSettings> UAtomSynthComponent::ExtensionSettings
private

◆ ModulationRouting

FAtomSoundModulationRoutingSettings UAtomSynthComponent::ModulationRouting

◆ NumChannels

int32 UAtomSynthComponent::NumChannels
protected

◆ OnAtomSoundEnvelopeValue

FOnAtomSynthEnvelopeValue UAtomSynthComponent::OnAtomSoundEnvelopeValue

◆ OnAtomSoundEnvelopeValueNative

FOnAtomSynthEnvelopeValueNative UAtomSynthComponent::OnAtomSoundEnvelopeValueNative

Shadow delegate for non UObject subscribers

◆ PreEffectSourceBusSends

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.

◆ PreferredBufferLength

int32 UAtomSynthComponent::PreferredBufferLength
protected

◆ SoundClass

TObjectPtr<UAtomSoundClass> UAtomSynthComponent::SoundClass

Sound class this sound belongs to

◆ SoundGenerator

IAtomSoundGeneratorPtr UAtomSynthComponent::SoundGenerator
private

◆ SynthSound

TObjectPtr<UAtomSynthSound> UAtomSynthComponent::SynthSound
private

このクラス詳解は次のファイルから抽出されました:
  • C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Public/Atom/Components/AtomSynthComponent.h
  • C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Private/Atom/Components/AtomSynthComponent.cpp