Moirave generates shimmering Moiré patterns and shifting geometries from audio input.

by Alison Rush (CCRMA - MUS 256a.HW2)

Moirave uses RTAudio to take in stereo sound and generate patterns. Amplitude over time is tracked by multiplied parallel waveforms, the left channel running horizontally (purple) and the right channel vertically (yellow). The channel amplitude also affects the size, color and transparency of several other objects.

moiraveforms "Moiraveforms"

Channel halos change size, color, and transparency to amplitude in left and right channels; as with the Moiraveforms, the yellow/green, vertically arranged circles correspond to the left channel, and the purplish, horizontally arranged ones to the right channel.
The Stairway stores amplitude history from both channels and displays it as a waterfall-style chart, spiraling into the center with the most recent values closest and farthest down. The Stairway registers total volume in three “stages”: if the volume is low, the Stairway is reddish and dark. At mid-volume, it flickers brighter and slightly greener, and at high volumes it is shifted toward blue.
The stairway also acts as an indicator of recent dynamic range: when volume stays relatively constant, it remains relatively flat, but rapid changes in loudness make it sway and twist. Whirling blue fairies also change speed, color, and trajectory in response to amplitude.


Compile the XCode project inside the zipped folder and run it: usage text should appear on screen.
Try turning features on one at a time...
...or all at once: press 'a' for all.