From e9cfbed1912fe059e090ba89dd90407d02a5201d Mon Sep 17 00:00:00 2001 From: Nitwel Date: Fri, 15 Mar 2024 19:36:48 +0100 Subject: [PATCH] remove print --- lib/home_apis/hass_ws/handlers/assist.gd | 7 ------- test/lib/utils/sample_hold/sample_hold.gd | 1 - 2 files changed, 8 deletions(-) diff --git a/lib/home_apis/hass_ws/handlers/assist.gd b/lib/home_apis/hass_ws/handlers/assist.gd index f90ef35..dde4eba 100644 --- a/lib/home_apis/hass_ws/handlers/assist.gd +++ b/lib/home_apis/hass_ws/handlers/assist.gd @@ -43,8 +43,6 @@ func start_wakeword(): if pipe_running: return - print("wake start") - api.send_packet({ "type": "assist_pipeline/run", "start_stage": "wake_word", @@ -66,8 +64,6 @@ func send_data(data: PackedByteArray): stream.encode_s8(0, handler_id) stream.append_array(data) - print("sending data") - api.send_raw(stream) func handle_message(message: Dictionary): @@ -79,11 +75,8 @@ func handle_message(message: Dictionary): if event.has("type") == false: return - print(message) - match event["type"]: "run-start": - print("Pipeline started") pipe_running = true handler_id = event["data"]["runner_data"]["stt_binary_handler_id"] "wake_word-end": diff --git a/test/lib/utils/sample_hold/sample_hold.gd b/test/lib/utils/sample_hold/sample_hold.gd index f8be129..2e38cd9 100644 --- a/test/lib/utils/sample_hold/sample_hold.gd +++ b/test/lib/utils/sample_hold/sample_hold.gd @@ -7,7 +7,6 @@ var data = PackedVector2Array() var result: PackedFloat32Array func _ready(): - print("test") for i in range(0, 44100): var value = sin(i * 2 * PI / 44100.0) data.push_back(Vector2(value, value))