[Haskell-cafe] Haskell for children? Any experience?
aditya.siram at gmail.com
Thu Jan 27 18:44:24 CET 2011
I was a little negative in my last message so maybe I can contribute
something positive. If you're looking for a musical way to teach
Haskell I did a Haskell music hackathon  about a year and a half
ago. The idea was to use Haskell  to play music through a
Supercollider music server  .
Supercollider itself just generates sound so I had to code up support
for scales, arpeggios and chords including the ability to generate
arpeggios and chords from some user-defined scale.
One of the fun applications of this support was to grab 2 yrs worth of
DOW closing numbers from Yahoo Financial and set it to music. The user
was able to select a scale, key, octave and instrument and the code
would autogenerate notes within that scale and with a chordal
accompaniment. It was right around the time of the American
presidential election and the economy being such a big issue, it was
fun listening to the music start off high but get lower and lower over
You are welcome to play around with it and if you run into any
difficulties, let me know.
On Thu, Jan 27, 2011 at 11:06 AM, Chris Smith <cdsmith at gmail.com> wrote:
> On Thu, 2011-01-27 at 15:26 +0000, Stephen Tetley wrote:
>> John Peterson had some nice work using Haskore and Fran for elementary
>> teaching on the old Haskell.org website. Google's cache says the old
>> URL was here but its now vanished:
> That sounds great! If you do have an existing copy of the slides, I'd
> like to see them. Especially the idea of using music for programming
> with a nice embedded DSL / combinator library would be amazing.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe