|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <AtomAnalyzer.h>
公開型 | |
| typedef int32 | FResultId |
| typedef TSharedPtr< Atom::IAnalyzerResult, ESPMode::ThreadSafe > | FResultSharedPtr |
公開メンバ関数 | |
| virtual CRIWARECORE_API void | BeginDestroy () override |
| virtual void | BroadcastResults () |
| virtual CRIWARECORE_API TSharedPtr< Atom::IAnalyzerControls > | GetAnalyzerControls () const |
| virtual CRIWARECORE_API TUniquePtr< Atom::IAnalyzerSettings > | GetSettings (const int32 InSampleRate, const int32 InNumChannels) const |
| CRIWARECORE_API void | StartAnalyzing (const FAtomRuntimeId InAtomRuntimeID, UAtomAudioBus *AudioBusToAnalyze) |
| CRIWARECORE_API void | StartAnalyzing (const UObject *WorldContextObject, UAtomAudioBus *AudioBusToAnalyze) |
| CRIWARECORE_API void | StopAnalyzing (const UObject *WorldContextObject=nullptr) |
公開変数類 | |
| TObjectPtr< UAtomAudioBus > | AudioBus |
限定公開メンバ関数 | |
| virtual CRIWARECORE_API FName | GetAnalyzerFactoryName () const |
| template<class ResultType> | |
| TUniquePtr< ResultType > | GetResults () |
限定公開変数類 | |
| int32 | NumFramesPerBufferToAnalyze = 1024 |
非公開メンバ関数 | |
| CRIWARECORE_API bool | DoAnalysis () |
| CRIWARECORE_API UAtomAnalyzerSettings * | GetSettingsFromProperty (FProperty *Property) |
| CRIWARECORE_API bool | IsReadyForAnalysis () const |
非公開変数類 | |
| TArray< float > | AnalysisBuffer |
| TSharedPtr< FAsyncTask< FAtomAnalyzeTask > > | AnalysisTask |
| TSharedPtr< Atom::IAnalyzerControls > | AnalyzerControls |
| TUniquePtr< Atom::FAnalyzerFacade > | AnalyzerFacade |
| Atom::IAnalyzerFactory * | AnalyzerFactory = nullptr |
| TObjectPtr< UAtomAnalyzerSubsystem > | AtomAnalyzerSubsystem |
| int32 | AtomRuntimeSampleRate = 0 |
| int32 | NumBusChannels = 0 |
| Audio::FPatchOutputStrongPtr | PatchOutputStrongPtr |
| TUniquePtr< Atom::IAnalyzerResult > | ResultsInternal |
フレンド | |
| class | UAtomAnalyzerSubsystem |
UAtomAnalyzer performs analysis on an audio bus using specific settings and exposes the results via blueprints.
Subclasses of UAtomAnalyzer must implement GetAnalyzerFactoryName() to associate the UAtomAnalyzer asset with an IAudioAnalyzerFactory implementation.
To support blueprint access, subclasses can implement UFUNCTIONs to expose the data returned by GetResult().
| typedef int32 UAtomAnalyzer::FResultId |
ID to keep track of results. Useful for tracking most recent result when performing asynchronous processing.
| typedef TSharedPtr<Atom::IAnalyzerResult, ESPMode::ThreadSafe> UAtomAnalyzer::FResultSharedPtr |
Thread safe shared point to result object.
|
overridevirtual |
|
inlinevirtual |
Function to broadcast results.
|
private |
Does the actual analysis and casts the results to the derived classes type. Returns true if there results to broadcast.
|
virtual |
Implementations can override this method to create controls objects specific for their analyzer.
|
protectedvirtual |
|
inlineprotected |
|
virtual |
Implementations can override this method to create settings objects specific for their analyzer.
|
private |
|
private |
Returns if this audio analyzer has enough audio queued up and is ready for analysis.
| void UAtomAnalyzer::StartAnalyzing | ( | const FAtomRuntimeId | InAtomRuntimeID, |
| UAtomAudioBus * | AudioBusToAnalyze ) |
Starts analyzing using the given world.
| void UAtomAnalyzer::StartAnalyzing | ( | const UObject * | WorldContextObject, |
| UAtomAudioBus * | AudioBusToAnalyze ) |
Starts analyzing audio from the given audio bus. Optionally override the Atom audio bus desired to analyze.
| void UAtomAnalyzer::StopAnalyzing | ( | const UObject * | WorldContextObject = nullptr | ) |
Stops analyzing audio.
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| TObjectPtr<UAtomAudioBus> UAtomAnalyzer::AudioBus |
The UAtomAudioBus which is analyzed in real-time.
|
private |
|
protected |
How many frames of audio to wait before analyzing the audio.
|
private |
|
private |