<div dir="ltr">If you decide to use my lib for desktop (csound-expression). <div>The examples can lead you to think that the audio</div><div>is generated with Haskell which is not so. </div><div>It requires the installation of csound command line utility.</div><div>The Haskell just generates the code for csound.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-15 21:23 GMT+03:00 Mike Meyer <span dir="ltr"><<a href="mailto:mwm@mired.org" target="_blank">mwm@mired.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm looking for advice on generating sounds from a desktop app. I'm perfectly happy if it doesn't have a GUI, but runs from the command line.<div><br></div><div>The desire is to take a config file for an embedded device that encodes tunes it plays back and play them on the desktop. The data could be represented as:</div><div><br></div><div>type Note = Integer</div><div>type Duration = Integer</div><div>data Tone = Tone Note Duration</div><div>newtype Tune = Tune [Tone]</div><div><br></div><div>[N.B. - I don't necessarily plan on using the above, I just wanted to illustrate the types.</div><div><br></div><div>Now I just need to play back the resulting tune.</div><div><br></div><div>Looking through hackage and hoogle find a number of sound libraries, but they either seem to be targeted at manipulating audio files and the data therein, or dealing with midi events and associated devices. I suspect that at least one of them can do what I want, but before I start delving into one I'd like to know that it can do this with minimal extra code and pain.</div><div><br></div><div>So, anyone want to suggest a library for this task?</div><div><br>Thanks,</div><div><mike</div><div><br></div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>