ReMAS
1.5
Real-time Musical Accompaniment System
|
File with sound (using ALSA) and auxiliar functions using by ReMAS, both CPU and GPU. More...
Go to the source code of this file.
Functions | |
int | Read_WAVHeader (WAVHeader *, FILE *) |
Read_WAVHeader reads header of a WAVE file, checks its compability and fill Header struct. More... | |
bool | DetectSilence (MyType, MyType *, MyType *) |
DetectSilence checks whether audio (frame) is silence or audio. More... | |
File with sound (using ALSA) and auxiliar functions using by ReMAS, both CPU and GPU.
Definition in file SoundFunctions.h.
bool DetectSilence | ( | MyType | obsprob, |
MyType * | prob_silen, | ||
MyType * | prob_audio | ||
) |
DetectSilence checks whether audio (frame) is silence or audio.
obsprob | (in) vaule obtained doing: v_dxStates[1] - v_dxStates[0] |
prob_silen | (inout) Silence probability |
prob_audio | (inout) Audio probability |
Definition at line 283 of file SoundFunctions.h.
int Read_WAVHeader | ( | WAVHeader * | Header, |
FILE * | fp | ||
) |
Read_WAVHeader reads header of a WAVE file, checks its compability and fill Header struct.
Header | (out) Struct to fill |
fp | (in) file ID with the information |
Definition at line 132 of file SoundFunctions.h.