Minim

Minim is an audio library that uses the JavaSound API, a bit of Tritonus, and Javazoom’s MP3SPI to provide an easy to use audio library for people developing in the Processing environment. The philosophy behind the API is to make integrating audio into your sketches as simple as possible while still providing a reasonable amount of flexibility for more advanced users. There are no callbacks and you do not ever need to directly manipulate sample arrays, all of the dirty work is handled for you. The download comes in two flavors: (1) just the jar files needed to use Minim and (2) a full distribution that includes the javadocs, examples, and source code. Minim is licensed under the GNU Lesser General Public License (LGPL), a copy of which is included with both distributions. Users of Minim 1.1 should peruse the Javadocs to see what’s changed (hint: not much has changed, but there are a couple of nice new things).

Download: Minim 2.0.2 full distro | Minim 2.0.2 library only

Minim 2.1.0 Beta


The next version of Minim is currently available as a Beta build. The big new feature is a music programming framework built around the concept of a unit generator (UGen). This framework makes it possible to intuitively create synthesis chains and schedule notes to be played with these chains. You can read about the framework beginning in the Minim Manual at the Music Programming Intro section. You can also peruse the Javadocs for the Beta build online at http://code.compartmental.net/minim-beta/javadoc/. The package ddf.minim.ugens contains all of the new music programming classes.

Download: Minim 2.1.0 BETA (new UGen Framework)

Installation


To install either distribution, unzip the file into the libraries folder in your sketchbook. Create this directory if it doesn’t exist. The zip should extract a directory named minim. You will then need to remove the version of Minim that is included with Processing.

On OSX: Find your Processing.app and right click, choose “Show Package Contents”. Then dig down to Contents/Resources/Java/modes/java/libraries and delete the minim folder in there.

On Windows: From the directory that contains Processing.exe, dig down to modes/java/libraries and delete the minim folder there.

Finally, restart Processing.

Here are some of the features of Minim:

  • AudioPlayer: Mono and Stereo playback of WAV, AIFF, AU, SND, and MP3 files.
  • AudioMetaData: An object filled with metadata about a file, such as ID3 tags.
  • AudioRecorder: Mono and Stereo audio recording either buffered or direct to disk.
  • AudioInput: Mono and Stereo input monitoring.
  • AudioOutput: Mono and Stereo sound synthesis.
  • AudioSignal: A simple interface for writing your own sound synthesis classes.
  • Comes with all the standard waveforms, a pink noise generator and a white noise generator. Additionally, you can extend the Oscillator class for easy implementation of your own periodic waveform.
  • AudioEffect: A simple interface for writing your own audio effects.
  • Comes with low pass, high pass, band pass, and notch filters. Additionally, you can extend the IIRFilter class for easy implementation of your own IIR filters.
  • Easy to attach signals and effects to AudioInputs and AudioOutputs. All the mixing and processing is taken care of for you.
  • Provides an FFT class for doing spectrum analysis.
  • Provides a BeatDetect class for doing beat detection.

Planned Features:

  • More AudioEffects like reverb, delay, phasing, ring modulation, and bit crushing.
  • Better filters using frequency domain filtering techniques.

To start using Minim, you can take a look at the Quickstart Guide or dive right into the Javadocs. If you have any questions about using the library you can post on the Processing forum or send me a private message there. If you find bugs, please report them on the Github issues page.

If you’d like to contribute to the development of Minim, simply fork the project on Github and send pull requests when you’ve got code you’d like us to consider for inclusion in the library.

Enjoy!

135 thoughts on “Minim

  1. Pingback: 3D Soundclash - Immersive sound reactive application by @field_io #Processing | CreativeApplications.Net

  2. Pingback: Kevin Heis - SignalCrawler

  3. Pingback: TriG « Under Construction

  4. Pingback: Minim Processing Library (Pachube + Arduino) : The Sonic Landscape

  5. Pingback: kellective» Sound visualisation

  6. Pingback: Update #2 (Processing/Minim/Pachube/Arduino) : The Sonic Landscape

  7. Pingback: Audio en Processing « Emiliusvgs Projects

  8. Pingback: 3rd party library licenses in libgdx

  9. Pingback: FFT + Realidad Aumentada « Emiliusvgs Projects

  10. Pingback: 00006: 7900km | 1am::blog

  11. I haven’t tried it, so I don’t know. The library still depends on the PApplet class, so if you can’t use that in J2me, you won’t be able to use Minim.

  12. Pingback: NYU ITP 4-in-4 » Table-Tap Instrument

  13. Pingback: Ahh Processing Monsters at Boulder Digital Works

  14. Pingback: Minim Pachube Test (July 5th 2010) | Nuvemlab

  15. Pingback: archibureau » 3D Data Soundscape

  16. Pingback: Isabel // Assignment for Advanced Microcontrollers and Wired/Wireless Communications « Concept Design & Prototyping Techniques

  17. Pingback: Sound Playback in Processing for Android « realmike.org

  18. Pingback: 09. Final Project Report – HoverMix | mtifall10

  19. Pingback: Máquinas Sensibles Workshop | aer studio

  20. Pingback: virtualunrealityproject.com » Blog Archive » Boolean isCool = true;

  21. Pingback: embedding a Processing Applet in SWT (Eclipse RCP), otherwise I’d need a text editor engine - - Coding Answers

  22. Pingback: Johnobos kreativer Block [Johannes Ulrich Gehrke sein Design Blog aus München]

  23. Pingback: Ahh Processing Monsters | Portfolio of RJ Duran

  24. Pingback: RUIS sounds! | Reality-based User Interface System

  25. Pingback: Ahh Processing Monsters « The Portfolio of RJ Duran

  26. Pingback: Audio processing w/o Processing | A Quarter To Seven

  27. Pingback: Software Meets Design » Archive » Sound visualization with Processing

  28. Pingback: Processing - ::w2zona

  29. Pingback: Codes in Processing basteln – Spiel: I wanna be the Airman | Photoshop Webdesign und Zeichenkurse

  30. Pingback: #ElkBot | RJ Duran: Hybrid Media Technologist, Algorithmic Artist, Interactive Developer

  31. Pingback: Etsy Whack-a-Treasury | Tensory Labs

  32. Pingback: AriffWambeck » Music Visualization with Processing and Minim

  33. Pingback: More on themes, and solidification « wydeco

  34. Pingback: wheniwas19 / DisplacerCode

  35. Pingback: Chaos auf der Semesterfahrt « Wellenbecken

  36. Pingback: Chaos auf der Semesterfahrt « Wellenbecken

  37. Pingback: Mind Chair | Computational Art

  38. Pingback: Yet Another Breakout Clone | W-Shadow.com

  39. Pingback: Process any Sound that is played through your Sound Card in Java / Processing [Ubuntu]

  40. Pingback: Exercise 6: Wii Violin | Computational Art

  41. Pingback: Text-to-speech « Amnon P5 – Experiments with Processing by Amnon Owed

  42. Pingback: BeatLaw – entrega final « Taller Game Mod

  43. Pingback: Aura | & such & such

  44. Pingback: Processing, Minim, and Music | wheatblog

  45. Pingback: Buzzer | Daniel Büchele

  46. Pingback: » The Mind Chair The MiND Ensemble

  47. Pingback: Blind Pong | Leds&Chips

  48. Pingback: Joujou avec Substrate … Partie 2: inspiration et premiers tests. | Le Press de Fabien

  49. Pingback: RE:Thinking » Media Controller

Comments are closed.