JSPM

node-red-contrib-play-soundfile

0.0.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 31
  • Score
    100M100P100Q66419F
  • License ISC

Plays a sound file on the system. Allows to set up a base directory which contains all the sound files.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-red-contrib-play-soundfile) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    node-red-contrib-play-soundfile

    Plays a sound file on the system. Allows to set up a base directory which contains all the sound files. If no absolute directory path is supplied it will look for the file relative to the project directory.

    config

    Installation

    • Via Manage Palette -> Search for "node-red-contrib-play-soundfile"
    • Via terminal: cd ~/node-red; npm install node-red-contrib-play-soundfile

    Requirements

    The node relies on https://github.com/shime/play-sound. One of the following players needs to be installed on the system:

    • mplayer
    • afplay
    • mpg123
    • mpg321
    • play
    • omxplayer
    • aplay
    • cmdmp3

    Usage

    • see node help