addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

Hoodlums Message Board › Homework: Music visualization

Homework: Music visualization

Peter M.
Group Organizer
London, GB
Post #: 39
Building on the material we covered at the last two meetups, this month's homework is to create an OpenGL music visualizer. I posted the audio code snippets we worked on here and here. Tom started a thread on DFT here­. Add comments to that if you have other useful references.

The code for my graphics language that we looked at is here­, but I think Neil said he would post some simpler OpenGL examples.

This task will offer many varied challenges and probably requires knowledge of some things we haven't covered, but where's the fun in something easy?
Neil B
user 13347289
London, GB
Post #: 8
Yes, I do hope to put up some simple haskell opengl examples.

In the meantime, here are a couple of existing resources, most of which were mentioned at the meetup.

OpenGL page on the haskell wiki:

Translations of the "red book" examples:
A lot of good examples here.

A tutorial by Mikael Vejdemo Johansson:

As with the translated red book examples, this tutorial uses the OpenGL package (Graphics.Rendering.OpenGL), and GLUT for window management and input handling. I've worked with this combo without problems (though never tried from ghci).

Partial port of the famous old nehe tutorials:­

The ported nehe-tuts use GLFW for window and input management, and not the open OpenGL bindings but OpenGLRaw and GLURaw. According to the porter, Jason Dagit, "These packages provide an API that is closer to the C API for OpenGL making it easier to follow 3rd party documenatation and port examples."
Guy Thomas B.
user 14444283
London, GB
Post #: 2
If anyone is interested, my primitive solution is on github:­

The playback is a bit shady though!
Powered by mvnForum

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy