   distortion and reverb effects followed by a low-pass filter.  Use
   the pluck-strings and strum-strings helper functions to play the
   instrument. Note: the strings need to be silenced with a gate -> 0
-  transition before a gate -> 1 transition activates it.")
+  transition before a gate -> 1 transition activates it."
+             (if free-on-silence
+               " This instrument
+  is transient.  When a string becomes silent, it will be freed."
+               " This instrument
+  is persistent.  It will not be freed when the strings go silent."))
 
        [~@both-default-ins
         ~'dur       {:default 10.0  :min 1.0 :max 100.0}

   Note: the strings need to be silenced with a gate -> 0 transition
   before a gate -> 1 transition activates it.  Testing
   showed it needed > 25 ms between these transitions to be effective."
  [name num-strings]
  (let [note-ins (if (= num-strings 1)
                   [(symbol "note")]
                   (apply vector

(def guitar-strum (partial strum-strings guitar-chord-frets guitar-string-notes))

;; ======================================================================
;; Create the guitar defsynth.  Note that it is persistent and will
;; not be freed when any string goes silent.
(gen-stringed-synth guitar 6 false)

;; ======================================================================
;; Ektara - a single-string synth.  Mainly for use with the midi-poly-player.
