Merge pull request #3 from shadownetdev1/patch-1

Fixed DT_Play_Sound_At_Execution so that it actually works
This commit is contained in:
Dion Timmer
2023-05-29 21:32:00 -04:00
committed by GitHub
+5
View File
@@ -39,11 +39,16 @@ class Play_Sound_RealTime():
RETURN_TYPES = ("IMAGE",)
FUNCTION = "do_sound"
OUTPUT_NODE = True
CATEGORY = "VextraNodes"
def do_sound(self, images, path, volume):
PlaySound(path, volume)
return {
"result": (images, ),
}
NODE_CLASS_MAPPINGS = {
"Play Sound At Execution": Play_Sound_RealTime