Re: [Haskell-cafe] ANN: Hemkay, the 100% Haskell MOD player

2009-12-14 Thread M Xyz
--- On Mon, 12/14/09, M Xyz wrote: From: M Xyz Subject: Re: [Haskell-cafe] ANN: Hemkay, the 100% Haskell MOD player To: "Patai Gergely" Date: Monday, December 14, 2009, 5:50 PM --- On Mon, 12/14/09, Patai Gergely wrote: Also, the actual mixing (limited to the mixChunk fu

[Haskell-cafe] ANNOUNCE: PortAudio Windows Tutorial and Binaries

2009-12-06 Thread M Xyz
I got a lot of great help this weekend from Haskell-Cafe, thanks. Now that I have portaudio up and running I put up a tutorial and a 103 kb download of all the windows binaries and files. I hope this helps people exploring digital audio with Haskell. http://www.subreddits.org/misc/haskell/porta

[Haskell-cafe] PortAudio library successfully built on Windows

2009-12-05 Thread M Xyz
l-cafe] Low Level Audio - Writing bytes to the sound card? > Date: Sun, 6 Dec 2009 02:34:17 +0100 > CC: haskell-cafe@haskell.org > > Am Sonntag 06 Dezember 2009 01:49:49 schrieb M Xyz: > > I just had another idea. > > da...@linux-mkk1:~> c2hs -o memyself.hs memyself.ch

RE: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

2009-12-05 Thread M Xyz
6 Dec 2009 02:34:17 +0100 > CC: haskell-cafe@haskell.org > > Am Sonntag 06 Dezember 2009 01:49:49 schrieb M Xyz: > > I just had another idea. > > da...@linux-mkk1:~> c2hs -o memyself.hs memyself.chs > c2hs: does not exist > > it's not that c2hs isn't fou

Re: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

2009-12-05 Thread M Xyz
--- On Sat, 12/5/09, Daniel Fischer wrote: cd portaudio-0.0.1 ghc --make Setup ../Setup configure --help (choose your options, prefix, profiling, ...) ../Setup configure $OPTIONS ../Setup build Everything went well until "Setup build" which yielded our friend "c2hs.exe does not exist".

Re: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

2009-12-05 Thread M Xyz
--- On Sat, 12/5/09, Daniel Fischer wrote: If you have cpphs, hugs, jhc, greencard etc., it is probably something about your environment. If you don't have them, it's clear that they aren't found. I don't know what those things are. I have nothing but what came with HP other than installin

Re: [Haskell-cafe] HP + Gtk2hs?

2009-12-05 Thread M Xyz
--- On Sat, 12/5/09, Andrew Coppin wrote: >> Hell, I even followed a C++ guide to Win32 programming and >> managed to translate an "open a blank window" program to Haskell, and it >> worked. Maybe somebody just needs to sit down and write a nice binding >> for doing native GUI stuff under Win32?

Re: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

2009-12-05 Thread M Xyz
--- On Sat, 12/5/09, Daniel Fischer wrote: Try cabal install --with-c2hs="C:\path\to\c2hs.exe" portaudio maybe that'll work. If not, run cabal --verbose=3 install portaudio, perhaps that gives more information about what went wrong. Daniel, Thank you for your thoughtful reply. I didn't know

Re: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

2009-12-05 Thread M Xyz
eems to have gone amiss: http://music.columbia.edu/pipermail/portaudio/2009-May/009116.html I'd look for a different library to talk to the sound card... Best wishes Stephen 2009/12/4 M Xyz > > What is the most minimal (preferably platform independent) library available > for writing bytes to

Re: [Haskell-cafe] HP + Gtk2hs?

2009-12-05 Thread M Xyz
--- On Sat, 12/5/09, Daniel Fischer wrote: I thought in this case, it was a proposed change in the installer, so you'd only have to change that and could leave the gtk2hs binary untouched. Of course that can only work if Windows installers are some sort of script or otherwise customisable.

Re: [Haskell-cafe] HP + Gtk2hs?

2009-12-05 Thread M Xyz
- Apart from HP providing GHC 6.10.4 while Gtk2hs currently requires 6.10.3, it appears that the Gtk2hs installer package doesn't like GHC being installed in a path with spaces. Apparently Gtk2hs has a bug tracker. (I only just discovered this, so perhaps it needs to be more prominent?) Someb

Re: [Haskell-cafe] Re: Low Level Audio - Writing bytes to the sound card?

2009-12-04 Thread M Xyz
For doing cross-platform development, I would strongly recommend that you use MinGW (or cygwin) in preference to Visual Studio Express. MinGW is installed on our computers at work and its nice to work with. I tried installing it 2 years ago at home and I made a mess of it and gave up. I will c

Re: [Haskell-cafe] Are there major inefficiencies in Haskell compared to OCaml?

2009-12-04 Thread M Xyz
However, Ocaml's strict evaluation makes it easy for someone new to the language to have a pretty accurate guess about its run time and memory usage something which can be difficult in the face of Haskell's lazy evaluation (not that I have experienced any obvious manifestations of this myself).

Re: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

2009-12-04 Thread M Xyz
Did you look at synthesizer ? There is a short introductory file [1]. Cheers, Thu [1] http://hackage.haskell.org/packages/archive/synthesizer-core/0.2.1/doc/html/Synthesizer-Plain-Tutorial.html Thanks for the tutorial link. As I'm new to Haskell, these 2 lines got me thinking: "Using plain lis

Re: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

2009-12-04 Thread M Xyz
uch a journey. You'll have to install the portaudio C libraries and header files before continuing. I never actually tested the package on XP, if you get it to work, I'd love to hear your experience. /jve On Fri, Dec 4, 2009 at 2:20 PM, M Xyz wrote: Hi, portaudio is my embarrassin

Re: [Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

2009-12-04 Thread M Xyz
fer not to break compatibility. I'm new to this, was I supposed to install portaudio for my OS before downloading the Haskell package? Are there other similar simple sound apis? On Fri, Dec 4, 2009 at 1:51 PM, M Xyz wrote: What is the most minimal (preferably platform independent) library

[Haskell-cafe] Low Level Audio - Writing bytes to the sound card?

2009-12-04 Thread M Xyz
What is the most minimal (preferably platform independent) library available for writing bytes to the sound card? I see 60 wonderful libraries on Hackage, but I really just need the Haskell equivalent of an audio.write(byte[]) method. What sound api are these 60 libraries using? I think the po

[Haskell-cafe] Greetings! 2D Graphics?

2009-12-03 Thread M Xyz
Greetings, my name is M. This is my first time posting to a mailing list so forgive me if I've done something wrong. I just finished "Real World Haskell" and am currently working through "School of Expression". I am new to Haskell but I already love it. My question is this...  I am interested