Method: Reight::Sound#initialize
- Defined in:
- lib/reight/sound.rb
#initialize(bpm = 120) ⇒ Sound
Returns a new instance of Sound.
10 11 12 13 |
# File 'lib/reight/sound.rb', line 10 def initialize(bpm = 120) @bpm = bpm @sequence = [[]] end |