메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
PlaySound ( string pszSound, |
public ChangeFsbInternalFilename ( string fsbFilename, string internalFilename ) : void | ||
fsbFilename | string | |
internalFilename | string | |
리턴 | void |
public static CombineAudio ( float volume, string dstFilename ) : void | ||
volume | float | |
dstFilename | string | |
리턴 | 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 | |
리턴 | void |
public static CreateSilentWav ( int length, string dstFilename ) : void | ||
length | int | |
dstFilename | string | |
리턴 | void |
public static CreateSilentWav ( int length, string dstFilename, bool stereo, int samplesPerSec ) : void | ||
length | int | |
dstFilename | string | |
stereo | bool | |
samplesPerSec | int | |
리턴 | void |
public static FilesEqual ( string fileA, string fileB ) : bool | ||
fileA | string | |
fileB | string | |
리턴 | bool |
public static FixWavHeader ( Stream wavStream ) : |
||
wavStream | Stream | |
리턴 |
public static IsWavSilent ( string filename, float tolerence ) : bool | ||
filename | string | input raw wav |
tolerence | float | 0=0% to 1=1% |
리턴 | bool |
public static Normalize ( string filename, bool halfVolume ) : void | ||
filename | string | |
halfVolume | bool | |
리턴 | void |
public static ParseWavSingleChunkHeader ( Stream wavStream ) : |
||
wavStream | Stream | |
리턴 |
public static PlayWav ( string wavFilename, SoundFlags soundFlags ) : void | ||
wavFilename | string | |
soundFlags | SoundFlags | |
리턴 | 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 | |
리턴 | void |
public static Truncate ( string filename, float lengthMs ) : void | ||
filename | string | |
lengthMs | float | |
리턴 | void |
public static WriteSingleChunkHeader ( |
||
header | ||
wavStream | Stream | |
리턴 | void |