Switch to DuckDuckGo Search
   December 20, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >

Toggle Join/Part | bottom
[00:00:41] *** ChanServ sets mode: +v neXyon
[00:25:06] *** lritter_ has quit IRC
[02:12:01] *** tristanseifert has joined #openal
[02:12:02] *** ChanServ sets mode: +v tristanseifert
[02:35:57] *** Smirftsch3 has joined #openal
[02:35:57] *** ChanServ sets mode: +v Smirftsch3
[02:36:57] *** Smirftsch has quit IRC
[03:21:01] *** kornerr1 has joined #openal
[03:21:01] *** ChanServ sets mode: +v kornerr1
[03:35:11] *** tristanseifert has quit IRC
[04:16:32] *** tristanseifert has joined #openal
[04:16:32] *** ChanServ sets mode: +v tristanseifert
[06:48:54] *** neXyon has quit IRC
[09:04:19] *** lritter_ has joined #openal
[09:04:19] *** ChanServ sets mode: +v lritter_
[10:22:06] *** tristanseifert has quit IRC
[11:33:49] *** lritter__ has joined #openal
[11:33:50] *** ChanServ sets mode: +v lritter__
[11:34:10] *** lritter_ has quit IRC
[12:06:07] *** tristanseifert has joined #openal
[12:06:07] *** ChanServ sets mode: +v tristanseifert
[12:10:42] *** tristanseifert has quit IRC
[13:54:57] *** tristanseifert has joined #openal
[13:55:13] *** ChanServ sets mode: +v tristanseifert
[14:00:02] *** tristanseifert has quit IRC
[14:39:16] *** Jonas__ has quit IRC
[14:40:40] *** Jonas__ has joined #openal
[14:40:40] *** ChanServ sets mode: +v Jonas__
[15:03:08] *** Maketwo has quit IRC
[15:43:46] *** tristanseifert has joined #openal
[15:43:46] *** ChanServ sets mode: +v tristanseifert
[15:48:34] *** tristanseifert has quit IRC
[16:06:36] *** tristanseifert has joined #openal
[16:06:36] *** ChanServ sets mode: +v tristanseifert
[17:01:58] *** Maketwo has joined #openal
[17:01:58] *** ChanServ sets mode: +v Maketwo
[17:08:35] *** maxfx has joined #openal
[17:08:35] *** ChanServ sets mode: +v maxfx
[17:16:20] *** peterhil` has joined #openal
[17:16:20] *** ChanServ sets mode: +v peterhil`
[17:19:04] *** caedes___ has joined #openal
[17:19:04] *** ChanServ sets mode: +v caedes___
[17:19:47] *** bjz_ has joined #openal
[17:19:48] *** ChanServ sets mode: +v bjz_
[17:25:28] *** tristanseifert has quit IRC
[17:32:20] *** peterhil has quit IRC
[17:32:24] *** bjz has quit IRC
[17:32:35] *** Amadiro has quit IRC
[17:32:43] *** caedes__ has quit IRC
[17:33:11] *** matpow2 has joined #openal
[17:34:57] *** ChanServ sets mode: +v matpow2
[17:35:18] *** ermau has quit IRC
[17:35:37] *** maxfx has quit IRC
[17:35:39] *** Jonas__ has quit IRC
[17:35:58] *** KittyCat has quit IRC
[17:36:11] *** mat^2 has quit IRC
[17:37:20] *** letoram has quit IRC
[17:37:43] *** bjz_ has quit IRC
[17:37:44] *** caedes___ has quit IRC
[17:38:35] *** caedes__ has joined #openal
[17:38:35] *** ChanServ sets mode: +v caedes__
[17:40:29] *** friedrich has joined #openal
[17:40:29] *** ChanServ sets mode: +v friedrich
[17:41:37] *** maxfx has joined #openal
[17:41:38] *** ChanServ sets mode: +v maxfx
[17:42:16] *** Smirftsch3 has quit IRC
[17:42:16] *** freeedrich| has quit IRC
[17:44:29] *** Jonas___ has joined #openal
[17:44:29] *** ChanServ sets mode: +v Jonas___
[17:44:37] *** bjz has joined #openal
[17:44:38] *** ChanServ sets mode: +v bjz
[17:44:43] *** Jonas___ is now known as Jonas__
[17:44:46] *** ermau has joined #openal
[17:44:46] *** ChanServ sets mode: +v ermau
[17:45:56] *** letoram has joined #openal
[17:45:56] *** ChanServ sets mode: +v letoram
[17:46:29] *** KittyCat has joined #openal
[17:46:29] *** KittyCat has joined #openal
[17:46:29] *** ChanServ sets mode: +v KittyCat
[17:47:13] *** Smirftsch1 has joined #openal
[17:47:13] *** ChanServ sets mode: +v Smirftsch1
[17:49:22] *** Amadiro has joined #openal
[17:49:23] *** ChanServ sets mode: +v Amadiro
[17:49:46] *** Amadiro has quit IRC
[17:51:43] *** marynate has joined #openal
[17:51:43] *** ChanServ sets mode: +v marynate
[17:53:54] *** Amadiro has joined #openal
[17:53:54] *** ChanServ sets mode: +v Amadiro
[17:57:50] *** marynate has quit IRC
[18:07:12] *** kornerr1 has quit IRC
[19:37:21] <Smirftsch1> friends I have a recently discovered problem with my OpenAL implementation, it seems that spikes in the music playback cause a overmodulation, I already tried to reduce AL_GAIN and AL_MAX_GAIN without any difference, it got quiter, but still causing this problem. Any ideas are more than welcome
[19:40:06] <KittyCat> what do you mean by "spikes"? like clicking or short bursts of static?
[19:40:12] <Smirftsch1> yap
[19:40:18] <Smirftsch1> exactly
[19:40:54] <Smirftsch1> I am not sure, I think I remember something like that being mentioned in the mailing lists somewhen, but can't find it
[19:41:32] <KittyCat> does it constantly happen, or only when streaming something?
[19:41:57] <Smirftsch1> only sometimes, when the effect is very loud
[19:42:10] <Smirftsch1> no matter if I feed it with a wav or a musicstream
[19:42:41] <Smirftsch1> so I doubt its a buffering issue
[19:43:55] <KittyCat> hmm, what OS, and openal version?
[19:45:17] <Smirftsch1> Win or Lin, doesnt matter, from 1.13.0 to 1.16.0 and creative's version from sdk as well
[19:45:51] <Smirftsch1> could be very well some implementation issue
[19:46:04] <Smirftsch1> but if so, I don't know what
[19:46:05] <Smirftsch1> :)
[19:46:44] <KittyCat> if it happens with openal soft and creative's, it's unlikely to be an implementation issue
[19:46:54] <KittyCat> what are you using to load sounds? libsndfile?
[19:47:01] <Smirftsch1> I meant, on my side
[19:47:29] <Smirftsch1> alut for the wavs (had some trouble with alure) and ogg as well as libxmp for music
[19:47:48] <KittyCat> alut doesn't handle oggs, afaik
[19:48:10] <Smirftsch1> yes, feeding it directly from ogg vorbis, this part is only for music
[19:48:24] <Smirftsch1> alut only for the wav part
[19:49:50] <Smirftsch1> I very much ruled out the "feeding" part, it has to be something in within output
[19:51:49] <KittyCat> hmm, do you have some code you can show?
[19:52:50] <Smirftsch1> i have some crude player I quickly put together, windows only for now, suffering the same problem, can upload it
[19:53:08] <Smirftsch1> my main implementation doesn't work standalone :)
[19:53:16] <Smirftsch1> give me a minute...
[19:57:09] <Smirftsch1> you need to start it with "playeropenal seeker.it"
[19:57:17] <Smirftsch1> the spike happens at about second 13
[19:57:46] <Smirftsch1> or well, it happens everytime this specific sound is played from within the tracker
[19:59:12] <Smirftsch1> its not that obvious, but noticeable
[20:08:48] <KittyCat> I notice a number of places where you do things like: fprintf(stderr, "StartPlayer alBufferData[i] Error: %s\n"),i,alGetString(error)
[20:09:10] <KittyCat> where the extra formatter parameters are outside the function call
[20:15:45] <Smirftsch1> I am not sure what this means tbh, I'm no native speaker, but as said, its only a very rough copy and paste work to verify things standalone
[20:16:26] <Smirftsch1> never intended to make real player out of it :)
[20:17:49] <KittyCat> unfortuantely I'm having trouble running it under wine, so I'm trying to build it with gcc
[20:18:18] <KittyCat> and it happens with ogg files, or just xmp?
[20:25:15] <Smirftsch1> i didn't find a specific ogg file yet in which it is that noticeable
[20:25:23] <Smirftsch1> i could try to convert the .it
[20:25:38] <Smirftsch1> but as said, it does the same with some .wav's in my main project
[20:25:49] <Smirftsch1> also I tried to reduce the volume from xmp
[20:25:53] <Smirftsch1> with no effect as well
[20:42:00] <KittyCat> if it always happens with a specific sample xmp plays, and continues to happen even when you decrease xmp's volume, it suggests to me a decoding error with the sample
[20:42:26] <Smirftsch1> I just converted the .it file into ogg and it doesn't do there as well
[20:42:29] <Smirftsch1> so this makes sense
[20:42:55] <Smirftsch1> although it doesn't explain why it does seem to happen with some wavs as well
[20:43:00] <KittyCat> and I have the feeling the sample is vorbis-encoded, since DUMB doesn't seem to play it
[20:43:21] <KittyCat> (it plays the song, but the offending sample seems to be missing)
[20:43:25] <Smirftsch1> openmpt and vlc are playing it :)
[20:44:46] <Smirftsch1> its confusing
[20:45:09] <Smirftsch1> if I use the player from xmp, it doesnt do these spikes either
[20:45:39] <Smirftsch1> that's why my conclusion so far was that it should be something in OpenAL or in my implementation of it
[20:47:19] <Smirftsch1> i have to admit that I didn't check xmp's source code so far to see if there is some trick of some kind though
[20:47:58] <Smirftsch1> although I doubt it
[20:51:20] <KittyCat> hmm, well there's nothing I can think of with openal that would cause this. particularly with openal soft and creative's drivers both. and your code is simple enough, you're just taking the 16-bit samples from libxmp and giving them straight to openal
[20:51:55] <Smirftsch1> yep, it was important to me to keep it as simple as possible here to have something to verify against
[20:52:01] <Smirftsch1> thank you very much for your time
[20:52:09] <Smirftsch1> it really seems I need more investigation
[20:52:52] <Smirftsch1> the information is to contradicting yet
[20:52:58] <KittyCat> is it possible for some calls to xmp_play_buffer to give you fewer samples than you ask for?
[20:53:35] <Smirftsch1> shouldn't ever happen
[20:53:59] <Smirftsch1> but interesting idea, indeed
[20:58:31] <KittyCat> one thing I do notice is that libxmp's overall volume is much louder than that of DUMB (another module player), which is what makes me think it may be some kind of sample clipping problem
[20:59:17] <KittyCat> but if it still happens even when libxmp's volume is lowered, then I don't know
[20:59:32] <Smirftsch1> I reduced the output volume down to a few % and yes, it still happens :)
[20:59:36] <Smirftsch1> tried that already
[20:59:53] <Smirftsch1> np
[21:00:09] <Smirftsch1> thank you very much, it gave me some things to think about already
[21:01:10] <KittyCat> no problem. I'll probably look into a bit more myself (if for no other reason than to check out libxmp as an alternative to DUMB)
[21:01:52] <Smirftsch1> I am very happy with xmp and its api, also its maintained very actively, which was the biggest reason I switched to it
[22:01:37] *** matpow2 has quit IRC
[22:19:38] *** maxfx has quit IRC
[22:43:56] *** tristanseifert has joined #openal
[22:43:57] *** ChanServ sets mode: +v tristanseifert
[22:57:09] *** tristanseifert has quit IRC
[23:01:34] *** maxfx has joined #openal
[23:01:34] *** ChanServ sets mode: +v maxfx
[23:22:20] *** mat^2 has joined #openal
[23:22:21] *** ChanServ sets mode: +v mat^2
top

   December 20, 2014  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >