Skip to content
プロジェクト

lkuza2/java-speech-api

GitHubで見る

概要

J.A.R.V.I.S. Speech APIは、Googleが開発した音声エンジンをAPIの一部の機能に利用し、シンプルかつ効率的に動作するよう設計されています。Javaで書かれたAPIで、音声認識、音声合成、マイク入力のキャプチャに対応しています。音声合成と音声認識にはGoogleのサービスを使用します。インターネット接続が必要ですが、Javaで利用できる、完全で現代的な機能を備えた音声APIを提供します。

AI・機械学習

この数値の測り方

できること

  • Microphone Capture API (Wrapped around the current Java API for simplicity)
  • Converts WAVE files from microphone input to FLAC (using existing API, see CREDITS)
  • Retrieves Response from Google, including confidence score and text
  • Retrieves synthesized text in an InputStream (MP3 data ready to be played)

計測したスター増加

24時間
+1
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

J.A.R.V.I.S. (Java-Speech-API)

J.A.R.V.I.S. Java Speech API: Just A Reliable Vocal Interpreter & Synthesizer. This is a project for the Java Speech API. The program interprets vocal inputs into text and synthesizes voices from text input. The program supports dozens of languages and even has the ability to auto-detect languages!

Description

The J.A.R.V.I.S. Speech API is designed to be simple and efficient, using the speech engines created by Google to provide functionality for parts of the API. Essentially, it is an API written in Java, including a recognizer, synthesizer, and a microphone capture utility. The project uses Google services for the synthesizer and recognizer. While this requires an Internet connection, it provides a complete, modern, and fully functional speech API in Java.

Features

The API currently provides the following functionality,

  • Microphone Capture API (Wrapped around the current Java API for simplicity)
  • A speech recognizer using Google's recognizer service
    • Converts WAVE files from microphone input to FLAC (using existing API, see CREDITS)
    • Retrieves Response from Google, including confidence score and text
  • A speech synthesiser using Google's synthesizer service
    • Retrieves synthesized text in an InputStream (MP3 data ready to be played)
  • Wave to FLAC API (Wrapped around the used API in the project, javaFlacEncoder, see CREDITS)
  • A translator using Google Translate (courtesy of Skylion's Google Toolkit)

Notes

To get access to the Google API, you need an API key. To get this, you need to follow the instructions here:

A sample application using this library can be found here:

  • See API-Example repository branch.

Changelog

See CHANGELOG.markdown for Version History/Changelog

Credits

See CREDITS.markdown for Credits

関連プロジェクトを探す

読み込み中…