Personal tools

Applications and libraries/Music and sound

From HaskellWiki

< Applications and libraries(Difference between revisions)
Jump to: navigation, search
(Category:Music)
(The previous Haskore link is broken... temporarily linking to wiki.)
 
(28 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{LibrariesPage}}
 
{{LibrariesPage}}
  +
[[Category:Music]]
  +
  +
== Applications ==
  +
  +
;[http://www.cse.unsw.edu.au/~dons/hmp3.html hmp3]
  +
:hmp3 is a curses-based mp3 player frontend to mpg321 and mpg123. It is written in Haskell. It is designed to be simple, fast and robust. It's very stable, with one instance running for several months.
  +
  +
;[http://urchin.earth.li/darcs/ian/minstrel/ minstrel]
  +
:Minstrel is a curses frontend to the GStreamer library written in Haskell.
  +
  +
;[http://www.lintao.org/repos/hxine hxine]
  +
:A console frontend to the xine library
  +
  +
;[http://www.annodex.net/~conrad/software/hogg.html HOgg]
  +
:A library for handling the Ogg container format. Note that this just deals with the Ogg container, not with the contained Vorbis audio or Theora video etc. Includes a commandline tool (hogg) for querying files, merging and ripping tracks, hexdumping packets and pages and so on.
  +
  +
== Libraries ==
  +
  +
=== Music composition ===
  +
  +
;[http://www.haskell.org/haskellwiki/Haskore The Haskore Computer Music System]
  +
:Haskore is a collection of Haskell modules designed for expressing musical structures in the high-level, declarative style of functional programming. Haskore is a means for describing music - in particular Western Music - rather than sound. It is not a vehicle for synthesizing sound produced by musical instruments, for example, although it does capture the way certain (real or imagined) instruments permit control of dynamics and articulation. Haskore compositions can be translated into various audible formats like MIDI, CSound and SuperCollider. (Former versions in LISP could generate traditional notation output, but this is currently not available in the Haskell version.)
  +
  +
;[[Haskore]] related projects
  +
  +
;[http://meltin.net/hacks/haskell/ HasChorus]
  +
:A set of Haskell modules written on top of Haskore to make it easier to sequence simple, repetitive music.
  +
  +
;[[MIDI]] processing libraries, both for MIDI file handling and real-time MIDI
  +
  +
;[[Hommage]]
  +
:Haskell Offline Music Manipulation And Generation EDSL - a highly experimental sound production library.
  +
  +
=== Signal processing ===
  +
  +
;[[DSP|HaskellDSP]]
  +
:Signal processing coded in Haskell. Contains also some matrix and stochastic computations which are required for signal processing.
  +
:Now managed with [http://darcs.haskell.org/dsp/ darcs repository], shipped via [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/dsp Hackage].
  +
  +
;[[Synthesizer|Synthesizer library]]
  +
:Signal processing related to audio effects coded in plain Haskell. There is both a low-level interface and a framework for automatical inference of sample rate and amplitude of signals in a sound processing network. This generalizes the usual restricted splitting into audio rate and control rate signals. There is an interface for using synthesized sounds for rendering [[Haskore]] music. Recent versions require [[Numeric Prelude]]. See an [http://dafx04.na.infn.it/WebProc/Proc/P_201.pdf early paper] on the concepts. Highly experimental.
   
== Music and Sound ==
+
;[http://www.cs.nott.ac.uk/~ggg/ YampaSynth]
  +
:Modular synthesizer using [http://www.haskell.org/yampa/ Yampa]. Can process SoundFont files. There was a presentation at Haskell Workshop 2007 in Freiburg, Germany, of which a [http://video.google.com/videoplay?docid=-8742804023527878309 video] was recorded.
   
=== Sound Libraries ===
+
=== Wrappers ===
   
 
;HOpenAL
 
;HOpenAL
Line 11: Line 52:
 
:Contains bindings to libSDL, libSDL_gfx, libSDL_image, libSDL_mixer and libSDL_ttf.
 
:Contains bindings to libSDL, libSDL_gfx, libSDL_image, libSDL_mixer and libSDL_ttf.
   
;[http://haskelldsp.sourceforge.net/ HaskellDSP]
+
;[[JACK]] and [[ALSA]] wrappers by [http://open-projects.net/~shahn/index.php?seite=code Sönke Hahn]
:Signal processing coded in Haskell. Contains also some matrix and stochastic computations which are required for signal processing.
 
 
;[http://www.haskell.org/pipermail/haskell-cafe/2006-October/018704.html JACK wrapper]
 
   
;[http://www.slavepianos.org/rd/f/207949/ SuperCollider]
+
;[[SuperCollider]] by [http://www.slavepianos.org/rd/f/207949/ Rohan Drape]
 
:Interface to the realtime software synthesizer [http://www.audiosynth.com/ SuperCollider]. Experimental. Includes widely useful [http://cnmat.berkeley.edu/OpenSoundControl/ OpenSoundControl] module.
 
:Interface to the realtime software synthesizer [http://www.audiosynth.com/ SuperCollider]. Experimental. Includes widely useful [http://cnmat.berkeley.edu/OpenSoundControl/ OpenSoundControl] module.
   
;[http://darcs.haskell.org/synthesizer/ Synthesizer library]
+
;[[CSound]]
:Signal processing related to audio effects coded in plain Haskell. There is both a low-level interface and a framework for automatical inference of sample rate and amplitude of signals in a sound processing network. This generalizes the usual restricted splitting into audio rate and control rate signals. There is an interface for using synthesized sounds for rendering [[Haskore]] music. Recent versions require [http://darcs.haskell.org/numericprelude/ NumericPrelude]. Highly experimental.
 
   
=== Applications ===
+
;[http://www.student.nada.kth.se/~alfonsoa/HLADSPA/ HLADPSA]
  +
:A port of [http://www.ladspa.org/ LADSPA] (Linux Audio Developer's Simple Plugin API) to Haskell. Still highly experimental. The project can be regarded as an example of how to create plugins and shared libraries in Haskell without making use of [http://www.cse.unsw.edu.au/~dons/hs-plugins/ hs-plugins].
   
;[http://www.cse.unsw.edu.au/~dons/hmp3.html hmp3]
+
;[http://mcs.une.edu.au/~bsinclai/code/libmpd-haskell.html MPD client library]
:hmp3 is a curses-based mp3 player frontend to mpg321 and mpg123. It is written in Haskell. It is designed to be simple, fast and robust. It's very stable, with one instance running for several months.
+
:A client library for controlling an MPD server.
   
;[http://urchin.earth.li/darcs/ian/minstrel/ minstrel]
+
;[[OpenAL]]
:Minstrel is a curses frontend to the GStreamer library written in Haskell.
+
:OpenAL (short for Open Audio Library) is a library for creation of a virtual 3D world of sound.
   
=== Composing Music ===
+
;[[ALUT]]
  +
:The OpenAL Utility Toolkit (ALUT) is an extension to [[OpenAL]]
   
;[http://haskell.org/haskore/ The Haskore Computer Music System]
+
== Hackage==
:Haskore is a collection of Haskell modules designed for expressing musical structures in the high-level, declarative style of functional programming. Haskore is a means for describing music - in particular Western Music - rather than sound. It is not a vehicle for synthesizing sound produced by musical instruments, for example, although it does capture the way certain (real or imagined) instruments permit control of dynamics and articulation. Haskore compositions can be translated into various executable formats like MIDI and printed in traditional notation.
 
   
;[[Haskore]] related projects
+
* [http://hackage.haskell.org/packages/archive/pkg-list.html#cat:Sound Sound libraries on Hackage]
   
;[http://meltin.net/hacks/haskell/ HasChorus]
+
== Data formats ==
:A set of Haskell modules written on top of Haskore to make it easier to sequence simple, repetitive music.
 
   
[[Category:Music]]
+
Different sound libraries use different in-memory data formats. For a summary by category, see [[Sound data structures]].
  +
  +
[[Category:Music|*]]

Latest revision as of 16:52, 12 November 2011

This page contains a list of libraries and tools in a certain category. For a comprehensive list of such pages, see Libraries and tools.

Contents

[edit] 1 Applications

hmp3
hmp3 is a curses-based mp3 player frontend to mpg321 and mpg123. It is written in Haskell. It is designed to be simple, fast and robust. It's very stable, with one instance running for several months.
minstrel
Minstrel is a curses frontend to the GStreamer library written in Haskell.
hxine
A console frontend to the xine library
HOgg
A library for handling the Ogg container format. Note that this just deals with the Ogg container, not with the contained Vorbis audio or Theora video etc. Includes a commandline tool (hogg) for querying files, merging and ripping tracks, hexdumping packets and pages and so on.

[edit] 2 Libraries

[edit] 2.1 Music composition

The Haskore Computer Music System
Haskore is a collection of Haskell modules designed for expressing musical structures in the high-level, declarative style of functional programming. Haskore is a means for describing music - in particular Western Music - rather than sound. It is not a vehicle for synthesizing sound produced by musical instruments, for example, although it does capture the way certain (real or imagined) instruments permit control of dynamics and articulation. Haskore compositions can be translated into various audible formats like MIDI, CSound and SuperCollider. (Former versions in LISP could generate traditional notation output, but this is currently not available in the Haskell version.)
Haskore related projects
HasChorus
A set of Haskell modules written on top of Haskore to make it easier to sequence simple, repetitive music.
MIDI processing libraries, both for MIDI file handling and real-time MIDI
Hommage
Haskell Offline Music Manipulation And Generation EDSL - a highly experimental sound production library.

[edit] 2.2 Signal processing

HaskellDSP
Signal processing coded in Haskell. Contains also some matrix and stochastic computations which are required for signal processing.
Now managed with darcs repository, shipped via Hackage.
Synthesizer library
Signal processing related to audio effects coded in plain Haskell. There is both a low-level interface and a framework for automatical inference of sample rate and amplitude of signals in a sound processing network. This generalizes the usual restricted splitting into audio rate and control rate signals. There is an interface for using synthesized sounds for rendering Haskore music. Recent versions require Numeric Prelude. See an early paper on the concepts. Highly experimental.
YampaSynth
Modular synthesizer using Yampa. Can process SoundFont files. There was a presentation at Haskell Workshop 2007 in Freiburg, Germany, of which a video was recorded.

[edit] 2.3 Wrappers

HOpenAL
A Haskell Binding for OpenAL and ALUT. The goal of this project is to provide a binding for OpenAL, a cross-platform 3D audio API, appropriate for use with gaming applications and many other types of audio applications.
hsSDL
Contains bindings to libSDL, libSDL_gfx, libSDL_image, libSDL_mixer and libSDL_ttf.
JACK and ALSA wrappers by Sönke Hahn
SuperCollider by Rohan Drape
Interface to the realtime software synthesizer SuperCollider. Experimental. Includes widely useful OpenSoundControl module.
CSound
HLADPSA
A port of LADSPA (Linux Audio Developer's Simple Plugin API) to Haskell. Still highly experimental. The project can be regarded as an example of how to create plugins and shared libraries in Haskell without making use of hs-plugins.
MPD client library
A client library for controlling an MPD server.
OpenAL
OpenAL (short for Open Audio Library) is a library for creation of a virtual 3D world of sound.
ALUT
The OpenAL Utility Toolkit (ALUT) is an extension to OpenAL

[edit] 3 Hackage

[edit] 4 Data formats

Different sound libraries use different in-memory data formats. For a summary by category, see Sound data structures.