Copyright | (c) Hans Hoglund 2012-2014 |
---|---|

License | BSD-style |

Maintainer | hans@hanshoglund.se |

Stability | experimental |

Portability | non-portable (TF,GNTD) |

Safe Haskell | None |

Language | Haskell2010 |

Provides a representation of musical *slides*, commonly known as *glissando* or
*portamento*.

- class HasSlide a where
- setBeginGliss :: Bool -> a -> a
- setBeginSlide :: Bool -> a -> a
- setEndGliss :: Bool -> a -> a
- setEndSlide :: Bool -> a -> a

- newtype SlideT a = SlideT {}
- slide :: (HasPhrases' s a, HasSlide a) => s -> s
- glissando :: (HasPhrases' s a, HasSlide a) => s -> s

# Slides and glissando

setBeginGliss :: Bool -> a -> a Source

setBeginSlide :: Bool -> a -> a Source

setEndGliss :: Bool -> a -> a Source

setEndSlide :: Bool -> a -> a Source

HasSlide a => HasSlide [a] | |

HasSlide a => HasSlide (Note a) | |

HasSlide a => HasSlide (Voice a) | |

HasSlide a => HasSlide (Score a) | |

HasSlide a => HasSlide (TieT a) | |

HasSlide (SlideT a) | |

HasSlide a => HasSlide (TextT a) | |

HasSlide a => HasSlide (HarmonicT a) | |

HasSlide a => HasSlide (TremoloT a) | |

HasSlide a => HasSlide (ColorT a) | |

HasSlide a => HasSlide (b, a) | |

HasSlide a => HasSlide (Couple b a) | |

HasSlide a => HasSlide (PartT n a) |

slide :: (HasPhrases' s a, HasSlide a) => s -> s Source

Add a slide between the first and the last note.

glissando :: (HasPhrases' s a, HasSlide a) => s -> s Source

Add a glissando between the first and the last note.