diff base/generics.lisp @ 156:cc7724248043

trim-enclosing-silence darcs-hash:20071204150055-1f211-d8ec6f8099926a2abe9a56411c94fb2de5ebbe45.gz
author d.mullensiefen <d.mullensiefen@gold.ac.uk>
date Tue, 04 Dec 2007 15:00:55 +0000
parents ebfe054eea1c
children 136ec5516cc4
line wrap: on
line diff
--- a/base/generics.lisp	Tue Dec 04 14:39:20 2007 +0000
+++ b/base/generics.lisp	Tue Dec 04 15:00:55 2007 +0000
@@ -394,6 +394,12 @@
   (:documentation "Returns ANCHORED-PERIOD of subclass
   appropriate to the class of value. Probably guessed."))
 
+(defgeneric trim-enclosing-silence (composition)
+  (:documentation "Returns a composition of the same type as
+  composition provided, with leading and following silences/rests
+  removed, but preserving all relevant information. Where
+  relevant, any silence in a bar containing musical material may
+  be preserved.")
 
 ;;; Dynamics 
 ;;; Voice