Struct AudioUtil.WaveWriteOptions
- Namespace
- SpessaSharp.Utils
- Assembly
- SpessaSharp.dll
This will find the max sample point and set it to 1, and scale others with it. Recommended
public readonly record struct AudioUtil.WaveWriteOptions : IEquatable<AudioUtil.WaveWriteOptions>
- Implements
- Inherited Members
Constructors
WaveWriteOptions(bool, (float Start, float End)?, WaveMetadata?)
This will find the max sample point and set it to 1, and scale others with it. Recommended
public WaveWriteOptions(bool NormalizeAudio, (float Start, float End)? Loop, AudioUtil.WaveMetadata? Metadata)
Parameters
NormalizeAudioboolThe loop start and end points in seconds. Undefined if no loop should be written.
Loop(float Start, float End)?MetadataAudioUtil.WaveMetadata?The metadata to write into the file.
Fields
Default
public static readonly AudioUtil.WaveWriteOptions Default
Field Value
Properties
Loop
public (float Start, float End)? Loop { get; init; }
Property Value
Metadata
The metadata to write into the file.
public AudioUtil.WaveMetadata? Metadata { get; init; }
Property Value
NormalizeAudio
The loop start and end points in seconds. Undefined if no loop should be written.
public bool NormalizeAudio { get; init; }