Skip to content

ryohey/sf2synth.js

 
 

Repository files navigation

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

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.min

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.1%
  • CSS 2.2%
  • JavaScript 2.2%
  • HTML 0.5%