Module: Util::Tuning

Included in:
Chordy
Defined in:
lib/chordy/util/tuning.rb

Instance Method Summary collapse

Instance Method Details

#is_tuning?(tuning) ⇒ Boolean

Returns:

  • (Boolean)

5
6
7
8
# File 'lib/chordy/util/tuning.rb', line 5

def is_tuning? tuning
  Tuning.instance_methods.include? tuning.to_s
  true
end

#tuning_6_aObject Also known as: tuning_a


14
15
16
# File 'lib/chordy/util/tuning.rb', line 14

def tuning_6_a
  ["a", "d", "g", "c", "e", "a"]
end

#tuning_6_bObject Also known as: tuning_b


18
19
20
# File 'lib/chordy/util/tuning.rb', line 18

def tuning_6_b
  ["b", "e", "a", "d", "f#", "b"]
end

#tuning_6_cObject Also known as: tuning_c


22
23
24
# File 'lib/chordy/util/tuning.rb', line 22

def tuning_6_c
  ["c", "f", "a#", "d#", "g", "c"]
end

#tuning_6_dObject Also known as: tuning_d


26
27
28
# File 'lib/chordy/util/tuning.rb', line 26

def tuning_6_d
  ["d", "g", "c", "f", "a", "d"]
end

#tuning_6_drop_aObject Also known as: tuning_drop_a


30
31
32
# File 'lib/chordy/util/tuning.rb', line 30

def tuning_6_drop_a
  ["a", "e", "a", "d", "f#", "b"]
end

#tuning_6_drop_cObject Also known as: tuning_drop_c


34
35
36
# File 'lib/chordy/util/tuning.rb', line 34

def tuning_6_drop_c
  ["c", "g", "c", "f", "a", "d"]
end

#tuning_6_drop_dObject Also known as: tuning_drop_d


38
39
40
# File 'lib/chordy/util/tuning.rb', line 38

def tuning_6_drop_d
  ["d", "a", "d", "g", "b", "e"]
end

#tuning_6_standardObject Also known as: tuning_standard


10
11
12
# File 'lib/chordy/util/tuning.rb', line 10

def tuning_6_standard
  ["e", "a", "d", "g", "b", "e"]
end

#tuning_7_aObject


46
47
48
# File 'lib/chordy/util/tuning.rb', line 46

def tuning_7_a
  ["a", "d", "g", "c", "f", "a", "d"]
end

#tuning_7_a_sharpObject Also known as: tuning_7_a!


50
51
52
# File 'lib/chordy/util/tuning.rb', line 50

def tuning_7_a_sharp
  ["a#", "d#", "g#", "c#", "f#", "a#", "d#"]
end

#tuning_7_cObject


54
55
56
# File 'lib/chordy/util/tuning.rb', line 54

def tuning_7_c
  ["c", "f", "a#", "d#", "g#", "c", "f"]
end

#tuning_7_dObject


58
59
60
# File 'lib/chordy/util/tuning.rb', line 58

def tuning_7_d
  ["d", "g", "c", "f", "a#", "d", "g"]
end

#tuning_7_drop_aObject


62
63
64
# File 'lib/chordy/util/tuning.rb', line 62

def tuning_7_drop_a
  ["a", "e", "a", "d", "f#", "b", "e"]
end

#tuning_7_drop_gObject


66
67
68
# File 'lib/chordy/util/tuning.rb', line 66

def tuning_7_drop_g
  ["g", "d", "g", "c", "f", "a", "d"]
end

#tuning_7_drop_g_sharpObject Also known as: tuning_7_drop_g!


70
71
72
# File 'lib/chordy/util/tuning.rb', line 70

def tuning_7_drop_g_sharp
  ["g#", "d#", "g#", "c#", "f#", "a#", "d#"]
end

#tuning_7_standardObject Also known as: tuning_7


42
43
44
# File 'lib/chordy/util/tuning.rb', line 42

def tuning_7_standard
  ["b", "e", "a", "d", "g", "b", "e"]
end

#tuning_8_aObject


78
79
80
# File 'lib/chordy/util/tuning.rb', line 78

def tuning_8_a
  ["a", "d", "g", "c", "f", "a", "d", "g"]
end

#tuning_8_drop_d_sharpObject Also known as: tuning_8_drop_d!


90
91
92
# File 'lib/chordy/util/tuning.rb', line 90

def tuning_8_drop_d_sharp
  ["eb", "bb", "eb", "ab", "db", "gb", "bb", "eb"]
end

#tuning_8_drop_eObject


94
95
96
# File 'lib/chordy/util/tuning.rb', line 94

def tuning_8_drop_e
  ["e", "b", "e", "a", "d", "g", "b", "e"]
end

#tuning_8_eObject


82
83
84
# File 'lib/chordy/util/tuning.rb', line 82

def tuning_8_e
  ["e", "a", "d", "g", "c", "f", "a", "d"]
end

#tuning_8_fObject


86
87
88
# File 'lib/chordy/util/tuning.rb', line 86

def tuning_8_f
  ["fb", "bb", "eb", "ab", "db", "gb", "bb", "eb"]
end

#tuning_8_standardObject


74
75
76
# File 'lib/chordy/util/tuning.rb', line 74

def tuning_8_standard
  ["f#", "b", "e", "a", "d", "g", "b", "e"]
end