Class: Scruby::Audio::Ugens::OperationUgens::BinaryOpUGen
- Inherits:
-
BasicOpUgen
- Object
- Ugen
- BasicOpUgen
- Scruby::Audio::Ugens::OperationUgens::BinaryOpUGen
- Defined in:
- lib/scruby/audio/ugens/operation_ugens.rb
Constant Summary
Constants inherited from Ugen
Constants included from UgenOperations
UgenOperations::BINARY, UgenOperations::OP_SYMBOLS, UgenOperations::UNARY
Instance Attribute Summary
Attributes inherited from BasicOpUgen
Attributes inherited from Ugen
#channels, #index, #inputs, #output_index, #rate
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Ugen
#encode, #initialize, instantiate, #muladd, synthdef, synthdef=, #to_s, #ugen?
Methods included from UgenOperations
Constructor Details
This class inherits a constructor from Scruby::Audio::Ugens::Ugen
Class Method Details
.new(operator, left, right) ⇒ Object
38 39 40 |
# File 'lib/scruby/audio/ugens/operation_ugens.rb', line 38 def self.new( operator, left, right ) super end |
Instance Method Details
#special_index ⇒ Object
42 43 44 |
# File 'lib/scruby/audio/ugens/operation_ugens.rb', line 42 def special_index UgenOperations::BINARY[ operator.to_sym ] end |