When using [b:7moeei13]FSOUND_Stream_SetTime( Stream1, 50 )[/b:7moeei13] I hear a strange noise at the beginning of the song. When I don’t use FSOUND_Stream_SetTime or when I use it as [b:7moeei13]FSOUND_Stream_SetTime( Stream1, 0)[/b:7moeei13] all plays fine without this strange noise. Sounds like a left over buffer which is being played. Same code on different machine doesn’t give me this problem. So far i tried the app on 2 XP and 2 NT2000 machines. Problem seems to occur only on the XP machines.
Already tried to increase the buffer size, but problem persists.
Any help would be appreciated.
- Harold asked 16 years ago
The reason you are “muting” the output is to get rid of the seeking noise while moving the slider. Right now I couldn’t care less about any noise when you move the slider, it’s the “Chirp” at the beginning I’ve got problems with.
The “Chirp” is maybe more like a snapping sound with a very high volume. As if the first few bytes of the decoded data are corrupted.
The length of the “Chirp” is < 1/10th second, so very short but long enough to notice it.
Hmm, the way I do it is whenever I change position (say by moving a slider) before I have it do anything with the Fsound functions I set the volume to 0 and then under the MouseUp event I set the volume back to whatever it was previous. This seems to work fine, I dont get any noises after doing this. If this doesn’t work than maybe you have a different problem than what I had, lol. 😀
I found out that some files have and some files don’t have the “chirp”. I Already tried paranoid android’s idea, but it doesn’t solve the problem. It’s not that I hear the sound while seeking, it’s only there whenever I unpause after a seek to something like 1. If I seek to 0 all is fine.
This is the order I use :
I Could try to cut off a few seconds of a MP3 file that has the problem and mail it to you. Just let me know.
What I found is that if you set the Volume to 0 while you are changing position the strange noise doesnt happen. After you change position you can set the volume back to normal. It is also better than setting the mute on because Mute takes a second to kick in for some reason.
You hear the noise only when you jump to a certain time. After the “strange noise” is played (which is less than a quarter of a second), everything works fine. Since I don’t have this behavior on NT2000 (tried it on two different machines) I think it might be a XP related problem.
Again, when I just play the file without jumping to a position, everything works fine.
Please login first to submit.