All Projects → antirek → Voicer

antirek / Voicer

Licence: mit
AGI-server voice recognizer for #Asterisk

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Voicer

Caster
Dragonfly-Based Voice Programming and Accessibility Toolkit
Stars: ✭ 242 (+231.51%)
Mutual labels:  voice-commands, voice-control, voice-recognition, voice
voice gender detection
♂️♀️ Detect a person's gender from a voice file (90.7% +/- 1.3% accuracy).
Stars: ✭ 51 (-30.14%)
Mutual labels:  voice, voice-commands, voice-recognition, voice-control
Hey Athena Client
Your personal voice assistant
Stars: ✭ 336 (+360.27%)
Mutual labels:  voice-commands, voice-control, voice-recognition, voice
Voice datasets
🔊 A comprehensive list of open-source datasets for voice and sound computing (50+ datasets).
Stars: ✭ 494 (+576.71%)
Mutual labels:  voice-commands, voice-control, voice-recognition, voice
react-native-spokestack
Spokestack: give your React Native app a voice interface!
Stars: ✭ 53 (-27.4%)
Mutual labels:  voice-commands, voice-recognition, voice-control, asr
Rhino
On-device speech-to-intent engine powered by deep learning
Stars: ✭ 406 (+456.16%)
Mutual labels:  voice-commands, voice-control, voice-recognition
QuietVR
A Quiet Place in VR: Generate any 3D object with your voice. It's magic!
Stars: ✭ 17 (-76.71%)
Mutual labels:  voice, voice-commands, voice-recognition
VoiceNET.Library
.NET library to easily create Voice Command Control feature.
Stars: ✭ 14 (-80.82%)
Mutual labels:  voice-commands, voice-recognition, voice-control
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 (+404.11%)
Mutual labels:  voice-commands, voice-control, voice
awesome-rhasspy
Carefully curated list of projects and resources for the voice assistant Rhasspy
Stars: ✭ 50 (-31.51%)
Mutual labels:  voice, voice-commands, voice-control
spokestack-android
Extensible Android mobile voice framework: wakeword, ASR, NLU, and TTS. Easily add voice to any Android app!
Stars: ✭ 52 (-28.77%)
Mutual labels:  voice, voice-recognition, asr
Jarvis
Jarvis.sh is a simple configurable multi-lang assistant.
Stars: ✭ 701 (+860.27%)
Mutual labels:  voice-commands, voice-control, voice-recognition
KeenASR-Android-PoC
A proof-of-concept app using KeenASR SDK on Android. WE ARE HIRING: https://keenresearch.com/careers.html
Stars: ✭ 21 (-71.23%)
Mutual labels:  voice-commands, voice-recognition, voice-control
Voicemail
🔈 📧 Voice Based Email for (Blinds?)
Stars: ✭ 40 (-45.21%)
Mutual labels:  voice-commands, voice-control, voice-recognition
picovoice
The end-to-end platform for building voice products at scale
Stars: ✭ 316 (+332.88%)
Mutual labels:  voice, voice-commands, voice-recognition
ultimate-guide-to-voice-assistants
Curation of startups, resources, people, posts etc in the voice-space
Stars: ✭ 55 (-24.66%)
Mutual labels:  voice, voice-commands, voice-recognition
Alan Sdk Ionic
Alan AI Ionic SDK adds a voice assistant or chatbot to your app. Supports React, Angular.
Stars: ✭ 287 (+293.15%)
Mutual labels:  voice-commands, voice-control, voice
Alan Sdk Flutter
Alan AI Flutter SDK adds a voice assistant or chatbot to your app.
Stars: ✭ 309 (+323.29%)
Mutual labels:  voice-commands, voice-control, voice
Alan Sdk Android
Alan AI Android SDK adds a voice assistant or chatbot to your app. Supports Java, Kotlin.
Stars: ✭ 278 (+280.82%)
Mutual labels:  voice-commands, voice-control, voice
Alan Sdk Ios
Alan AI iOS SDK adds a voice assistant or chatbot to your app. Supports Swift, Objective-C.
Stars: ✭ 318 (+335.62%)
Mutual labels:  voice-commands, voice-control, voice

voicer

AGI voice recognizer for Asterisk [use Yandex, Google or Wit.ai ASR online services]

Call to special extension, say "Vasya" and Asterisk connect you with Vasya! Excellent!

Build Status

Workflow

Voicer work as AGI-server. Voicer accept request from asterisk via AGI app. It run handler for each request. Handler command asterisk record file.

After this send file to recognition service, receive text, search by text in source of data for finding concordance, if source have this text it return channel for call, voicer set dialplan vars RECOGNITION_RESULT as SUCCESS and RECOGNITION_TARGET for finded result.

After this voicer return control to dialplan. Build rules of dialplan using RECOGNITION_RESULT and RECOGNITION_TARGET.

Use

Install

$ npm install voicer -g

Run

voicer -p 3000 -t google -k <developer_key> -d /etc/voicer/peernames.json -r /var/records

run with --help for instructions

voicer --help

Configuration

Config.js

{
    agi: {
        port: 3000
    },
    processing: {
        totalAttempts: 2,
        playGreeting: true,
        playBeepBeforeRecording: false   //use system beep
    },
    asterisk: {
        sounds: {
            onErrorBeforeFinish: 'invalid',
            onErrorBeforeRepeat: 'invalid',
            greeting: 'beep'
        },
        recognitionDialplanVars: {
            status: 'RECOGNITION_RESULT',
            target: 'RECOGNITION_TARGET'
        }
    },
    record: {
        directory: '/tmp',
        type: 'wav',
        duration: 2,
    },
    recognize: {
        directory: '/tmp',
        type: 'witai',    // ['yandex', 'google', 'witai']
        options: {
            developer_key: '6SQV3DEGQWIXW3R2EDFUMPQCVGOEIBCR'
        }
    },
    lookup: {
        type: 'file',
        options: {
            dataFile: 'data/peernames.json'
        }
    }
};

Asterisk

Write dialplan for call to AGI-server voicer like

[default]
exten=1000,1,AGI(agi://localhost:3000)
exten=1000,n,GotoIf($[${RECOGNITION_RESULT}=SUCCESS]?:default,1000,4)
exten=1000,n,Dial(${RECOGNITION_TARGET})

Format peernames

[
    ....
    {
        "name": "Vasya",
        "target": "SIP/Sf567890",
        "variants": ["vasya", "vasya petrov"]
    },
    ....
]

Online peernames.json constructor

Errors?!

Bugs?! Oh, contact with me. I want to eat them.

Links

Yandex API key: https://developer.tech.yandex.ru/

Google API key: https://console.developers.google.com/

Wit.ai API key: http://wit.ai

Voice speed dial on Asterisk

New manual

Use with FreePBX

Development

Test

npm test

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].