You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Add ability to track all internal data references to a core graph - Add AnalyzerRegistry & first pass at value/envelope analyzers - Add support for enabling analyzing from MetaSound Generator - Add ability for tracking colorized bounds for edges as literal-color array #rb phil.popp #jira UE-147027 #jira UE-147028 #jira UE-147026 #preflight 627acbae10766ef8c112264c [CL 20129340 by Rob Gay in ue5-main branch]
50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "Analysis/MetasoundFrontendAnalyzerFactory.h"
|
|
#include "Analysis/MetasoundFrontendVertexAnalyzer.h"
|
|
#include "Containers/Array.h"
|
|
#include "DSP/EnvelopeFollower.h"
|
|
#include "MetasoundDataReferenceCollection.h"
|
|
#include "MetasoundRouter.h"
|
|
|
|
|
|
namespace Metasound
|
|
{
|
|
namespace Frontend
|
|
{
|
|
class METASOUNDFRONTEND_API FVertexAnalyzerEnvelopeFollower : public TVertexAnalyzer<FVertexAnalyzerEnvelopeFollower, FAudioBuffer>
|
|
{
|
|
TUniquePtr<ISender> Sender;
|
|
Audio::FEnvelopeFollower EnvelopeFollower;
|
|
|
|
public:
|
|
static const FName& GetAnalyzerName()
|
|
{
|
|
static const FName AnalyzerName = "UE.Audio.EnvelopeFollower";
|
|
return AnalyzerName;
|
|
}
|
|
|
|
struct METASOUNDFRONTEND_API FOutputs
|
|
{
|
|
static const FAnalyzerOutput Value;
|
|
};
|
|
|
|
class METASOUNDFRONTEND_API FFactory : public TVertexAnalyzerFactory<FVertexAnalyzerEnvelopeFollower>
|
|
{
|
|
public:
|
|
virtual const TArray<FAnalyzerOutput>& GetAnalyzerOutputs() const override
|
|
{
|
|
static const TArray<FAnalyzerOutput> Outputs { FOutputs::Value };
|
|
return Outputs;
|
|
}
|
|
};
|
|
|
|
FVertexAnalyzerEnvelopeFollower(const FCreateAnalyzerParams& InParams);
|
|
virtual ~FVertexAnalyzerEnvelopeFollower() = default;
|
|
|
|
virtual void Execute() override;
|
|
};
|
|
} // namespace Frontend
|
|
} // namespace Metasound
|