This commit is contained in:
vnyash
2024-06-13 07:56:13 +05:30
commit 47d3520c19
184 changed files with 10075 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import sounddevice
class PlayBackAudio:
@classmethod
def INPUT_TYPES(self):
return {
"required":{
"audio": ("AUDIO",)
}
}
OUTPUT_NODE = True
RETURN_NAMES = ()
RETURN_TYPES = ()
CATEGORY = "DeepFuze (Adavance)"
FUNCTION = "play_audio"
def play_audio(self,audio):
sounddevice.play(audio.audio_data,audio.sample_rate)
return ()