Make xenharmonic music and explore musical tunings.

Resources

Overview

microwave is a microtonal waveform synthesizer based on:

It features a virtual piano UI enabling you to play polyphonic microtonal melodies with your touch screen, computer keyboard, MIDI keyboard or mouse. The UI provides information about pitches and just intervals in custom tuning systems.

Installation

bash cargo install -f microwave

To install microwave (build it from scratch) additional dev dependencies required by Nannou might need to be installed. On the CI environment (Ubuntu 18.04 LTS) the following installation step is sufficient:

bash sudo apt install libxcb-composite0-dev libasound2-dev

To run microwave you need the appropriate runtime libraries for your graphics card. For me (Ubuntu 18.04 LTS) the following step worked:

bash sudo apt install libvulkan1 mesa-vulkan-drivers vulkan-utils

If this doesn't help or you don't use Ubuntu/apt try following these instructions.

Usage

bash microwave run # 12-EDO scale (default) microwave run steps 1:22:2 # 22-EDO scale microwave run import my_scale.scl # imported scale

This should spawn a window displaying a virtual keyboard. Use your touch screen, computer keyboard or mouse to play melodies on the virtual piano.

Soundfont Files

For playback of sampled sounds you need to provide the location of a soundfont file. The location can be set via the environment variable MICROWAVE_SF or the command line:

bash microwave run --sf /usr/share/sounds/sf2/default-GM.sf2 steps 1:22:2

If you like to use compressed sf3 files you need to compile microwave with the sf3 feature enabled. Note that the startup will take significantly longer since the soundfont needs to be decompressed first.

MIDI Input

To use a MIDI device as an input source, use the --midi-in option:

bash microwave run --midi-in 1 steps 1:22:2

MIDI Output

To use a MIDI device as an output target, use the --midi-out option:

bash microwave run --midi-out 1 steps 1:22:2

More Options

For a complete list of command line options run

bash microwave help