Re: [haskell-art] Mail archives end in March 2010

2010-09-15 Thread Henning Thielemann
On Sat, 28 Aug 2010, Henning Thielemann wrote: Any reason, why the Haskell archive ends in March 2010? http://lists.lurk.org/pipermail/haskell-art/ It still does not work. :-( ___ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org

[haskell-art] Announcement: MIDI stream editor

2010-09-23 Thread Henning Thielemann
This is primarily for people who control a software or hardware synthesizer by a MIDI keyboard on Linux. I have programmed a little MIDI event editor, that allows you to alter MIDI channels, automate MIDI controller changes, split keyboard, play patterns according to the set of currently pres

Re: [haskell-art] trouble getting hsc3 to produce sound

2010-10-06 Thread Henning Thielemann
On Wed, 6 Oct 2010, Heikki Salo wrote: On Wed, Oct 6, 2010 at 8:52 PM, Renick Bell wrote: everything is executed without errors, and without producing any sound. Have you checked to make sure that SuperCollider is definitely connected to the system playback_1 and playback_2? I like to use P

[haskell-art] Software Synthesizer mapping ALSA/MIDI events to SuperCollider

2010-11-27 Thread Henning Thielemann
I have updated my small software synthesizer to use the new alsa-seq package for receiving MIDI events via ALSA. http://hackage.haskell.org/package/supercollider-midi It is more a proof of concept than something serious. Rohan, I have still a problem: How can I achieve that on releasing a k

Re: [haskell-art] Software Synthesizer mapping ALSA/MIDI events to SuperCollider

2010-11-28 Thread Henning Thielemann
Hi Rohan, On Sun, 28 Nov 2010, Rohan Drape wrote: Rohan, I have still a problem: How can I achieve that on releasing a key the sound is not immediately aborted but enters a release phase? There are various ways, however normally you'd do this using the 'gate' input of the 'envGen' UGen. I'v

Re: [haskell-art] sfml-audio

2010-12-06 Thread Henning Thielemann
On Mon, 6 Dec 2010, Sönke Hahn wrote: I am developing a game in Haskell [1]. For that, I needed a library that would do the following: 1. Play music files. 2. Play sound files with a low latency (for jumping sounds, etc.) 3. Compile on all targeted platforms (Linux, Windows, Mac OS X) using o

Re: [haskell-art] [Haskell-cafe] Lazy cons, Stream-Fusion style?

2011-01-02 Thread Henning Thielemann
On Sun, 2 Jan 2011, Stephen Tetley wrote: I'm trying to make a Stream library, hopefully efficient enough for audio synthesis in the style of Jerzy Karczmarczuk's Clarion. I am trying to code real-time audio synthesis in Haskell for some years now. I can tell at least, that it is not so easi

Re: [haskell-art] [Haskell-cafe] Lazy cons, Stream-Fusion style?

