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

Example 0 

play_chord [40, 45, 47]



play 40
play 45
play 47


 
 
# same as:
 
 
 
 



Example 1 

play_chord [40, 45, 47], amp: 0.5



play 40, amp: 0.5
play 45, amp: 0.5
play 47, amp: 0.5


 
 
# same as:
 
 
 
 



Example 2 

play_chord chord(:e3, :minor)