|
|
|
@@ -31,6 +31,4 @@ class Operator: |
|
|
|
audio_data = audio_data.ravel().astype(np.float32) / 32768.0 |
|
|
|
if len(audio_data) > 0: |
|
|
|
send_output("audio", pa.array(audio_data), dora_event["metadata"]) |
|
|
|
elif dora_event["type"] == "INPUT": |
|
|
|
print("Microphone is not recording", dora_event["value"][0].as_py()) |
|
|
|
return DoraStatus.CONTINUE |