ryohey / sf2synth.js

TypeScript port of sf2synth.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sf2synth.js

sf2synth.js は WebMidiLink 対応の SoundFont シンセサイザです。

使い方

var url =
  "//cdn.rawgit.com/logue/smfplayer.js/gh-pages/Yamaha%20XG%20Sound%20Set.sf2"
var wml = new SoundFont.WebMidiLink()
wml.setLoadCallback(function (arraybuffer) {
  // ロード完了時の処理
})
wml.setup(url)

テスト方法

npm install
npm start

ブラウザでhttp://localhost:8080/を開く。

対応ブラウザ

最新の Web Audio API 実装を必要とします。

  • Google Chrome 25+
  • Google Chrome for Android 28+

WebMidiLink 対応

sf2synth.js は WebMidiLink の Link Level 1 に対応しています。 現在、シンセサイザ固有の情報はありません。

ライセンス

Copyright © 2013 imaya / GREE Inc. Licensed under the MIT License.

About

TypeScript port of sf2synth.js

License:Other


Languages

Language:TypeScript 95.1%Language:CSS 2.2%Language:JavaScript 2.2%Language:HTML 0.5%