         } else if baseScale == self.minor {
             self.tones = self.minorScaleTones
             self.semis = self.minorScaleSemis
+        } else if baseScale == self.rhythm{
+            //pass
         } else {
-            println("[NotesAndScales - init]: baseScale must be 'major' or 'minor'")
+            println("[NotesAndScales - init]: baseScale must be 'major', 'minor' or 'rhythm'")
             exit(-1)
         }
     }

                    nextPitch += 2
                }
            }
            
            
        }
        
    }
    
    //Initialisation Function

- 'melody': monophonic
- 'drums': reduced note range and 'fractal hihats'
*/

import UIKit
import AudioToolbox

class TrackHandle {
    
    func newPart(partLength: Int) {
        
    }
    
    func addNote(trackIndex: Int, trackChannel: Int, pitch: Int, beat: Int, duration: Int, volume: Int ) {
        
    }
    
    
    func writeToFile(fileName: String) {
        
    }
    
    func clearBeat(beat: Int) {
        
    }
    
}

class Notes {
    
