Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Guo committed Jun 4, 2015
1 parent 4eb6fb1 commit e581271
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions Examples/ChaosHarmonizer/ChaosHarmonizer/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ class ViewController: NSViewController {
if let first = messages.first {
if first.on {
let possibleChords = [
// ChordQuality.Major,
// ChordQuality.Minor,
// ChordQuality.Sus2,
// ChordQuality.Sus4,
// ChordQuality.DominantSeventh,
// ChordQuality.DominantEleventhFlatNineFlatThirteen,
// ChordQuality.DominantEleventhFlatNineFlatThirteen,
// ChordQuality.DominantNinthSharpElevenFlatThirteen,
// ChordQuality.DominantThirteenthSharpEleven,
] + ChordQuality.Heptads
ChordQuality.Major,
ChordQuality.Minor,
ChordQuality.Sus2,
ChordQuality.Sus4,
]
// + ChordQuality.Pentads
let index = arc4random_uniform(UInt32(possibleChords.count))
let quality = possibleChords[Int(index)]
let intervals = quality.intervals
Expand Down

0 comments on commit e581271

Please sign in to comment.