Class: Deftones::Component::MultibandSplit::OutputTap
- Inherits:
-
Deftones::Core::AudioNode
- Object
- Deftones::Core::AudioNode
- Deftones::Component::MultibandSplit::OutputTap
- Defined in:
- lib/deftones/component/multiband_split.rb
Instance Attribute Summary
Attributes inherited from Deftones::Core::AudioNode
Instance Method Summary collapse
-
#initialize(parent:, band:, context: Deftones.context) ⇒ OutputTap
constructor
A new instance of OutputTap.
- #render(num_frames, start_frame = 0, cache = {}) ⇒ Object
- #render_block(num_frames, start_frame = 0, cache = {}) ⇒ Object
Methods inherited from Deftones::Core::AudioNode
#>>, #attach_destination, #attach_source, #block_time, #chain, #channel_count, #channel_count_mode, #channel_interpretation, #connect, #connected?, #default_input_channels, #default_output_channels, #destination_for_connection, #detach_all_destinations, #detach_destination, #detach_source, #disconnect, #dispose, #disposed?, #fan, #get, #immediate, #input_for_index, #inputs, #mix_source_blocks, #multichannel_process?, #name, #normalize_connection_index, #normalize_output_block, #now, #number_of_inputs, #number_of_outputs, #output, #output_for_connection, #output_for_index, #outputs, #process, #raise_connection_index_error!, #reaches_node?, #sample_time, #set, #to_destination, #to_frequency, #to_master, #to_midi, #to_output, #to_s, #to_seconds, #to_ticks, #uses_legacy_render_for_block?, #validate_connectable!, #validate_connection_index!
Constructor Details
#initialize(parent:, band:, context: Deftones.context) ⇒ OutputTap
Returns a new instance of OutputTap.
117 118 119 120 121 |
# File 'lib/deftones/component/multiband_split.rb', line 117 def initialize(parent:, band:, context: Deftones.context) super(context: context) @parent = parent @band = band end |
Instance Method Details
#render(num_frames, start_frame = 0, cache = {}) ⇒ Object
123 124 125 |
# File 'lib/deftones/component/multiband_split.rb', line 123 def render(num_frames, start_frame = 0, cache = {}) @parent.render_band(@band, num_frames, start_frame, cache) end |
#render_block(num_frames, start_frame = 0, cache = {}) ⇒ Object
127 128 129 |
# File 'lib/deftones/component/multiband_split.rb', line 127 def render_block(num_frames, start_frame = 0, cache = {}) @parent.render_band_block(@band, num_frames, start_frame, cache) end |