Struct SignalModulation
A wobble on a cue’s level over time: a slow oscillator with harmonics above it, each a little off its rate, and a slower one bending its phase, so the wobble never quite repeats. At a rate of zero there is none.
Assembly: DarkEffekt.Terminal
Section titled “Assembly: DarkEffekt.Terminal”[Serializable]public struct SignalModulationProperties
Section titled “Properties”No wobble.
public static SignalModulation None { get; }Fields
Section titled “Fields”[Tooltip("Cycles a second of the wobble. Zero for none.")][Min(0)]public float rate[Tooltip("How far the level dips at the bottom of the wobble, from 0 to 1.")][Range(0, 1)]public float depthharmonics
Section titled “harmonics”[Tooltip("Partials above the fundamental, each quieter and a little off its rate.")][Range(0, 6)]public int harmonicsfmRate
Section titled “fmRate”[Tooltip("Cycles a second of a slower wave bending the phase.")][Min(0)]public float fmRatefmDepth
Section titled “fmDepth”[Tooltip("How far that wave bends the phase, in turns.")][Min(0)]public float fmDepthMethods
Section titled “Methods”Value(double, int)
Section titled “Value(double, int)”The level’s share at a time, from 1 minus the depth up to 1.
public float Value(double seconds, int seed)Returns
Section titled “Returns”System.Single
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Double |
seconds |
System.Int32 |
seed |