Any1 could tell me what I need in this piece of code in order to not listning distorsion?
[code:1h8v6rjw] sample = FSOUND_Sample_Alloc(0, 11025, FSOUND_LOOP_NORMAL, 44100, 50, 127, 1)
If FSOUND_Record_SetDriver(-1) = False Then MsgBox "Error SetDriver"
If FSOUND_Record_StartSample(sample, True) = False Then MsgBox "Error StartSample"
b28_Wait (1) ‘Sleep 1 second
channel = FSOUND_PlaySound(FSOUND_FREE, sample)[/code:1h8v6rjw]
This code dont give me any error and msgboxs, but when I run it, it plays an horrible not understanding voice (mine voice I think) with some fly noise arround my voice, 😮 hehehe,
“b28_Wait (1)” is instead of Sleep 1000, I use it bcause Sleep gives me an error when i run it.
And… I know, I reproduce the voice 0.25 seconds later than I speak and the volume is 50/255.
If any1 could help me, do so plz… 😥 Im doing a Voice Over IP project (open source) that I need to deliver in december (hight school project). THX! 😀
- Anonymous asked 13 years ago
- You must login to post comments