fn read_mix_table_change_values(&mut self, data: &[u8], seek: &mut usize, mtc: &mut MixTableChange) {
        //instrument
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.instrument = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //RSE instrument GP5
        if self.version.number.0 == 5 {mtc.rse = self.read_rse_instrument(data, seek);}
        if self.version.number == (5,0,0)  { *seek += 1; }
        //volume
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.volume = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //balance
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.balance = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //chorus
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.chorus = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //reverb
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.reverb = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //phaser
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.phaser = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //tremolo
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.tremolo = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //tempo
        if self.version.number >= (5,0,0) {mtc.tempo_name = read_int_byte_size_string(data, seek);}
        let b = read_int(data, seek);
        if b >= 0 {mtc.tempo = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
    }
/// Read mix table change values. Mix table change values consist of 7 `signed-byte` and an `int`, which correspond to:
/// - instrument
/// - RSE instrument. See `read_rse_instrument()` (GP5).
/// - volume 
/// - balance
/// - chorus
/// - reverb
/// - phaser
/// - tremolo
/// - Tempo name: `int-byte-size-string` (GP5).
/// - tempo
/// 
/// If signed byte is *-1* then corresponding parameter hasn't changed.
Read mix table change values. Mix table change values consist of 7 `signed-byte` and an `int`, which correspond to:
instrument
RSE instrument.

If signed byte is *-1* then corresponding parameter hasn't changed.
Read mix table change values . Mix table change values consist of 7 ` signed - byte ` and an ` int ` which correspond to : instrument RSE instrument . If signed byte is * - 1 * then corresponding parameter hasn ' t changed .
fn read_mix_table_change_values(&mut self, data: &[u8], seek: &mut usize, mtc: &mut MixTableChange) {
        //instrument
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.instrument = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //RSE instrument GP5
        if self.version.number.0 == 5 {mtc.rse = self.read_rse_instrument(data, seek);}
        if self.version.number == (5,0,0)  { *seek += 1; }
        //volume
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.volume = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //balance
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.balance = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //chorus
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.chorus = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //reverb
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.reverb = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //phaser
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.phaser = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //tremolo
        let b = read_signed_byte(data, seek);
        if b >= 0 {mtc.tremolo = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
        //tempo
        if self.version.number >= (5,0,0) {mtc.tempo_name = read_int_byte_size_string(data, seek);}
        let b = read_int(data, seek);
        if b >= 0 {mtc.tempo = Some(MixTableItem{value: b.to_u8().unwrap(), ..Default::default()});}
    }
fn read_mix_table_change_values ( & mut self , data : & [ u8 ] , seek : & mut usize , mtc : & mut MixTableChange ) { //instrument let b = read_signed_byte ( data , seek ) ; if b >= 0 { mtc . instrument = Some ( MixTableItem { value : b . to_u8 ( ) . unwrap ( ) , .. Default :: default ( ) } ) ; } //RSE instrument GP5 if self . version . number . 0 == 5 { mtc . rse = self . read_rse_instrument ( data , seek ) ; } if self . version . number == ( 5 , 0 , 0 ) { * seek += 1 ; } //volume let b = read_signed_byte ( data , seek ) ; if b >= 0 { mtc . volume = Some ( MixTableItem { value : b . to_u8 ( ) . unwrap ( ) , .. Default :: default ( ) } ) ; } //balance let b = read_signed_byte ( data , seek ) ; if b >= 0 { mtc . balance = Some ( MixTableItem { value : b . to_u8 ( ) . unwrap ( ) , .. Default :: default ( ) } ) ; } //chorus let b = read_signed_byte ( data , seek ) ; if b >= 0 { mtc . chorus = Some ( MixTableItem { value : b . to_u8 ( ) . unwrap ( ) , .. Default :: default ( ) } ) ; } //reverb let b = read_signed_byte ( data , seek ) ; if b >= 0 { mtc . reverb = Some ( MixTableItem { value : b . to_u8 ( ) . unwrap ( ) , .. Default :: default ( ) } ) ; } //phaser let b = read_signed_byte ( data , seek ) ; if b >= 0 { mtc . phaser = Some ( MixTableItem { value : b . to_u8 ( ) . unwrap ( ) , .. Default :: default ( ) } ) ; } //tremolo let b = read_signed_byte ( data , seek ) ; if b >= 0 { mtc . tremolo = Some ( MixTableItem { value : b . to_u8 ( ) . unwrap ( ) , .. Default :: default ( ) } ) ; } //tempo if self . version . number >= ( 5 , 0 , 0 ) { mtc . tempo_name = read_int_byte_size_string ( data , seek ) ; } let b = read_int ( data , seek ) ; if b >= 0 { mtc . tempo = Some ( MixTableItem { value : b . to_u8 ( ) . unwrap ( ) , .. Default :: default ( ) } ) ; } }
Read mix table change values.
Read mix table change values .
&mut self
data
&[u8]
seek
&mut usize
mtc
&mut MixTableChange
&mut self
data
&[u8]
seek
&mut usize
mtc
&mut MixTableChange