# \[update\] node-red-contrib-sox-utils : beta

**URL:** https://discourse.nodered.org/t/update-node-red-contrib-sox-utils-beta/35316
**Category:** Share Your Nodes
**Created:** [4 November 2020 09:17 UTC](https://discourse.nodered.org/t/update-node-red-contrib-sox-utils-beta/35316 "2020-11-04T09:17:12Z")
**Posts on this page:** 7
**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: [4 November 2020 09:17 UTC](https://discourse.nodered.org/t/update-node-red-contrib-sox-utils-beta/35316/1 "2020-11-04T09:17:13Z")

</div>

Continuing from

> [@\[Announce\] node-red-contrib-sox-utils : first beta (testers wanted)](https://discourse.nodered.org/t/announce-node-red-contrib-sox-utils-first-beta-testers-wanted/27563):
>
> Hello, I just finished the first usable beta version of my very first node. The node is a wrapper around the record functionality of the [sox commandline tool](http://sox.sourceforge.net/) on linux and you can find it here: I’m happy for any testers who could give it a spin and tell me about any errors they find or usage feedback. This node will record audio from the specified audio source on the machine node-red runs on. It has several features which distinguish it from the microphone/record nodes already present. …

### Bump to 0.2.6

I added the possibility to convert raw audio files and buffers with the convert node. For this to work you need to include the necessary audio header information that sox needs to process raw audio as msg properties. The format of this is described in the nodes info panel. This can also be used to add wav headers or process raw audio to be played by the play node by routing it through the convert node first.  
I will look to publish the node to npm before the end of the year.

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: [18 November 2020 20:05 UTC](https://discourse.nodered.org/t/update-node-red-contrib-sox-utils-beta/35316/2 "2020-11-18T20:05:42Z")

</div>

### Bump to 0.2.7

- fixed a condition where the node would stall until restart if the tmp file was not available after conversion / recording ended
- updated the readme to include info about raw conversion and passing additional effects/arguments in `msg.options`

---

<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: [20 November 2020 06:58 UTC](https://discourse.nodered.org/t/update-node-red-contrib-sox-utils-beta/35316/3 "2020-11-20T06:58:09Z")

</div>

# Update to 0.3.0

- this update adds two major feature enhancements to the nodes:

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: [22 November 2020 18:36 UTC](https://discourse.nodered.org/t/update-node-red-contrib-sox-utils-beta/35316/4 "2020-11-22T18:36:36Z")

</div>

### Bump to 0.3.1

- fixed a bug/regression in the convert node that let to the auto guessing of the file format not working for buffer input

---

<div class="post-metadata">

### Author: ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)
#### Post date: [1 December 2020 21:07 UTC](https://discourse.nodered.org/t/update-node-red-contrib-sox-utils-beta/35316/5 "2020-12-01T21:07:05Z")

</div>

Hi @JGKK,

it would be great if you publish this great repository so it becomes available in the node-red palette.

Jan.

---

<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: [8 December 2020 19:31 UTC](https://discourse.nodered.org/t/update-node-red-contrib-sox-utils-beta/35316/6 "2020-12-08T19:31:54Z")

</div>

# Update to 0.4.2

This Beta release marks a milestone towards a release on npm.  
It has added several new features:

- the record and play node used to only work if the nodes were able to retrieve a list of input/output devices. Now I added the functionality to still use it in this case (inspired by @janvda) with either trying the default, raw audio chunks through the node input or with a manually entered device, which brings me to the next feature:
- you can now choose to enter a input/output device manually should the one you want to use not be available or when you are working with one of the Linux audio servers like pulseaudio/Jack or something like oss. So anything that is not straightforward ALSA devices.  
You have to enter the device as per the sox documentation. so for example: `-t alsa hw:1,0`.  
This brings me to the last feature:
- highly experimental support for platforms other than Linux:
  - Not tested and only available for the **record node** right now
  - other than default you have to use the manual device input option, so for example on Mac:  
`-t coreaudio "yourDevice"`
  - non of the options that need tmp files are available right now. In the record node this means that you can’t output a whole wav buffer after recording at the moment.

I would be really happy if somebody could **test this on a Mac/Windows with sox and node-red installed** as I have neither available and would really like to know if the record node works there before I move to adapt the other nodes too.

Thanks again, Johannes

---

<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: [3 January 2021 09:17 UTC](https://discourse.nodered.org/t/update-node-red-contrib-sox-utils-beta/35316/7 "2021-01-03T09:17:15Z")

</div>

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