<div dir="ltr">Hi Chris,<div><br></div><div>Thanks for the reply. That looks like what I want, I was hoping to use Matlab (Psychtoolbox) but if needed I can have a crack at doing it in C.</div><div><br></div><div>Cheers,</div>

<div>Tristan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 February 2014 20:18, Chris Robinson <span dir="ltr"><<a href="mailto:chris.kcat@gmail.com" target="_blank">chris.kcat@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 02/18/2014 08:15 PM, Tristan Chaplin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm new to OpenAL so apologies if this is a silly/obvious question.<br>
<br>
Is it possible to capture the output stream of OpenAL so it can be saved to<br>
disk? We need to run our script that moves a few sources around and record<br>
the output (as the listener hears), so we can send the digital waveform to<br>
a hardware device.<br>
</blockquote>
<br></div></div>
Hi.<br>
<br>
Do you mean you want to record the output of OpenAL as it's playing, or do you want to get the output instead of having it play?<br>
<br>
If it's the latter (you just want the output to handle yourself, without it playing), you can do that with the ALC_SOFT_loopback extension:<br>
<br>
<a href="http://kcat.strangesoft.net/openal-extensions/SOFT_loopback.txt" target="_blank">http://kcat.strangesoft.net/<u></u>openal-extensions/SOFT_<u></u>loopback.txt</a><br>
<br>
Though, as far as I know that's only available on OpenAL Soft. But with it, you can open a loopback device, create a context on it, as well as buffers, sources, all the usual stuff, and render samples at your leisure.<br>


<br>
Hope that helps.<br>
</blockquote></div><br></div>