Module tune::tuning[][src]

Types for working with musical tunings.

Structs

Approximation

The result of a find operation on Scales or Tunings.

ConcertPitch

A ConcertPitch enables Notes to sound at a Pitch different to what would be expected in 440 Hz standard tuning.

LinearMapping

Type adapter returned by Tuning::as_linear_mapping.

SortedTuning

Type adapter returned by Scale::as_sorted_tuning.

Traits

KeyboardMapping

Similar to a Tuning but not designed to be surjective or injecive.

Scale

A Scale is a tuning whose Pitches can be accessed in a sorted manner.

Tuning

A Tuning maps keys or notes of type K to a Pitch or vice versa.