mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-05 16:00:06 +01:00
experimental work with dif sampler playmodes
This commit is contained in:
@@ -93,6 +93,9 @@ class Actions(object):
|
||||
def toggle_pause_on_player(self):
|
||||
self.video_driver.current_player.toggle_pause()
|
||||
|
||||
def toggle_show_on_player(self):
|
||||
self.video_driver.current_player.toggle_show()
|
||||
|
||||
def seek_forward_on_player(self):
|
||||
self.video_driver.current_player.seek(30)
|
||||
|
||||
@@ -177,6 +180,9 @@ class Actions(object):
|
||||
output_range = max_param - min_param
|
||||
return int(( cc_value / 127 ) * output_range + min_param)
|
||||
|
||||
def update_video_settings(self, setting_value):
|
||||
self.video_driver.update_video_settings()
|
||||
|
||||
def change_output_mode(self, setting_value):
|
||||
if setting_value == 'hdmi':
|
||||
subprocess.call(['tvservice', '-p'])
|
||||
|
||||
Reference in New Issue
Block a user