     }
 
 }
+
+public enum SampleTrigMode: String {
+    case Hold = "hold"
+    case Trig = "trig"
+    case Loop = "loop"
+}
 /*
  making notes of parameters as I reverse engineer them...
  to access a the next layer, add 256

        return str
    }
    
    static public func generateMinimalConnections(layer: Int = 0) -> String {
        let layerOffset: Int = 256*layer
        let pitchDest: Int = 816840704+layerOffset
        let envelopeSource: Int = 536870912+layerOffset

        return str
    }
    
    static func generateZone(id: Int,
                             rootNote: Int,
                             startNote: Int,
                             endNote: Int,
