0.2.2 • Published 6 years ago

symphogear v0.2.2

Weekly downloads
7
License
MIT
Repository
github
Last release
6 years ago

symphogear

Build Status tested with jest styled with prettier All Contributors

sound for cli

Install

$ yarn add symphogear

Usage

const symphogear = require('symphogear')

await symphogear('music.mp3')

API

symphogear(file: string, opts?: {player?: string})

file

Type: string

support file or url.

options

player

Type: string

Available audio players to check.

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

CLI

$ npm install --global symphogear
$ symphogear --help

	Usage
	  $ symphogear [file]

	Examples
	  $ symphogear さな.mp3

	  $ symphogear http://sanabutton.ojaru.jp/sound/%E3%81%9B%E3%82%93%E3%81%9B%E3%81%88%E3%81%A8%E3%81%AA%E3%81%84%E3%81%97%E3%82%87%E3%81%B0%E3%81%AA%E3%81%97/%E3%81%A4%E3%81%8E%E3%81%A4%E3%81%8E%E3%81%A4%E3%83%BC%E3%81%8E06.mp3

Contributors

Thanks goes to these wonderful people (emoji key):

akameco💻 📖 ⚠️ 🚇

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © akameco