Safe Haskell | None |
---|
This module gives an example of complete musical structure. It defines the notion of note.
- data Note a = Note {}
- nx :: Step -> Score (Note a)
- mapNoteParam :: (Maybe a -> Maybe b) -> Note a -> Note b
- data Drum a = Drum {
- drumVolume :: Volume
- drumParam :: Maybe a
- bam :: Accent -> Score (Drum a)
- mapDrumParam :: (Maybe a -> Maybe b) -> Drum a -> Drum b
- n0 :: Score (Note a)
- n1 :: Score (Note a)
- n2 :: Score (Note a)
- n3 :: Score (Note a)
- n4 :: Score (Note a)
- n5 :: Score (Note a)
- n6 :: Score (Note a)
- n7 :: Score (Note a)
- n8 :: Score (Note a)
- n9 :: Score (Note a)
- n10 :: Score (Note a)
- n11 :: Score (Note a)
- n12 :: Score (Note a)
- n13 :: Score (Note a)
- n14 :: Score (Note a)
- n15 :: Score (Note a)
- n16 :: Score (Note a)
- n17 :: Score (Note a)
- n18 :: Score (Note a)
- n19 :: Score (Note a)
- n20 :: Score (Note a)
- n21 :: Score (Note a)
- n22 :: Score (Note a)
- n23 :: Score (Note a)
- bd :: Accent -> Score (Drum a)
- wd :: Accent -> Score (Drum a)
- hd :: Accent -> Score (Drum a)
- qd :: Accent -> Score (Drum a)
- ed :: Accent -> Score (Drum a)
- sd :: Accent -> Score (Drum a)
- td :: Accent -> Score (Drum a)
- dbd :: Accent -> Score (Drum a)
- dwd :: Accent -> Score (Drum a)
- dhd :: Accent -> Score (Drum a)
- dqd :: Accent -> Score (Drum a)
- ded :: Accent -> Score (Drum a)
- dsd :: Accent -> Score (Drum a)
- dtd :: Accent -> Score (Drum a)
Types
Note
has volume, pitch and some timbral paramters.
bam :: Accent -> Score (Drum a)Source
Constructs drum note with given accent. Level is set to the default value.
Shortcuts
Note shortcuts
Function n[i] is equivalent to call note i
.
Drum shortcuts
See Temporal.Music.Score shortcuts for naming conventions.