pub enum NodeType {
Gain(GainNode),
Oscillator(OscillatorNode),
Microphone(MicrophoneNode),
File(FileNode),
Mixer(MixerNode),
Delay(DelayNode),
Convolver(ConvolverNode),
Filter(FilterNode),
}Expand description
Represents the different types of audio nodes available in the library.
Each variant wraps a specific node implementation.
Variants§
Gain(GainNode)
Adjusts the volume of the audio signal.
Oscillator(OscillatorNode)
Generates periodic waveforms (e.g., sine waves).
Microphone(MicrophoneNode)
Captures audio from the system’s default microphone.
File(FileNode)
Reads audio data from a file.
Mixer(MixerNode)
Mixes multiple audio signals together.
Delay(DelayNode)
Delays the audio signal by a specified amount of time.
Convolver(ConvolverNode)
Applies convolution (e.g., for reverb or IR effects).
Filter(FilterNode)
Applies biquad filtering (e.g., low-pass, high-pass).
Implementations§
Auto Trait Implementations§
impl !Freeze for NodeType
impl !RefUnwindSafe for NodeType
impl Send for NodeType
impl !Sync for NodeType
impl Unpin for NodeType
impl UnsafeUnpin for NodeType
impl !UnwindSafe for NodeType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more