Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

boombox-audiosprite

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boombox-audiosprite

boombox.js compatible audio sprite generator.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

boombox-audiosprite

boombox.js compatible audio sprite generator

About

The boombox-audiosprite is a command that wraps the tonistiigi/audiosprite command. (en

boombox-audiosprite は、tonistiigi/audiosprite コマンドをラップしたコマンドです。 (ja

It's converted to JSON corresponding to boombox.js, a JSON file audiosprite has output. (en tonistiigi/audiospriteが出力したJSONファイルを、boombox.js に対応したJSONに変換します。 (ja

tonistiigi/audiosprite で生成されたサウンドデータは、boombox-audiosprite で加工されることはありません。

The sound data generated by tonistiigi/audiosprite, not be processed in a boombox-audiosprite.

At the same time, please also refer to README.md of tonistiigi/audiosprite (en

合わせて、tonistiigi/audiosprite の README.md も参照ください。 (ja

Dependent command

Check

$ which ffmpeg

$ which audiosprite

Install

$ npm install -g boombox-audiosprite

Test

$ npm test

Sample

cd /Users/fkei/boombox.js/spec/media
$ boombox-audiosprite -e ac3,caf,mp3,m4a *.wav

==========
audiosprite(https://github.com/tonistiigi/audiosprite) wrapper for boombox.js :)
==========


util.pump() is deprecated. Use readableStream.pipe() instead.
info: File added OK file=/var/folders/2g/gb26mb5111zf89jr1dp818240000gp/T/audiosprite.04611885884873569, duration=11.981519274322417
info: Silence gap added duration=1.0184807256235828
info: Exported ac3 OK file=output.ac3
info: Exported mp3 OK file=output.mp3
info: Exported m4a OK file=output.m4a
info: Exported json OK file=output.json
info: All done


>>> Output audio files: /Users/fkei/boombox.js/spec/media
<<< Original json file for audiosprite: /Users/fkei/boombox.js/spec/media/output.json
>>> Processed json file for boombox.js: /Users/fkei/boombox.js/spec/media/boombox-output.json

[ Success ] Goodbye :p

Command line help

$ boombox-audiosprite --help

==========
audiosprite(https://github.com/tonistiigi/audiosprite) wrapper for boombox.js :)
==========


info: Usage: audiosprite [options] file1.mp3 file2.mp3 *.wav
info: Options:
  --output, -o      Name for the output file.                                    [default: "output"]
  --export, -e      Limit exported file types. Comma separated extension list.   [default: ""]
  --log, -l         Log level (debug, info, notice, warning, error).             [default: "info"]
  --autoplay, -a    Autoplay sprite name                                         [default: null]
  --silence, -s     Add special "silence" track with specified duration.         [default: 0]
  --samplerate, -r  Sample rate.                                                 [default: 44100]
  --channels, -c    Number of channels (1=mono, 2=stereo).                       [default: 1]
  --rawparts, -p    Include raw slices(for Web Audio API) in specified formats.  [default: ""]
  --help, -h        Show this help message.

LICENSE

The MIT License (MIT)

@see : LICENSE

Keywords

FAQs

Package last updated on 25 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc