1.2.0 • Published 3 years ago

@ryohey/sf2synth v1.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

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.