MSXplay はブラウザ内で MSX の音楽 (PSG,SCC,OPLL) をエミュレーション再生する実験的なサウンドプレイヤーです。 C言語版の libkssEmscripten で JavaScript に変換して利用しています。

音声の再生にはブラウザの Web Audio API を使用しています。

MSXplay is an experimental MSX sound player which emulates PSG, SCC and OPLL on the JavaScript engine in the browser. The emulation core is based on libkss in C. Emscripten is used to build JavaScript version of libkss.

To play audio stream directly on the browser, we use Web Audio API interface.

Supported Browsers

Chrome または FireFox 推奨です。IE は Web Audio API をサポートしないため対応予定はありません。

We recommend Chrome or FireFox. We have no plan to support any version of IE since they do not provide Web Audio API interface.

Chrome FireFox Safari Edge

The browser icons by alrra/browser-logos

Demo Player

次のプレーヤーパネルの左側にある再生ボタンを押してください。演奏が始まります。

To listen the demo sound, press play button on the left in the player panel below.

ご自身の音楽ファイルを再生してみたい方は、以下のパネルにファイルをドロップしてください。
対応フォーマットは KSS, BGM(MuSICA), MGS, MPK, OPX です。

If you want to test your own sound files, drag and drop them to the panel below.
The supported formats are KSS, BGM(MuSICA), MGS, MPK and OPX.

Drag and Drop your file here.

Open from URL

以下のように 'id' パラメータに GitHub の raw ファイルの URL (https://raw.githubusercontent.com/ で始まる URL) を記述すると、 MSXplay の サイトでそのファイルを開くことができます。'id' の値はパーセントエンコードする必要があります。 拡張子が .mgs 以外(.mml など)の URL を指定した場合は、MML エディタ画面が開きます。

The following URL scheme with 'id' query parameter can be used to open an raw file on GitHub directly from this site. The 'id' value is must be percent-encoded. If 'id' value ends with an extension other than .mgs (ex .mml) is given, MML editor page will open instead of the top page.

MML Compiler

MGSDRV用のMMLコンパイラ MGSC のエミュレータも mgsc-js として JavaScript で動作するバージョンがあります。これを MSXplay.js と組み合わせて MML をブラウザで直接コンパイルする環境を実現しました。MML EDITOR からお試しください。MML の文法は MGSC.COMの仕様 のとおりです。

A emulator of MML compiler for MGSDRV (aka MGSC) is also available as mgsc-js for JavaScript. Using this with MSXplay.js, we can compile MML and play its sound directly on the browser. Try MML EDITOR. The MML grammer of MGSDRV can be found at MGSC.COM specification (japanese).

Acknowledgement

MSXplay は各種MSXフォーマットの再生のため内部で以下のMSX用バイナリを利用しています。 各バイナリの製作者の皆様に感謝します。

The following software binaries are embedded to MSXplay. We thank the authors for their great artifacts.