detour almost working now

This commit is contained in:
langolierz
2019-07-01 19:34:14 +00:00
parent 03d9411edf
commit f41a6b570f
6 changed files with 142 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
import json
import xml.etree.ElementTree as ET
import os
import collections
from random import randint
import inspect
from itertools import cycle
@@ -42,6 +43,7 @@ class Data(object):
self.update_screen = True
self.player_mode = 'now'
self.detour_active = False
self.detour_settings = collections.OrderedDict([('current_detour',0), ('is_playing', False), ('is_recording', False), ('record_loop', False), ('detour_size', False), ('detour_speed', 0), ('memory_full', False), ('mix_position', False), ('is_delay', False), ('detour_position', 0), ('detour_start', 0), ('detour_end', 0), ])
### persisted data (use default if doesnt exits):
self.bank_data = [self.create_empty_bank()]