Class: Chordy::B

Inherits:
Chord show all
Defined in:
lib/chordy/chords/b.rb

Constant Summary

Constants inherited from Chord

Chord::CHORD_FLAGS

Instance Method Summary collapse

Methods inherited from Chord

#add_flag, all_flags, end_of_strings, #flags, #get_index_to_print, get_num_high_strings, #has_flag, #initialize, #pad_or_trim, #play, #print_flag, print_half_length_string_at, #print_string_at, #print_string_with_flag_at, #reverse_strings!, short_chords, start_of_strings, #strings

Constructor Details

This class inherits a constructor from Chordy::Chord

Instance Method Details

#play_augmented_5Object



49
50
51
# File 'lib/chordy/chords/b.rb', line 49

def play_augmented_5
  [3, -1, 5, 4, 4, 3]
end

#play_augmented_7Object



53
54
55
# File 'lib/chordy/chords/b.rb', line 53

def play_augmented_7
  [-1, 2, 1, 2, 0, 3]
end

#play_augmented_major_7Object



57
58
59
# File 'lib/chordy/chords/b.rb', line 57

def play_augmented_major_7
  [-1, 2, -1, 3, 4, 3]
end

#play_diminished_5Object



61
62
63
# File 'lib/chordy/chords/b.rb', line 61

def play_diminished_5
  [1, -1, 3, 4, 3, 1]
end

#play_diminished_7Object



65
66
67
# File 'lib/chordy/chords/b.rb', line 65

def play_diminished_7
  [-1, -1, 0, 1, 0, 1]
end

#play_diminished_9Object



69
70
71
# File 'lib/chordy/chords/b.rb', line 69

def play_diminished_9
  [-1, 2, 1, 2, 1, 2]
end

#play_dominant_7Object



13
14
15
# File 'lib/chordy/chords/b.rb', line 13

def play_dominant_7
  [2, 2, 4, 2, 4, 2]
end

#play_dominant_7_5Object



17
18
19
# File 'lib/chordy/chords/b.rb', line 17

def play_dominant_7_5
  [-1, 2, 1, 2, 0, 1]
end

#play_half_diminished_7Object



41
42
43
# File 'lib/chordy/chords/b.rb', line 41

def play_half_diminished_7
  [1, 0, 0, 2, 0, 1]
end

#play_majorObject



5
6
7
# File 'lib/chordy/chords/b.rb', line 5

def play_major
  [2, 2, 4, 4, 4, 2]
end

#play_major_6Object



21
22
23
# File 'lib/chordy/chords/b.rb', line 21

def play_major_6
  [2, 2, 4, 4, 4, 4]
end

#play_major_7Object



25
26
27
# File 'lib/chordy/chords/b.rb', line 25

def play_major_7
  [2, 2, 4, 3, 4, 2]
end

#play_major_9Object



29
30
31
# File 'lib/chordy/chords/b.rb', line 29

def play_major_9
  [-1, 2, 1, 2, 2, 2]
end

#play_minorObject



9
10
11
# File 'lib/chordy/chords/b.rb', line 9

def play_minor
  [2, 2, 4, 4, 3, 2]
end

#play_minor_6Object



33
34
35
# File 'lib/chordy/chords/b.rb', line 33

def play_minor_6
  [-1, 2, 0, 1, 3, 2]
end

#play_minor_7Object



37
38
39
# File 'lib/chordy/chords/b.rb', line 37

def play_minor_7
  [-1, 2, 0, 2, 0, 2]
end

#play_minor_major_7Object



45
46
47
# File 'lib/chordy/chords/b.rb', line 45

def play_minor_major_7
  [2, 2, 4, 3, 3, 2]
end

#play_suspended_4Object



73
74
75
# File 'lib/chordy/chords/b.rb', line 73

def play_suspended_4
  [2, 2, 4, 4, 5, 2]
end

#play_suspended_7Object



77
78
79
# File 'lib/chordy/chords/b.rb', line 77

def play_suspended_7
  [2, 2, 2, 2, 5, 2]
end