remove print

This commit is contained in:
Nitwel 2024-03-15 19:36:48 +01:00
parent 47c7104d15
commit e9cfbed191
2 changed files with 0 additions and 8 deletions

View File

@ -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":

View File

@ -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))