Play notes simultaneously
play_chord
[notes (list)]
Play a list of notes at the same time. Accepts optional args for modification of the synth being played. See each synth's documentation for synth-specific opts. See use_synth and with_synth for changing the current synth.
Introduced in v2.0.0
|
play_chord [40, 45, 47] # same as: play 40 play 45 play 47 |
|
|
play_chord [40, 45, 47], amp: 0.5 # same as: play 40, amp: 0.5 play 45, amp: 0.5 play 47, amp: 0.5 |
|
|
play_chord chord(:e3, :minor) |