MCPcopy Create free account

hub / github.com/BillyDM/Firewheel / functions

Functions1,143 in github.com/BillyDM/Firewheel

↓ 121 callersMethodget
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 callersMethodtarget_value
The target value of the parameter.
crates/firewheel-core/src/param/smoother.rs:67
↓ 64 callersMethodadd
(self, rhs: DurationSeconds)
crates/firewheel-core/src/clock.rs:288
↓ 61 callersMethodmin
(&self)
crates/firewheel-core/src/param/range.rs:99
↓ 56 callersMethodpush
(&mut self, data: NodeEventType)
crates/firewheel-graph/src/context.rs:1445
↓ 55 callersMethodas_ref
(&self)
crates/firewheel-core/src/diff/notify.rs:146
↓ 42 callersMethodreset_to_target
Reset the internal smoothing filter to the current target value.
crates/firewheel-core/src/dsp/mix.rs:147
↓ 41 callersMethodas_mut
(&mut self)
crates/firewheel-core/src/diff/notify.rs:152
↓ 40 callersMethodclone
(&self)
crates/firewheel-core/src/collector.rs:319
↓ 37 callersMethodclamp
Map a value to its corresponding raw value for use in DSP
crates/firewheel-core/src/param/range.rs:17
↓ 35 callersMethodmax
(&self)
crates/firewheel-core/src/param/range.rs:103
↓ 33 callersMethodnext_smoothed
(&mut self)
crates/firewheel-core/src/param/smoother.rs:115
↓ 32 callersMethodadd_node
(&mut self, node_type: NodeType)
examples/visual_node_graph/src/system.rs:151
↓ 29 callersMethodcollect
(&self)
crates/firewheel-core/src/collector.rs:87
↓ 29 callersMethodevent_queue
(&mut self, node_id: NodeID)
examples/visual_node_graph/src/system.rs:318
↓ 28 callersMethodupdate_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 callersMethodset_value
Set the target value of the parameter.
crates/firewheel-core/src/param/smoother.rs:72
↓ 25 callersMethodchannel_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 callersMethodconnect
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 callersMethoddebug_name
A unique name for this type of node, used for debugging purposes.
crates/firewheel-core/src/node.rs:113
↓ 23 callersMethodis_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 callersMethodsettle
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 callersMethodis_empty
(&self)
crates/firewheel-core/src/event.rs:408
↓ 22 callersMethodpush_param
(&mut self, data: impl Into<ParamData>, path: PathBuilder)
crates/firewheel-core/src/diff/mod.rs:703
↓ 21 callersFunctionverify_edge
( edge_id: EdgeID, graph: &AudioGraph, schedule: &CompiledSchedule, inserted_s
crates/firewheel-graph/src/graph/compiler/schedule.rs:1293
↓ 19 callersFunctionflag_mut
(buffer_flags: &mut [BufferFlags], buffer_index: usize)
crates/firewheel-graph/src/graph/compiler/schedule.rs:925
↓ 19 callersMethodget
(&self)
crates/firewheel-core/src/dsp/mix.rs:56
↓ 19 callersMethodto_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 callersMethodis_smoothing
(&self)
crates/firewheel-core/src/dsp/mix.rs:157
↓ 18 callersMethodset_smooth_seconds
(&mut self, seconds: f32, sample_rate: NonZeroU32)
crates/firewheel-core/src/param/smoother.rs:132
↓ 18 callersMethodupdate_sample_rate
(&mut self, sample_rate: NonZeroU32)
crates/firewheel-core/src/dsp/mix.rs:152
↓ 17 callersMethodcontains
Returns `true` if a resource with the given `TypeID` exists in this store.
crates/firewheel-core/src/node.rs:1076
↓ 17 callersFunctionnow
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 callersMethodset_channel
Mark/un-mark the given channel as silent. `i` must be less than `64`.
crates/firewheel-core/src/mask.rs:83
↓ 16 callersMethodadd
(self, rhs: Self)
crates/firewheel-core/src/dsp/volume.rs:141
↓ 16 callersMethodamp_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 callersMethoddrain
Iterate over all events, draining the events from the list.
crates/firewheel-core/src/event.rs:413
↓ 16 callersMethodget
(&self)
crates/firewheel-core/src/channel_config.rs:29
↓ 16 callersFunctionverify_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 callersMethodclone
(&self)
crates/firewheel-core/src/dsp/buffer.rs:305
↓ 15 callersMethodid
(&self)
crates/firewheel-core/src/diff/notify.rs:130
↓ 15 callersMethodmask
(&self)
crates/firewheel-core/src/dsp/coeff_update.rs:30
↓ 15 callersMethodpush
(&mut self, data: NodeEventType)
crates/firewheel-core/src/diff/mod.rs:712
↓ 14 callersFunctionadd_dummy_node
( graph: &mut AudioGraph, channel_config: impl Into<ChannelConfig>, )
crates/firewheel-graph/src/graph/compiler/schedule.rs:1208
↓ 14 callersMethodall_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 callersMethodconnect
( &mut self, src_node: NodeID, dst_node: NodeID, src_port: u32, dst_po
examples/visual_node_graph/src/system.rs:258
↓ 14 callersFunctiondb_to_amp
(db: f32)
crates/firewheel-core/src/dsp/volume.rs:236
↓ 13 callersMethodinsert
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 callersMethodis_active
Returns `true` if the context is currently active (the [`FirewheelProcessor`] counterpart is still alive).
crates/firewheel-graph/src/context.rs:459
↓ 13 callersMethodlinear
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 callersMethodread
(&self)
crates/firewheel-nodes/src/freeverb/delay_line.rs:20
↓ 13 callersMethodresize
(&mut self, delay_length: usize)
crates/firewheel-nodes/src/freeverb/comb.rs:49
↓ 12 callersMethodfield
(&self, name: &str)
crates/firewheel-core/src/diff/notify.rs:413
↓ 12 callersMethodhas_settled
(&self)
crates/firewheel-core/src/dsp/mix.rs:161
↓ 12 callersMethodto_seconds
(self, sample_rate: NonZeroU32, sample_rate_recip: f64)
crates/firewheel-core/src/clock.rs:419
↓ 11 callersFunctionamp_to_db
(amp: f32)
crates/firewheel-core/src/dsp/volume.rs:246
↓ 11 callersFunctiong
(cutoff_hz: f32, sample_rate_recip: f32)
crates/firewheel-core/src/dsp/filter/svf.rs:370
↓ 11 callersMethodgraph_out_node_id
(&self)
examples/visual_node_graph/src/system.rs:280
↓ 11 callersMethodlog_status
(&mut self)
crates/firewheel-cpal/src/lib.rs:678
↓ 11 callersMethodset_silent
(&mut self, silent: bool, frames: u16)
crates/firewheel-graph/src/graph/compiler/schedule.rs:233
↓ 10 callersMethodapply
(&mut self, value: Self::Patch)
crates/firewheel-nodes/src/sampler.rs:619
↓ 9 callersMethodall_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 callersMethodclone
(&self)
crates/firewheel-nodes/src/triple_buffer.rs:529
↓ 9 callersMethoddo_update
(&self, i: usize)
crates/firewheel-core/src/dsp/coeff_update.rs:94
↓ 9 callersMethodget_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 callersMethodqueue_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 callersMethodremove
Indicate that data has been dropped.
crates/firewheel-core/src/collector.rs:79
↓ 9 callersMethodreset
(&mut self)
crates/firewheel-nodes/src/peak_meter.rs:82
↓ 9 callersMethodtry_error
Log the given error message.
crates/firewheel-core/src/log.rs:193
↓ 8 callersFunctionadjust_length
(length: usize, sr: usize)
crates/firewheel-nodes/src/freeverb/freeverb.rs:30
↓ 8 callersMethodframes
(&self)
crates/firewheel-core/src/dsp/buffer.rs:47
↓ 8 callersMethodframes
(&self)
crates/firewheel-core/src/dsp/declick.rs:527
↓ 8 callersMethoditer_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 callersMethodsamples_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 callersMethodsettle
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 callersMethodapply
(&mut self, patch: Self::Patch)
crates/firewheel-core/src/clock.rs:163
↓ 7 callersMethodchannels
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 callersMethoddisconnect_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 callersMethodfade_to_0
(&mut self, declick_values: &DeclickValues)
crates/firewheel-core/src/dsp/declick.rs:54
↓ 7 callersMethodmusical_to_samples
( &self, musical: InstantMusical, sample_rate: NonZeroU32, )
crates/firewheel-graph/src/processor/transport.rs:41
↓ 7 callersMethodupdate
( &mut self, stream_info: Option<&StreamInfo>, event_queue: &mut Vec<NodeEvent>, )
crates/firewheel-graph/src/graph.rs:763
↓ 7 callersMethodupdate_coefficients
(&mut self, cutoff_hz: f32, q: f32, gain: f32, sample_rate_recip: f32)
crates/firewheel-nodes/src/svf.rs:571
↓ 6 callersMethodamp
Get the volume in raw amplitude for use in DSP.
crates/firewheel-core/src/dsp/volume.rs:43
↓ 6 callersMethodcustom_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 callersMethoddiff
( &self, baseline: &Self, path: crate::diff::PathBuilder, event_queue: &mut E,
crates/firewheel-core/src/clock.rs:128
↓ 6 callersMethodlen_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 callersFunctionq_norm
(q: f32)
crates/firewheel-core/src/dsp/filter/svf.rs:375
↓ 6 callersMethodrandomize
(&mut self, rng: &mut XorRng)
benches/core.rs:40
↓ 6 callersFunctionscale_q_norm_for_order
(q_norm: f32, scale: f32)
crates/firewheel-core/src/dsp/filter/svf.rs:387
↓ 6 callersMethodsend_message_to_processor
( &mut self, msg: ContextToProcessorMsg, )
crates/firewheel-graph/src/context.rs:1373
↓ 6 callersMethodset
( &mut self, value: Box<dyn bevy_reflect::Reflect>, )
crates/firewheel-core/src/diff/notify.rs:395
↓ 5 callersMethodactivate
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 callersMethodas_frames
(&self, sample_rate: NonZeroU32)
crates/firewheel-nodes/src/triple_buffer.rs:54
↓ 5 callersMethoddowncast_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 callersMethodduration_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 callersFunctiondyn_symphonium_resource
A helper method to convert a [`symphonium::DecodedAudio`] resource into a type erased [`SampleResource`].
crates/firewheel-symphonium/src/lib.rs:169
↓ 5 callersMethodfade_to_1
(&mut self, declick_values: &DeclickValues)
crates/firewheel-core/src/dsp/declick.rs:74
↓ 5 callersMethodgraph_out_node
The ID of the graph output node
crates/firewheel-graph/src/graph.rs:191
↓ 5 callersMethodhas_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 callersMethodnode_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