# \[Announce\] node-red-contrib-pico2wave (beta)

**URL:** https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164
**Category:** Share Your Nodes
**Created:** [29 June 2020 12:08 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164 "2020-06-29T12:08:30Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)
#### Post date: [29 June 2020 12:08 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/1 "2020-06-29T12:08:30Z")

</div>

This is a very barebones and simple node to utilize the pico2wave commandline tool easily from nodered. It does exactly one thing 🙃. The node converts an input string to spoken audio in the chosen language with svox pico tts. You can choose from english, french, german, italian and spanish. You can configure the node to either output a single wav buffer or write the audio to a wav file. You can find the node here:

> **[johanneskropf/node-red-contrib-pico2wave](https://github.com/johanneskropf/node-red-contrib-pico2wave)**
>
> a simple wrapper around the pico2wave commandline tts tool for use in nodered - johanneskropf/node-red-contrib-pico2wave

Thats it 😄:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/3/f39275b7c3c557f032486ede4e1bd9d156a641af.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/2/32bc67efeb163b2683ecd8a105c6a026f1222d49.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/3/e3d1cae61bd50067a56d570e53096b804f8bca2c.jpeg)

Johannes

---

<div class="post-metadata">

### Author: ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)
#### Post date: [4 July 2020 09:29 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/2 "2020-07-04T09:29:31Z")

</div>

Version 0.0.2

- added typedInput for both input and output (_so the stt text now can also come from a flow, a global variable or a string and the result can be put out to any msg property_)
- cleaned up the menu of the node and added icons

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/2/320a56d8560f8c4ae4eeeb2bede3cc77e5e1a66d.jpeg)

---

<div class="post-metadata">

### Author: ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)
#### Post date: [4 July 2020 15:30 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/3 "2020-07-04T15:30:05Z")

</div>

```auto
cd ~/.node-red
npm install johanneskropf/node-red-contrib-pico2wave

```

```auto
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/johanneskropf/node-red-contrib-pico2wave.git
npm ERR! enoent

```

---

<div class="post-metadata">

### Author: ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)
#### Post date: [4 July 2020 16:08 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/4 "2020-07-04T16:08:51Z")

</div>

Hello @stefan24, Have you got **git** installed? Because i think you need that to install directly from a repository with npm 🤔

---

<div class="post-metadata">

### Author: ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)
#### Post date: [4 July 2020 16:23 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/5 "2020-07-04T16:23:33Z")

</div>

You are right! This is my test Node-RED (running on a Raspi 4) just installed today for voice2json, so I decided to install this node, too.  
After installing git (nothing else despite the dependencies) it throws these errors:

```auto
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.19.118-v7l+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/.node-red/node_modules/utf-8-validate
gyp ERR! node -v v12.18.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

```

and some warnings, but the node works now. Thank you!

---

<div class="post-metadata">

### Author: ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)
#### Post date: [4 July 2020 16:38 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/6 "2020-07-04T16:38:41Z")

</div>

hmm don’t think those errors have anything to do with my nodes. At least i haven’t seen them before but i am not nom expert by any stretch of the imagination 🙈😂 and im still quite new to the whole nodered node development thing 😇

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [4 July 2020 16:43 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/7 "2020-07-04T16:43:51Z")

</div>

> [@stefan24](#):
>
> and some warnings, but the node works now.

Install sometimes give errors along the way, but provided at the end it shows that it has installed ok (it will show the node name and the version) then it is nothing to worry about.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [4 July 2020 16:46 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/8 "2020-07-04T16:46:12Z")

</div>

though it is odd that you have npm v5 ... the install script should get you to npm v6

---

<div class="post-metadata">

### Author: ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)
#### Post date: [4 July 2020 16:51 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/9 "2020-07-04T16:51:10Z")

</div>

```auto
pi@voice-red:~ $ npm --version
6.14.5

```

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [4 July 2020 17:05 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/10 "2020-07-04T17:05:33Z")

</div>

sorry - I'm losing it... I read the node-gyp line as npm for some reason...

Though there must be some more to that error log either before or after.

---

<div class="post-metadata">

### Author: ![stefan24](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stefan24/32/23075_2.png) [@stefan24](https://discourse.nodered.org/u/stefan24)
#### Post date: [4 July 2020 17:16 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/11 "2020-07-04T17:16:00Z")

</div>

not really.

Since the node is working, I do not need to resolve the errors, but if you wish: I just installed flogger and get the same errors again:

```auto
[...]
../src/validation.cc:62:5: note: here
     case 1: if (*source >= 0x80 && *source < 0xC2) return 0;
     ^~~~
make: *** [validation.target.mk:110: Release/obj.target/validation/src/validation.o] Fehler 1
make: Verzeichnis „/home/pi/.node-red/node_modules/utf-8-validate/build“ wird verlassen
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.19.118-v7l+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/.node-red/node_modules/utf-8-validate
gyp ERR! node -v v12.18.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN node-red-contrib-ui-led@0.3.1 requires a peer of node-red-dashboard@2.14.x but none is installed. You must install peer dependencies yourself.
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

+ node-red-contrib-flogger@1.2.2
added 3 packages from 3 contributors and audited 414 packages in 14.72s

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [28 August 2020 12:08 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-pico2wave-beta/29164/12 "2020-08-28T12:08:30Z")

</div>

This topic was automatically closed after 60 days. New replies are no longer allowed.
