   "Returns a new globally unique id useful for feeding into send-trig
    and matching on the event stream.
 
-   (def uid (trig-id))
-   (defsynth foo [] (send-trig (impulse 10) uid (sin-osc)))
-   (on-trigger uid
-               (fn [val] (println \"trig val:\" val)))
-   (foo)"
+   See on-trigger docstring for usage example."
   []
   (next-id ::trig-id))
 

  "Registers a standard on-latest-event handler with key which will call
   handler when matching triggers are recieved. Triggers are created
   with the send-trig ugen. Handler should be a fn which takes one
   argument - the latest trigger value."
  ([trig-id handler key]
     (add-handler on-latest-event [:overtone :trigger trig-id] handler key))
  ([node trig-id handler key]

  "Registers a standard on-sync-event handler with key which will call
   handler when matching triggers are recieved. Triggers are created
   with the send-trig ugen. Handler should be a fn which takes one
   argument - the latest trigger value.

   Consider using trig-id to create a unique trigger id. See on-trigger
   docstring for usage example."
  ([trig-id handler key]
     (add-handler on-sync-event [:overtone :trigger trig-id] handler key))
  ([node trig-id handler key]
