C# Class Wave.WaveWriter

RIFF Wave 形式のファイルに音声データを書き込む。
Inheritance: IDisposable
Afficher le fichier Open project: ufcpp/UfcppSample Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void

Wave ファイルを閉じる。

Dispose ( ) : void
Open ( BinaryWriter writer, FormatHeader header ) : void

Wave ファイルを開く。

Open ( string filename, FormatHeader header ) : void

Wave ファイルを開く。

WaveWriter ( ) : System
WaveWriter ( BinaryWriter writer, FormatHeader header ) : System
WaveWriter ( string filename, FormatHeader header ) : System
Write ( double l, double r ) : int

データの書き込み。

Write ( float l, float r ) : int

データの書き込み。

Private Methods

Méthode Description
DoubleToByte ( double x ) : byte

double → byte の変換。

DoubleToShort ( double x ) : short

double → short の変換。

Method Details

Close() public méthode

Wave ファイルを閉じる。
public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Open() public méthode

Wave ファイルを開く。
public Open ( BinaryWriter writer, FormatHeader header ) : void
writer System.IO.BinaryWriter
header FormatHeader
Résultat void

Open() public méthode

Wave ファイルを開く。
public Open ( string filename, FormatHeader header ) : void
filename string Wave ファイル名
header FormatHeader
Résultat void

WaveWriter() public méthode

public WaveWriter ( ) : System
Résultat System

WaveWriter() public méthode

public WaveWriter ( BinaryWriter writer, FormatHeader header ) : System
writer System.IO.BinaryWriter
header FormatHeader
Résultat System

WaveWriter() public méthode

public WaveWriter ( string filename, FormatHeader header ) : System
filename string
header FormatHeader
Résultat System

Write() public méthode

データの書き込み。
public Write ( double l, double r ) : int
l double 左チャネルのデータ。
r double 右チャネルのデータ。
Résultat int

Write() public méthode

データの書き込み。
public Write ( float l, float r ) : int
l float 左チャネルのデータ。
r float 右チャネルのデータ。
Résultat int