         templateStr.appendContentsOf("                                    <key>stage</key>\n")
         templateStr.appendContentsOf("                                    <integer>5</integer>\n")
         templateStr.appendContentsOf("                                    <key>time</key>\n")
-        templateStr.appendContentsOf("                                    <real>0.0</real>\n")
+        templateStr.appendContentsOf("                                    <real>***RELEASE***</real>\n")
         templateStr.appendContentsOf("                                </dict>\n")
         templateStr.appendContentsOf("                                <dict>\n")
         templateStr.appendContentsOf("                                    <key>curve</key>\n")

        }
    }//end func createAUPresetFromDict
    
    public static func generateTemplateDictionary(
        rootNote: Int,
        filename: String,

        templateStr = templateStr.stringByReplacingOccurrencesOfString("***INSTNAME***", withString: instName)
        templateStr = templateStr.stringByReplacingOccurrencesOfString("***ZONEMAPPINGS***", withString: sampleZoneXML)
        templateStr = templateStr.stringByReplacingOccurrencesOfString("***SAMPLEFILES***", withString: sampleIDXML)
        templateStr = templateStr.stringByReplacingOccurrencesOfString("***ATTACK***", withString: String(attack!))
        templateStr = templateStr.stringByReplacingOccurrencesOfString("***RELEASE***", withString: String(release!))
        
        //print(templateStr) //debug
        //write to file
