| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Instrument
Documentation
type BaseAmplitude = Amplitude Source #
data Instrument Source #
Constructors
| Instrument BaseFrequency BaseAmplitude NoteStrike [InstrumentEvent] |
Instances
| Show Instrument Source # | |
Defined in Language.Instrument Methods showsPrec :: Int -> Instrument -> ShowS # show :: Instrument -> String # showList :: [Instrument] -> ShowS # | |
data InstrumentEvent Source #
Constructors
| NoteEvent StartTime Duration AmplitudeMult Note | |
| ChordEvent StartTime Duration AmplitudeMult Chord |
Instances
| Show InstrumentEvent Source # | |
Defined in Language.Instrument Methods showsPrec :: Int -> InstrumentEvent -> ShowS # show :: InstrumentEvent -> String # showList :: [InstrumentEvent] -> ShowS # | |