Skip to content

Commit

Permalink
added c7#5
Browse files Browse the repository at this point in the history
  • Loading branch information
BeauNouvelle committed Jun 12, 2023
1 parent abcbbd1 commit 78ba7ab
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 13 deletions.
5 changes: 4 additions & 1 deletion Sources/SwiftyChords/Chords.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public struct Chords {
case majorSeven = "maj7"
case majorSevenFlatFive = "maj7b5"
case majorSevenSharpFive = "maj7#5"
case sevenSharpFive = "7#5"
case majorNine = "maj9"
case majorEleven = "maj11"
case majorThirteen = "maj13"
Expand Down Expand Up @@ -198,6 +199,8 @@ public struct Chords {
return (" seven flat nine", "7b9", "⁷♭⁹", "⁷♭⁹")
case .sevenSharpNine:
return (" seven sharp nine", "7#9", "⁷♯⁹", "⁷♯⁹")
case .sevenSharpFive:
return (" dominant sharp five", "7#5", "⁷♯⁵", "⁷♯⁵")
case .eleven:
return (" eleven", "11", "¹¹", "¹¹")
case .nineSharpEleven:
Expand Down Expand Up @@ -304,7 +307,7 @@ public struct Chords {
return .suspended
case .aug, .augSeven, .augNine:
return .augmented
case .altered, .five, .six, .sixNine, .seven, .sevenFlatFive, .nine, .nineFlatFive, .sevenFlatNine, .sevenSharpNine, .eleven, .nineSharpEleven, .thirteen:
case .altered, .five, .six, .sixNine, .seven, .sevenFlatFive, .nine, .nineFlatFive, .sevenFlatNine, .sevenSharpNine, .eleven, .nineSharpEleven, .thirteen, .sevenSharpFive:
return .other
}
}
Expand Down
52 changes: 40 additions & 12 deletions Sources/SwiftyChords/Resources/GuitarChords.json
Original file line number Diff line number Diff line change
Expand Up @@ -2296,6 +2296,36 @@
{
"barres" : [

],
"suffix" : "7#5",
"baseFret" : 8,
"key" : "C",
"fingers" : [
1,
0,
2,
3,
4,
0
],
"midi" : [
60,
70,
76,
68
],
"frets" : [
1,
-1,
1,
2,
2,
-1
]
},
{
"barres" : [

],
"suffix" : "7#9",
"baseFret" : 1,
Expand Down Expand Up @@ -3086,27 +3116,25 @@
"key" : "C",
"fingers" : [
1,
4,
3,
2,
0,
2,
3,
4,
0
],
"midi" : [
48,
56,
60,
64,
59,
64
71,
76,
68
],
"frets" : [
1,
4,
3,
-1,
2,
0,
0
2,
2,
-1
]
},
{
Expand Down

0 comments on commit 78ba7ab

Please sign in to comment.