Ambiera ForumDiscussions, Help and Support. |
|
[ 1 2 ] Page 1 of 2 |
|
|||||
|
I'm probably missing something obvious here but certain sounds appear to have a nasty static crunch at the end of them. I've checked using audacity and the crunch doesnt exist in the sound file so I believe I've failed at implementing irrKlang correctly. One of the sounds in question; https://www.dropbox.com/s/ykbvt7... and the code I am using to start the playback on a selected sound;
Playing the track is fine but it ends with a rather nasty noise. Any ideas how to fix it? Thanks for reading. Edit: Further playing around has found its only the 64bit version that has this issue. 32 bit is clear. Tried it with the C musicplayer example you gave and the problem is there as well. However I cannot distinguish how this track differs from any others(there are others that do it too apparantly). Edit2: I have found by opening and exporting the file in question with Audacity the problem no longer exists. However despite trying multiple settings I cannot work out why one file does and the other doesn't work in the 64bit engine. |
||||
|
Thanks for reporting, sounds like a bug. You can likely work around this by adding some silence to the end of that file. But I'll see if/how this can be fixed for the next irrklang update. |
||||
|
Hey. Sorry to be the bearer of bad news. I've done my absolute best but I don't know enough about MP3 files to find any differences between the pre and post audacity version. I set audacity up to export at the same standards as the pre file and it still fixes it despite being as far as I can tell identical. Not sure if there is different encoding engines for the MP3 format :/. Do you want me to post the post audacity file as well? Sorry to ask but how often is irrklang updated? Would the pro version be any different? Kind regards and sorry again. |
||||
|
I've been experiencing some crunching/ crackles and static noise in my project too but so far I couldn't really tell when or with which sound in particular this is happening - assuming it's related to a specific file at all. I'm going to update this with hopefully new findings. |
||||
|
No, pro version would be the same. You could send me a file causing this, and I'll have a closer look. |
||||
|
I got a crunch at the end of every playing looped file. It doesn't seem to have to do anything with the file-format (wav, ogg, mp3). When playing the file looped in audacity the crackle does not exist. I use irrKlang-64bit-1.5.0 sound library version 1.5.0 Using ALSA driver. The application is running under Linux 3.13.0-77-generic 121-Ubuntu SMP. x86_64 Compiling with gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.1) |
||||
|
Hello, One of the files in question is linked in the OP. I can't seem to find the cause of it. Loading the file in WMP, Audacity, VLC doesn't appear to give the same noise at the end. Exporting the same track from Audacity keeping settings appears to fix the issue for irrKlang. I cannot find a link between the files that have the issue all have different bitrates and item types. I only experience the issue with the 64bit DLL. If you'd like I can upload more instances of files that cause issue. It's weird as IrrKlang is fine for 99/100 files. Thank you for looking into it and sorry for the late reply. |
||||
|
confirm i have this too. it seems to be fairly random and happens after many sounds have played, rather than being an isolated thing with particular sounds. i had a very similar problem with openAL with small repeated sounds (like footsteps) overflowing some internal buffers. i'm building a game on OS X (64-bit), linux (64-bit and 32-bit), windows (32-bit). i do not have the problem at all on windows or 64-bit linux. it's very noticeably bad on OS X. i also get the problem on a 32-bit linux machine but i don't really care about that. i'm not 100% sure it's irrklang causing this - it could very well be the coreaudio system not coping with lots of sounds being thrown at it - i don't have a comparison library to test against. |
||||
|
Sounds like yours may be a different issue then(although related). The one I'm facing is consistent regardless of number of sounds prior. |
||||
|
When I use the sad_trombone.mp3 audio file in this thread and loop it in my application I get a very loud crunch every time the file loops. My code looks like this:
|
||||
|
Hello, Have you had any luck recreating the problem? |
||||
|
I am not sure if this helps -- sometime ago I had what seems to be a similar problem. I my case I was able to fix the symptom that I had by making the sound file I was looping into a mono sound file (whereas it had previously been stereo). I am not sure why this works, or why there should have been a nasty sound at the repeat point. But for what I was doing, making the file mono was fine. |
||||
|
Ill give this a try thanks for letting me know :). |
||||
|
I really take issue with others who complain about me chewing too loudly despite the fact that I try to keep it under control; this is why I prefer to either eat alone or in environments with at least a small amount of background noise... Thanks , :) www.3d-architectural-rendering.com/3D-Floor-Plan.html |
||||
|
maybe you can cut the sound a bit? there are many tools online where you can cut your mp3 within seconds:) |
[ 1 2 ] Page 1 of 2 |
|