FSimpleDecoderWrapper::SetWave

Set the wave for decoding.

Choose your operating system:

Windows

macOS

Linux

References

Module

MetasoundEngine

Header

/Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundWave.h

Include

#include "MetasoundWave.h"

Source

/Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Private/MetasoundWave.cpp

Syntax

bool SetWave
(
    const FSoundWaveProxyPtr & InWave,
    float InStartTimeSeconds,
    float InInitialPitchShiftSemitones
)

Remarks

Set the wave for decoding.

Returns

True on success, false on failure.

Parameters

Parameter

Description

InWave

The wave proxy to decode.

InStartTimeSeconds

Number of seconds into the wave to start decoding.

InInitialPitchShiftSemitones

Initial pitch shift of wave.