npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

aquestalk.js

v1.0.6

Published

AquesTalk on WebAssembly(v86)

Readme

AquesTalk.js

thumbnail

AquesTalkをWebAssembly(v86)環境で動かし、ブラウザやNode.jsで簡単に利用できるようにしたライブラリです。

DEMO : https://aquestalk-js.y52.dev

特徴

  • ブラウザ上でAquesTalk(Win32版)をエミュレートして音声合成
  • 複数の音声(f1, f2, m1, m2, dvd, imd1, jgr, r1)に対応
  • TypeScript対応

インストール

npm install aquestalk.js

使い方

基本的な例

import { load } from 'aquestalk.js';

async function main() {
  // 音声名(f1, f2, m1等)を指定して初期化
  // 同梱されているアセットが自動的にロードされます
  const aq = await load('f1');

  // 音声の生成 (Wave形式のUint8Arrayが返ります)
  const wav = aq.run('ゆっくりしていってね', 100);

  // 再生例 (ブラウザ環境)
  const blob = new Blob([wav], { type: 'audio/wav' });
  const url = URL.createObjectURL(blob);
  const audio = new Audio(url);
  audio.play();

  // 使い終わったら破棄(エミュレータのリソースを解放)
  await aq.destroy();
}

main();

API

load(voice: Voice, options?: Options): Promise<AquesTalk>

指定した音声(同梱アセット)を使用して初期化します。

  • voice: 音声名。以下のいずれかを指定します。 "f1" | "f2" | "m1" | "m2" | "dvd" | "imd1" | "jgr" | "r1"
  • options:
    • baseUrl: アセット(zip, wasm)のベースURLを個別に指定する場合に使用
    • wasmPath: v86.wasm へのパスを個別に指定する場合に使用(デフォルトは自動解決)
    • memorySize: エミュレータに割り当てるメモリサイズ(MB)

loadAquesTalk(zippath: string, dllpath: string, options?: Options): Promise<AquesTalk>

独自のzipファイルやDLLを使用して初期化します。

  • zippath: AquesTalkのzipファイルへのパス(URL)
  • dllpath: zip内のDLLファイルへの相対パス
  • options: 上記 load と同様

AquesTalk クラス

run(koe: string, speed?: number): Uint8Array

音声合成を実行し、WAV形式のデータを返します。

  • koe: 音声合成する文字列(AquesTalk記号表記)
  • speed: 再生速度(50〜300、デフォルト 100)

destroy(): Promise<void>

エミュレータを停止し、使用していたすべてのリソース(メモリ等)を解放します。

ライセンス

aquestalk.js (このライブラリ)

MIT License

AquesTalk (エンジンの著作権)

AquesTalkの著作権は株式会社アクエストに帰属します。 利用にあたってはアクエスト社のライセンス規定に従ってください。 詳細なライセンス情報は、同梱されている音声zip内の AqLicence.txt を参照してください。

ライセンスの規定により、dllファイル単体での再配布は禁止されており、それを回避するためにzipファイルで配布しています。

■複製・再配布 ユーザーは、本ソフトウェアのパッケージを個人利用、商用利用を問わず複製、再配布 することができます。 「DLLの再配布」の規定を除き、当社から配布されたものと異なるパッケージや部分 的な配布はできません。 ■DLLの再配布 ユーザーは、次のすべての条件を満たす場合に限り、DLLを他のプログラム(以下、二 次的ソフトウェア)に組み込んで配布することができます。なお、DLLファイル単体 での再配布は許諾されておりません。 -本使用許諾契約書ファイルの複製がDLLと同じディレクトリに常に保存されているこ -DLLの著作権が当社に帰属することを、その二次的ソフトウェアのユーザーがわかる ように明記すること -本ソフトウェアを使用していることを、その二次的ソフトウェアの利用者がわかるよう に明記すること


参考

クレジット

ゆっくり立ち絵: https://kumasannosozaiya.studio.site/