Class: MusicTheory::Transpose
- Inherits:
-
Object
- Object
- MusicTheory::Transpose
- Includes:
- Output
- Defined in:
- lib/music_theory/transpose.rb
Instance Attribute Summary collapse
-
#samples ⇒ Object
Returns the value of attribute samples.
Instance Method Summary collapse
-
#initialize ⇒ Transpose
constructor
A new instance of Transpose.
Methods included from Output
#buffer_format, #format, #output_track, #play, #sample_rate
Constructor Details
#initialize ⇒ Transpose
Returns a new instance of Transpose.
9 10 11 |
# File 'lib/music_theory/transpose.rb', line 9 def initialize # Add code that transposes up or down x octaves end |
Instance Attribute Details
#samples ⇒ Object
Returns the value of attribute samples.
7 8 9 |
# File 'lib/music_theory/transpose.rb', line 7 def samples @samples end |