Được TopGit lập chỉ mục từ metadata GitHub: lionsoul2014/freeswitch-asr có 72 sao, viết chủ yếu bằng C. TTS and ASR module with auto Voice Active Detecting supported for Freeswitch. I build it for Nature sound interactive, With the embedded LUA engine we could easly build a Freeswtich application like this.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
TTS and ASR module with auto Voice Active Detecting supported for Freeswitch.
I build it for Nature sound interactive, With the embedded LUA engine we could easly build a Freeswtich application like this.
How to use it ?
Copy and merge the ${PROJECT_ROOT}/src and the ${PROJECT_ROOT}/conf with the Freeswitch source tree.
Add the following two module in the ${FREESWITCH_SOURCE_ROOT}/modules.conf
asr_tts/mod_yytts
asr_tts/mod_yyasr
Re-compile and install the freeswitch to install mod_yytts and mod_yyasr modules.
Active the mod_yytts and the mod_yyasr by add the following to lines into the ${FREESWITCH_INSTALLATION_ROOT}/conf/autoload_configs/modules.conf.xml
Start the Freeswitch and install a Linphone client.
Dial 5001 for TTS testing, check ./scripts/yytts_demo.lua for detail usage, module interface overview:
session:answer(); -- answer the call
-- set to use the yytts TTS with zhilingf speaker
session:set_tts_params("yytts", "zhilingf");
-- fire the speak
session:speak("Hello,我是人工智能电话系统, Bye!");
-- hangup the call
session:hangup();
Dial 5002 for ASR testing, check ./scripts/yyasr_demo for detail usage, ASR interface overview:
session:answer(); -- answer the call
-- register the sound input callback
session:setInputCallback(function onInput(s, type, obj) end);
-- start to detect the speech to keep firing the feed interface insite yyasr module
session:execute("detect_speech", "yyasr directory directory");
-- resume the detect_speech
session:execute("detect_speech", "resume");
-- stop the detecting
session:execute("detect_speech", "stop");
-- check ./script/yyasr_demo for details usage.
open
while ( thread running ) do
feed
check_results
get_results
end
optional pause|resume
close
Embedded the other ASR engine by override the yyasr_asr_feed
/*! function to feed audio to the ASR */
static switch_status_t yyasr_asr_feed(
switch_asr_handle_t *ah, void *data, unsigned int len, switch_asr_flag_t *flags)
{
// feed the text to the yyasr->text_buffer text buffer
return SWITCH_STATUS_SUCCESS;
}
/*
* Voice Active detecting implementation.
* Optimize the VAD by modify stop_audio_detect function.
*/
static switch_bool_t stop_audio_detect(
switch_asr_handle_t *ah, int16_t *data, unsigned int samples)
{
return SWITCH_FALSE;
}
lionsoul2014/freeswitch-asr có 72 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/lionsoul2014/freeswitch-asr. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
lionsoul2014/freeswitch-asr có những chủ đề gì?
GitHub topics của lionsoul2014/freeswitch-asr: "call-center", "freeswitch", "freeswitch-asr", "freeswitch-tts", "ivr-application", "lua-script". TopGit xếp repo vào nhóm mã nguồn mở.
lionsoul2014/freeswitch-asr còn đang phát triển không?
Commit gần nhất trên lionsoul2014/freeswitch-asr là 7.3 năm trước (theo timestamp GitHub). Repo có 36 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
lionsoul2014/freeswitch-asr là gì?
lionsoul2014/freeswitch-asr (lionsoul2014/freeswitch-asr) là dự án C trên GitHub. Theo mô tả gốc: TTS and ASR module with auto Voice Active Detecting supported for Freeswitch. I build it for Nature sound interactive, With the embedded LUA engine we could easly build a Freeswtich application like this.
lionsoul2014/freeswitch-asr viết bằng ngôn ngữ gì?
lionsoul2014/freeswitch-asr chủ yếu viết bằng C. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về freeswitch-asr?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về freeswitch-asr.