Re: [haskell-art] what do people use for audio output
Wolfgang Jeltsch wrote: > gstreamer > *shudder* The One True And Only Audio System is JACK. I've seen some bindings once, which weren't complete, but considering that the JACK API is about as simple as you can get (and plain C), it's trivial to interface to, no matter if you do the ffi imports yourself or not. gstreamer absolutely won't help you interfacing with any professional Linux audio app. Jack _is_ the interface... and the best thing you could wish for. Did I already mention that Jack rocks? -- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited. ___ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art
Re: [haskell-art] what do people use for audio output
Am Montag, 16. Februar 2009 16:30 schrieb John Lato: > Hello, > > I'm interested to know what libraries/techniques people use for audio > output (through DAC/audio device) from Haskell programs. I'd like to > know about people who are doing actual audio processing in Haskell > (e.g. passing buffers/streams of data) rather than playing back files > or controlling an external program (e.g. SuperCollider). > > If anyone is willing to share their techniques, I'd like to know. > > Thanks, > > John Lato Does anyone use the gstreamer bindings of Gtk2Hs? Best wishes, Wolfgang ___ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art
Re: [haskell-art] what do people use for audio output
On Tue, 17 Feb 2009, John Lato wrote: > Hi Henning, > > Thanks for replying. I wasn't aware of the SOX method. I still use it since in the past it was the method that always worked. ALSA or JACK (maybe due to KDE) sometimes did not work for reasons I don't know. ___ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art
Re: [haskell-art] what do people use for audio output
> > I'm interested to know what libraries/techniques people use for audio > output (through DAC/audio device) from Haskell programs. You can also use OpenAL [1] and possibly SDL_mixer [2]. These are cross-platform, though OpenAL can be problematic to build correctly. I also wrote simple CoreAudio playback (that's on OSX) but it is not exactly release quality; tell me if you would like the code. DirectSound on Windows isn't hard either. Balazs [1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/OpenAL [2] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/SDL-mixer ___ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art
Re: [haskell-art] what do people use for audio output
Hi Henning, Thanks for replying. I wasn't aware of the SOX method. Do you still use this (in new code), or do you mostly use ALSA? John On Tue, Feb 17, 2009 at 2:10 AM, Henning Thielemann wrote: > > On Mon, 16 Feb 2009, John Lato wrote: > >> Hello, >> >> I'm interested to know what libraries/techniques people use for audio >> output (through DAC/audio device) from Haskell programs. I'd like to >> know about people who are doing actual audio processing in Haskell >> (e.g. passing buffers/streams of data) rather than playing back files >> or controlling an external program (e.g. SuperCollider). > > The technique, that I got to work fastest, was feeding 'sox' via a pipe: > > http://hackage.haskell.org/packages/archive/synthesizer/0.0.3/doc/html/Sox-Play.html > > Now I can also play sounds via ALSA: > http://code.haskell.org/alsa/Sound/Alsa.hs > > People are also working on PortAudio, but I haven't tested that: > http://haskell.org/haskellwiki/PortAudio > ___ > haskell-art mailing list > haskell-art@lurk.org > http://lists.lurk.org/mailman/listinfo/haskell-art > ___ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art
Re: [haskell-art] what do people use for audio output
On Mon, 16 Feb 2009, John Lato wrote: > Hello, > > I'm interested to know what libraries/techniques people use for audio > output (through DAC/audio device) from Haskell programs. I'd like to > know about people who are doing actual audio processing in Haskell > (e.g. passing buffers/streams of data) rather than playing back files > or controlling an external program (e.g. SuperCollider). The technique, that I got to work fastest, was feeding 'sox' via a pipe: http://hackage.haskell.org/packages/archive/synthesizer/0.0.3/doc/html/Sox-Play.html Now I can also play sounds via ALSA: http://code.haskell.org/alsa/Sound/Alsa.hs People are also working on PortAudio, but I haven't tested that: http://haskell.org/haskellwiki/PortAudio ___ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art