Update audio_nodes.py

This commit is contained in:
David Marx
2023-12-31 22:43:59 -08:00
committed by GitHub
parent 6ab275fad2
commit 3fe7cb3068
+3 -2
View File
@@ -74,10 +74,11 @@ class OpRms:
}
return outv
def main(self, signal, **kargs):
def main(self, signal:dict, **kargs):
y, sr = signal.get("y"), signal.get("sr")
y, sr = self.f(y, sr)
return {"y":y, "sr":sr)
outv = {"y":y, "sr":sr)
return (outv,)
# TODO: all the other ops