MacroSynthOsc

Enum MacroSynthOsc 

Source
#[repr(u8)]
pub enum MacroSynthOsc {
Show 48 variants CSAW = 0, MORPH = 1, SAW_SQUARE = 2, SINE_TRIANGLE = 3, BUZZ = 4, SQUARE_SUB = 5, SAW_SUB = 6, SQUARE_SYNC = 7, SAW_SYNC = 8, TRIPLE_SAW = 9, TRIPLE_SQUARE = 10, TRIPLE_TRIANGLE = 11, TRIPLE_SIN = 12, TRIPLE_RNG = 13, SAW_SWARM = 14, SAW_COMB = 15, TOY = 16, DIGITAL_FILTER_LP = 17, DIGITAL_FILTER_PK = 18, DIGITAL_FILTER_BP = 19, DIGITAL_FILTER_HP = 20, VOSIM = 21, VOWEL = 22, VOWEL_FOF = 23, HARMONICS = 24, FM = 25, FEEDBACK_FM = 26, CHAOTIC_FEEDBACK_FM = 27, PLUCKED = 28, BOWED = 29, BLOWN = 30, FLUTED = 31, STRUCK_BELL = 32, STRUCK_DRUM = 33, KICK = 34, CYMBAL = 35, SNARE = 36, WAVETABLES = 37, WAVE_MAP = 38, WAV_LINE = 39, WAV_PARAPHONIC = 40, FILTERED_NOISE = 41, TWIN_PEAKS_NOISE = 42, CLOCKED_NOISE = 43, GRANULAR_CLOUD = 44, PARTICLE_NOISE = 45, DIGITAL_MOD = 46, MORSE_NOISE = 47,
}
Expand description

Macro synth oscilator modes.

Variants§

§

CSAW = 0

§

MORPH = 1

§

SAW_SQUARE = 2

§

SINE_TRIANGLE = 3

§

BUZZ = 4

§

SQUARE_SUB = 5

§

SAW_SUB = 6

§

SQUARE_SYNC = 7

§

SAW_SYNC = 8

§

TRIPLE_SAW = 9

§

TRIPLE_SQUARE = 10

§

TRIPLE_TRIANGLE = 11

§

TRIPLE_SIN = 12

§

TRIPLE_RNG = 13

§

SAW_SWARM = 14

§

SAW_COMB = 15

§

TOY = 16

§

DIGITAL_FILTER_LP = 17

§

DIGITAL_FILTER_PK = 18

§

DIGITAL_FILTER_BP = 19

§

DIGITAL_FILTER_HP = 20

§

VOSIM = 21

§

VOWEL = 22

§

VOWEL_FOF = 23

§

HARMONICS = 24

§

FM = 25

§

FEEDBACK_FM = 26

§

CHAOTIC_FEEDBACK_FM = 27

§

PLUCKED = 28

§

BOWED = 29

§

BLOWN = 30

§

FLUTED = 31

§

STRUCK_BELL = 32

§

STRUCK_DRUM = 33

§

KICK = 34

§

CYMBAL = 35

§

SNARE = 36

§

WAVETABLES = 37

§

WAVE_MAP = 38

§

WAV_LINE = 39

§

WAV_PARAPHONIC = 40

§

FILTERED_NOISE = 41

§

TWIN_PEAKS_NOISE = 42

§

CLOCKED_NOISE = 43

§

GRANULAR_CLOUD = 44

§

PARTICLE_NOISE = 45

§

DIGITAL_MOD = 46

§

MORSE_NOISE = 47

Trait Implementations§

Source§

impl Clone for MacroSynthOsc

Source§

fn clone(&self) -> MacroSynthOsc

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MacroSynthOsc

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MacroSynthOsc

Source§

fn default() -> MacroSynthOsc

Returns the “default value” for a type. Read more
Source§

impl From<MacroSynthOsc> for u8

Source§

fn from(enum_value: MacroSynthOsc) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for MacroSynthOsc

Source§

fn eq(&self, other: &MacroSynthOsc) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u8> for MacroSynthOsc

Source§

type Error = TryFromPrimitiveError<MacroSynthOsc>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for MacroSynthOsc

Source§

impl Copy for MacroSynthOsc

Source§

impl StructuralPartialEq for MacroSynthOsc

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.