Skip to content

Commit

Permalink
🔀 Merge branch 'hugo/refactor/Redefine-Xylophone-activities'
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Dec 4, 2023
2 parents 7727b20 + b78394e commit 7da94fa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ let kActivities: [Activity] = [
ContentKit.decodeActivity("activity-hideAndSeek"),
ContentKit.decodeActivity("activity-xylophone-pentatonic"),
ContentKit.decodeActivity("activity-xylophone-heptatonic"),
ContentKit.decodeActivity("activity-xylophone-octatonic"),
]

struct GEKNewSystemView: View {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ import AudioKit
enum MIDIScale: String {
case majorPentatonic
case majorHeptatonic
case majorOctatonic

var notes: [MIDINoteNumber] {
switch self {
case .majorPentatonic:
return [24, 26, 28, 31, 33]
case .majorHeptatonic:
return [24, 26, 28, 29, 31, 33, 35]
case .majorOctatonic:
return [24, 26, 28, 29, 31, 33, 35, 36]
}
}
Expand Down

0 comments on commit 7da94fa

Please sign in to comment.