Class: Deftones::Analysis::Waveform
Defined Under Namespace
Classes: Snapshot
Instance Attribute Summary
#context, #input
Instance Method Summary
collapse
#>>, #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, #name, #normalize_connection_index, #normalize_output_block, #now, #number_of_inputs, #number_of_outputs, #output, #output_for_connection, #output_for_index, #outputs, #raise_connection_index_error!, #reaches_node?, #render, #render_block, #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(size: 1024, smoothing: 0.8, return_type: :float, normal_range: false, context: Deftones.context) ⇒ Waveform
Returns a new instance of Waveform.
24
25
26
27
28
29
30
31
32
33
34
|
# File 'lib/deftones/analysis/waveform.rb', line 24
def initialize(size: 1024, smoothing: 0.8, return_type: :float, normal_range: false, context: Deftones.context)
super(context: context)
@delegate = Analysis::Analyser.new(
size: size,
type: :waveform,
smoothing: smoothing,
return_type: return_type,
normal_range: normal_range,
context: context
)
end
|
Instance Method Details
#get_value ⇒ Object
Also known as:
getValue
68
69
70
|
# File 'lib/deftones/analysis/waveform.rb', line 68
def get_value
@delegate.get_value
end
|
#multichannel_process? ⇒ Boolean
88
89
90
|
# File 'lib/deftones/analysis/waveform.rb', line 88
def multichannel_process?
true
end
|
#normal_range ⇒ Object
Also known as:
normalRange
60
61
62
|
# File 'lib/deftones/analysis/waveform.rb', line 60
def normal_range
@delegate.normal_range
end
|
#normal_range=(value) ⇒ Object
64
65
66
|
# File 'lib/deftones/analysis/waveform.rb', line 64
def normal_range=(value)
@delegate.normal_range = value
end
|
#normalRange=(value) ⇒ Object
80
81
82
|
# File 'lib/deftones/analysis/waveform.rb', line 80
def normalRange=(value)
self.normal_range = value
end
|
#process(input_buffer, num_frames, start_frame, cache) ⇒ Object
84
85
86
|
# File 'lib/deftones/analysis/waveform.rb', line 84
def process(input_buffer, num_frames, start_frame, cache)
@delegate.process(input_buffer, num_frames, start_frame, cache)
end
|
#return_type ⇒ Object
Also known as:
returnType
52
53
54
|
# File 'lib/deftones/analysis/waveform.rb', line 52
def return_type
@delegate.return_type
end
|
#return_type=(value) ⇒ Object
56
57
58
|
# File 'lib/deftones/analysis/waveform.rb', line 56
def return_type=(value)
@delegate.return_type = value
end
|
#returnType=(value) ⇒ Object
76
77
78
|
# File 'lib/deftones/analysis/waveform.rb', line 76
def returnType=(value)
self.return_type = value
end
|
#size ⇒ Object
36
37
38
|
# File 'lib/deftones/analysis/waveform.rb', line 36
def size
@delegate.size
end
|
#size=(value) ⇒ Object
40
41
42
|
# File 'lib/deftones/analysis/waveform.rb', line 40
def size=(value)
@delegate.size = value
end
|
#smoothing ⇒ Object
44
45
46
|
# File 'lib/deftones/analysis/waveform.rb', line 44
def smoothing
@delegate.smoothing
end
|
#smoothing=(value) ⇒ Object
48
49
50
|
# File 'lib/deftones/analysis/waveform.rb', line 48
def smoothing=(value)
@delegate.smoothing = value
end
|