pub struct AudioSpectralSheetView<'a> {
pub alpha: f32,
pub mu: f32,
pub bins: &'a [f32],
pub position: [f32; 3],
pub track_v: u8,
pub manifold_w: u8,
}Expand description
Zero-heap generative sheet view for U3 worklet / parametric DSP.
Fields§
§alpha: f32Tensor alpha channel (generative gain control).
mu: f32Tensor mu channel (parametric morph weight).
bins: &'a [f32]Spectral bins (borrowed — typically a sidecar frame or preview array).
position: [f32; 3]Emitter position from the tensor xyz channels.
track_v: u8Track velocity quantized to u8.
manifold_w: u8Manifold weight quantized to u8.
Implementations§
Source§impl<'a> AudioSpectralSheetView<'a>
impl<'a> AudioSpectralSheetView<'a>
Sourcepub fn from_tensor_preview(t: &Tensor10D, bins: &'a [f32]) -> Self
pub fn from_tensor_preview(t: &Tensor10D, bins: &'a [f32]) -> Self
Build a view over caller-supplied bins from a tensor’s scalar
channels; v/w are clamped to the u8 range.
Trait Implementations§
Source§impl<'a> Clone for AudioSpectralSheetView<'a>
impl<'a> Clone for AudioSpectralSheetView<'a>
impl<'a> Copy for AudioSpectralSheetView<'a>
Auto Trait Implementations§
impl<'a> Freeze for AudioSpectralSheetView<'a>
impl<'a> RefUnwindSafe for AudioSpectralSheetView<'a>
impl<'a> Send for AudioSpectralSheetView<'a>
impl<'a> Sync for AudioSpectralSheetView<'a>
impl<'a> Unpin for AudioSpectralSheetView<'a>
impl<'a> UnsafeUnpin for AudioSpectralSheetView<'a>
impl<'a> UnwindSafe for AudioSpectralSheetView<'a>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more