Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Sharc.Types
- type Hz = Double
- type Db = Double
- type PitchName = String
- data Pitch = Pitch {}
- type Sharc = [Instr]
- data Instr = Instr {
- instrId :: String
- instrName :: String
- instrLegend :: Legend
- instrRange :: Range InstrRange
- instrNotes :: [Note]
- data HarmonicFreq = HarmonicFreq {}
- data Amplitude = Amplitude {}
- data Note = Note {}
- data Harmonic = Harmonic {}
- data Range a = Range {
- rangeLowest :: a
- rangeHighest :: a
- data InstrRange = InstrRange {}
- data NoteRange = NoteRange {}
- data NoteRangeAmplitude = NoteRangeAmplitude {}
- data NoteRangeHarmonicFreq = NoteRangeHarmonicFreq {}
- data Legend = Legend {}
Documentation
Constructors
Instr | |
Fields
|
Constructors
Amplitude | |
Fields |
Constructors
Note | |
Harmonic is repesented with number in the spectrum, phase (-pi, pi), and amplitude (given in decibels relative to the amplitude of the loudest harmonic for that note)
Constructors
Harmonic | |
Fields
|
Constructors
Range | |
Fields
|
Constructors
NoteRange | |