This is a minimal demonstration of using smf-to-ym2151log-rust as a library, installed via npm install github:cat2151/smf-to-ym2151log-rust (same GitHub install flow used in recent cat2151 repos).
GitHub Pages に配置されたビルド済み WASM(pkg/smf_to_ym2151log.js, .wasm, .d.ts)を直接ダウンロードします。ローカルで Rust や wasm-pack を入れる必要はありません。
npm install github:cat2151/smf-to-ym2151log-rustnpm run dev で開発サーバーを起動(ポート8001)npm run buildSelect a MIDI file to see the conversion result...