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
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.
Structs§
- Scale
- Represents a musical scale with various properties.
Enums§
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.