pub struct CpClassicParameters { /* private fields */ }
Expand description
Parameters for the CpClassic
machine.
Implementations§
source§impl CpClassicParameters
impl CpClassicParameters
sourcepub fn set_lev(&mut self, lev: usize) -> Result<(), RytmError>
pub fn set_lev(&mut self, lev: usize) -> Result<(), RytmError>
Sets the lev
parameter.
Range: 0..=127
sourcepub fn plock_set_lev(
&self,
lev: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_lev( &self, lev: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the lev
parameter.
Range: 0..=127
source§impl CpClassicParameters
impl CpClassicParameters
sourcepub fn set_ton(&mut self, ton: usize) -> Result<(), RytmError>
pub fn set_ton(&mut self, ton: usize) -> Result<(), RytmError>
Sets the ton
parameter.
Range: 0..=127
sourcepub fn plock_set_ton(
&self,
ton: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_ton( &self, ton: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the ton
parameter.
Range: 0..=127
source§impl CpClassicParameters
impl CpClassicParameters
sourcepub fn set_nod(&mut self, nod: usize) -> Result<(), RytmError>
pub fn set_nod(&mut self, nod: usize) -> Result<(), RytmError>
Sets the nod
parameter.
Range: 0..=127
sourcepub fn plock_set_nod(
&self,
nod: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_nod( &self, nod: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the nod
parameter.
Range: 0..=127
source§impl CpClassicParameters
impl CpClassicParameters
sourcepub fn set_num(&mut self, num: usize) -> Result<(), RytmError>
pub fn set_num(&mut self, num: usize) -> Result<(), RytmError>
Sets the num
parameter.
Range: 0..=127
sourcepub fn plock_set_num(
&self,
num: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_num( &self, num: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the num
parameter.
Range: 0..=127
source§impl CpClassicParameters
impl CpClassicParameters
sourcepub fn set_rat(&mut self, rat: usize) -> Result<(), RytmError>
pub fn set_rat(&mut self, rat: usize) -> Result<(), RytmError>
Sets the rat
parameter.
Range: 0..=127
sourcepub fn plock_set_rat(
&self,
rat: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_rat( &self, rat: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the rat
parameter.
Range: 0..=127
source§impl CpClassicParameters
impl CpClassicParameters
sourcepub fn set_nol(&mut self, nol: usize) -> Result<(), RytmError>
pub fn set_nol(&mut self, nol: usize) -> Result<(), RytmError>
Sets the nol
parameter.
Range: 0..=127
sourcepub fn plock_set_nol(
&self,
nol: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_nol( &self, nol: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the nol
parameter.
Range: 0..=127
source§impl CpClassicParameters
impl CpClassicParameters
sourcepub fn set_rnd(&mut self, rnd: usize) -> Result<(), RytmError>
pub fn set_rnd(&mut self, rnd: usize) -> Result<(), RytmError>
Sets the rnd
parameter.
Range: 0..=127
sourcepub fn plock_set_rnd(
&self,
rnd: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_rnd( &self, rnd: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the rnd
parameter.
Range: 0..=127
source§impl CpClassicParameters
impl CpClassicParameters
sourcepub fn set_cpt(&mut self, cpt: usize) -> Result<(), RytmError>
pub fn set_cpt(&mut self, cpt: usize) -> Result<(), RytmError>
Sets the cpt
parameter.
Range: 0..=127
sourcepub fn plock_set_cpt(
&self,
cpt: usize,
trig_index: usize
) -> Result<(), RytmError>
pub fn plock_set_cpt( &self, cpt: usize, trig_index: usize ) -> Result<(), RytmError>
Sets the parameter lock for the cpt
parameter.
Range: 0..=127
Trait Implementations§
source§impl Clone for CpClassicParameters
impl Clone for CpClassicParameters
source§fn clone(&self) -> CpClassicParameters
fn clone(&self) -> CpClassicParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more