Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BillyDM/Firewheel
/ functions
Functions
1,143 in github.com/BillyDM/Firewheel
⨍
Functions
1,143
◇
Types & classes
317
↓ 121 callers
Method
get
Get an immutable reference to a resource in the store. # Panics Panics if the given resource does not exist.
crates/firewheel-core/src/node.rs:1084
↓ 77 callers
Method
target_value
The target value of the parameter.
crates/firewheel-core/src/param/smoother.rs:67
↓ 64 callers
Method
add
(self, rhs: DurationSeconds)
crates/firewheel-core/src/clock.rs:288
↓ 61 callers
Method
min
(&self)
crates/firewheel-core/src/param/range.rs:99
↓ 56 callers
Method
push
(&mut self, data: NodeEventType)
crates/firewheel-graph/src/context.rs:1445
↓ 55 callers
Method
as_ref
(&self)
crates/firewheel-core/src/diff/notify.rs:146
↓ 42 callers
Method
reset_to_target
Reset the internal smoothing filter to the current target value.
crates/firewheel-core/src/dsp/mix.rs:147
↓ 41 callers
Method
as_mut
(&mut self)
crates/firewheel-core/src/diff/notify.rs:152
↓ 40 callers
Method
clone
(&self)
crates/firewheel-core/src/collector.rs:319
↓ 37 callers
Method
clamp
Map a value to its corresponding raw value for use in DSP
crates/firewheel-core/src/param/range.rs:17
↓ 35 callers
Method
max
(&self)
crates/firewheel-core/src/param/range.rs:103
↓ 33 callers
Method
next_smoothed
(&mut self)
crates/firewheel-core/src/param/smoother.rs:115
↓ 32 callers
Method
add_node
(&mut self, node_type: NodeType)
examples/visual_node_graph/src/system.rs:151
↓ 29 callers
Method
collect
(&self)
crates/firewheel-core/src/collector.rs:87
↓ 29 callers
Method
event_queue
(&mut self, node_id: NodeID)
examples/visual_node_graph/src/system.rs:318
↓ 28 callers
Method
update_memo
Generate events if the inner value has changed. This will also clone the inner value and assign it to the baseline. This may be inefficient if clonin
crates/firewheel-core/src/diff/memo.rs:29
↓ 26 callers
Method
set_value
Set the target value of the parameter.
crates/firewheel-core/src/param/smoother.rs:72
↓ 25 callers
Method
channel_config
The channel configuration of this node. By default this has a channel configuration with zero input and output channels. WARNING: Audio nodes *MUST*
crates/firewheel-core/src/node.rs:126
↓ 25 callers
Method
connect
Add connections (edges) between two nodes to the graph. `src_node` - The ID of the source node. `dst_node` - The ID of the destination node. `ports_s
crates/firewheel-graph/src/graph.rs:416
↓ 25 callers
Method
debug_name
A unique name for this type of node, used for debugging purposes.
crates/firewheel-core/src/node.rs:113
↓ 23 callers
Method
is_channel_silent
Returns `true` if the channel is marked as silent, `false` otherwise. `i` must be less than `64`.
crates/firewheel-core/src/mask.rs:35
↓ 23 callers
Method
settle
Settle the filter if its state is close enough to the target value. Returns `true` if this filter is settled, `false` if not.
crates/firewheel-core/src/param/smoother.rs:80
↓ 22 callers
Method
is_empty
(&self)
crates/firewheel-core/src/event.rs:408
↓ 22 callers
Method
push_param
(&mut self, data: impl Into<ParamData>, path: PathBuilder)
crates/firewheel-core/src/diff/mod.rs:703
↓ 21 callers
Function
verify_edge
( edge_id: EdgeID, graph: &AudioGraph, schedule: &CompiledSchedule, inserted_s
crates/firewheel-graph/src/graph/compiler/schedule.rs:1293
↓ 19 callers
Function
flag_mut
(buffer_flags: &mut [BufferFlags], buffer_index: usize)
crates/firewheel-graph/src/graph/compiler/schedule.rs:925
↓ 19 callers
Method
get
(&self)
crates/firewheel-core/src/dsp/mix.rs:56
↓ 19 callers
Method
to_samples
Convert the instant to the given time in samples. If this instant is of type [`EventInstant::AtClockMusical`] and either there is no musical transpor
crates/firewheel-core/src/clock.rs:75
↓ 18 callers
Method
is_smoothing
(&self)
crates/firewheel-core/src/dsp/mix.rs:157
↓ 18 callers
Method
set_smooth_seconds
(&mut self, seconds: f32, sample_rate: NonZeroU32)
crates/firewheel-core/src/param/smoother.rs:132
↓ 18 callers
Method
update_sample_rate
(&mut self, sample_rate: NonZeroU32)
crates/firewheel-core/src/dsp/mix.rs:152
↓ 17 callers
Method
contains
Returns `true` if a resource with the given `TypeID` exists in this store.
crates/firewheel-core/src/node.rs:1076
↓ 17 callers
Function
now
Return [`Instant::now`] in contexts where it's available. In a Wasm-with-JS context, [`Instant::now`] will panic in an audio worklet. Rather than pan
crates/firewheel-graph/src/time.rs:7
↓ 17 callers
Method
set_channel
Mark/un-mark the given channel as silent. `i` must be less than `64`.
crates/firewheel-core/src/mask.rs:83
↓ 16 callers
Method
add
(self, rhs: Self)
crates/firewheel-core/src/dsp/volume.rs:141
↓ 16 callers
Method
amp_clamped
Get the volume in raw amplitude for use in DSP. If the resulting amplitude is `<= min_amp`, then `0.0` (silence) will be returned.
crates/firewheel-core/src/dsp/volume.rs:53
↓ 16 callers
Method
drain
Iterate over all events, draining the events from the list.
crates/firewheel-core/src/event.rs:413
↓ 16 callers
Method
get
(&self)
crates/firewheel-core/src/channel_config.rs:29
↓ 16 callers
Function
verify_node
( node_id: NodeID, in_ports_that_should_clear: &[bool], num_sum_ins: usize, sc
crates/firewheel-graph/src/graph/compiler/schedule.rs:1220
↓ 15 callers
Method
clone
(&self)
crates/firewheel-core/src/dsp/buffer.rs:305
↓ 15 callers
Method
id
(&self)
crates/firewheel-core/src/diff/notify.rs:130
↓ 15 callers
Method
mask
(&self)
crates/firewheel-core/src/dsp/coeff_update.rs:30
↓ 15 callers
Method
push
(&mut self, data: NodeEventType)
crates/firewheel-core/src/diff/mod.rs:712
↓ 14 callers
Function
add_dummy_node
( graph: &mut AudioGraph, channel_config: impl Into<ChannelConfig>, )
crates/firewheel-graph/src/graph/compiler/schedule.rs:1208
↓ 14 callers
Method
all_channels_silent
Returns `true` if all channels are marked as silent, `false` otherwise. `num_channels` must be less than or equal to `64`.
crates/firewheel-core/src/mask.rs:55
↓ 14 callers
Method
connect
( &mut self, src_node: NodeID, dst_node: NodeID, src_port: u32, dst_po
examples/visual_node_graph/src/system.rs:258
↓ 14 callers
Function
db_to_amp
(db: f32)
crates/firewheel-core/src/dsp/volume.rs:236
↓ 13 callers
Method
insert
Insert a new resource into the store. If a resource with this `TypeID` already exists, then an error will be returned instead.
crates/firewheel-core/src/node.rs:1040
↓ 13 callers
Method
is_active
Returns `true` if the context is currently active (the [`FirewheelProcessor`] counterpart is still alive).
crates/firewheel-graph/src/context.rs:459
↓ 13 callers
Method
linear
Get the volume in linear units, where `0.0` is silence and `1.0` is unity gain.
crates/firewheel-core/src/dsp/volume.rs:108
↓ 13 callers
Method
read
(&self)
crates/firewheel-nodes/src/freeverb/delay_line.rs:20
↓ 13 callers
Method
resize
(&mut self, delay_length: usize)
crates/firewheel-nodes/src/freeverb/comb.rs:49
↓ 12 callers
Method
field
(&self, name: &str)
crates/firewheel-core/src/diff/notify.rs:413
↓ 12 callers
Method
has_settled
(&self)
crates/firewheel-core/src/dsp/mix.rs:161
↓ 12 callers
Method
to_seconds
(self, sample_rate: NonZeroU32, sample_rate_recip: f64)
crates/firewheel-core/src/clock.rs:419
↓ 11 callers
Function
amp_to_db
(amp: f32)
crates/firewheel-core/src/dsp/volume.rs:246
↓ 11 callers
Function
g
(cutoff_hz: f32, sample_rate_recip: f32)
crates/firewheel-core/src/dsp/filter/svf.rs:370
↓ 11 callers
Method
graph_out_node_id
(&self)
examples/visual_node_graph/src/system.rs:280
↓ 11 callers
Method
log_status
(&mut self)
crates/firewheel-cpal/src/lib.rs:678
↓ 11 callers
Method
set_silent
(&mut self, silent: bool, frames: u16)
crates/firewheel-graph/src/graph/compiler/schedule.rs:233
↓ 10 callers
Method
apply
(&mut self, value: Self::Patch)
crates/firewheel-nodes/src/sampler.rs:619
↓ 9 callers
Method
all_streams_ok
Returns `true` if the all audio streams (input and/or output) are still running. Returns `false` if any audio stream has stopped unexpectedly (i.e. a
crates/firewheel-cpal/src/lib.rs:711
↓ 9 callers
Method
clone
(&self)
crates/firewheel-nodes/src/triple_buffer.rs:529
↓ 9 callers
Method
do_update
(&self, i: usize)
crates/firewheel-core/src/dsp/coeff_update.rs:94
↓ 9 callers
Method
get_mut
Get a mutable reference to a resource in the store. # Panics Panics if the given resource does not exist.
crates/firewheel-core/src/node.rs:1092
↓ 9 callers
Method
queue_event_for
Queue an event to be sent to an audio node's processor. Note, this event will not be sent until the event queue is flushed in [`FirewheelContext::upd
crates/firewheel-graph/src/context.rs:1268
↓ 9 callers
Method
remove
Indicate that data has been dropped.
crates/firewheel-core/src/collector.rs:79
↓ 9 callers
Method
reset
(&mut self)
crates/firewheel-nodes/src/peak_meter.rs:82
↓ 9 callers
Method
try_error
Log the given error message.
crates/firewheel-core/src/log.rs:193
↓ 8 callers
Function
adjust_length
(length: usize, sr: usize)
crates/firewheel-nodes/src/freeverb/freeverb.rs:30
↓ 8 callers
Method
frames
(&self)
crates/firewheel-core/src/dsp/buffer.rs:47
↓ 8 callers
Method
frames
(&self)
crates/firewheel-core/src/dsp/declick.rs:527
↓ 8 callers
Method
iter_channels_mut
Iterate over all the channels mutably. Each channel slice will have a length of `self.frames()`.
crates/firewheel-core/src/dsp/buffer.rs:297
↓ 8 callers
Method
samples_to_musical
Convert the time in samples to the corresponding time in musical beats. `sample_time` - The time in samples to convert. `transport_start` - The insta
crates/firewheel-core/src/clock/transport.rs:124
↓ 8 callers
Method
settle
Settle the filter if its state is close enough to the target value. Returns `true` if this filter is settled, `false` if not.
crates/firewheel-core/src/dsp/filter/smoothing_filter.rs:75
↓ 7 callers
Method
apply
(&mut self, patch: Self::Patch)
crates/firewheel-core/src/clock.rs:163
↓ 7 callers
Method
channels
Get an immutable reference to the first given number of channels in this buffer. # Panics Panics if `NUM_CHANNELS > Self::CHANNELS`
crates/firewheel-core/src/dsp/buffer.rs:109
↓ 7 callers
Method
disconnect_by_edge_id
Remove a connection (edge) via the edge's unique ID. If the edge did not exist in this graph, then `None` will be returned.
crates/firewheel-graph/src/graph.rs:574
↓ 7 callers
Method
fade_to_0
(&mut self, declick_values: &DeclickValues)
crates/firewheel-core/src/dsp/declick.rs:54
↓ 7 callers
Method
musical_to_samples
( &self, musical: InstantMusical, sample_rate: NonZeroU32, )
crates/firewheel-graph/src/processor/transport.rs:41
↓ 7 callers
Method
update
( &mut self, stream_info: Option<&StreamInfo>, event_queue: &mut Vec<NodeEvent>, )
crates/firewheel-graph/src/graph.rs:763
↓ 7 callers
Method
update_coefficients
(&mut self, cutoff_hz: f32, q: f32, gain: f32, sample_rate_recip: f32)
crates/firewheel-nodes/src/svf.rs:571
↓ 6 callers
Method
amp
Get the volume in raw amplitude for use in DSP.
crates/firewheel-core/src/dsp/volume.rs:43
↓ 6 callers
Method
custom_state
Custom `!Send` state that can be stored in the Firewheel context and accessed by the user. The user accesses this state via `FirewheelCtx::node_state
crates/firewheel-core/src/node.rs:156
↓ 6 callers
Method
diff
( &self, baseline: &Self, path: crate::diff::PathBuilder, event_queue: &mut E,
crates/firewheel-core/src/clock.rs:128
↓ 6 callers
Method
len_frames
The length of this resource in samples (of a single channel of audio). Not to be confused with video frames.
crates/firewheel-nodes/src/sampler/resource.rs:56
↓ 6 callers
Function
q_norm
(q: f32)
crates/firewheel-core/src/dsp/filter/svf.rs:375
↓ 6 callers
Method
randomize
(&mut self, rng: &mut XorRng)
benches/core.rs:40
↓ 6 callers
Function
scale_q_norm_for_order
(q_norm: f32, scale: f32)
crates/firewheel-core/src/dsp/filter/svf.rs:387
↓ 6 callers
Method
send_message_to_processor
( &mut self, msg: ContextToProcessorMsg, )
crates/firewheel-graph/src/context.rs:1373
↓ 6 callers
Method
set
( &mut self, value: Box<dyn bevy_reflect::Reflect>, )
crates/firewheel-core/src/diff/notify.rs:395
↓ 5 callers
Method
activate
Activate the context with the given audio stream. Use [`FirewheelContext::is_active`] to check if the context is ready to be activated. Note, in rar
crates/firewheel-graph/src/context.rs:475
↓ 5 callers
Method
as_frames
(&self, sample_rate: NonZeroU32)
crates/firewheel-nodes/src/triple_buffer.rs:54
↓ 5 callers
Method
downcast_mut
Try to downcast the custom event to a mutable reference to `T`. If this does not contain [`NodeEventType::Custom`] or if the downcast failed, then th
crates/firewheel-core/src/event.rs:113
↓ 5 callers
Method
duration_since
Returns the amount of time elapsed from another instant to this one. If `earlier` is later than this one, then the returned value will be negative.
crates/firewheel-core/src/clock.rs:243
↓ 5 callers
Function
dyn_symphonium_resource
A helper method to convert a [`symphonium::DecodedAudio`] resource into a type erased [`SampleResource`].
crates/firewheel-symphonium/src/lib.rs:169
↓ 5 callers
Method
fade_to_1
(&mut self, declick_values: &DeclickValues)
crates/firewheel-core/src/dsp/declick.rs:74
↓ 5 callers
Method
graph_out_node
The ID of the graph output node
crates/firewheel-graph/src/graph.rs:191
↓ 5 callers
Method
has_settled_at_or_below
Returns `true` if this parameter has settled to a value less than or equal to the given value, `false` if not.
crates/firewheel-core/src/param/smoother.rs:104
↓ 5 callers
Method
node_info
Get information about a node in the graph. If the node does not exist in the graph, then `None` will be returned.
crates/firewheel-graph/src/context.rs:1002
next →
1–100 of 1,143, ranked by callers