Crate scale_omnibus

Crate scale_omnibus 

Source
Expand description

§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

Structs§

Scale
Represents a musical scale with various properties.

Enums§

ScaleOmnibusError

Functions§

filter_scales
Filters scales based on a provided closure.
find_scales_by_origin
Finds scales originating from a specified origin.
find_scales_with_intervals_greater_than
Finds scales with a minimum number of intervals
find_scales_with_up_down_intervals
Finds scales that have divergent ascending and descending intervals.
get_scale
Retrieves a musical scale by its exact name.
get_scale_names
Returns a vector of all available scale names.