denoise_stop
denoise_stop
Stop noise reduction on the call, restoring the original unfiltered audio.
Parameters
None.
Returns
dict — Server response confirming noise reduction has stopped.
denoise_stop
Stop noise reduction on the call, restoring the original unfiltered audio.
None.
dict — Server response confirming noise reduction has stopped.
1 from signalwire.relay import RelayClient 2 3 client = RelayClient( 4 project="your-project-id", 5 token="your-api-token", 6 host="your-space.signalwire.com", 7 contexts=["default"], 8 ) 9 10 @client.on_call 11 async def handle_call(call): 12 await call.answer() 13 14 # Enable noise reduction 15 await call.denoise() 16 17 action = await call.play([{"type": "tts", "text": "Noise reduction is now active."}]) 18 await action.wait() 19 20 result = await call.denoise_stop() 21 print(f"Noise reduction stopped: {result}") 22 23 client.run()