Méthode | Description | |
---|---|---|
ChangeFsbInternalFilename ( string fsbFilename, string internalFilename ) : void |
Converts all found wav files for the songQbKey passed on contruction to FSB format.
|
|
CombineAudio ( float volume, string dstFilename ) : void | ||
CreatePreview ( int offset, int length, int fade, float volume, bool volumeApplied, string dstFilename ) : void | ||
CreateSilentWav ( int length, string dstFilename ) : void | ||
CreateSilentWav ( int length, string dstFilename, bool stereo, int samplesPerSec ) : void | ||
FilesEqual ( string fileA, string fileB ) : bool |
test 10 1k chunk from random parts of the files
|
|
FixWavHeader ( Stream wavStream ) : |
||
IsWavSilent ( string filename, float tolerence ) : bool |
Test for silent wavs
|
|
Normalize ( string filename, bool halfVolume ) : void | ||
ParseWavSingleChunkHeader ( Stream wavStream ) : |
||
PlayWav ( string wavFilename, SoundFlags soundFlags ) : void | ||
SetLengthSilenceAndVolume ( float silenceInsertLength, float maxLength, float volume, string fileName ) : void |
Adds silence to wav files alter volume
|
|
StopWav ( ) : void | ||
Truncate ( string filename, float lengthMs ) : void | ||
WriteSingleChunkHeader ( |
Méthode | Description | |
---|---|---|
PlaySound ( string pszSound, |
public ChangeFsbInternalFilename ( string fsbFilename, string internalFilename ) : void | ||
fsbFilename | string | |
internalFilename | string | |
Résultat | void |
public static CombineAudio ( float volume, string dstFilename ) : void | ||
volume | float | |
dstFilename | string | |
Résultat | void |
public static CreatePreview ( int offset, int length, int fade, float volume, bool volumeApplied, string dstFilename ) : void | ||
offset | int | |
length | int | |
fade | int | |
volume | float | |
volumeApplied | bool | |
dstFilename | string | |
Résultat | void |
public static CreateSilentWav ( int length, string dstFilename ) : void | ||
length | int | |
dstFilename | string | |
Résultat | void |
public static CreateSilentWav ( int length, string dstFilename, bool stereo, int samplesPerSec ) : void | ||
length | int | |
dstFilename | string | |
stereo | bool | |
samplesPerSec | int | |
Résultat | void |
public static FilesEqual ( string fileA, string fileB ) : bool | ||
fileA | string | |
fileB | string | |
Résultat | bool |
public static FixWavHeader ( Stream wavStream ) : |
||
wavStream | Stream | |
Résultat |
public static IsWavSilent ( string filename, float tolerence ) : bool | ||
filename | string | input raw wav |
tolerence | float | 0=0% to 1=1% |
Résultat | bool |
public static Normalize ( string filename, bool halfVolume ) : void | ||
filename | string | |
halfVolume | bool | |
Résultat | void |
public static ParseWavSingleChunkHeader ( Stream wavStream ) : |
||
wavStream | Stream | |
Résultat |
public static PlayWav ( string wavFilename, SoundFlags soundFlags ) : void | ||
wavFilename | string | |
soundFlags | SoundFlags | |
Résultat | void |
public static SetLengthSilenceAndVolume ( float silenceInsertLength, float maxLength, float volume, string fileName ) : void | ||
silenceInsertLength | float | Milliseconds to insert at start of wav |
maxLength | float | If the wav is longer than this then crop (includes silence), if 0 then don't crop |
volume | float | 0=silent, 1=100% |
fileName | string | |
Résultat | void |
public static Truncate ( string filename, float lengthMs ) : void | ||
filename | string | |
lengthMs | float | |
Résultat | void |
public static WriteSingleChunkHeader ( |
||
header | ||
wavStream | Stream | |
Résultat | void |