TW201543842A - Voice chat device - Google Patents

Voice chat device Download PDF

Info

Publication number
TW201543842A
TW201543842A TW103116799A TW103116799A TW201543842A TW 201543842 A TW201543842 A TW 201543842A TW 103116799 A TW103116799 A TW 103116799A TW 103116799 A TW103116799 A TW 103116799A TW 201543842 A TW201543842 A TW 201543842A
Authority
TW
Taiwan
Prior art keywords
module
input
output
analog audio
network
Prior art date
Application number
TW103116799A
Other languages
Chinese (zh)
Other versions
TWI555349B (en
Inventor
Ti-Chung An
Original Assignee
Xiao Tian Science Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiao Tian Science Co filed Critical Xiao Tian Science Co
Priority to TW103116799A priority Critical patent/TWI555349B/en
Publication of TW201543842A publication Critical patent/TW201543842A/en
Application granted granted Critical
Publication of TWI555349B publication Critical patent/TWI555349B/en

Links

Abstract

A voice chat device comprises an input module, an encoder, a decoder, an output module, a delay module and an echo cancellation module. The input module receives the sound of the user side and produces an input analog audio, the encoder transforms the input analog audio into input digital signals and transmits them to a remote device via network, the decoder receives output digital signals sent out by the remote device via network and transforms the output digital signals into an output analog audio that is broadcasted by the output module, the delay module intercepts the input and output digital signals for detecting the delay time of the network, so as to obtain a delayed reference value, such that the echo cancellation module can cancel echo according to the output analog audio and the delayed reference value precisely.

Description

語音聊天裝置 Voice chat device

本發明係關於一種語音聊天裝置;特別是指供使用者透過網路與另一語音聊天裝置之使用者通訊之裝置者。 The present invention relates to a voice chat device; and more particularly to a device for a user to communicate with a user of another voice chat device over a network.

習知的語音聊天裝置10請參閱圖1所示,其係包括一輸入模組11,一編碼器12、一解碼器13、一輸出模組14以及一迴音消除模組15,藉由該語音聊天裝置10,使用者得以透過網路16而與另一使用者(對話方)通訊。使用者之聲音係由該輸入模組11接收為一類比音訊111,並透過該編碼器12將該類比音訊111轉換為一數位音訊121後,經由網路16傳送至對話方,而對話方之聲音亦經同樣流程而傳送至使用者之語音聊天裝置10,透過該解碼器13接收該對話方之數位訊號161,並轉換為一類比訊號131後,透過該輸出模組14播出;而為了避免該輸出模組14播出之聲音141被該輸入模組再次接收產生迴音而影響通訊之品質,故習知之語音聊天裝置10會透過該迴音消除模組15對該使用者之類比音訊111進行迴音消除,藉此得到良好的通訊品質。 As shown in FIG. 1 , the conventional voice chat device 10 includes an input module 11 , an encoder 12 , a decoder 13 , an output module 14 , and an echo cancellation module 15 . The chat device 10 allows the user to communicate with another user (interviewer) via the network 16. The user's voice is received by the input module 11 as an analog audio 111, and the analog audio 111 is converted into a digital audio 121 through the encoder 12, and then transmitted to the dialogue party via the network 16, and the dialogue party The voice is also transmitted to the voice chat device 10 of the user through the same process, and the digital signal 161 of the dialogue party is received by the decoder 13 and converted into an analog signal 131, and then broadcasted through the output module 14; The sound 141 broadcasted by the output module 14 is prevented from being received by the input module to generate an echo, which affects the quality of the communication. Therefore, the conventional voice chat device 10 transmits the analog audio 111 to the user through the echo cancellation module 15. Echo cancellation, which leads to good communication quality.

然而,由於網路16的速度並非穩定於定值,且使用者方及對話方之網路速度亦不一定一致,因此,迴音消 除模組15難以準確地針對迴音進行消除。 However, since the speed of the network 16 is not stable at a fixed value, and the network speeds of the user side and the conversation party are not necessarily the same, the echo cancellation Except for the module 15, it is difficult to accurately eliminate the echo.

有鑑於此,本發明人潛心構思並更深入研究,終於發明出一種語音聊天裝置。 In view of this, the inventors have conceived and further studied, and finally invented a voice chat device.

本發明提供一種語音聊天裝置,其主要目的是使語音聊天裝置中之迴音消除模組能適應網路延遲之時間,藉此可精準地針對迴音進行消除。 The invention provides a voice chat device, the main purpose of which is to enable the echo cancellation module in the voice chat device to adapt to the time of the network delay, thereby accurately eliminating the echo.

為達前述目的,本發明提供一種語音聊天裝置,用以供使用者端透過網路與至少一遠端裝置進行通訊,該語音聊天裝置包括:一輸入模組,用以接收該使用者端之聲音並產生一輸入類比音訊;一編碼器,與該輸入模組連接,用以將該輸入模組所產生之輸入類比音訊轉換為一輸入數位訊號,並將該輸入數位訊號經由網路傳送至該至少一遠端裝置;一解碼器,用以經由網路接收該至少一遠端裝置所發出之一輸出數位訊號,並將該輸出數位訊號轉換為一輸出類比音訊;一輸出模組,與該解碼器連接,用以於該使用者端播放該輸出類比音訊;一延遲模組,擷取該輸入數位訊號及該輸出數位訊號,以偵測網路之延遲時間,並得出一延遲參考值;以及一迴音消除模組,接受該輸出類比音訊及該延遲模組發出之延遲參考值,並根據該輸出類比音訊及該延遲參考值而對該輸入類比音訊進行迴音消除。 To achieve the foregoing objective, the present invention provides a voice chat device for a user to communicate with at least one remote device through a network, the voice chat device comprising: an input module for receiving the user terminal The sound generates an input analog audio; an encoder is coupled to the input module for converting the input analog audio generated by the input module into an input digital signal, and transmitting the input digital signal to the network via the network to The at least one remote device; a decoder for receiving, by the network, one of the output digital signals sent by the at least one remote device, and converting the output digital signal into an output analog audio; an output module, and The decoder is connected to play the output analog audio to the user end; a delay module captures the input digital signal and the output digital signal to detect a network delay time and obtain a delay reference And an echo cancellation module that accepts the output analog audio and the delay reference value sent by the delay module, and based on the output analog audio and the delay reference value The analog audio input performs echo cancellation.

本發明利用所提供的語音聊天裝置,可以獲得的 功效在於:藉由於該語音聊天裝置裝設置一延遲模組,該延遲模組係用以擷取該輸入數位訊號及該輸出數位訊號,以偵測網路之延遲時間,並得出一延遲參考值後,將該延遲參考值送至迴音消除模組,該迴音消除模組則根據該輸出類比音訊及該延遲參考值而對該輸入類比音訊進行迴音消除,藉此可精準地針對目標迴音進行消除。 The invention can be obtained by using the provided voice chat device The effect is that the delay module is configured to capture the input digital signal and the output digital signal to detect the delay time of the network and obtain a delay reference. After the value is sent, the delay reference value is sent to the echo cancellation module, and the echo cancellation module performs echo cancellation on the input analog audio signal according to the output analog audio signal and the delay reference value, thereby accurately performing the target echo eliminate.

有關本發明為達成上述目的,所採用之技術、手段及其他之功效,茲舉一較佳可行實施例並配合圖式詳細說明如后。 The present invention has been described in connection with the preferred embodiments of the present invention in accordance with the accompanying drawings.

〔習知〕 [study]

10‧‧‧語音聊天裝置 10‧‧‧Voice chat device

11‧‧‧輸入模組 11‧‧‧Input module

111‧‧‧類比音訊 111‧‧‧ analog audio

12‧‧‧編碼器 12‧‧‧Encoder

121‧‧‧數位音訊 121‧‧‧Digital audio

13‧‧‧解碼器 13‧‧‧Decoder

131‧‧‧類比訊號 131‧‧‧ analog signal

14‧‧‧輸出模組 14‧‧‧Output module

141‧‧‧聲音 141‧‧‧ Sound

15‧‧‧迴音消除模組 15‧‧‧Echo Cancellation Module

16‧‧‧網路 16‧‧‧Network

161‧‧‧數位訊號 161‧‧‧ digital signal

〔本發明〕 〔this invention〕

2‧‧‧使用者端 2‧‧‧User side

20‧‧‧語音聊天裝置 20‧‧‧Voice chat device

21‧‧‧輸入模組 21‧‧‧ Input Module

211‧‧‧輸入類比音訊 211‧‧‧ Input analog audio

22‧‧‧編碼器 22‧‧‧Encoder

221‧‧‧輸入數位訊號 221‧‧‧Enter digital signal

23‧‧‧解碼器 23‧‧‧Decoder

231‧‧‧輸出類比音訊 231‧‧‧ Output analog audio

24‧‧‧輸出模組 24‧‧‧Output module

241‧‧‧播放聲音 241‧‧‧Play sound

25‧‧‧延遲模組 25‧‧‧Delay module

251‧‧‧延遲參考值 251‧‧‧Delay reference value

26‧‧‧迴音消除模組 26‧‧‧Echo Cancellation Module

3‧‧‧網路 3‧‧‧Network

4‧‧‧遠端裝置 4‧‧‧ Remote device

411‧‧‧輸出數位訊號 411‧‧‧Output digital signal

圖1係習知語音聊天裝置之示意圖。 1 is a schematic diagram of a conventional voice chat device.

圖2係本發明實施例之示意圖。 2 is a schematic view of an embodiment of the present invention.

圖3係本發明實施例之示意圖,係顯示出多方通訊時之態樣。 FIG. 3 is a schematic diagram of an embodiment of the present invention, showing a state of multi-party communication.

在本發明被詳細描述之前,要注意的是在以下的說明內容中,類似的元件是以相同的編號來表示。 Before the present invention is described in detail, it is noted that in the following description, similar elements are denoted by the same reference numerals.

為使 貴審查委員對本發明之目的、特徵及功效能夠有更進一步之瞭解與認識,以下茲請配合【圖式簡單說明】詳述如后:本發明語音聊天裝置的較佳實施例如圖2所示,其係用以供使用者端2透過網路3與一遠端裝置4進行通訊, 該使用者端2及該遠端裝置4係均為一電腦系統,該語音聊天裝置20係設於該使用者端2,包括:一輸入模組21、一編碼器22、一解碼器23、一輸出模組24、一延遲模組25以及一迴音消除模組26,其中:該輸入模組21,如麥克風,用以接收該使用者端2之聲音並產生一輸入類比音訊211,值得注意的是,該使用者端2之聲音除使用者講話的聲音、使用者所處環境之聲音外,更包含了由該輸出模組24所發出之來自該遠端裝置4之聲音,而該輸出模組24所發出之來自該遠端裝置4之聲音,則為該迴音消除模組26所欲消除之迴音,藉以避免回授之發生;該編碼器22係使用OPUS格式或AAC格式,該編碼器22係與該輸入模組21連接,用以將該輸入模組21所產生之輸入類比音訊211轉換為一輸入數位訊號221,並將該輸入數位訊號經221由網路3傳送至該遠端裝置4;該解碼器23係使用OPUS格式或AAC格式,用以經由網路3接收該遠端裝置4所發出之一輸出數位訊號411,並將該輸出數位訊號411轉換為一輸出類比音訊231;該輸出模組24,如喇叭,係與該解碼器23連接,用以於該使用者端2播放該輸出類比音訊231以成為一播放聲音241;該延遲模組25擷取該輸入數位訊號221及該輸 出數位訊號411,以偵測網路3之延遲時間,並得出一延遲參考值251,該延遲參考值251係與該網路3之延遲時間長短相關;迴音消除模組26接受該輸出類比音訊231及該延遲模組25發出之延遲參考值251,並根據該輸出類比音訊231及該延遲參考值251而對該輸入類比音訊231進行迴音消除。 In order to enable the reviewing committee to have a better understanding and understanding of the purpose, features and functions of the present invention, the following is a detailed description of the following: a preferred embodiment of the voice chat device of the present invention is as shown in FIG. The user terminal 2 is configured to communicate with a remote device 4 through the network 3, The user terminal 2 and the remote device 4 are both a computer system. The voice chat device 20 is disposed on the user terminal 2, and includes an input module 21, an encoder 22, and a decoder 23. An output module 24, a delay module 25, and an echo cancellation module 26, wherein the input module 21, such as a microphone, receives the sound of the user terminal 2 and generates an input analog audio 211. The sound of the user terminal 2 includes the sound from the remote device 4 emitted by the output module 24 in addition to the sound of the user's speech and the sound of the user's environment, and the output is output. The sound from the remote device 4 sent by the module 24 is the echo that the echo cancellation module 26 wants to eliminate, so as to avoid the occurrence of feedback; the encoder 22 uses the OPUS format or the AAC format, the encoding The device 22 is connected to the input module 21 for converting the input analog audio signal 211 generated by the input module 21 into an input digital signal 221, and transmitting the input digital signal to the remote terminal 221 via the network 3. End device 4; the decoder 23 uses the OPUS format or AAC a format for receiving the output digital signal 411 sent by the remote device 4 via the network 3, and converting the output digital signal 411 into an output analog audio 231; the output module 24, such as a speaker, is coupled to the The decoder 23 is connected to the user terminal 2 to play the output analog audio 231 to become a play sound 241; the delay module 25 captures the input digital signal 221 and the input The digital signal 411 is detected to detect the delay time of the network 3, and a delay reference value 251 is obtained. The delay reference value 251 is related to the delay time of the network 3; the echo cancellation module 26 accepts the output analogy. The audio 231 and the delay reference value 251 sent by the delay module 25 are used to perform echo cancellation on the input analog audio 231 according to the output analog audio 231 and the delay reference value 251.

以上所述為本發明實施例主要構件及其組態說明。至於本發明實施例的使用方式及功效,請參閱圖2所示,通常根據本發明,為了使該語音聊天裝置20得到網路3的延遲數值,因此,需先取得該語音聊天裝置20上傳及接收之網路封包以進行比對。該語音聊天裝置20上傳至網路3之封包係由該輸入裝置21透過該編碼器22所得出之輸入數位訊號221,而該接收之網路封包則來自該網路3傳送至該解碼器23之輸出數位訊號411,藉此該延遲模組25可得出一延遲參考值251供迴音消除模組26參考以精準地針對目標迴音進行消除。 The above description is the main components of the embodiment of the present invention and their configuration description. As shown in FIG. 2, in accordance with the present invention, in order to enable the voice chat device 20 to obtain the delay value of the network 3, the voice chat device 20 needs to be uploaded first. The received network packets are compared for comparison. The packet that the voice chat device 20 uploads to the network 3 is the input digital signal 221 obtained by the input device 21 through the encoder 22, and the received network packet is transmitted from the network 3 to the decoder 23. The digital signal 411 is output, whereby the delay module 25 can derive a delay reference value 251 for the echo cancellation module 26 to reference to accurately eliminate the target echo.

需說明的是,前述之目標迴音係指由該輸出模組所播出之播放聲音241,而又被該輸入模組21接收者,該迴音消除模組26之目的即在於將該輸入模組21所產生之輸入類比音訊211中,將該播放聲音241消除。 It should be noted that the target echo is the playback sound 241 broadcast by the output module, and is received by the input module 21. The purpose of the echo cancellation module 26 is to input the module. In the input analog audio 211 generated by 21, the play sound 241 is eliminated.

除此之外,請參閱圖3所示,其係顯示出本發明 於多方通訊時示意圖,其中,使用者端2之語音聊天裝置20係透過網路3而與複數個遠端裝置4通訊,然而,雖然是與複數個遠端裝置4通訊,但由於延遲模組25係設於該使用者端2,且擷取該網路3送自該使用者端之輸出數位訊號411,以偵測網路3之延遲時間,因此可知,本發明無論在與單一個遠端裝置4或複數個遠端裝置4通訊時,均可正常地使用。 In addition, please refer to FIG. 3, which shows the present invention. In the multi-party communication diagram, the voice chat device 20 of the user terminal 2 communicates with a plurality of remote devices 4 through the network 3, however, although communicating with a plurality of remote devices 4, due to the delay module The system is located at the user terminal 2, and the network 3 is sent from the output digital signal 411 of the user terminal to detect the delay time of the network 3. Therefore, the present invention can be seen that it is far away from the single one. When the end device 4 or the plurality of remote devices 4 communicate, they can be used normally.

由上述得知本發明確實符合「具有產業可利用性」、「新穎性」、「進步性」,爰依法提出發明專利申請,祈請惠予審查並早日賜准專利,實感德便。 From the above, it is known that the present invention truly conforms to "industrial availability," "novelty," and "progressiveness", and submits an invention patent application in accordance with the law, praying for review and early granting of a patent, and it is truly sensible.

2‧‧‧使用者端 2‧‧‧User side

20‧‧‧語音聊天裝置 20‧‧‧Voice chat device

21‧‧‧輸入模組 21‧‧‧ Input Module

211‧‧‧輸入類比音訊 211‧‧‧ Input analog audio

22‧‧‧編碼器 22‧‧‧Encoder

221‧‧‧輸入數位訊號 221‧‧‧Enter digital signal

23‧‧‧解碼器 23‧‧‧Decoder

231‧‧‧輸出類比音訊 231‧‧‧ Output analog audio

24‧‧‧輸出模組 24‧‧‧Output module

241‧‧‧播放聲音 241‧‧‧Play sound

25‧‧‧延遲模組 25‧‧‧Delay module

251‧‧‧延遲參考值 251‧‧‧Delay reference value

26‧‧‧迴音消除模組 26‧‧‧Echo Cancellation Module

3‧‧‧網路 3‧‧‧Network

4‧‧‧遠端裝置 4‧‧‧ Remote device

411‧‧‧輸出數位訊號 411‧‧‧Output digital signal

Claims (3)

一種語音聊天裝置,用以供使用者端透過網路與至少一遠端裝置進行通訊,該語音聊天裝置包括:一輸入模組,用以接收該使用者端之聲音並產生一輸入類比音訊;一編碼器,與該輸入模組連接,用以將該輸入模組所產生之輸入類比音訊轉換為一輸入數位訊號,並將該輸入數位訊號經由網路傳送至該至少一遠端裝置;一解碼器,用以經由網路接收該至少一遠端裝置所發出之一輸出數位訊號,並將該輸出數位訊號轉換為一輸出類比音訊;一輸出模組,與該解碼器連接,用以於該使用者端播放該輸出類比音訊;一延遲模組,擷取該輸入數位訊號及該輸出數位訊號,以偵測網路之延遲時間,並得出一延遲參考值;以及一迴音消除模組,接受該輸出類比音訊及該延遲模組發出之延遲參考值,並根據該輸出類比音訊及該延遲參考值而對該輸入類比音訊進行迴音消除。 A voice chat device, configured for the user end to communicate with at least one remote device through the network, the voice chat device comprising: an input module for receiving the sound of the user end and generating an input analog audio; An encoder is coupled to the input module for converting the input analog audio generated by the input module into an input digital signal, and transmitting the input digital signal to the at least one remote device via the network; The decoder is configured to receive, by the network, one of the output digital signals sent by the at least one remote device, and convert the output digital signal into an output analog audio; an output module is connected to the decoder for The user terminal plays the output analog audio; a delay module captures the input digital signal and the output digital signal to detect a network delay time and obtain a delay reference value; and an echo cancellation module Receiving the output analog audio and the delay reference value sent by the delay module, and returning the input analog audio according to the output analog audio and the delay reference value Eliminated. 如申請專利範圍第1項所述之語音聊天裝置,其中,該編碼器及該解碼器係使用OPUS格式。 The voice chat device of claim 1, wherein the encoder and the decoder use an OPUS format. 如申請專利範圍第1項所述之語音聊天裝置,其中,該編碼器及該解碼器係使用AAC格式。 The voice chat device of claim 1, wherein the encoder and the decoder use an AAC format.
TW103116799A 2014-05-13 2014-05-13 Voice chat device TWI555349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103116799A TWI555349B (en) 2014-05-13 2014-05-13 Voice chat device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103116799A TWI555349B (en) 2014-05-13 2014-05-13 Voice chat device

Publications (2)

Publication Number Publication Date
TW201543842A true TW201543842A (en) 2015-11-16
TWI555349B TWI555349B (en) 2016-10-21

Family

ID=55221051

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103116799A TWI555349B (en) 2014-05-13 2014-05-13 Voice chat device

Country Status (1)

Country Link
TW (1) TWI555349B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6904288B2 (en) * 2001-05-15 2005-06-07 Qualcomm Incorporated Controller for providing an efficient dormant mode for a group communication network
US6725053B2 (en) * 2001-05-15 2004-04-20 Qualcomm Incorporated Method and apparatus for reducing latency in waking up a group of dormant communication devices
TW200623743A (en) * 2004-12-21 2006-07-01 Topseed Technology Corp Quick connection method and device of network instant messaging system
US20130254281A1 (en) * 2012-03-23 2013-09-26 Wei Sun Collaborative media gathering systems and methods
KR20130111147A (en) * 2012-03-30 2013-10-10 라인 가부시키가이샤 System and method for providing eliminating premium according to providing avatar/game/entertainment function in messenger platform

Also Published As

Publication number Publication date
TWI555349B (en) 2016-10-21

Similar Documents

Publication Publication Date Title
US8606249B1 (en) Methods and systems for enhancing audio quality during teleconferencing
US9071900B2 (en) Multi-channel recording
EP3968321A3 (en) Multi-channel acoustic echo cancellation
US20160308929A1 (en) Conferencing based on portable multifunction devices
US9124984B2 (en) Hearing aid, signal processing method, and program
TW201711453A (en) Methods and systems for virtual conference system using personal communication devices
US20170295419A1 (en) Microphone system with monitor sound
US20150156314A1 (en) Quality of experience determination for multi-party voip conference calls that account for focus degradation effects
US20220369034A1 (en) Method and system for switching wireless audio connections during a call
US20170264735A1 (en) Transferring information from a sender to a recipient during a telephone call under noisy environment
WO2016112635A1 (en) Multi-channel digital microphone
TW201422015A (en) Acoustic echo cancellation (AEC) system
US10204634B2 (en) Distributed suppression or enhancement of audio features
TW201801069A (en) Method and system for receiving voice message and electronic device using the method
JP6377557B2 (en) Communication system, communication method, and program
TWI449438B (en) Communication system and method having echo-cancelling mechanism
WO2020017518A1 (en) Audio signal processing device
TWI555349B (en) Voice chat device
WO2017067319A1 (en) Information transmission method and apparatus, and terminal
TWI790718B (en) Conference terminal and echo cancellation method for conference
US20220368554A1 (en) Method and system for processing remote active speech during a call
JP6601030B2 (en) headset
US9503812B2 (en) Systems and methods for split echo cancellation
CN114531425A (en) Processing method and processing device
TWI623930B (en) Sounding device, audio transmission system, and audio analysis method thereof

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees