voice-literate-programming / Xunfei Clj

Licence: epl-1.0
Clojure封装讯飞语音SDK, 可提供给Emacs/Vim编辑器使用,或者命令行, 实现语音提醒/语音识别/语音转为命令等

Programming Languages

clojure
4091 projects

Labels

Projects that are alternatives of or similar to Xunfei Clj

Zhvoice
Chinese voice corpus. 中文语音语料,语音更加清晰自然,包含8个开源数据集,3200个说话人,900小时语音,1300万字。
Stars: ✭ 327 (+1157.69%)
Mutual labels:  voice
Twilio Csharp
Twilio C#/.NET Helper Library for .NET Framework 3.5+ and supported .NET Core versions
Stars: ✭ 541 (+1980.77%)
Mutual labels:  voice
Alexa Skills Kit Sdk For Java
The Alexa Skills Kit SDK for Java helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
Stars: ✭ 758 (+2815.38%)
Mutual labels:  voice
Twilio Java
A Java library for communicating with the Twilio REST API and generating TwiML.
Stars: ✭ 371 (+1326.92%)
Mutual labels:  voice
Stealth
An open source Ruby framework for text and voice chatbots. 🤖
Stars: ✭ 481 (+1750%)
Mutual labels:  voice
Speech Emotion Analyzer
The neural network model is capable of detecting five different male/female emotions from audio speeches. (Deep Learning, NLP, Python)
Stars: ✭ 633 (+2334.62%)
Mutual labels:  voice
Vonage Node Sdk
Vonage API client for Node.js. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Stars: ✭ 323 (+1142.31%)
Mutual labels:  voice
Bernard
Bernard is a voice assistant developed with gTTS. It can fulfill basic and simple tasks you give.
Stars: ✭ 24 (-7.69%)
Mutual labels:  voice
Voice datasets
🔊 A comprehensive list of open-source datasets for voice and sound computing (50+ datasets).
Stars: ✭ 494 (+1800%)
Mutual labels:  voice
Api
姬长信API For Docker 一个基于多种编程语言开源免费不限制提供生活常用,出行服务,开发工具,金融服务,通讯服务和公益大数据的平台.
Stars: ✭ 743 (+2757.69%)
Mutual labels:  voice
Alan Sdk Web
Alan AI Web SDK adds a voice assistant or chatbot to your app. Supports React, Angular, Vue, Ember, JavaScript, Electron.
Stars: ✭ 368 (+1315.38%)
Mutual labels:  voice
Voice Overlay Ios
🗣 An overlay that gets your user’s voice permission and input as text in a customizable UI
Stars: ✭ 440 (+1592.31%)
Mutual labels:  voice
Kugimiya Rainbow Fart
傲 娇 钉 宫,鞭 写 鞭 骂 - 钉宫理惠 vscode-rainbow-fart 扩展语音包
Stars: ✭ 652 (+2407.69%)
Mutual labels:  voice
Hey Athena Client
Your personal voice assistant
Stars: ✭ 336 (+1192.31%)
Mutual labels:  voice
Utox
µTox the lightest and fluffiest Tox client
Stars: ✭ 820 (+3053.85%)
Mutual labels:  voice
React Mic
Record audio from a user's microphone and display a cool visualization.
Stars: ✭ 323 (+1142.31%)
Mutual labels:  voice
Eddiscovery
Captains log and 3d star map for Elite Dangerous
Stars: ✭ 541 (+1980.77%)
Mutual labels:  voice
Say
Convert text to audiable speech. Play it or save it to audio file.
Stars: ✭ 24 (-7.69%)
Mutual labels:  voice
Call Forwarding Node
A sample implementation of advanced call forwarding using Twilio, Node.js and Express.js.
Stars: ✭ 6 (-76.92%)
Mutual labels:  voice
Annyang
💬 Speech recognition for your site
Stars: ✭ 6,216 (+23807.69%)
Mutual labels:  voice

xunfei-clj

Clojure封装讯飞语音SDK, 可提供给Emacs/Vim编辑器使用,或者命令行, 实现语音朗读提醒/语音识别/语音转为命令等

目前只支持Linux和Windows系统,因为讯飞官方SDK暂未支持Mac

Usage: 查看使用示例hello-xunfei

;; 1. add to project.clj.
[xunfei-clj "0.1.4-SNAPSHOT"]

;; 2. add Msc.jar to project's lib path, then add `:resource-paths` option.
:resource-paths ["lib/Msc.jar"]

;; 3. copy libmsc64.so(windows: msc64.dll) & libmsc32.so(windows: msc32.dll) to your project root path.

;; 4. core.clj:
(ns hello-xunfei.core
  (:require [xunfei-clj.core :as xunfei]))

;; 讯飞初始化
(xunfei/app-init "your-xunfei-appid") ;; 可以自行到讯飞开放平台注册一个appid

;; 语音朗读
(defn xunfei-say-hi
  [text]
  (xunfei/text-to-player text))

;; 语音识别
(def regcog-res (atom (list)))
(xunfei/record-voice-to-text (fn [] (xunfei/m-reco-listener #(swap! regcog-res conj %))) )

Develop

$ lein repl 

;; 讯飞初始化
xunfei-clj.core> (app-init "your-xunfei-appid")
;; 语音朗读
xunfei-clj.core> (text-to-player "什么语音文学驱动编程?")

;; 语音识别
xunfei-clj.core> (def regcog-res (atom (list)))
xunfei-clj.core> (record-voice-to-text (fn [] (m-reco-listener #(swap! regcog-res conj %))) )

License

Copyright © 2017 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].