Hi Richard,<br><br>It looks great, and it works for me. (Thanks to your OpenAL help on #haskell.) I suggest making all the Source fields be behaviors rather than events. From the names of these fields, I'd guess they're time-varying quantities, so Behavior will be the most convenient/natural way of creating them. The mkUpdater function from FRP.Reactive.LegacyAdapters has smarts to invoke your OpenAL/ALUT setters only when things are changing, as is done with OpenGL in reactive-fieldtrip.<br>
<br>At some point, I'd love to use your library in reactive-fieldtrip.<br><br>Thanks for sharing. And please keep us updated on your progress.<br><br> - Conal<br><br><div class="gmail_quote">On Thu, Nov 27, 2008 at 4:35 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello list,<br>
<br>
I'm working on a reactive adapter for OpenAL, allowing sounds to be<br>
generated and played as Behaviour Double. It's a little slow, but working.<br>
You can get the source from <a href="http://metafoo.co.uk/darcs/resound" target="_blank">http://metafoo.co.uk/darcs/resound</a><br>
<br>
Comments, constructive criticism and especially patches welcomed :)<br>
<br>
Thanks,<br>
Richard (IRC:lilac)<br>
<br>
_______________________________________________<br>
Reactive mailing list<br>
<a href="mailto:Reactive@haskell.org">Reactive@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/reactive" target="_blank">http://www.haskell.org/mailman/listinfo/reactive</a><br>
</blockquote></div><br>