Enum ittech::VolumeSlide [−][src]
Effects Dxx
, Kxx
, Lxx
, Nxx
, Wxx
All of these commands perform a volume slide but on different mixers.
Dxx
,Kxx
,Lxx
- note volume slideNxx
- channel volume slideWxx
- global volume slide
Canonicalization
Values where both nibbles are in 1..=0xE
at the same time don't have a defined meaning, these
get skipped by the parser.
Variants
Down(RangedU8<1, 0x0F>)
D0x
, K0x
, L0x
, N0x
, W0x
Volume slide down by x
Decreases mixer volume by x
units on every tick of the row except the first.
If x
is 0xF
, volume decreases on every tick (including the first).
Up(RangedU8<1, 0x0F>)
Dx0
, Kx0
, Lx0
, Nx0
, Wx0
Volume slide up by x
Increases mixer volume by x
units on every tick of the row except the first.
Volume will not exceed 0x40
.
FineDown(RangedU8<1, 0x0E>)
DFx
, KFx
, LFx
, NFx
, WFx
Fine volume slide down by x
Finely decreases mixer volume by only applying x
units on the first tick of the row.
FineUp(RangedU8<1, 0x0F>)
DxF
, KxF
, LxF
, NxF
, WxF
Fine volume slide up by x
Finely increases mixer volume by only applying x
units on the first tick of the row.
OpenMPT documents that this value cannot be 0xF
however both OpenMPT and Schism Tracker
parse it this way so we allow it too.
Trait Implementations
impl Clone for VolumeSlide
[src]
fn clone(&self) -> VolumeSlide
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VolumeSlide
[src]
impl Debug for VolumeSlide
[src]
impl PartialEq<VolumeSlide> for VolumeSlide
[src]
fn eq(&self, other: &VolumeSlide) -> bool
[src]
fn ne(&self, other: &VolumeSlide) -> bool
[src]
impl StructuralPartialEq for VolumeSlide
[src]
Auto Trait Implementations
impl RefUnwindSafe for VolumeSlide
[src]
impl Send for VolumeSlide
[src]
impl Sync for VolumeSlide
[src]
impl Unpin for VolumeSlide
[src]
impl UnwindSafe for VolumeSlide
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,