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-audiosprite is audio sprite generator that has compatibility with boombox.js.

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

boombox-audiosprite

boombox-audiosprite is audio sprite generator that has compatibility with boombox.js.

About (en)

This command wraps the tonistiigi/audiosprite.

This command converts to a JSON file corresponded to boombox.js from output JSON file using tonistiigi/audiosprite.

boombox-audiosprite will not process the original sound data generated by tonistiigi/audiosprite.

In addition to, refer to README.md of tonistiigi/audiosprite

About (ja)

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

tonistiigi/audiospriteが出力したJSONファイルを、boombox.js に対応したJSONに変換します。

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

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

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