scale_omnibus 0.1.0

A library of musical scales
Documentation
scale_omnibus-0.1.0 has been yanked.

The Scale Omnibus

The Scale Omnibus (wayback) is a book written by Francesco Balena, which is a catalouge of musical scales and their intervals. The scale_omnibus crate provides this data in the form of a Rust library.

This library contains YAML data compiled by Corey Hoard: ioanszilagyi/scale_omnibus

Features

  • More than 1000 musical scales.
  • Retrieve scales directly by name.
  • Search for scales based on any criteria, such as origin, name substring match, or the number of intervals.

Key Structures and Functions

Structures

  • [Scale]: Represents a musical scale with optional properties like intervals, notes, and origin.

Functions

  • [get_scale]: Retrieve a scale by name.
  • [get_scale_names]: Get a list of all available scale names.
  • [filter_scales]: Apply a custom filter to retrieve a subset of scales.
  • [find_scales_with_intervals_greater_than]: Find scales with more than a specified number of intervals.
  • [find_scales_by_origin]: Find scales associated with a specific origin.
  • [find_scales_with_up_down_intervals]: Find scales that define both ascending and descending intervals.