All Projects → shime → Play Sound

shime / Play Sound

Licence: mit
Play sounds by shelling out to one of the available audio players.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Play Sound

Wad
Web Audio DAW. Use the Web Audio API for dynamic sound synthesis. It's like jQuery for your ears.
Stars: ✭ 1,540 (+926.67%)
Mutual labels:  sound
Mecca
Animated music editor in Clojurescript/re-frame
Stars: ✭ 125 (-16.67%)
Mutual labels:  sound
Eazy Sound Manager
Eazy Sound Manager is a simple Unity3D tool which aims to make sound and music management in games easier
Stars: ✭ 135 (-10%)
Mutual labels:  sound
Simple Sdl2 Audio
A simple SDL2 audio library without SDL_Mixer for playing music and multiple sounds natively in SDL2
Stars: ✭ 111 (-26%)
Mutual labels:  sound
Selectric Mode
⌨ Make your Emacs sound like a proper typewriter.
Stars: ✭ 121 (-19.33%)
Mutual labels:  sound
Trivial Gamekit
Simple framework for making 2D games
Stars: ✭ 127 (-15.33%)
Mutual labels:  sound
React Native Sound Recorder
Simplest Sound Recorder for React Native
Stars: ✭ 103 (-31.33%)
Mutual labels:  sound
React Native Sound Player
Play sound file in ReactNative
Stars: ✭ 144 (-4%)
Mutual labels:  sound
Sounds Webpack Plugin
🔊Notify or errors, warnings, etc with sounds
Stars: ✭ 125 (-16.67%)
Mutual labels:  sound
Guitarspecs
Overview of the electric guitar's parts specs
Stars: ✭ 131 (-12.67%)
Mutual labels:  sound
Sound
🔊 A Vue composable for playing sound effects
Stars: ✭ 116 (-22.67%)
Mutual labels:  sound
Soundwaveform
Generate WaveForms Images from Sounds and Videos on macOS and iOS (Swift 5.x)
Stars: ✭ 119 (-20.67%)
Mutual labels:  sound
108
A minimal beat machine played in the browser.
Stars: ✭ 128 (-14.67%)
Mutual labels:  sound
Thorium
Platform for starship simulator controls
Stars: ✭ 109 (-27.33%)
Mutual labels:  sound
Relax
Free clone of noisli.com - a multiple-file markdown editor, ambient sounds and uncluttered interface
Stars: ✭ 135 (-10%)
Mutual labels:  sound
Cephalopod
A sound fader for AVAudioPlayer written in Swift for iOS, tvOS and macOS.
Stars: ✭ 103 (-31.33%)
Mutual labels:  sound
I Simpa
An Open Source software for 3D sound propagation modelling
Stars: ✭ 125 (-16.67%)
Mutual labels:  sound
Spectrographic
Turn an image into sound whose spectrogram looks like the image.
Stars: ✭ 147 (-2%)
Mutual labels:  sound
Linux Audio Adjustments
Audio Tweaks for Debian Based RPi
Stars: ✭ 140 (-6.67%)
Mutual labels:  sound
Tetris
Tetris in C and NCURSES.
Stars: ✭ 130 (-13.33%)
Mutual labels:  sound

play-sound

Build Status Downloads

Play sounds by shelling out to one of the available audio players.

Installation

npm install play-sound

Examples

var player = require('play-sound')(opts = {})

// $ mplayer foo.mp3 
player.play('foo.mp3', function(err){
  if (err) throw err
})

// { timeout: 300 } will be passed to child process
player.play('foo.mp3', { timeout: 300 }, function(err){
  if (err) throw err
})

// configure arguments for executable if any
player.play('foo.mp3', { afplay: ['-v', 1 ] /* lower volume for afplay on OSX */ }, function(err){
  if (err) throw err
})

// access the node child_process in case you need to kill it on demand
var audio = player.play('foo.mp3', function(err){
  if (err && !err.killed) throw err
})
audio.kill()

Options

Prior art

  • play.js - play sound files from node.js to your speakers

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].