made dec talk work again, fixed so pitch and tempo can work with random chosen, example playb, train

This commit is contained in:
2024-08-05 21:37:42 +02:00
parent dc8b4badd0
commit e29eb32a91
3 changed files with 8 additions and 6 deletions
@@ -303,8 +303,8 @@ class AudioClip():
def __del__(self):
self.Logger.info("~AudioClip()")
def Play(self, seconds = None, rubberband = None, *args):
return self.AudioPlayer.PlayURI(self.URI, seconds, rubberband = rubberband, *args)
def Play(self, seconds = None, rubberband = None, dec_params = None, *args):
return self.AudioPlayer.PlayURI(self.URI, position = seconds, rubberband = rubberband, dec_params = dec_params, *args)
def Stop(self):
return self.AudioPlayer.Stop()