Fix derivative which wasn't working correctly; add silence threshold
Comment
This seems conceptually simpler (I happened to be writing this elsewhere so thought I'd make it match)
Part of the Bisquay compendium.
Sample streams and block streams in SML. Structures which return samples or blocks of samples on request, either generated or loaded somehow or by adapting other streams. Includes mutable (with internal state) and immutable streams of various types. Very literal static typing and optimisation opportunity are favoured over terseness and flexibility. See structure documentation for more.
Copyright 2020-2022 Chris Cannam. MIT/X11 licence. See the file COPYING for details.