July 19, 2008  
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

[00:37:57] *** jvalenzu has joined #openal
[00:37:57] *** ChanServ sets mode: +v jvalenzu
[01:43:16] * KittyCat makes an app that can stream ffmpeg-compatible files through openal (vorbis, flac, mp3, aac, wma, flv..)
[01:43:39] <KittyCat> might be difficult to make the source code into a "tutorial" though..
[01:44:16] <KittyCat> the source is excessively commented, at least..
[01:57:04] *** jvalenzu has quit IRC
[02:14:48] *** barra_ has quit IRC
[02:15:58] *** wild13 has joined #openal
[02:15:58] *** ChanServ sets mode: +v wild13
[02:51:44] *** wild13 has quit IRC
[03:40:46] *** jvalenzu has joined #openal
[03:40:46] *** ChanServ sets mode: +v jvalenzu
[04:22:27] *** kb1ooo has joined #openal
[04:22:27] *** ChanServ sets mode: +v kb1ooo
[04:37:04] *** Pepperoni has joined #openal
[04:37:04] *** ChanServ sets mode: +v Pepperoni
[04:41:43] <Pepperoni> can openal do txt-to-speech? i'm need to get a female voice say what I want
[04:41:50] * Pepperoni pathetic i know
[04:43:04] <KittyCat> no it can't. but it should be able to take the output of text-to-speech apis without an issue
[04:43:34] <Pepperoni> ah, can you recommend any of these api's?
[04:43:57] <KittyCat> depends on the OS
[04:44:13] <KittyCat> on Windows, I believe there's some Win32 APIs for it. I don't know the details, though
[04:44:47] <Pepperoni> linux here
[04:44:56] <Pepperoni> k, i'll just have a looksy around then, thnx
[04:45:59] <KittyCat> under Linux there's Festival
[04:46:23] <KittyCat> but I don't know how that works, either
[04:59:58] *** kb1ooo has quit IRC
[05:26:17] *** jvalenzu has quit IRC
[05:59:13] *** wild13 has joined #openal
[05:59:13] *** ChanServ sets mode: +v wild13
[07:19:11] *** makr has joined #OpenAL
[07:19:11] *** ChanServ sets mode: +v makr
[07:28:07] *** juanmabc has quit IRC
[07:29:38] <makr> What is a good resource to learn about good practices for audio streaming?  Creative's OpenAL guide? Just the reference docs?  Any websites?
[07:30:16] *** wild13 has quit IRC
[07:32:53] *** wild13 has joined #openal
[07:32:53] *** ChanServ sets mode: +v wild13
[07:45:13] *** Proteus_ has quit IRC
[07:45:39] *** Proteus_ has joined #openal
[07:45:40] *** ChanServ sets mode: +v Proteus_
[08:26:14] * KittyCat is away: sleep
[09:39:51] *** Walt_ has quit IRC
[09:40:07] *** Walt_ has joined #openal
[09:40:07] *** irc.freenode.net sets mode: +v Walt_
[09:44:13] *** barra_away has joined #openal
[09:44:13] *** ChanServ sets mode: +v barra_away
[09:54:42] *** barra_away is now known as barra_
[10:00:58] *** wild13_ has joined #openal
[10:00:58] *** ChanServ sets mode: +v wild13_
[10:17:38] *** KittyCat has quit IRC
[10:18:13] *** KittyCat has joined #openal
[10:18:13] *** ChanServ sets mode: +v KittyCat
[10:18:18] *** wild13 has quit IRC
[10:22:15] *** wild13_ has quit IRC
[10:29:11] *** makr has quit IRC
[11:18:41] *** Proteus_ has quit IRC
[12:22:50] *** Proteus has joined #openal
[12:22:51] *** ChanServ sets mode: +v Proteus
[12:36:02] *** Rain|code has left #openal
[12:40:05] *** kb1ooo has joined #openal
[12:40:05] *** ChanServ sets mode: +v kb1ooo
[13:30:53] *** juanmabc has joined #openal
[13:30:53] *** ChanServ sets mode: +v juanmabc
[13:47:09] *** qknight has quit IRC
[16:11:52] *** prophile has joined #openal
[16:11:52] *** ChanServ sets mode: +v prophile
[16:39:25] *** juanmabc has quit IRC
[16:59:42] * KittyCat is back.
[17:35:36] <angasule> hmm
[17:35:40] <angasule> this is just crazy talk
[17:35:52] <KittyCat> hm?
[17:36:05] <angasule> but would it be possible to use the GPU to accelerate OpenAL? :)
[17:36:31] <angasule> although I guess there is no way to send from the graphics card to the sound card directly
[17:37:25] <KittyCat> should be possible. but I think getting it from the gfx card to the audio card would be a bottlenecking factor
[17:37:49] <angasule> hmm
[17:38:00] <angasule> if PCI-e allows for it, it would need driver support
[17:38:16] <KittyCat> plus people are already putting quite a bit on the GPU.. physics, general computations (eg. CUDA), in addition to the graphics-heavy elements
[17:39:03] <angasule> well, if you're not maxing the GPU, you might want it
[17:43:03] <KittyCat> perhaps. but developers would generally take 'not maxing the GPU' to mean 'need more shinies!'
[17:43:42] <KittyCat> and it makes it less scalable to older systems
[17:45:16] <angasule> oh, but the OpenAL on GPU is a user choice
[17:45:39] <KittyCat> true
[17:45:50] <angasule> say you buy a rig that can play Crysis at maximum detail, then you decide instead of running Crysis, you just want to simulate the universe, you have extra cycles for OpenAL :)
[17:47:19] <KittyCat> still, being able to take advantage of *existing* audio hardware would be better than trying to use graphics hardware. wouldn't need to reimplement complex/obscure algorithms for audio effects in C/CUDA when the hardware automatically does it for you when you know which bits to toggle
[17:50:51] <angasule> but only creative cards have OpenAL acceleration, I think?
[17:51:23] <angasule> with oal-gpu you could use a good sound card and still get hardware acceleration
[17:54:15] <KittyCat> only creative cards have hardware openal drivers, afaik
[17:54:39] <KittyCat> but there are other cards that offer hardware acceleration.. it just needs the specs released for someone to make a hardware openal driver for it
[17:55:14] *** barra_ has quit IRC
[17:55:22] <KittyCat> the openal driver is just for translating api<->hardware
[17:55:41] *** barra_away has joined #openal
[17:55:42] *** ChanServ sets mode: +v barra_away
[17:56:03] *** barra_away is now known as barra_
[17:56:09] <angasule> what cards? the nvidia soundstorm had up to eax 2.0, I think? but that has long been discontinued
[17:57:54] <KittyCat> not sure, honestly
[17:58:01] <KittyCat> that one you mentioned earlier, perhaps
[17:59:40] <angasule> nope, that one is just a good sound card
[18:00:35] <KittyCat> it's not hardware accerated?
[18:02:21] <angasule> I don't remember exactly what it has, but I remember finding that it doesn't have openal, no
[18:03:04] <angasule> one thing I don't know is if sound cards can take a buffer and play it on different channels simultaneously, with different volume in each
[18:03:41] <KittyCat> well.. it's not if it doesn't have openal
[18:03:51] <KittyCat> it's just if the hardware is capable of it
[18:04:11] <KittyCat> as long as the hardware is capable of doing what openal needs, an openal driver can always be made after the fact
[18:04:58] <KittyCat> and taking a mono buffer and toying with the individual output volumes is how accelerated 3d sound works, I'd imagine
[18:08:46] <angasule> yeap
[18:09:17] <angasule> and then add effects to those buffers
[18:09:28] <KittyCat> well..
[18:09:42] <angasule> hmm, effects are done before that?
[18:09:44] <angasule> yes
[18:09:48] <KittyCat> I think what happens is there's "output channels" multiple buffers go through
[18:09:50] <angasule> I need a pill
[18:10:10] <angasule> I need xonar's hardware spec
[18:10:16] <KittyCat> eg. send sources 1 and 2 to output 1, send source 3 to output 2 and apply effect A on output 2
[18:10:24] <angasule> bah, I need to finish my CURRENT projects :D
[18:10:58] <angasule> I have been using kscope lately, to better understand openal-soft
[18:11:08] <KittyCat> kscope?
[18:11:13] <angasule> it reads C code and then graphs the function calls
[18:11:22] <KittyCat> ah
[18:11:23] <angasule> it's a kde frontend for cscope
[18:11:35] <angasule> it can do much more than that, but I'm a visual person
[18:11:52] <angasule> so it's either reading the code or using graphs, I don't like verbose descriptions
[18:18:19] *** prophile has left #openal
[18:36:44] *** jvalenzu has joined #openal
[18:36:44] *** ChanServ sets mode: +v jvalenzu
[18:53:45] <KittyCat> http://kcat.strangesoft.net/alffmpeg.c  anyone mind taking a look at that, trying it out maybe, and commenting on it (how good are the comments? is it easy to understand? etc)?
[18:54:10] <KittyCat> compile with: gcc -Wall -Wextra -O2 -g alffmpeg.c -o alffmpeg -lalut -lopenal -lavcodec -lavformat
[19:14:23] *** Walt_ has quit IRC
[19:18:24] <KittyCat> changing the buffer size to 19200 should let it work on 5.1 audio streams
[19:22:00] <angasule> funny
[19:22:03] <angasule> I don't have alut :P
[19:22:40] <KittyCat> heh
[19:23:12] <KittyCat> it really sucks that there's no crossplatform sleep function
[19:23:20] * DragonRift feeds KittyCat some tuna
[19:23:22] <KittyCat> with accuracy below 1 second
[19:24:55] <angasule> it's more like "windows sucks"
[19:25:13] <KittyCat> true
[20:01:26] <angasule> http://www.tgdaily.com/content/view/36670/118/
[20:06:52] <KittyCat> hmm.. they mention OpenAL, so they're aware of it. wonder if they may be keen on the idea of providing an OpenAL driver..
[20:08:51] <KittyCat> I could see creative doing something silly like if(osversion == WinVista) disableGenericHardware(); so another hardware Vista-DS3D solution wouldn't work with the openal->ds3d wrapper..
[20:13:27] <KittyCat> ugh.. "While we do respect the capability of a dedicated DSP processor to offload the CPU work, we believe performance differences will continue to diminish based on the power of today's popular CPUs."
[20:13:34] <KittyCat> it's not CPU power that's the issue
[20:14:12] <KittyCat> it's the CPU and BUS speed
[20:15:21] <KittyCat> to get away with low lag in sound, , the au dio processing must be very quick. and streaming individual processed sources to the card will really kill BUS throughput
[20:15:47] *** Walt_ has joined #openal
[20:15:47] *** ChanServ sets mode: +v Walt_
[20:21:31] <KittyCat> having sounds stored and processed/mixed on the card is the best way to efficiently and quickly process audio
[20:21:45] <KittyCat> a CPU can do it, but it's not a very efficient solution
[21:03:03] *** juanmabc has joined #openal
[21:03:03] *** ChanServ sets mode: +v juanmabc
[21:33:24] <angasule> KittyCat: that remark in the article makes me think they do a lot of processing in the CPU
[21:33:32] * angasule just had lasagna
[21:33:54] *** jvalenzu has quit IRC
[21:34:41] <KittyCat> probably
[21:35:12] <KittyCat> only thing that concerns me with CPU processing audio is lag and BUS saturation
[21:47:03] * DragonRift feeds KittyCat some tuna
[21:47:27] * DragonRift feeds KittyCat some milk
[21:47:37] * KittyCat doesn't like tuna
[21:47:47] <DragonRift> cats love tuna
[21:47:48] <DragonRift> :)
[22:13:15] *** juanmabc has quit IRC
[23:29:02] *** juanmabc has joined #openal
[23:29:02] *** ChanServ sets mode: +v juanmabc

top