Music Coder is a music programming library. It generates music entirely through code in the chosen programming language (Ruby). There are three main reasons a technically minded person would use Music Coder: Producing music: Write scripts that mimic human creativity, and put some randomness in it, giving you a program that can generate aesthetically pleasing music that is completely unique in each file generated. Scientific exploration: Use the functions in Music Coder to concisely apply algorithms or math to the structure and properties of sound. Making samples: create samples or sections of music that are too complex to be done by hand in graphical audio programs such as Ableton.

installgem install music_coder

Karl Glaser

2,932 total downloads 627 for this version


gem 'music_coder', '~> 0.9.1'
  1. 0.9.1 March 24, 2012 (28.5 KB)
  2. 0.9.0 March 8, 2012 (25 KB)
  3. 0.7.2 March 8, 2012 (22 KB)
  4. 0.7.1 March 8, 2012 (22 KB)
  5. 0.7.0 March 8, 2012 (20 KB)
Runtime Dependencies
  1. sndfile >= 0.2.0