Class: MusicTheory::Transpose

Inherits:
Object
  • Object
show all
Includes:
Output
Defined in:
lib/music_theory/transpose.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Output

#buffer_format, #format, #output_track, #play, #sample_rate

Constructor Details

#initializeTranspose

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

#samplesObject

Returns the value of attribute samples.



7
8
9
# File 'lib/music_theory/transpose.rb', line 7

def samples
  @samples
end