2011-01-02 Thread Henning Thielemann
On Sun, 2 Jan 2011, Stephen Tetley wrote: Un-optimized, with a head-strict stream (basically Wouter Swierstra's Stream with a bang on the element), rendering currently takes minutes to generate seconds. But as well as the Stream representation, I've plenty of room to optimize the WAV file gener

Re: [haskell-art] [Haskell-cafe] Lazy cons, Stream-Fusion style?

2011-01-04 Thread Henning Thielemann
Hudak, Paul schrieb: > I just wanted to mention that at Yale we are still working on CCA > (causal commutative arrows) to get higher performance digital audio. > Although it may seem objectionable to use arrows at all, it has some > key advantages. For example, you can write recursive signals wit

Re: [haskell-art] [Haskell-cafe] Lazy cons, Stream-Fusion style? (fwd)

2011-01-04 Thread Henning Thielemann
John Lato schrieb: The other big problem is the name of the "z" function. I would like to call it "z-", but that's not an allowed name. Unfortunately "-z" is allowed as an operator name either. So for now it's backwards for convenience. I'd suggest to call it 'delay' since I find it much m

Re: [haskell-art] [Haskell-cafe] Lazy cons, Stream-Fusion style?

2011-01-04 Thread Henning Thielemann
Hudak, Paul schrieb: >> In the meantime I am more and more moving to Arrows or Arrow like >> structures. On the one hand it is often the more appropriate data >> structure since it models exactly the causality of signal processes and >> has much less risk for memory leaks (compared to lazy lists).

Re: [haskell-art] Lazy cons, Stream-Fusion style?

2011-01-04 Thread Henning Thielemann
On Tue, 4 Jan 2011, Hudak, Paul wrote: I think you cannot translate a functional expression like mix x (delay x) literally to a line of arrow syntax, that is, without introducing a variable name for the output of (delay x), unless I am missing something. You're right, but it seems relativel

[haskell-art] Haskell robots: Haskell - pick up the phone

2011-01-05 Thread Henning Thielemann
When I search for "haskell music" on YouTube I get for instance these two videos with dancing robots: http://www.youtube.com/watch?v=ugId3EnWfqc http://www.youtube.com/watch?v=fuktIEB8Rb8 I do not know who or what "Haskell" refers to in this video. It seems they made the same video for ma

[haskell-art] Open source hardware synthesizers

2011-01-12 Thread Henning Thielemann
I am reading on http://lac.linuxaudio.org/2011/?page=participation that one topic of the Linux Audio Conference is "Audio Hardware Support". This refreshes my curiosity whether there are open source Hardware synthesizers? It must cool to feed a hardware synthesizer with DSP code generated by LLV

Re: [haskell-art] Open source hardware synthesizers

2011-01-13 Thread Henning Thielemann
On Thu, 13 Jan 2011, Erik de Castro Lopo wrote: There is a the FPGA-Synth website and mailing list: http://www.fpga.synth.net/ where people are doing synth designs in Verilog or VHDL and programming them into FLGAs. Thank you for that hint! This is actually relatively easy. I've done i

Re: [haskell-art] a short video of Conductive

2011-01-15 Thread Henning Thielemann
On Thu, 30 Dec 2010, Renick Bell wrote: Hello everyone. I've uploaded a video demonstrating Conductive, the library I'm working on for live coding and interactive music applications. It's a two-minute video showing live execution of code in ghci. I'm interested in hearing your feedback or answ

Re: [haskell-art] Haskell art?

2011-02-03 Thread Henning Thielemann
On Wed, 2 Feb 2011, alex wrote: This list has been around for a good few years now, and has 122 subscribers. There have been some interesting threads, mainly about music libraries, but not a great deal of discussion. The archive says you started it in February 2007 and since then I am adver

Re: [haskell-art] Haskell art?

2011-02-03 Thread Henning Thielemann
On Thu, 3 Feb 2011, Stefan Kersten wrote: i think that different (natural or computer) languages allow us to think about interesting problems differently. although i've had some previous exposure to functional programming (opal, anyone?), I remember that Christian Maeder has worked with OPAL.

Re: [haskell-art] Mailing list archive

2011-02-03 Thread Henning Thielemann
alex schrieb: > On 3 February 2011 19:33, Henning Thielemann > wrote: >> Unfortunately archiving stopped in March 2010. Thus this thread will not be >> archived, too. :-( > > I seem to have fixed the archives: > http://lists.lurk.org/mailman/private/haskell-art/

Re: [haskell-art] Haskell art?

2011-02-03 Thread Henning Thielemann
John Lato schrieb: > On Thu, Feb 3, 2011 at 6:46 PM, Anton Kholomiov > mailto:anton.kholom...@gmail.com>> wrote: > > sorry i've started new thread, it goes here > > Hi > > I'm making dsl's for music/sound composition. Hope some day i will > stop making dsls and do some music with

Re: [haskell-art] Haskell art?

2011-02-03 Thread Henning Thielemann
Balazs Komuves schrieb: > I sometimes make realtime, procedural "music videos" (it's an old hobby, > see http://en.wikipedia.org/wiki/Demoscene). In the last few years, I > have been doing this in Haskell, simply because I enjoy Haskell much more > than other > languages. However, these programs

Re: [haskell-art] Haskell art?

2011-02-03 Thread Henning Thielemann
Evan Laforge schrieb: > An EDSL to assemble physical models would be interesting. There's > "tassman", but it's not a textual language (one of those boxes and > lines things), has only middling models, is real time (so it can only > use cheap models), and of course is proprietary and seemingly >

Re: [haskell-art] Haskell art?

2011-02-07 Thread Henning Thielemann
On Wed, 2 Feb 2011, alex wrote: So, why not hit reply and introduce yourself (even if you've posted already), and reveal your interest in haskell and/or art, whatever that may be. I'll do it too, but someone else go first :) Ok, where to start - at the very beginning? I first tried to make s

Re: [haskell-art] Haskell art?

2011-02-15 Thread Henning Thielemann
On Fri, 4 Feb 2011, Stephen Sinclair wrote: Anyways, due to the field I work in, one subject area I find myself obsessed with is the seeming conflicts of interest between functional programming and real-time guarantees (for writing DSP programs, etc). The former allows more powerful ways to exp

Re: [haskell-art] Haskell art?

2011-02-15 Thread Henning Thielemann
On Sun, 13 Feb 2011, Hudak, Paul wrote: First, my group has designed a new computer music library that I call Euterpea (named after Euterpe, the Greek muse of music).  Euterpea has all of the original functionality of Haskore, plus an arrow-based signal processing language for doing audio proce

Re: [haskell-art] purely functional circular buffers

2011-02-17 Thread Henning Thielemann
John Lato schrieb: > Does anyone know of a purely functional equivalent to a circular buffer? It depends on the application you have in mind. For programming a constant delay of n samples of a lazy list including feedback, you can use a lazy list instead of a circular buffer. For efficiency reaso

Re: [haskell-art] memory leaks

2011-02-18 Thread Henning Thielemann
On Thu, 17 Feb 2011, Evan Laforge wrote: liveliness. The typical memory leak works as follows:  let (prefix, suffix) = splitAt largeNumber xs  in  processA prefix ++ processB suffix  Although this can be perfectly processed in a streaming manner, sometimes GHC does not manage to release the poi

Re: [haskell-art] Haskell art?

2011-02-20 Thread Henning Thielemann
On Thu, 17 Feb 2011, Evan Laforge wrote: However, I've basically given up on that for the moment in favor of just generating MIDI. Just composition is already really complicated without throwing signal processing into the mix. So I wish you best of luck on the signal side, maybe when things o

Re: [haskell-art] Haskell art?

2011-02-22 Thread Henning Thielemann
On Tue, 22 Feb 2011, Evan Laforge wrote: I had written some simple conversion from a text presentation of a OctaMED module to Haskore. Maybe you find it useful:  http://code.haskell.org/haskore/revised/core/src/Haskore/Interface/MED/Text.hs Indeed, I very well might. I have a bunch of music

Re: [haskell-art] Haskell art?

2011-02-23 Thread Henning Thielemann
Stephen Tetley schrieb: > On 22 February 2011 23:41, Evan Laforge wrote: >> Can you write 'inst2 pitch = reverse (inst1 pitch)'? > > Is 'inst2 pitch = reverse (inst1 pitch)' the backwards instrument? My > first thought would be this is hard to write in any continuous > language even functional/F

[haskell-art] jack-0.6

2011-02-23 Thread Henning Thielemann
I have updated jack to use midi-0.1.5, removed orphan instances and some more cleanup. Edward Amsden added a function for querying the samplerate. Can you please check, whether it still works for you: http://code.haskell.org/jack/ ___ haskell-art ma

Re: [haskell-art] Haskell art?

2011-03-11 Thread Henning Thielemann
Evan Laforge schrieb: > This sounds like something I've noticed, and if it's the same thing, I > agree. But I disagree that you need to separate orchestra and score > to get it. Namely that notes are described hierarchically (e.g. > phrase1 `then` phrase2 :=: part2 or whatever), but that many mu

[haskell-art] data structure for music (Was: Haskell art?)

2011-03-11 Thread Henning Thielemann
On Fri, 11 Mar 2011, Stephen Tetley wrote: I still don't understand what Evan's reverse instrument models. Is it reversing the sound of a note so it is some function wrapping a unit generator? Or is it reversing a sequence of notes according to pitch? I think he means reversing the signal g

Re: [haskell-art] Live Performing With Haskell

2011-03-12 Thread Henning Thielemann
On Fri, 11 Mar 2011, aditya siram wrote: Hi all, I'd like to get into live coding with Haskell. Can you recommend a good enviroment? I run Ubuntu Linux. I've looked into Haskore withn Supercollider but it doesn't seem suited to live performance like something like Chuck or Impromptu. Is there s

[haskell-art] reacting on ALSA events in a wxhaskell application

2011-04-14 Thread Henning Thielemann
I managed to write my first Haskell program with a GUI! It shows a window of sliders and when you move a slider it sends an according MIDI controller message via ALSA. http://code.haskell.org/~thielema/alsa-gui/ Now I like to provide the reverse direction: If my program receives a MIDI cont

Re: [haskell-art] Functional view of music?

2011-06-01 Thread Henning Thielemann
On Wed, 1 Jun 2011, Stephen Tetley wrote: Hello all, The functional view of images - image as a function from Point -> Colour - is well practised for continuous images - Conal Elliott's Vertigo and Pan, Jerzy Karczmarczuk's Clastic, plus Pancito, Chalkboard and more. It's even been used for di

Re: [haskell-art] Functional view of music?

2011-07-02 Thread Henning Thielemann
On Fri, 1 Jul 2011, gdwe...@iue.edu wrote: There's also, on the audio (not necessarily music) side, Faust ("Functional AUdio STream"): http://faust.grame.fr/index.php -- based on composition of block diagrams. In Haskell we would certainly call that Arrow programming. ___

Re: [haskell-art] request for review - circular buffer performance

2011-07-06 Thread Henning Thielemann
On Wed, 6 Jul 2011, John Lato wrote: Somewhat to my surprise, my tests show that the Data.Sequence implementation both performs better overall and scales better. I'm not certain that I trust my methodology or implementation, and I would greatly appreciate if anyone would be willing to review

Re: [haskell-art] ANN: clocked - library for timing IO-operations

2011-10-19 Thread Henning Thielemann
On Wed, 19 Oct 2011, Heinrich Apfelmus wrote: > 3) Any chance to drop the QT dependency, perhaps at the cost of > accuracy? Most people probably don't need nanosecond resolution. Maybe a > pure Haskell implementation with threads? Recently I managed to use ALSA for timing in a WX GUI. Of course

[haskell-art] Haskell live sequencing

2011-11-06 Thread Henning Thielemann
I am happy to present the demonstration of a live sequencer that Johannes Waldmann and me are developing for a month now. http://www.youtube.com/watch?v=88jK162l6mE It is similar to composing in Haskore, but it is interactive. The sound in the video is generated in real-time by my Haskell-L

Re: [haskell-art] Haskell live sequencing

2011-11-08 Thread Henning Thielemann
On Tue, 8 Nov 2011, Heinrich Apfelmus wrote: > I didn't quite catch how interactive this is, though, especially for the > longer piece at the end. Are you reloading code on the fly? I edit the top-left text area and from time to time I update the right area with the modified content. This updat

Re: [haskell-art] Haskell live sequencing

2011-11-08 Thread Henning Thielemann
On Tue, 8 Nov 2011, Brent Yorgey wrote: > On Sun, Nov 06, 2011 at 11:48:07PM +0100, Henning Thielemann wrote: >> >> I am happy to present the demonstration of a live sequencer that Johannes >> Waldmann and me are developing for a month now. >> >>http://ww

Re: [haskell-art] Haskell live sequencing

2011-11-08 Thread Henning Thielemann
Bernardo Barros schrieb: > This is very impressive and promising! Thanks for sharing! Thank you (and all the others) for your interest! > How far did you go with llvm-synthesizer concerning more complex sound > synthesis? Thanks to LLVM and vector processing there are still a lot of unused CPU

Re: [haskell-art] Haskell live sequencing

2011-11-09 Thread Henning Thielemann
On Tue, 8 Nov 2011, Brent Yorgey wrote: > On Tue, Nov 08, 2011 at 11:28:24PM +0100, Henning Thielemann wrote: >> >> This was the most simple to start with and we will extend that: >> >> http://dfa.imn.htwk-leipzig.de/bugzilla/show_bug.cgi?id=267 > > Oh, I see,

Re: [haskell-art] Haskell live sequencing

2011-11-10 Thread Henning Thielemann
On Thu, 10 Nov 2011, Heinrich Apfelmus wrote: > Henning Thielemann wrote: >> On Tue, 8 Nov 2011, Heinrich Apfelmus wrote: >> >>> How do you make sure that a new sequence starts on the beat / interleave >>> nicely with what is still playing? >> >> T

Re: [haskell-art] Haskell live sequencing

2011-11-11 Thread Henning Thielemann
On Thu, 10 Nov 2011, Heinrich Apfelmus wrote: > Henning Thielemann wrote: >> >> I am afraid from the point of view of formal languages this is an ugly >> hack. You have no referential transparency. E.g. as noted above at time >> point zero the term 'loop' may

[haskell-art] real-time sound synthesis (Was: Haskell live sequencing)

2011-11-16 Thread Henning Thielemann
Hi Bernardo, On Tue, 15 Nov 2011, Bernardo Barros wrote: > The whole idea of writing dsp algorithms directly in haskell is very > interesting. I think it would be much more intuitive to extend synthesis > systems like this. That's what I hope for. Currently there still some low-level clutter

[haskell-art] real-time sound synthesis (Was: Haskell live sequencing)

2011-11-16 Thread Henning Thielemann
On Tue, 15 Nov 2011, Stephen Sinclair wrote: > However, there is certainly potential to implement a FAUST-like DSL in > Haskell. The trick would be to compile it to machine code in-memory > in a non-realtime thread and be able to dynamically modify the DSP > graph by adding and removing blocks w

[haskell-art] umbrella term for flats and sharps

2012-01-16 Thread Henning Thielemann
I have a question for the native English speaking musicians: What is the umbrella term for flats and sharps? In German it is "Vorzeichen" and in Dutch it is "voortekens", which could be translated to "signs". Background: MIDI File specification allows to set a key signature and represents it b

Re: [haskell-art] umbrella term for flats and sharps

2012-01-16 Thread Henning Thielemann
On Mon, 16 Jan 2012, Duncan Mortimer wrote: > Hi Henning, > > I just learnt that my previous message was incorrect: I hadn't > realised that an 'accidental' refers only to notes modified from the > current tonal context. Thankyou wikipedia! This was, what I learned from Wikipedia, too. :-) >

Re: [haskell-art] Mail server problems

2012-02-06 Thread Henning Thielemann
On Mon, 6 Feb 2012, alex wrote: I moved the server this list resides on over the weekend. As a result the haskell-...@lists.lurk.org address was not forwarding correctly to haskell-art@lurk.org . I sent a mail but neither got a bounce nor did it appear on this list.

[haskell-art] Professorship for Musical computer science in Karlsruhe

2012-02-06 Thread Henning Thielemann
Since my latest e-mail passed the mailing list, I resend this one: -- Forwarded message -- Date: Mon, 6 Feb 2012 16:23:53 +0100 (CET) From: Henning Thielemann To: Haskell Art Mailing list Subject: Professorship for Musical computer science in Karlsruhe Maybe this job

Re: [haskell-art] [Haskell] ANNOUNCE: diagrams 0.5

2012-03-09 Thread Henning Thielemann
On Fri, 9 Mar 2012, Brent Yorgey wrote: I am pleased to announce the release of version 0.5 of diagrams [1], a full-featured framework and embedded domain-specific language for declarative drawing. Check out the gallery [2] for examples of what it can do! [1] http://projects.haskell.org/diagra

Re: [haskell-art] [Haskell] ANNOUNCE: diagrams 0.5

2012-03-09 Thread Henning Thielemann
On Fri, 9 Mar 2012, Henning Thielemann wrote: On Fri, 9 Mar 2012, Brent Yorgey wrote: I am pleased to announce the release of version 0.5 of diagrams [1], a full-featured framework and embedded domain-specific language for declarative drawing. Check out the gallery [2] for examples of what

Re: [haskell-art] [Haskell] ANNOUNCE: diagrams 0.5

2012-03-11 Thread Henning Thielemann
On Sun, 11 Mar 2012, Brent Yorgey wrote: Hi Henning, Ah, sorry about that. I was under the impression that SVG was just as widely supported now as PNG, but I see now I was mistaken. The reason I used SVGs was purely selfish: they look better when resized by browsers so I only had to generate

[haskell-art] Professorship for audio design and digital music production in Munich

2012-04-06 Thread Henning Thielemann
Hi all, sometimes I read job advertisements like the following one where I think they could be interesting for Haskell artists. Are you interested in such advertisements or shall I stop spamming the Haskell art mailing list with them? "Professor für Audiodesign und digitale Musikproduktion

[haskell-art] HaL-7, 2012-07-13, Call for submissions

2012-04-23 Thread Henning Thielemann
Software. Schicken Sie Beitragsvorschläge als PDF-Dokument bis zum 21.05.2012 per Mail an hal-committee at iba-cg punkt de oder an ein Mitglied des Programmkomitees. Programmkomitee * Henning Thielemann - Univ. Halle (Vorsitzender), * Petra Hofstedt - BTU Cottbus, * Alf Richter - iba CG

Re: [haskell-art] hosc, rfc

2012-05-25 Thread Henning Thielemann
On Fri, 25 May 2012, Rohan Drape wrote: Dear List, I've made some rather basic changes to hosc. This message is to let people know before it ends up on hackage, and because I'm interested in any comments. Through to hosc-0.11 the representation has been: data OSC = Message Address [Datum]

Re: [haskell-art] Lilypond parsing with Haskore

2012-06-30 Thread Henning Thielemann
On Fri, 29 Jun 2012, Corbin Simpson wrote: I've written a library, called Lye, that compiles a strict subset of Lilypond to a meta-MIDI format. Lilypond can generate MIDI files for the notesheets you create. ___ haskell-art mailing list haskell-art

Re: [haskell-art] Audio Processing and Sound Sunthesis in Haskell

2012-07-01 Thread Henning Thielemann
On Sun, 1 Jul 2012, CK Kashyap wrote: I started reading the paper "Audio Processing and Sound Sunthesis in Haskell" - I was wondering if there is some place I could download the source code from? I'd appreciate it very much if you could point me to the source. I dont know if it is part of Has

Re: [haskell-art] Audio Processing and Sound Sunthesis in Haskell

2012-07-01 Thread Henning Thielemann
On Sun, 1 Jul 2012, CK Kashyap wrote: Hi All, I started reading the paper "Audio Processing and Sound Sunthesis in Haskell" - I was wondering if there is some place I could download the source code from? I'd appreciate it very much if you could point me to the source. I dont know if it is par

Re: [haskell-art] Audio Processing and Sound Sunthesis in Haskell

2012-07-02 Thread Henning Thielemann
On Sun, 1 Jul 2012, CK Kashyap wrote: Hi All, I started reading the paper "Audio Processing and Sound Sunthesis in Haskell" - I was wondering if there is some place I could download the source code from? I'd appreciate it very much if you could point me to the source. I dont know if it is par

Re: [haskell-art] asound not found during Euterpea installation

2012-07-07 Thread Henning Thielemann
On Thu, 5 Jul 2012, CK Kashyap wrote: Hi all, I tried to install Euterpea on ubuntu 12.04 and ran into this problem. Can someone tell me the exact package name that I need to install using apt-get to solve this problem? Resolving dependencies... Configuring PortMidi-0.1.3... cabal: Missing d

Re: [haskell-art] asound not found during Euterpea installation

2012-07-08 Thread Henning Thielemann
On Sun, 8 Jul 2012, CK Kashyap wrote: After this, I tried to do "play childSong6" - nothing happened - my sound card probably does not support midi. So I installed timidity and ran it as follows "timidity -iA -Os&" - I re-ran ghci and found that it still did not play the music. So did a "" an

Re: [haskell-art] asound not found during Euterpea installation

2012-07-10 Thread Henning Thielemann
On Tue, 10 Jul 2012, CK Kashyap wrote: Thank you very much Dr Hudak, Yup it helps ... I was able to play it from GHCI ... I cannot describe my excitement in words!!! ... then express it with music! :-) ___ haskell-art mailing list haskell-art@lur

Re: [haskell-art] Quick questions about volume control

2012-07-13 Thread Henning Thielemann
On Fri, 13 Jul 2012, CK Kashyap wrote: Henning et al, Looks like It's gonna take me a little more time to get a hang of Haskore - although editing music in Emacs has been extremely thrilling. I have a quick question - how do I specify the volume of a note in Haskore? First I think that it is

Re: [haskell-art] Quick questions about volume control

2012-08-13 Thread Henning Thielemann
On Sat, 28 Jul 2012, Hudak, Paul wrote: Sorry for the late reply to this. In Euterpea (which subsumes Haskore) there are two ways to deal with volume. First, a Music value is polymorphic. So a value of type Music Pitch only contains pitch, whereas a value of type Music (Pitch,Volume) contai

Re: [haskell-art] Is Haskell Really A Real-Time Language?

2012-08-13 Thread Henning Thielemann
On Mon, 6 Aug 2012, Anton Kholomiov wrote: Haskell is not for hard real time. Hard real time means for any operation you know how long does it takes to execute it. Current GC makes it impossible. You have to design GC for real-time. There is one real world real time library in Haskell that I'm

Re: [haskell-art] Is Haskell Really A Real-Time Language?

2012-08-13 Thread Henning Thielemann
On Mon, 13 Aug 2012, Anton Kholomiov wrote: Online code generation is an interesting option. You can do many optimisations. For example if we have chain of units -> a -> b -> c -> d -> We can (in theory) make one loop, instead of four loops. That's what I do with the LLVM-JIT.

Re: [haskell-art] Is Haskell Really A Real-Time Language?

2012-08-13 Thread Henning Thielemann
On Tue, 14 Aug 2012, Anton Kholomiov wrote: Cool stuff! Is it a great win in practice? I have compared SuperCollider and my synthesizer-llvm and they are comparable in speed (it is difficult to find equivalent processes in both projects). That is, synthesizer-llvm is really fast, but not fa

Re: [haskell-art] Is The Amplitude Scaling Formula in Dodge/Jerse Correct?

2012-08-19 Thread Henning Thielemann
On Sat, 18 Aug 2012, Haskell Media wrote: Hi, Page 152 of the second edition of Computer Music by Dodge/Jersey reads: A practical method is to equalize the power in the signal to a constant value. For true power scaling, the scaling function is chosen as: S(a) = 1 / [(1/4)*h0(a)^2  + h1(a)^2

Re: [haskell-art] Quick questions about volume control

2012-08-19 Thread Henning Thielemann
On Sun, 19 Aug 2012, Hudak, Paul wrote: On Sat, 28 Jul 2012, Hudak, Paul wrote: The MIDI standard says, that in case that a velocity is mapped simply to a volume (and not to an altered sound) then this mapping should be exponential. That is, 2*velocity is certainly not what you want, but ma

Re: [haskell-art] Is The Amplitude Scaling Formula in Dodge/Jerse Correct? (fwd)

2012-08-20 Thread Henning Thielemann
-- Forwarded message -- Date: Mon, 20 Aug 2012 11:07:09 +0200 (CEST) From: Henning Thielemann To: Haskell Media Subject: Re: [haskell-art] Is The Amplitude Scaling Formula in Dodge/Jerse Correct? On Sun, 19 Aug 2012, Haskell Media wrote: f0 is the fundamental. Dodge

[haskell-art] Starquake music

2012-09-24 Thread Henning Thielemann
Are some lovers of the good old 8-bit era here? I have remade some songs of the ZX Spectrum game Starquake (it seems to have had different melodies on different systems): http://www.youtube.com/watch?v=ogSeONthWK0 Of course, there was a lot of Haskell involved in the processing, although

Re: [haskell-art] Starquake music

2012-09-25 Thread Henning Thielemann
On Mon, 24 Sep 2012, David Barbour wrote: Wonderful work, Henning! Yours is definitely better than the original. May I suggest another? Try some dungeon music from Legacy of the Wizard. I don't know this game - have to scan my Speccy ClassiX CD. Another game with cool music I remember is in

Re: [haskell-art] Library for simple playing of sounds?

2012-10-10 Thread Henning Thielemann
On Wed, 10 Oct 2012, Iavor Diatchki wrote: is there an existing Haskell library that makes it easy to play and mix audio samples in a portable way? (with emphasis on easy and portable :-) At the first glance I wondered why _you_ ask this question, because you have written the ALSA bindings

[haskell-art] controlling a digital fly and building a USB power supply

2012-10-20 Thread Henning Thielemann
I prepared another small video: http://www.youtube.com/watch?v=om5q_Ror_bo It shows * a Döpfer Pocket Fader controlling a fly sound generated by the Haskell LLVM synthesizer * disassembling my self-made USB power supply for the Pocket Fader ___

Re: [haskell-art] Sending MIDI via Jack

2012-11-04 Thread Henning Thielemann
On Sun, 4 Nov 2012, alex wrote: Would anyone have a example to hand of how to send MIDI messages over Jack using Haskell? I have not a working example but I would like to add one to the 'jack' package. The general idea is to chop your MIDI stream into blocks of a duration that the JACK ser

Re: [haskell-art] ANN: hsc3-process-0.8 and hsc3-server 0.5

2012-12-20 Thread Henning Thielemann
On Thu, 20 Dec 2012, Miguel Negrao wrote: Writing long functions or expressions in emacs to be run in ghci is a bit difficult because you can’t use the normal indentation rules (at least I haven’t figured out how), so one possibility would be to just write those functions in a .hs file and lo

Re: [haskell-art] ANN: hsc3-process-0.8 and hsc3-server 0.5

2012-12-20 Thread Henning Thielemann
On Fri, 21 Dec 2012, Rohan Drape wrote: You can run the 'unlayout' process over outgoing expressions in emacs using 'shell-command-to-string'. You can define GHCi commands (those with leading colon) based on Haskell functions. Maybe you can create an :unlayout command?

Re: [haskell-art] port midi

2012-12-27 Thread Henning Thielemann
On Wed, 26 Dec 2012, Balazs Komuves wrote: I cannot help with portmidi, however, if you don't need Linux compatibility, the hmidi package (http://hackage.haskell.org/package/hmidi/) works on both OSX and Windows (and does not have any external dependencies). There are some simple examples inclu

Re: [haskell-art] hsc3-server interactive session was ANN: hsc3-process-0.8 and hsc3-server 0.5

2013-01-04 Thread Henning Thielemann
On Fri, 4 Jan 2013, Miguel Negrao wrote: I’m happy to report that I’ve found that leksah has a quite nice and working interactive ghci pane. It has a window for writing code (a scratch buffer), where one can use indentation based rules, and it has another pane with all the variables defined s

Re: [haskell-art] hsc3-server interactive session was ANN: hsc3-process-0.8 and hsc3-server 0.5

2013-01-04 Thread Henning Thielemann
On Sat, 5 Jan 2013, Renick Bell wrote: You can do multiline evaluation in ghci with regular indentation (without internal braces) by preceding and following up your code like this: Prelude> :{ Prelude| do putStrLn "first line" Prelude| putStrLn "second line" Prelude| :} first line second

[haskell-art] special Rate types for hsc3

2013-01-14 Thread Henning Thielemann
Hi Rohan, I just ran into another instance of using an UGen with a Rate type that it does not support. I got the error: *** Exception: mk_osc: rate restricted: (KR,[AR],"Pulse") but I thought this could also be solved on the type level. data AudioRate = AudioRate data ControlRate = Cont

[haskell-art] private e-mail archive

2013-01-14 Thread Henning Thielemann
I found that the e-mail archive of haskell-art is now private. Is this intended? ___ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art

Re: [haskell-art] testing if values can be applied to polymorphic functions

2013-02-07 Thread Henning Thielemann
On Thu, 7 Feb 2013, alex wrote: Now I have idea for making this more interesting and practical (for live music-making, if nothing else), and would like to re-write it all in Haskell. Testing type compatibility of expressions is foxing me though. For example, say I have (++) and [1,2,3]. I th

[haskell-art] talks concerning Haskell on Linux Audio Conference, May, 9th and 10th

2013-05-09 Thread Henning Thielemann
, 10th, 15:10 Henning Thielemann: Live music programming in Haskell Best, Henning ___ haskell-art mailing list haskell-art@lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art

Re: [haskell-art] Generating sounds in Haskell

2013-09-01 Thread Henning Thielemann
On Sun, 1 Sep 2013, Noah Hall wrote: Hi all, I'm currently working on a game where the music is being generated through converting the pixels on screen into musical tones. At the moment, I have a working prototype in Python, however, I'm working on converting it into Haskell. The question I

Re: [haskell-art] Generating sounds in Haskell

2013-09-01 Thread Henning Thielemann
On Mon, 2 Sep 2013, Noah Hall wrote: On Mon, Sep 2, 2013 at 12:02 AM, Henning Thielemann wrote: Is it important for you to generate particular sounds, or would it be ok for you to control a MIDI synthesizer like TiMidity via MIDI? At the moment, I'm quite interested in mainta

[haskell-art] Haskell can sing

2013-12-01 Thread Henning Thielemann
Hi all, it's again Advent time and I took the opportunity to program another song for you. Those who liked last year's songs [1,2,3] may also be interested in the new one: http://www.youtube.com/watch?v=0EQCgi5qa3E "Alta trinita beata" It employs the great Haskell live sequencer and a n

Re: [haskell-art] ANN - csound-expression-3.1.0 - now with GUI elements

2013-12-12 Thread Henning Thielemann
On Thu, 12 Dec 2013, Evan Laforge wrote: On Thu, Dec 12, 2013 at 12:23 PM, Anton Kholomiov wrote: The little piece: https://github.com/anton-k/csound-expression/blob/master/examples/Heartbeat.hs I was sort of hoping for an MP3, yeah I know I'm lazy :) I am lazy, too, in this respect. Thu

[haskell-art] abstract music from csound et.al. (Was: ANN - csound-expression-3.1.0)

2013-12-13 Thread Henning Thielemann
On Fri, 13 Dec 2013, Evan Laforge wrote: This is my experience too (though I'm a notation guy, I tried hard with DAWs but still found them slow and awkward). And I've never heard any music out of csound or other text languages that isn't more or less abstract and sound-designy. Maybe there is

Re: [haskell art] Haskell art in the media

2014-04-12 Thread Henning Thielemann
Am 12.04.2014 21:48, schrieb Karsten Gebbert: > Quoting Evan Laforge (2014-04-12 17:49:59) > >> The same goes for MIDI, MIDI drivers already provide a scheduler. > > When I wrote this I focussed on trying to find the simplest solution for > MIDI output and ended up using the Alsa raw MIDI library

[haskell art] HaL-9 - Call for Contributions

2014-04-12 Thread Henning Thielemann
27. April 2014 an hal-commit...@iba-cg.de Wir werden Ihnen bis zum 9. Mai mitteilen, ob wir Ihren Beitrag in das Programm aufnehmen. Für das Organisationsteam Henning Thielemann -- Read the whole topic here: Haskell Art: http://lurk.org/r/topic/7jyItVXjYYVE7UvjRTVa9p To leave Haskel

[haskell art] robot drum machine (was: Haskell art in the media)

2014-04-12 Thread Henning Thielemann
Am 12.04.2014 16:12, schrieb Karsten Gebbert: > Last year I wrote a little music sequencer in Scheme, partly because it > was needed in an installation I was working on with a friend (see > http://sonicrobots.com/ for an impression), The drum machine is really cool! -- Read the whole topic he

Re: [haskell art] Haskell art in the media

2014-04-14 Thread Henning Thielemann
Am 14.04.2014 02:49, schrieb Evan Laforge: > I know the question isn't for me, but I do the same kind of stuff and > the gc isn't a problem for me because latency is not a problem. I > think only time latency is relevant is when you want external input to > immediately have a reaction. So basica

[haskell-art] Automated YouTube uploads

2014-05-13 Thread Henning Thielemann
In case I did not announce it before - I wrote a set of two small programs that upload videos to YouTube. It is useful in two situations: 1. Upload a list of videos with metadata fetched from a spreadsheet. 2. Upload from a remote machine without a graphical browser. http://hackage.haskell.org/

[haskell art] Automated YouTube uploads

2014-05-14 Thread Henning Thielemann
In case I did not announce it before - I wrote a set of two small programs that upload videos to YouTube. It is useful in two situations: 1. Upload a list of videos with metadata fetched from a spreadsheet. 2. Upload from a remote machine without a graphical browser. http://hackage.haskell.org/pa

Re: [haskell art] [haskell-art] Retirement of mailman list - last email

2014-05-15 Thread Henning Thielemann
Am 14.05.2014 12:03, schrieb alex: > Dear all, > > This is the last email to the haskell-art mailing list, as hosted by mailman. > > To continue receiving messages to haskell-art, make sure you are > subscribed to the new groupserver forum here: >http://lurk.org/groups/haskell-art/ It seems th

Re: [haskell art] [haskell-art] euterpea realtime? or other realtime audio in haskell

2014-05-15 Thread Henning Thielemann
it seems that my comment got lost ... Am 14.05.2014 00:44, schrieb Ben Burdette: > I'm doing a project where incoming values from sensors are to be turned > into music. currently I have a haskell program that scans the sensors > and generates OSC messages as a result. So far so good. How abou

  1   2   3   >