Class: Deftones::Component::MidSideSplit::OutputTap

Inherits:
Deftones::Core::AudioNode show all
Defined in:
lib/deftones/component/mid_side_split.rb

Instance Attribute Summary

Attributes inherited from Deftones::Core::AudioNode

#context, #input

Instance Method Summary collapse

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:, mode:, context: Deftones.context) ⇒ OutputTap

Returns a new instance of OutputTap.



38
39
40
41
42
# File 'lib/deftones/component/mid_side_split.rb', line 38

def initialize(parent:, mode:, context: Deftones.context)
  super(context: context)
  @parent = parent
  @mode = mode
end

Instance Method Details

#render(num_frames, start_frame = 0, cache = {}) ⇒ Object



48
49
50
# File 'lib/deftones/component/mid_side_split.rb', line 48

def render(num_frames, start_frame = 0, cache = {})
  @parent.render_output(@mode, num_frames, start_frame, cache)
end

#render_block(num_frames, start_frame = 0, cache = {}) ⇒ Object



44
45
46
# File 'lib/deftones/component/mid_side_split.rb', line 44

def render_block(num_frames, start_frame = 0, cache = {})
  @parent.render_output_block(@mode, num_frames, start_frame, cache)
end