C# 클래스 Accord.Audio.Formats.WaveDecoder

Wave audio file decoder.
상속: IAudioDecoder
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

Closes the underlying stream.

Decode ( ) : Signal

Decodes the Wave stream into a Signal object.

Decode ( int frames ) : Signal

Decodes the Wave stream into a Signal object.

Decode ( int index, int frames ) : Signal

Decodes the Wave stream into a Signal object.

Open ( SharpDX.Multimedia.SoundStream stream ) : int

Opens the specified stream.

Open ( Stream stream ) : int

Open specified stream.

Open ( string path ) : int

Open specified stream.

Seek ( int frameIndex ) : void

Navigates to a position in this Wave stream.

WaveDecoder ( ) : System

Constructs a new Wave decoder.

WaveDecoder ( Stream stream ) : System

Constructs a new Wave decoder.

WaveDecoder ( string path ) : System

Constructs a new Wave decoder.

비공개 메소드들

메소드 설명
read ( byte buffer, int count ) : int

Reads a maximum of count frames from the current stream, and writes the data to buffer, beginning at index.

read ( float buffer, int count ) : int

Reads a maximum of count samples from the current stream, and writes the data to buffer, beginning at index.

read ( int buffer, int count ) : int

Reads a maximum of count frames from the current stream, and writes the data to buffer, beginning at index.

read ( short buffer, int count ) : int

Reads a maximum of count frames from the current stream, and writes the data to buffer, beginning at index.

readAsFloat ( float buffer, int count ) : int

메소드 상세

Close() 공개 메소드

Closes the underlying stream.
public Close ( ) : void
리턴 void

Decode() 공개 메소드

Decodes the Wave stream into a Signal object.
public Decode ( ) : Signal
리턴 Accord.Audio.Signal

Decode() 공개 메소드

Decodes the Wave stream into a Signal object.
public Decode ( int frames ) : Signal
frames int The number of frames to decode.
리턴 Accord.Audio.Signal

Decode() 공개 메소드

Decodes the Wave stream into a Signal object.
public Decode ( int index, int frames ) : Signal
index int Audio frame index to start decoding.
frames int The number of frames to decode.
리턴 Accord.Audio.Signal

Open() 공개 메소드

Opens the specified stream.
public Open ( SharpDX.Multimedia.SoundStream stream ) : int
stream SharpDX.Multimedia.SoundStream Stream to open.
리턴 int

Open() 공개 메소드

Open specified stream.
public Open ( Stream stream ) : int
stream Stream Stream to open.
리턴 int

Open() 공개 메소드

Open specified stream.
public Open ( string path ) : int
path string Path of file to open as stream.
리턴 int

Seek() 공개 메소드

Navigates to a position in this Wave stream.
public Seek ( int frameIndex ) : void
frameIndex int The index of the sample to navigate to.
리턴 void

WaveDecoder() 공개 메소드

Constructs a new Wave decoder.
public WaveDecoder ( ) : System
리턴 System

WaveDecoder() 공개 메소드

Constructs a new Wave decoder.
public WaveDecoder ( Stream stream ) : System
stream Stream
리턴 System

WaveDecoder() 공개 메소드

Constructs a new Wave decoder.
public WaveDecoder ( string path ) : System
path string
리턴 System