HTML5 Web Audio API 库:XSound.js

cymt 9年前

HTML5 Web Audio API 库,这个库可以实现以下功能:

  • Create Sound
  • Play the One-Shot Audio
  • Play the Audio
  • Play the Media (Fallback by HTMLMediaElement)
  • Play the MML (Music Macro Language)
  • Streaming (by WebRTC)
  • Effectors (Compressor / Wah / Equalizer / Tremolo / Phaser / Chorus / Delay / Reverb, and Original Effector …etc)
  • Visualization (Overview in Time Domain / Time Domain / Spectrum)
  • Recording (Create WAVE file)
  • Session (by WebSocket)

The structure of description is the following.

XSound(/* sound source */).setup();  XSound(/* sound source */).param();  XSound(/* sound source */).ready();  XSound(/* sound source */).start();  XSound(/* sound source */).stop();    XSound(/* sound source */).module(/* effectors, analyser, recorder, session */).setup();  XSound(/* sound source */).module(/* effectors, analyser, recorder, session */).param();  XSound(/* sound source */).module(/* effectors, analyser, recorder, session */).start();  XSound(/* sound source */).module(/* effectors, analyser, recorder, session */).stop();

项目主页:http://www.open-open.com/lib/view/home/1430637879600