# \[Announce\] node-red-contrib-sox-utils

**URL:** <https://discourse.nodered.org/t/announce-node-red-contrib-sox-utils/44117>\
**Category:** Share Your Nodes\
**Created:** [13 April 2021 17:28 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-sox-utils/44117 "2021-04-13T17:28:44Z")\
**Posts on this page:** 1\
**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:** [13 April 2021 17:28 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-sox-utils/44117/1 "2021-04-13T17:28:44Z")

</div>

🎉🎉🎉

I finally published [my sox nodes](https://github.com/johanneskropf/node-red-contrib-sox-utils) to npm and you can now install them directly from the pallet instead of having to install from the repository:

> **[node-red-contrib-sox-utils](https://flows.nodered.org/node/node-red-contrib-sox-utils)**
>
> a node-red wrapper for some of the sox commandline utils play and record functionality

This set of nodes wraps a lot of the functionality of [the sox command line utility](http://sox.sourceforge.net/) for use in node-red.  
It is mostly developed to work under Linux but the record and convert node will also completely work on Mac OS, the play node won’t right now but I’m working on it.  
**It won’t work on windows as I don’t own a windows machine so won’t be able to develop for it.**  
Key features are:

- Record Node:
  - record from any attached audio device or stream of raw buffers
  - output as:
    - a stream of raw buffers
    - a single raw or wav buffer after recording
    - write audio directly to a wav file

  - configurable record duration
  - adjustable silence detection
  - control either with button or input msg
  - record with added effects by attaching msg.options to the start message

- Convert Node:
  - convert from any format sox can play
  - convert to:
    - wav
    - flac
    - mp3
    - ogg

  - can also be used to apply effects to audio by passing them with msg.options (trimming, normalizing, filters, vad)

- Play node:
  - Play any format supported by sox
  - choose the output device
  - select input behaviors from queuing, replace current playback or ignoring if already playing
  - a mode to play a stream of raw pcm buffers is also available

and many more smaller functions like switchable detailed debug information on the second output.

As always any feature request, bugs reports and feedback is welcome in the repository:

> **[johanneskropf/node-red-contrib-sox-utils](https://github.com/johanneskropf/node-red-contrib-sox-utils)**
>
> a simple node-red wrapper around some of the functionality of the sox commandline utility

Have fun with it,  
Johannes
