tune 0.25.0

Explore musical tunings and create synthesizer tuning files for microtonal scales.
Documentation

Explore musical tunings and create synthesizer tuning files for microtonal scales.

Resources

Overview

tune is planned to be part of a larger ecosystem for microtonal software in Rust.

Current projects relying on tune are:

  • tune-cli: A command line tool with live-retuning capabilities
  • microwave: A microtonal modular waveform synthesizer
  • fluid-xenth: A microtonal soundfont renderer

Demo

Feature List

  • Pitch conversions
    • Convert between linear and logarithmic ratios
    • Determine the frequency for a given note in a custom tuning system
    • Determine the note for a given frequency in a custom tuning system
    • Find fractional approximations for frequency ratios
  • Export scales
    • To Scala (scl and kbm) format
    • As Midi Tuning Standard (MTS) Sysex Messages
      • Single Note Tuning Change (with Bank Select)
      • Scale/Octave Tuning (1-Byte and 2-Byte)
  • Import scales
    • From Scala (scl and kbm) format
  • Live retuning
    • Enhance the capabilities of synthesizers with limited tuning support
      • Tune channels ahead of time to keep the bandwidth low
      • Tune channels just in time for full pitch freedom
    • Pick the message type that your synth supports
      • Single Note Tuning
      • Scale/Octave Tuning
      • Channel Fine Tuning
      • Pitch Bend
  • Equal-step tunings
    • Analyze meantone and porcupine temperaments
    • Find keyboard layouts
    • Find patent vals
  • MIDI messages
    • Create basic MIDI messages
    • Create tuning-related RPN messages
    • Parse basic MIDI messages