Safe Haskell | Safe-Inferred |
---|
Synopsis
- data ScaleMap = ScaleMap {}
- data Instrument = Instrument {}
- data Absolute = Absolute !Pitch.Octave !Pitch.PitchClass
- make_scale :: Text -> ScaleMap -> Doc.Doc -> Scale
- data Layout = Layout {
- start :: Pitch.PitchClass
- intervals :: Intervals
- theory :: Theory.Layout
- d_to_c :: Vector.Vector Chromatic
- c_to_d :: Vector.Vector (Diatonic, ChromaticSteps)
- degree_to_pc :: Map Pitch.Degree Pitch.PitchClass
- make_layout :: Int -> [Pitch.Semi] -> Layout
- data Format = Format {}
- cipher_absolute :: Layout -> Format
- cipher_octave_relative :: Layout -> Instrument -> Format
- data Laras = Laras {}
Documentation
data Instrument Source #
Instances
Show Instrument Source # | |
Defined in Derive.Scale.JavaScales showsPrec :: Int -> Instrument -> ShowS # show :: Instrument -> String # showList :: [Instrument] -> ShowS # |
An absolute pitch as parsed from Pitch.Note, so e.g. 1-7 (for 1-7). This is the "chromatic" representation, while Pitch is the diatonic one, taking pathet into account.
TheoryFormat has a similar notion of relative to absolute, but it's the other way around, in that Pitch.Pitch is the absolute one, while Pitch.Note is relative.
Layout | |
|
make_layout :: Int -> [Pitch.Semi] -> Layout Source #
Format
cipher_absolute :: Layout -> Format Source #
cipher_octave_relative :: Layout -> Instrument -> Format Source #
Tuning
Describe the frequencies in a saih. This doesn't say what the range is,
since that's in the ScaleMap
, and all saihs in one scale should have the
same range.
Laras | |
|