pub struct AcousticParams {
pub alpha: f32,
pub mu: f32,
pub position: [f32; 3],
pub track_v: f32,
pub manifold_w: f32,
pub epistemic_q: f32,
pub preview_bins: [f32; 64],
}Expand description
Scalar params extracted from a tensor node (no heap).
Fields§
§alpha: f32§mu: f32§position: [f32; 3]§track_v: f32§manifold_w: f32§epistemic_q: f32§preview_bins: [f32; 64]Implementations§
Source§impl AcousticParams
impl AcousticParams
Sourcepub fn from_tensor(t: &Tensor10D) -> Self
pub fn from_tensor(t: &Tensor10D) -> Self
Extract the acoustic subset of a 10D tensor node (position, velocity track, manifold weight, epistemic q, spectral preview bins).
Sourcepub fn to_uniform(self, enabled: bool) -> AcousticUniform
pub fn to_uniform(self, enabled: bool) -> AcousticUniform
Pack the params into a worklet AcousticUniform, deriving FM index
and frequency via configure_voice_from_tensor. enabled sets the
uniform’s on/off flag for the synth.
Sourcepub fn to_phenomenal_uniform(
self,
enabled: bool,
t: &Tensor10D,
listener_yaw: f32,
) -> AcousticUniform
pub fn to_phenomenal_uniform( self, enabled: bool, t: &Tensor10D, listener_yaw: f32, ) -> AcousticUniform
Phenomenal uniform — σ oracle frequency (P-F2) aligned with portal_spectral.
Trait Implementations§
Source§impl Clone for AcousticParams
impl Clone for AcousticParams
impl Copy for AcousticParams
Source§impl Debug for AcousticParams
impl Debug for AcousticParams
Source§impl PartialEq for AcousticParams
impl PartialEq for AcousticParams
impl StructuralPartialEq for AcousticParams
Auto Trait Implementations§
impl Freeze for AcousticParams
impl RefUnwindSafe for AcousticParams
impl Send for AcousticParams
impl Sync for AcousticParams
impl Unpin for AcousticParams
impl UnsafeUnpin for AcousticParams
impl UnwindSafe for AcousticParams
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