Table of Contents

Class AudioHelper

Namespace
DisCatSharp.Experimental
Assembly
DisCatSharp.Experimental.dll

Represents various AudioHelpers.

public static class AudioHelper
Inheritance
AudioHelper
Inherited Members

Methods

ConvertToOggOpusAsync(Stream)

Converts an input stream to Discord's expected voice message format.

GenerateWaveformBytes(Stream, int)

Generates the waveform data.

GetDurationAndWaveformBytes(Stream)

Generates the waveform bytes and calculates the duration in seconds.

GetOpusAudioDurationInSeconds(Stream)

Gets the audio duration in seconds.