Beispiel #1
0
    def __init__(self):
        super().__init__()

        self.issou_sounds = get_sounds(self.issou_dir)
        self.other_sounds = get_sounds(self.other_dir)
        self.pending_issou, self.pending_other = [], []
        self._create_pattern()
Beispiel #2
0
    def __init__(self):
        super().__init__()

        self.issou_sounds = get_sounds(self.issou_dir)
        self.other_sounds = get_sounds(self.other_dir)
        self.pending_issou, self.pending_other = [], []
        self._create_pattern()
Beispiel #3
0
 def __init__(self):
     super().__init__()
     self.tracks = dict()
     for subfolder in self._subfolders:
         self.tracks[subfolder] = get_sounds(path.join(self.main_dir, subfolder))
         # sorting by length
         self.tracks[subfolder].sort(key = lambda s: len(s))
Beispiel #4
0
 def __init__(self):
     super().__init__()
     self.tracks = dict()
     for subfolder in self._subfolders:
         self.tracks[subfolder] = get_sounds(path.join(self.main_dir, subfolder))
         # sorting by length
         self.tracks[subfolder].sort(key = lambda s: len(s))
Beispiel #5
0
 def __init__(self):
     super().__init__()
     self.type_folder = random.choice(self.subfolders)
     self.samples = get_sounds(path.join(self.main_dir, self.type_folder))