         let keys: [String] = [rootNoteKeyStr, startNoteKeyStr, endNoteKeyStr, filenameKeyStr]
         return NSMutableDictionary.init(objects: defaultObjects, forKeys: keys)
     }
+    
     /// Output Amplitude.
     /// Range: -90.0 -> +12 db
     /// Default: 0 db

        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("                                </dict>\n")
        templateStr.appendContentsOf("                                <dict>\n")
        templateStr.appendContentsOf("                                    <key>curve</key>\n")

        let sampleNumStart = 268435457
        
        //iterate over the sounds
        for i in 0..<dict.count{
            let sound = dict.allValues[i]
            var soundDict:NSMutableDictionary
            var alreadyLoaded = false
