# How to play audio file or tts on analog audio out of rapi?

**URL:** <https://discourse.nodered.org/t/how-to-play-audio-file-or-tts-on-analog-audio-out-of-rapi/15622>\
**Category:** General\
**Created:** [17 September 2019 09:32 UTC](https://discourse.nodered.org/t/how-to-play-audio-file-or-tts-on-analog-audio-out-of-rapi/15622 "2019-09-17T09:32:29Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![clickworkorange](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/clickworkorange/32/12109_2.png) [@clickworkorange](https://discourse.nodered.org/u/clickworkorange)\
**Post date:** [15 December 2019 19:27 UTC](https://discourse.nodered.org/t/how-to-play-audio-file-or-tts-on-analog-audio-out-of-rapi/15622/21 "2019-12-15T19:27:59Z")

</div>

I started work on a node for "local" TTS audio a while back, but still waiting for help with fixing a command line parsing bug - my C++ Fu is too weak...

> [@\[Announce\]: node-red-contrib-nano-tts (alpha)](https://discourse.nodered.org/t/announce-node-red-contrib-nano-tts-alpha/16266/):
>
> I've been working for a while on a node that utilises the excellent and very compact SVOX Pico Text-to-Speech library to turn a Node-RED string into a WAV file or PCM buffer, or for immediate playback on the host machine. To communicate with the Pico TTS engine the node uses [the nanotts C++ API wrapper](https://github.com/gmn/nanotts) written by Gregory Naughton, which is also what gives the node its name. The node can handle strings in US & UK English, German, French, Spanish and Italian, and the algorithm can be tweaked by …

[Previous page](https://discourse.nodered.org/t/how-to-play-audio-file-or-tts-on-analog-audio-out-of-rapi/15622.md?page=1)
