Discussion:
Output to streaming audio instead of HW?
t***@pegnsean.net
2012-02-14 14:43:14 UTC
Permalink
Hello!

First post here, so forgive me if I step on any toes...

I'm working on a project associated with the JMRI model railroad
software... they use the JOAL wrapper on OpenAL to provide sound
features... in particular I'm working on using the 3D positioning
capability to make train sounds follow the location in space of the
locomotive. Works great, especially with surround sound speakers.

My question is... I'd like to take the final mixed audio output and pipe
it to an audio stream instead of to a hardware amp/speakers... so that
users can hear the sounds by calling up the stream in their smart phone.

My efforts to search on this bring up tons of info on how to stream the
source audio buffers, but nothing on whether it's even possible to take
the OUTPUT and convert it or redirect it to a streaming audio server.

Any advice?

Thanks,

Mark
Michael Zucchi
2012-02-14 23:43:26 UTC
Permalink
Post by t***@pegnsean.net
Hello!
First post here, so forgive me if I step on any toes...
I'm working on a project associated with the JMRI model railroad
software... they use the JOAL wrapper on OpenAL to provide sound
features... in particular I'm working on using the 3D positioning
capability to make train sounds follow the location in space of the
locomotive. Works great, especially with surround sound speakers.
My question is... I'd like to take the final mixed audio output and pipe
it to an audio stream instead of to a hardware amp/speakers... so that
users can hear the sounds by calling up the stream in their smart phone.
My efforts to search on this bring up tons of info on how to stream the
source audio buffers, but nothing on whether it's even possible to take
the OUTPUT and convert it or redirect it to a streaming audio server.
Any advice?
Hi Mark,

By coincidence I've been working on adding the extension required - the
loopback device - to JOAL (jogamp.org's JOAL) and just joined this list
last week to ask some questions about this very functionality.

The loopback device only works with openal-soft, but lets you render the
mixed output to buffers. Check the archives for this month for some
details: i'm sure you wont have trouble finding it.

I've been side-tracked with other hacking, and not really having much
fun with jogamp's funky build/run-time system, so I haven't spent a lot
of time on it. I have it working - it's just 3 api calls - i'm just
cleaning it up for submission. But i'm busy with other stuff this week.

Michael

Loading...