Exemple #1
0
    def build_data_buffer(self):
        data_set = list()
        data_set.append(self.bank)
        data_set.append(self.number)
        data_set.append(1)  # unknown data

        JStationSysexEvent.build_data_buffer(self,
                                             pre_len_data=data_set,
                                             post_len_data=[])
    def build_data_buffer(self):
        data = list()
        data.append(self.stereo_mono)
        data.append(self.dry_track)
        data.append(self.digital_out_level)
        data.append(self.global_cabinet)
        data.append(self.midi_merge)
        data.append(self.midi_channel)

        JStationSysexEvent.build_data_buffer(self, post_len_data=data)
Exemple #3
0
 def build_data_buffer(self):
     if self.RESP_ON_CHANNEL == self.response_on or \
             self.RESP_ON_7f == self.response_on:
         JStationSysexEvent.build_data_buffer(
             self, pre_len_data=[self.response_on]
         )
     else:
         self.data_buffer = list()
         self.is_valid = False
         print('Response on not defined for ReqWhoAmI SysEx')
Exemple #4
0
 def build_data_buffer(self):
     total_len_2_bytes = [self.total_len % 0x100, self.total_len // 0x100]
     JStationSysexEvent.build_data_buffer(self,
                                          post_len_data=total_len_2_bytes)
 def build_data_buffer(self):
     JStationSysexEvent.build_data_buffer(
         self,
         pre_len_data=[self.program.bank, self.program.number],
         post_len_data=self.program.get_data_buffer())
 def build_data_buffer(self):
     JStationSysexEvent.build_data_buffer(
         self,
         post_len_data=self.program.get_data_buffer(with_has_changed=True))
Exemple #7
0
 def build_data_buffer(self):
     JStationSysexEvent.build_data_buffer(self, pre_len_data=[self.prg_nb])