fn read_mix_table_change_durations(&self, data: &[u8], seek: &mut usize, mtc: &mut MixTableChange) {
        if mtc.volume.is_some()  {mtc.volume.take().unwrap().duration  = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.balance.is_some() {mtc.balance.take().unwrap().duration = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.chorus.is_some()  {mtc.chorus.take().unwrap().duration  = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.reverb.is_some()  {mtc.reverb.take().unwrap().duration  = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.phaser.is_some()  {mtc.phaser.take().unwrap().duration  = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.tremolo.is_some() {mtc.tremolo.take().unwrap().duration = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.tempo.is_some()   {
            let mut t = mtc.tempo.take().unwrap();
            t.duration = read_signed_byte(data, seek).to_u8().unwrap();
            mtc.tempo = Some(t);
            mtc.hide_tempo = false;
            if self.version.number >= (5,0,0) {mtc.hide_tempo = read_bool(data, seek);}
        }
    }
/// Read mix table change durations. Durations are read for each non-null `MixTableItem`. Durations are encoded in `signed-byte`.
/// 
/// If tempo did change, then one :ref:`bool` is read. If it's true, then tempo change won't be displayed on the score.
Read mix table change durations. Durations are read for each non-null `MixTableItem`. Durations are encoded in `signed-byte`.
If tempo did change, then one :ref:`bool` is read. If it's true, then tempo change won't be displayed on the score.
Read mix table change durations . Durations are read for each non - null ` MixTableItem ` . Durations are encoded in ` signed - byte ` . If tempo did change then one : ref : ` bool ` is read . If it ' s true then tempo change won ' t be displayed on the score .
fn read_mix_table_change_durations(&self, data: &[u8], seek: &mut usize, mtc: &mut MixTableChange) {
        if mtc.volume.is_some()  {mtc.volume.take().unwrap().duration  = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.balance.is_some() {mtc.balance.take().unwrap().duration = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.chorus.is_some()  {mtc.chorus.take().unwrap().duration  = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.reverb.is_some()  {mtc.reverb.take().unwrap().duration  = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.phaser.is_some()  {mtc.phaser.take().unwrap().duration  = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.tremolo.is_some() {mtc.tremolo.take().unwrap().duration = read_signed_byte(data, seek).to_u8().unwrap();}
        if mtc.tempo.is_some()   {
            let mut t = mtc.tempo.take().unwrap();
            t.duration = read_signed_byte(data, seek).to_u8().unwrap();
            mtc.tempo = Some(t);
            mtc.hide_tempo = false;
            if self.version.number >= (5,0,0) {mtc.hide_tempo = read_bool(data, seek);}
        }
    }
fn read_mix_table_change_durations ( & self , data : & [ u8 ] , seek : & mut usize , mtc : & mut MixTableChange ) { if mtc . volume . is_some ( ) { mtc . volume . take ( ) . unwrap ( ) . duration = read_signed_byte ( data , seek ) . to_u8 ( ) . unwrap ( ) ; } if mtc . balance . is_some ( ) { mtc . balance . take ( ) . unwrap ( ) . duration = read_signed_byte ( data , seek ) . to_u8 ( ) . unwrap ( ) ; } if mtc . chorus . is_some ( ) { mtc . chorus . take ( ) . unwrap ( ) . duration = read_signed_byte ( data , seek ) . to_u8 ( ) . unwrap ( ) ; } if mtc . reverb . is_some ( ) { mtc . reverb . take ( ) . unwrap ( ) . duration = read_signed_byte ( data , seek ) . to_u8 ( ) . unwrap ( ) ; } if mtc . phaser . is_some ( ) { mtc . phaser . take ( ) . unwrap ( ) . duration = read_signed_byte ( data , seek ) . to_u8 ( ) . unwrap ( ) ; } if mtc . tremolo . is_some ( ) { mtc . tremolo . take ( ) . unwrap ( ) . duration = read_signed_byte ( data , seek ) . to_u8 ( ) . unwrap ( ) ; } if mtc . tempo . is_some ( ) { let mut t = mtc . tempo . take ( ) . unwrap ( ) ; t . duration = read_signed_byte ( data , seek ) . to_u8 ( ) . unwrap ( ) ; mtc . tempo = Some ( t ) ; mtc . hide_tempo = false ; if self . version . number >= ( 5 , 0 , 0 ) { mtc . hide_tempo = read_bool ( data , seek ) ; } } }
Read mix table change durations.
Read mix table change durations .
&self
data
&[u8]
seek
&mut usize
mtc
&mut MixTableChange
&self
data
&[u8]
seek
&mut usize
mtc
&mut MixTableChange