Hi Richard,<br><br>It looks great, and it works for me.&nbsp; (Thanks to your OpenAL help on #haskell.)&nbsp; I suggest making all the Source fields be behaviors rather than events.&nbsp; From the names of these fields, I&#39;d guess they&#39;re time-varying quantities, so Behavior will be the most convenient/natural way of creating them.&nbsp; 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&#39;d love to use your library in reactive-fieldtrip.<br><br>Thanks for sharing.&nbsp; And please keep us updated on your progress.<br><br>&nbsp; - Conal<br><br><div class="gmail_quote">On Thu, Nov 27, 2008 at 4:35 PM, Richard Smith <span dir="ltr">&lt;<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>&gt;</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&#39;m working on a reactive adapter for OpenAL, allowing sounds to be<br>
generated and played as Behaviour Double. It&#39;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>