Copyright | (c) Henning Thielemann 2006 |
---|---|

License | GPL |

Maintainer | synthesizer@henning-thielemann.de |

Stability | provisional |

Portability | requires multi-parameter type classes |

Safe Haskell | None |

Language | Haskell2010 |

# dissection

takeUntilPause :: C a => a -> Int -> T a -> T a Source #

Take signal until it falls short of a certain amplitude for a given time.

takeUntilInterval :: (a -> Bool) -> Int -> T a -> T a Source #

Take values until the predicate p holds for n successive values. The list is truncated at the beginning of the interval of matching values.