JavaScript
Clone or download
Latest commit 67b17d1 Jun 30, 2018
Permalink
Failed to load latest commit information.
build v2.3.3 Jun 30, 2018
misc Commit miscellaneous Jun 25, 2018
src Change drawing for `currentTime` Jun 25, 2018
test Change drawing for `currentTime` Jun 25, 2018
.babelrc Commit .babelrc Jun 25, 2018
.editorconfig Commit .editorconfig Dec 9, 2017
.eslintrc Commit .eslintrc Jun 25, 2018
.gitignore Commit .gitignore Dec 9, 2017
.npmignore Commit miscellaneous Jun 25, 2018
.travis.yml Add Node v10.0 Jun 30, 2018
LICENSE Update LICENSE Jun 25, 2018
README.md Update README.md Jun 30, 2018
karma.conf.js Fixed tests Jun 25, 2018
package-lock.json v2.3.3 Jun 30, 2018
package.json v2.3.3 Jun 30, 2018
webpack.config.js Commit webpack Jun 25, 2018

README.md

XSound

Build Status License: MIT npm David David Dev jsDelivr

Web Audio API Library for Synthesizer, Effects, Visualization, Recording ... etc

Overview

XSound is Multifunctional Library for Web Audio API.
In concrete, XSound may be useful to implement the following features.

  • Create Sound
  • Play the One-Shot Audio
  • Play the Audio
  • Play the Media
  • Streaming (by WebRTC)
  • MIDI (by Web MIDI API)
  • MML (Music Macro Language)
  • Effectors (Compressor / Wah / Equalizer / Tremolo / Phaser / Chorus / Delay / Reverb ... etc)
  • Visualization (Overview in Time Domain / Time Domain / Spectrum)
  • Recording (Create WAVE file)
  • Session (by WebSocket)

XSound don't depend on other libraries or frameworks (For example, jQuery, React).

support-browsers

Getting Started

X('oscillator').setup(true).ready().start(440);

Demo

The application that uses XSound is in the following URLs.

Now, I'm creating website for Web Audio API. Please refer to the following site for understanding API Documentation.

Installation

$ npm install --save xsound

Usage

<script type="text/javascript" src="xsound.js"></script>

In the case of using WebSocket,

$ node xsound-server-session-websocket.js

or,

$ node xsound-server-session-ws.js

Default port number is 8000.
This port number can be changed by designating argument.
For example,

$ node xsound-server-session-websocket.js 8080

In the case of recording log, the path of log file must be designated by the 2nd argument.

$ node xsound-server-session-websocket.js 8080 websocket.log

API Documentation

License

Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Tomohiro IKEDA (Korilakkuma)
Released under the MIT license