Example #1
0
 def _mode_value(self, value, sender):
     ChannelTranslationSelector._mode_value(self, value, sender)
     if ((value != 0) or (not sender.is_momentary())):
         if (self._mode_index != 8) and (self._mode_index < 8):
             self.show_modes()
         else:
             #self._mixer._extra_device.show_device()
             if (self._mode_index == 8):
                 self._mixer._extra_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index
                                      == 9):  #ABLETON LIBRARY BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index
                                      == 10):  #FAVORITES BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index
                                      == 11):  #RECENT BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index
                                      == 12):  #HOTSWAP MODE BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index
                                      == 13):  #CUSTOM BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()
Example #2
0
 def _mode_value(self, value, sender):
     ChannelTranslationSelector._mode_value(self, value, sender)
     if ((value != 0) or (not sender.is_momentary())):
         if (self._mode_index != 8):
             self.show_modes()
         else:
             #self._mixer._extra_device.show_device()
             self._mixer._extra_device.show_device_parameters()
 def _mode_value(self, value, sender):
     ChannelTranslationSelector._mode_value(self, value, sender)
     if ((value != 0) or (not sender.is_momentary())):
         if (self._mode_index != 8):
             self.show_modes()
         else:
             #self._mixer._extra_device.show_device()
             self._mixer._extra_device.show_device_parameters()
 def _mode_value(self, value, sender):
     ChannelTranslationSelector._mode_value(self, value, sender)
     if ((value != 0) or (not sender.is_momentary())):
         if (self._mode_index != 8) and (self._mode_index < 8):                
             self.show_modes()
         else:
             #self._mixer._extra_device.show_device()
             if (self._mode_index == 8):    
                 self._mixer._extra_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index == 9): #ABLETON LIBRARY BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index == 10): #FAVORITES BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index == 11): #RECENT BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index == 12): #HOTSWAP MODE BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()
             elif BROWSER_ENABLE and (self._mode_index == 13): #CUSTOM BROWSER
                 #self.debug('mode value')
                 self._mixer._browser_device.show_device_parameters()