WO2016026427A1 - Karaoke realization method and system - Google Patents

Karaoke realization method and system Download PDF

Info

Publication number
WO2016026427A1
WO2016026427A1 PCT/CN2015/087355 CN2015087355W WO2016026427A1 WO 2016026427 A1 WO2016026427 A1 WO 2016026427A1 CN 2015087355 W CN2015087355 W CN 2015087355W WO 2016026427 A1 WO2016026427 A1 WO 2016026427A1
Authority
WO
WIPO (PCT)
Prior art keywords
voice information
file
data corresponding
wireless speaker
mobile terminal
Prior art date
Application number
PCT/CN2015/087355
Other languages
French (fr)
Chinese (zh)
Inventor
陆默
Original Assignee
深圳市比巴科技有限公司
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 深圳市比巴科技有限公司 filed Critical 深圳市比巴科技有限公司
Publication of WO2016026427A1 publication Critical patent/WO2016026427A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the invention belongs to the field of multimedia technology, and in particular relates to a method and a system for implementing karaoke.
  • the existing family karaoke system generally consists of a song system, a sound system and a video system.
  • the karaoke system is generally realized by a home appliance karaoke machine, that is, an embedded hard disk karaoke machine;
  • the sound system includes a wireless microphone or a wired microphone and a speaker;
  • the video system includes a liquid crystal television, a plasma television or a projector.
  • the existing family karaoke system is more complicated to implement.
  • a method for implementing karaoke comprising:
  • the mobile terminal and the wireless speaker are connected in a wireless manner, and the mobile terminal has a karaoke accompaniment file;
  • the mobile terminal splits the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, and displays the video image file and the lyric file;
  • the wireless speaker receives the encoded voice information and the audio accompaniment file, and decodes and plays the encoded voice information and the audio accompaniment file in real time.
  • a karaoke system characterized in that the system comprises a mobile terminal and a wireless speaker, the mobile terminal and the wireless speaker are connected in a wireless manner, and the mobile terminal has a karaoke accompaniment file;
  • the mobile terminal is configured to split the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, display the video image file and the lyric file, and receive voice information input by the user, and the voice is The information is encoded, and the encoded voice information and the audio accompaniment file are sent to the wireless speaker;
  • the wireless speaker is configured to receive the encoded voice information and the audio accompaniment file, and decode and play the encoded voice information and the audio accompaniment file in real time.
  • the invention splits the audio accompaniment file, the video image file and the lyrics file in the karaoke accompaniment file by the mobile terminal, and plays the video image file and the lyric file through the display screen of the mobile terminal, receives the voice information input by the user, and receives the encoded voice information.
  • the voice information and the audio accompaniment file are sent to the wireless speaker, so that the wireless speaker decodes and plays the voice information and the audio accompaniment file, thereby implementing the karaoke function through the mobile terminal and the wireless speaker wirelessly connected with the mobile terminal. Reduced the difficulty of achieving karaoke.
  • FIG. 1 is a block diagram showing the structure of a karaoke system according to an embodiment
  • FIG. 2 is a timing diagram of a method of implementing karaoke in an embodiment
  • FIG. 3 is a flowchart of step S202 of the method for implementing karaoke according to an embodiment
  • FIG. 5 is a flowchart of step S403 of the method for implementing karaoke in an embodiment.
  • FIG. 1 is a block diagram showing the structure of a karaoke system of an embodiment, which includes a mobile terminal 11 and a wireless speaker 12. For the convenience of explanation, only the parts related to the present embodiment are shown.
  • the mobile terminal 11 has a karaoke accompaniment file stored in the mobile terminal.
  • the mobile terminal 11 is configured to split the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, and display a video image file and a lyric file through the display screen of the mobile terminal 11, receive the voice information input by the user, and perform voice information on the voice information. Encoding, and transmitting the encoded voice information and the audio accompaniment file to the wireless speaker 12;
  • the wireless speaker 12 and the mobile terminal 11 are wirelessly connected and communicated for receiving the encoded voice information and the audio accompaniment file, and decoding and playing the encoded voice information and the audio accompaniment file in real time.
  • the mobile terminal 11 is further configured to: receive voice information input by the user through the microphone of the mobile terminal 11; sample, quantize, and encode the voice information in real time to obtain pulse code modulation corresponding to the voice information (Pulse) Code Modulation (PCM) data; compression-encoding the PCM data corresponding to the voice information to obtain the encoded voice information.
  • Pulse voice information
  • PCM Code Modulation
  • the wireless speaker 12 is further configured to: decode the received voice information in real time to obtain PCM data corresponding to the voice information; and decode the received audio accompaniment file in real time to obtain PCM data corresponding to the audio accompaniment file; Playback is performed based on the obtained PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file.
  • the wireless speaker 12 is further configured to: set a preset value and a gain coefficient; acquire a corresponding sampling point in the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file; and the corresponding sampling point
  • the PCM data corresponding to the voice information is superimposed with the PCM data corresponding to the audio accompaniment file to obtain a superimposed value
  • the gain coefficient is adjusted according to the relative size of the superimposed value and the preset value to obtain a current gain coefficient
  • the superimposed value and the current gain coefficient are played.
  • the wireless speaker 12 is further configured to adjust the current gain coefficient according to the first N gain coefficients, where N is an integer greater than or equal to 1.
  • the invention splits the audio accompaniment file, the video image file and the lyrics file in the karaoke accompaniment file by the mobile terminal, and plays the video image file and the lyric file through the display screen of the mobile terminal, receives the voice information input by the user, and receives the encoded voice information.
  • the voice information and the audio accompaniment file are sent to the wireless speaker, so that the wireless speaker decodes and plays the voice information and the audio accompaniment file, thereby implementing the karaoke function through the mobile terminal and the wireless speaker wirelessly connected with the mobile terminal. Reduced the difficulty of achieving karaoke.
  • FIG. 2 is a timing diagram of an implementation method of a karaoke according to an embodiment.
  • the execution body of the timing diagram may be the mobile terminal 11 and the wireless speaker 12 in FIG. 1.
  • the mobile terminal and the wireless speaker are wirelessly connected and communicated.
  • the terminal has a karaoke accompaniment file, and the method includes:
  • step S201 the mobile terminal splits the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, and displays the video image file and the lyric file through the display screen of the mobile terminal.
  • the mobile terminal downloads the karaoke accompaniment file from the cloud music library in advance according to the user's request, and stores the karaoke accompaniment file in the mobile terminal.
  • the mobile terminal splits the karaoke accompaniment file corresponding to the first song into an audio accompaniment file, a video image file and a lyric file.
  • the audio accompaniment file is played by the wireless speaker, and the video image file and the lyric file are played by the mobile terminal.
  • the mobile terminal plays the video image file and the lyric file
  • the current playback progress of the karaoke accompaniment file is first detected, and according to the current playback progress of the karaoke accompaniment file, the video image corresponding to the current playback progress and the lyrics are displayed through the display screen of the mobile terminal.
  • Step S202 The mobile terminal receives the voice information input by the user, and encodes the voice information.
  • the mobile terminal displays the video image and the lyrics corresponding to the current playback progress through the display screen, so that the user inputs the voice information according to the video image and the lyrics displayed on the display screen.
  • the mobile terminal can receive the voice information input by the user through the microphone of the mobile terminal, and can also receive the voice information input by the user through an external Bluetooth headset, a headset or a microphone.
  • the mobile terminal After receiving the voice information input by the user, the mobile terminal converts the voice information into an electrical signal, and then encodes the voice information of the electrical signal, so that the amount of the audio data of the encoded voice information is controlled within a preset range, thereby
  • the mobile terminal transmits the encoded voice information to the wireless speaker the transmission time is shortened to ensure that the audio playback of the wireless speaker is synchronized with the playback of the video image and the lyrics of the mobile terminal.
  • Step S203 The mobile terminal sends the encoded voice information and the audio accompaniment file to the wireless speaker.
  • Wi-Fi Wireless Fidelity
  • Direct Bluetooth, ZigBee, Zinc (Neep Field)
  • Wireless communication technology such as Communication (Near Field Communication) performs connection communication, which is not limited herein.
  • Step S204 the wireless speaker receives the encoded voice information and the audio accompaniment file, and decodes and plays the encoded voice information and the audio accompaniment file in real time.
  • the wireless speaker decodes the received voice information and the audio accompaniment file frame by frame to cause the received voice information and the audio accompaniment file to be played as soon as possible, so that the voice information and the audio accompaniment file and the corresponding video image are And the lyrics play consistently.
  • FIG. 3 is a flowchart of step S202 of the method for implementing karaoke according to an embodiment.
  • step S202 includes:
  • Step S301 the mobile terminal receives voice information input by the user through the microphone of the mobile terminal.
  • the mobile terminal receives the voice information input by the user through its own microphone.
  • the mobile terminal adds a noise reduction microphone.
  • the noise reduction microphone receives the ambient noise
  • the mobile terminal receives the voice information received by the microphone of the mobile terminal and the noise reduction microphone.
  • the noise is calculated by the ambient noise.
  • the microphone of the mobile terminal may be an electret microphone or the like, which is not limited herein.
  • Step S302 the mobile terminal samples, quantizes, and encodes the voice information in real time to obtain PCM data corresponding to the voice information.
  • the mobile terminal After the mobile terminal converts the voice information from the sound signal to the electrical signal, the voice information is sampled.
  • Sampling is a process of extracting a sample of a speech information analog signal at a frequency more than twice the signal bandwidth and becoming a discrete speech information sampling signal on the time axis. Since the voice information sampling signal has an infinite number of values, the mobile terminal quantizes the voice information sampling signal, so that the value of the voice information sampling signal is changed from an infinite number to a limited number. The mobile terminal then performs binary encoding on the quantized voice information to obtain PCM (Pulse) Code Modulation, pulse code modulation) data.
  • PCM Pulse Code Modulation, pulse code modulation
  • Step S303 the mobile terminal compress-encodes the PCM data corresponding to the voice information to obtain the encoded voice information.
  • MP3 MPEG-1 Compression coding such as audio layer 3, MPEG audio layer 3) or WMA (Windows Media Audio) is not limited herein.
  • the data amount of the PCM data corresponding to the voice information is greatly reduced, thereby improving the transmission rate of the encoded voice information transmitted by the mobile terminal to the wireless speaker, reducing the delay, and improving the user. induction.
  • FIG. 4 is a flowchart of step S204 of the method for implementing karaoke according to an embodiment.
  • step S204 includes:
  • Step S401 the wireless speaker decodes the received voice information in real time to obtain PCM data corresponding to the voice information
  • Step S402 the wireless speaker decodes the received audio accompaniment file in real time to obtain PCM data corresponding to the audio accompaniment file;
  • step S403 the wireless speaker plays according to the obtained PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file.
  • the wireless speaker decodes the voice information and the audio accompaniment file frame by frame, and obtains the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file and plays.
  • FIG. 5 is a flowchart showing a specific implementation of step S403 of the method for implementing karaoke according to an embodiment.
  • step S403 includes:
  • Step S500 the wireless speaker sets a preset value and a gain coefficient
  • Step S501 the wireless speaker acquires corresponding sampling points in the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file;
  • Step S502 the wireless speaker superimposes the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file on the corresponding sampling point to obtain a superimposed value;
  • Step S503 the wireless speaker adjusts the gain coefficient according to the relative size of the superimposed value and the preset value to obtain a current gain coefficient
  • step S504 the wireless speaker plays according to the superimposed value and the current gain coefficient.
  • the corresponding sample points in the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file are acquired.
  • the corresponding sampling point refers to a sampling point where the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file coincide on the time axis.
  • the current gain coefficient is adjusted so that the product of the superimposed value and the current gain coefficient is multiplied. Equal to the saturation value, thereby avoiding the effect of noise generated after mixing on the mix.
  • the current gain coefficient is less than the preset gain coefficient. If the superimposed value is less than or equal to the preset value, the current gain coefficient is made equal to the preset gain coefficient.
  • the current gain coefficient is adjusted according to the relative size of the superimposed value and the preset value, and the PCM corresponding to the PCM waveform corresponding to the audio information and the audio accompaniment file can be maintained while avoiding the noise introduced in the mixing to affect the mixing.
  • the superimposed waveform of the waveform remains essentially unchanged.
  • step S403 further includes:
  • the wireless speaker adjusts the current gain coefficient according to the first N gain coefficients, where N is an integer greater than or equal to one.
  • the wireless speaker adjusts the current gain coefficient according to the gain coefficient corresponding to the first N frames of the current frame, so as to smoothly transition between the frames to ensure the sound quality after mixing.
  • the invention splits the audio accompaniment file, the video image file and the lyrics file in the karaoke accompaniment file by the mobile terminal, and plays the video image file and the lyric file through the display screen of the mobile terminal, receives the voice information input by the user, and receives the encoded voice information.
  • the voice information and the audio accompaniment file are sent to the wireless speaker, so that the wireless speaker decodes and plays the voice information and the audio accompaniment file, thereby implementing the karaoke function through the mobile terminal and the wireless speaker wirelessly connected with the mobile terminal. Reduced the difficulty of achieving karaoke.

Abstract

A karaoke realization method and system, the system comprising a mobile terminal (11) and a wireless speaker (12); the mobile terminal (11) stores a karaoke accompaniment file therein, and is connected to and communicates with the wireless speaker (12) via a wireless communication method. The method comprises: the mobile terminal splits the karaoke accompaniment file into an audio accompaniment file, a video image file and a lyrics file, and displays the video image file and the lyrics file; the mobile terminal receives voice information input by a user, encodes the voice information, and transmits the encoded voice information and the audio accompaniment file to the wireless speaker; and the wireless speaker receives the encoded voice information and the audio accompaniment file, and decodes and plays in real time the encoded voice information and the audio accompaniment file.

Description

卡拉OK的实现方法及系统Karaoke implementation method and system
【技术领域】[Technical Field]
本发明属于多媒体技术领域,尤其涉及一种卡拉OK的实现方法及系统。The invention belongs to the field of multimedia technology, and in particular relates to a method and a system for implementing karaoke.
【背景技术】【Background technique】
现有的家庭卡拉OK系统一般由点歌系统、音响系统和视频系统组成。点歌系统一般由家电化点歌机即嵌入式硬盘点歌机来实现;音响系统包括无线话筒或有线话筒以及音箱等;视频系统包括液晶电视、等离子电视或者投影机等。对于大多数用户来说,现有的家庭卡拉OK系统实现起来较为复杂。The existing family karaoke system generally consists of a song system, a sound system and a video system. The karaoke system is generally realized by a home appliance karaoke machine, that is, an embedded hard disk karaoke machine; the sound system includes a wireless microphone or a wired microphone and a speaker; the video system includes a liquid crystal television, a plasma television or a projector. For most users, the existing family karaoke system is more complicated to implement.
【发明内容】 [Summary of the Invention]
基于此,有必要提供一种卡拉OK的实现方法及系统,以解决现有的家庭卡拉OK系统实现难度大的问题。Based on this, it is necessary to provide a method and system for implementing karaoke to solve the problem that the existing family karaoke system is difficult to implement.
一种卡拉OK的实现方法,包括: A method for implementing karaoke, comprising:
提供移动终端和无线音箱,所述移动终端与所述无线音箱以无线方式连接通信,所述移动终端内存有卡拉OK伴奏文件;Providing a mobile terminal and a wireless speaker, the mobile terminal and the wireless speaker are connected in a wireless manner, and the mobile terminal has a karaoke accompaniment file;
所述移动终端将所述卡拉OK伴奏文件拆分为音频伴奏文件、视频图像文件和歌词文件,并显示所述视频图像文件和所述歌词文件;The mobile terminal splits the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, and displays the video image file and the lyric file;
所述移动终端接收用户输入的语音信息,对所述语音信息进行编码,并将编码后的所述语音信息以及所述音频伴奏文件发送至所述无线音箱;及Receiving, by the mobile terminal, voice information input by a user, encoding the voice information, and transmitting the encoded voice information and the audio accompaniment file to the wireless speaker;
所述无线音箱接收所述编码后的语音信息和所述音频伴奏文件,实时对所述编码后的语音信息和所述音频伴奏文件进行解码并播放。The wireless speaker receives the encoded voice information and the audio accompaniment file, and decodes and plays the encoded voice information and the audio accompaniment file in real time.
一种卡拉OK系统,其特征在于,所述系统包括移动终端和无线音箱,所述移动终端与所述无线音箱以无线方式连接通信,所述移动终端内存有卡拉OK伴奏文件;A karaoke system, characterized in that the system comprises a mobile terminal and a wireless speaker, the mobile terminal and the wireless speaker are connected in a wireless manner, and the mobile terminal has a karaoke accompaniment file;
所述移动终端用于将所述卡拉OK伴奏文件拆分为音频伴奏文件、视频图像文件和歌词文件,显示所述视频图像文件和所述歌词文件,接收用户输入的语音信息,对所述语音信息进行编码,并将编码后的所述语音信息以及所述音频伴奏文件发送至所述无线音箱;The mobile terminal is configured to split the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, display the video image file and the lyric file, and receive voice information input by the user, and the voice is The information is encoded, and the encoded voice information and the audio accompaniment file are sent to the wireless speaker;
所述无线音箱用于接收所述编码后的语音信息和所述音频伴奏文件,实时对所述编码后的语音信息和所述音频伴奏文件进行解码并播放。The wireless speaker is configured to receive the encoded voice information and the audio accompaniment file, and decode and play the encoded voice information and the audio accompaniment file in real time.
本发明通过移动终端拆分卡拉OK伴奏文件中的音频伴奏文件、视频图像文件和歌词文件,通过移动终端的显示屏播放视频图像文件和歌词文件,接收用户输入的语音信息,并将编码后的语音信息以及音频伴奏文件发送至无线音箱,以使无线音箱对语音信息及音频伴奏文件进行解码并播放,由此通过移动终端以及与移动终端以无线方式连接通信的无线音箱实现卡拉OK功能,大大降低了卡拉OK的实现难度。The invention splits the audio accompaniment file, the video image file and the lyrics file in the karaoke accompaniment file by the mobile terminal, and plays the video image file and the lyric file through the display screen of the mobile terminal, receives the voice information input by the user, and receives the encoded voice information. The voice information and the audio accompaniment file are sent to the wireless speaker, so that the wireless speaker decodes and plays the voice information and the audio accompaniment file, thereby implementing the karaoke function through the mobile terminal and the wireless speaker wirelessly connected with the mobile terminal. Reduced the difficulty of achieving karaoke.
【附图说明】[Description of the Drawings]
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art will be briefly described below. It is obvious that the drawings in the following description are only the present invention. For some embodiments, other drawings may be obtained from those of ordinary skill in the art in light of the inventive workability.
图1是一实施例的卡拉OK系统的结构框图;1 is a block diagram showing the structure of a karaoke system according to an embodiment;
图2是一实施例的卡拉OK的实现方法的时序图;2 is a timing diagram of a method of implementing karaoke in an embodiment;
图3是一实施例的卡拉OK的实现方法的步骤S202的流程图;FIG. 3 is a flowchart of step S202 of the method for implementing karaoke according to an embodiment; FIG.
图4是一实施例的卡拉OK的实现方法的步骤S204的流程图;4 is a flowchart of step S204 of the method for implementing karaoke according to an embodiment;
图5是一实施例的卡拉OK的实现方法的步骤S403的流程图。FIG. 5 is a flowchart of step S403 of the method for implementing karaoke in an embodiment.
【具体实施方式】 【detailed description】
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图1示出了一实施例的卡拉OK系统的结构框图,该系统包括移动终端11和无线音箱12。为了便于说明,仅示出了与本实施例相关的部分。1 is a block diagram showing the structure of a karaoke system of an embodiment, which includes a mobile terminal 11 and a wireless speaker 12. For the convenience of explanation, only the parts related to the present embodiment are shown.
移动终端11移动终端内存有卡拉OK伴奏文件。移动终端11用于将卡拉OK伴奏文件拆分为音频伴奏文件、视频图像文件和歌词文件,通过移动终端11的显示屏显示视频图像文件和歌词文件,接收用户输入的语音信息,对语音信息进行编码,并将编码后的语音信息以及音频伴奏文件发送至无线音箱12;The mobile terminal 11 has a karaoke accompaniment file stored in the mobile terminal. The mobile terminal 11 is configured to split the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, and display a video image file and a lyric file through the display screen of the mobile terminal 11, receive the voice information input by the user, and perform voice information on the voice information. Encoding, and transmitting the encoded voice information and the audio accompaniment file to the wireless speaker 12;
无线音箱12与移动终端11以无线方式连接通信,用于接收编码后的语音信息和音频伴奏文件,实时对编码后的语音信息和音频伴奏文件进行解码并播放。The wireless speaker 12 and the mobile terminal 11 are wirelessly connected and communicated for receiving the encoded voice information and the audio accompaniment file, and decoding and playing the encoded voice information and the audio accompaniment file in real time.
进一步地,移动终端11还用于:接收用户通过移动终端11的麦克风输入的语音信息;实时对语音信息进行采样、量化及编码,得到与语音信息对应的脉冲编码调制(Pulse Code Modulation,PCM)数据;对语音信息对应的PCM数据进行压缩编码,得到编码后的语音信息。Further, the mobile terminal 11 is further configured to: receive voice information input by the user through the microphone of the mobile terminal 11; sample, quantize, and encode the voice information in real time to obtain pulse code modulation corresponding to the voice information (Pulse) Code Modulation (PCM) data; compression-encoding the PCM data corresponding to the voice information to obtain the encoded voice information.
进一步地,无线音箱12还用于:实时对接收到的语音信息进行解码,得到与语音信息对应的PCM数据;实时对接收到的音频伴奏文件进行解码,得到与音频伴奏文件对应的PCM数据;根据得到的与语音信息对应的PCM数据以及与音频伴奏文件对应的PCM数据进行播放。Further, the wireless speaker 12 is further configured to: decode the received voice information in real time to obtain PCM data corresponding to the voice information; and decode the received audio accompaniment file in real time to obtain PCM data corresponding to the audio accompaniment file; Playback is performed based on the obtained PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file.
进一步地,无线音箱12还用于:设定预设值及增益系数;获取与语音信息对应的PCM数据和与音频伴奏文件对应的PCM数据中相应的采样点;对相应的采样点上的与语音信息对应的PCM数据和与音频伴奏文件对应的PCM数据进行叠加,得到叠加值;根据叠加值与预设值的相对大小调整增益系数,得到当前增益系数;根据叠加值与当前增益系数进行播放。Further, the wireless speaker 12 is further configured to: set a preset value and a gain coefficient; acquire a corresponding sampling point in the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file; and the corresponding sampling point The PCM data corresponding to the voice information is superimposed with the PCM data corresponding to the audio accompaniment file to obtain a superimposed value; the gain coefficient is adjusted according to the relative size of the superimposed value and the preset value to obtain a current gain coefficient; and the superimposed value and the current gain coefficient are played. .
进一步地,无线音箱12还用于根据前N个增益系数调整当前增益系数,其中,N为大于或等于1的整数。Further, the wireless speaker 12 is further configured to adjust the current gain coefficient according to the first N gain coefficients, where N is an integer greater than or equal to 1.
本发明通过移动终端拆分卡拉OK伴奏文件中的音频伴奏文件、视频图像文件和歌词文件,通过移动终端的显示屏播放视频图像文件和歌词文件,接收用户输入的语音信息,并将编码后的语音信息以及音频伴奏文件发送至无线音箱,以使无线音箱对语音信息及音频伴奏文件进行解码并播放,由此通过移动终端以及与移动终端以无线方式连接通信的无线音箱实现卡拉OK功能,大大降低了卡拉OK的实现难度。The invention splits the audio accompaniment file, the video image file and the lyrics file in the karaoke accompaniment file by the mobile terminal, and plays the video image file and the lyric file through the display screen of the mobile terminal, receives the voice information input by the user, and receives the encoded voice information. The voice information and the audio accompaniment file are sent to the wireless speaker, so that the wireless speaker decodes and plays the voice information and the audio accompaniment file, thereby implementing the karaoke function through the mobile terminal and the wireless speaker wirelessly connected with the mobile terminal. Reduced the difficulty of achieving karaoke.
图2示出了一实施例的卡拉OK的实现方法的时序图,该时序图的执行主体可以为图1中的移动终端11和无线音箱12,移动终端与无线音箱以无线方式连接通信,移动终端内存有卡拉OK伴奏文件,该方法包括:FIG. 2 is a timing diagram of an implementation method of a karaoke according to an embodiment. The execution body of the timing diagram may be the mobile terminal 11 and the wireless speaker 12 in FIG. 1. The mobile terminal and the wireless speaker are wirelessly connected and communicated. The terminal has a karaoke accompaniment file, and the method includes:
步骤S201,移动终端将卡拉OK伴奏文件拆分为音频伴奏文件、视频图像文件和歌词文件,并通过移动终端的显示屏显示视频图像文件和歌词文件。In step S201, the mobile terminal splits the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, and displays the video image file and the lyric file through the display screen of the mobile terminal.
在本实施例中,移动终端根据用户的请求预先从云端曲库下载卡拉OK伴奏文件,并将卡拉OK伴奏文件存储于移动终端中。移动终端在接收到用户点播某首歌曲的请求后,将该首歌曲对应的卡拉OK伴奏文件拆分为音频伴奏文件、视频图像文件和歌词文件。音频伴奏文件由无线音箱播放,视频图像文件和歌词文件由移动终端播放。移动终端播放视频图像文件与歌词文件时,首先检测卡拉OK伴奏文件的当前播放进度,根据卡拉OK伴奏文件的当前播放进度,通过移动终端的显示屏显示当前播放进度对应的视频图像以及歌词。In this embodiment, the mobile terminal downloads the karaoke accompaniment file from the cloud music library in advance according to the user's request, and stores the karaoke accompaniment file in the mobile terminal. After receiving the request of the user to order a certain song, the mobile terminal splits the karaoke accompaniment file corresponding to the first song into an audio accompaniment file, a video image file and a lyric file. The audio accompaniment file is played by the wireless speaker, and the video image file and the lyric file are played by the mobile terminal. When the mobile terminal plays the video image file and the lyric file, the current playback progress of the karaoke accompaniment file is first detected, and according to the current playback progress of the karaoke accompaniment file, the video image corresponding to the current playback progress and the lyrics are displayed through the display screen of the mobile terminal.
步骤S202,移动终端接收用户输入的语音信息,对语音信息进行编码。Step S202: The mobile terminal receives the voice information input by the user, and encodes the voice information.
移动终端通过显示屏显示当前播放进度对应的视频图像以及歌词,以使用户根据显示屏上所显示的视频图像以及歌词输入语音信息。在这里,移动终端可通过移动终端自带的麦克风接收用户输入的语音信息,也可以通过外接的蓝牙耳机、耳麦或者话筒接收用户输入的语音信息。移动终端接收到用户输入的语音信息后,将语音信息由声信号转换为电信号,再对电信号的语音信息进行编码,使编码后的语音信息的音频数据量控制在预设范围内,从而在移动终端将编码后的语音信息传输至无线音箱时,缩短传输时间,以保证无线音箱的音频播放与移动终端的视频图像、歌词的播放同步。The mobile terminal displays the video image and the lyrics corresponding to the current playback progress through the display screen, so that the user inputs the voice information according to the video image and the lyrics displayed on the display screen. Here, the mobile terminal can receive the voice information input by the user through the microphone of the mobile terminal, and can also receive the voice information input by the user through an external Bluetooth headset, a headset or a microphone. After receiving the voice information input by the user, the mobile terminal converts the voice information into an electrical signal, and then encodes the voice information of the electrical signal, so that the amount of the audio data of the encoded voice information is controlled within a preset range, thereby When the mobile terminal transmits the encoded voice information to the wireless speaker, the transmission time is shortened to ensure that the audio playback of the wireless speaker is synchronized with the playback of the video image and the lyrics of the mobile terminal.
步骤S203,移动终端将编码后的语音信息以及音频伴奏文件发送至无线音箱。Step S203: The mobile terminal sends the encoded voice information and the audio accompaniment file to the wireless speaker.
在这里,移动终端与无线音箱可通过Wi-Fi(Wireless Fidelity,无线保真技术) Direct、蓝牙、ZigBee(紫蜂)、NFC(Near Field Communication,近场通信)等无线通信技术进行连接通信,在此不作限定。Here, mobile terminals and wireless speakers are available via Wi-Fi (Wireless Fidelity). Direct, Bluetooth, ZigBee, Zinc (Neep Field) Wireless communication technology such as Communication (Near Field Communication) performs connection communication, which is not limited herein.
步骤S204,无线音箱接收编码后的语音信息和音频伴奏文件,实时对编码后的语音信息和音频伴奏文件进行解码并播放。Step S204, the wireless speaker receives the encoded voice information and the audio accompaniment file, and decodes and plays the encoded voice information and the audio accompaniment file in real time.
在一个实施例中,无线音箱逐帧地对接收到的语音信息和音频伴奏文件进行解码,以使接收到的语音信息和音频伴奏文件尽快播放,使语音信息及音频伴奏文件与对应的视频图像及歌词播放进度一致。In one embodiment, the wireless speaker decodes the received voice information and the audio accompaniment file frame by frame to cause the received voice information and the audio accompaniment file to be played as soon as possible, so that the voice information and the audio accompaniment file and the corresponding video image are And the lyrics play consistently.
图3示出了一实施例的卡拉OK的实现方法的步骤S202的流程图,参照图3,步骤S202包括:FIG. 3 is a flowchart of step S202 of the method for implementing karaoke according to an embodiment. Referring to FIG. 3, step S202 includes:
步骤S301,移动终端接收用户通过移动终端的麦克风输入的语音信息。Step S301, the mobile terminal receives voice information input by the user through the microphone of the mobile terminal.
在本实施例中,移动终端通过其自带的麦克风接收用户输入的语音信息。可选地,移动终端增设一个降噪麦克风,在移动终端的麦克风接收用户输入的语音信息时,降噪麦克风接收环境噪声,移动终端再根据移动终端的麦克风接收的语音信息和降噪麦克风接收的环境噪声计算得到降噪后的语音信息。在这里,移动终端的麦克风可以为驻极体话筒等,在此不作限定。In this embodiment, the mobile terminal receives the voice information input by the user through its own microphone. Optionally, the mobile terminal adds a noise reduction microphone. When the microphone of the mobile terminal receives the voice information input by the user, the noise reduction microphone receives the ambient noise, and the mobile terminal receives the voice information received by the microphone of the mobile terminal and the noise reduction microphone. The noise is calculated by the ambient noise. Here, the microphone of the mobile terminal may be an electret microphone or the like, which is not limited herein.
步骤S302,移动终端实时对语音信息进行采样、量化及编码,得到与语音信息对应的PCM数据。Step S302, the mobile terminal samples, quantizes, and encodes the voice information in real time to obtain PCM data corresponding to the voice information.
移动终端将语音信息由声信号转换为电信号后,再对语音信息进行采样。采样是将语音信息模拟信号以其信号带宽的2倍以上的频率提取样值,变为时间轴上离散的语音信息采样信号的过程。由于语音信息采样信号有无限多个值,因此,移动终端对语音信息采样信号进行量化,使语音信息采样信号的值由无限多个变为有限个。移动终端再对量化后的语音信息进行二进制编码,得到PCM(Pulse Code Modulation,脉冲编码调制)数据。After the mobile terminal converts the voice information from the sound signal to the electrical signal, the voice information is sampled. Sampling is a process of extracting a sample of a speech information analog signal at a frequency more than twice the signal bandwidth and becoming a discrete speech information sampling signal on the time axis. Since the voice information sampling signal has an infinite number of values, the mobile terminal quantizes the voice information sampling signal, so that the value of the voice information sampling signal is changed from an infinite number to a limited number. The mobile terminal then performs binary encoding on the quantized voice information to obtain PCM (Pulse) Code Modulation, pulse code modulation) data.
步骤S303,移动终端对语音信息对应的PCM数据进行压缩编码,得到编码后的语音信息。Step S303, the mobile terminal compress-encodes the PCM data corresponding to the voice information to obtain the encoded voice information.
由于PCM数据的数据量很大,因此,需要对语音信息对应的PCM数据进行压缩编码,例如,进行MP3(MPEG-1 audio layer 3,MPEG音频层3)或者WMA(Windows Media Audio,Windows媒体音频)等压缩编码,在此不作限定。Since the amount of data of the PCM data is large, it is necessary to compress and encode the PCM data corresponding to the voice information, for example, MP3 (MPEG-1) Compression coding such as audio layer 3, MPEG audio layer 3) or WMA (Windows Media Audio) is not limited herein.
在本实施例中,通过量化与压缩编码,使语音信息对应的PCM数据的数据量大大减小,从而提高编码后的语音信息由移动终端传输到无线音箱的传输速率,降低延时,提高用户感应。In this embodiment, by quantizing and compressing the encoding, the data amount of the PCM data corresponding to the voice information is greatly reduced, thereby improving the transmission rate of the encoded voice information transmitted by the mobile terminal to the wireless speaker, reducing the delay, and improving the user. induction.
图4示出了一实施例的卡拉OK的实现方法的步骤S204的流程图,参照图4,步骤S204包括:FIG. 4 is a flowchart of step S204 of the method for implementing karaoke according to an embodiment. Referring to FIG. 4, step S204 includes:
步骤S401,无线音箱实时对接收到的语音信息进行解码,得到与语音信息对应的PCM数据;Step S401, the wireless speaker decodes the received voice information in real time to obtain PCM data corresponding to the voice information;
步骤S402,无线音箱实时对接收到的音频伴奏文件进行解码,得到与音频伴奏文件对应的PCM数据;Step S402, the wireless speaker decodes the received audio accompaniment file in real time to obtain PCM data corresponding to the audio accompaniment file;
步骤S403,无线音箱根据得到的与语音信息对应的PCM数据以及与音频伴奏文件对应的PCM数据进行播放。In step S403, the wireless speaker plays according to the obtained PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file.
在本实施例中,无线音箱接收到语音信息和音频伴奏文件后,逐帧地对语音信息和音频伴奏文件进行解码,得到语音信息对应的PCM数据以及音频伴奏文件对应的PCM数据并播放。In this embodiment, after receiving the voice information and the audio accompaniment file, the wireless speaker decodes the voice information and the audio accompaniment file frame by frame, and obtains the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file and plays.
图5示出了一实施例的卡拉OK的实现方法的步骤S403的具体实现流程图,参照图5,步骤S403包括:FIG. 5 is a flowchart showing a specific implementation of step S403 of the method for implementing karaoke according to an embodiment. Referring to FIG. 5, step S403 includes:
步骤S500,无线音箱设定预设值和增益系数;Step S500, the wireless speaker sets a preset value and a gain coefficient;
步骤S501,无线音箱获取与语音信息对应的PCM数据和与音频伴奏文件对应的PCM数据中相应的采样点;Step S501, the wireless speaker acquires corresponding sampling points in the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file;
步骤S502,无线音箱对相应的采样点上的与语音信息对应的PCM数据和与音频伴奏文件对应的PCM数据进行叠加,得到叠加值;Step S502, the wireless speaker superimposes the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file on the corresponding sampling point to obtain a superimposed value;
步骤S503,无线音箱根据叠加值与预设值的相对大小调整增益系数,得到当前增益系数;Step S503, the wireless speaker adjusts the gain coefficient according to the relative size of the superimposed value and the preset value to obtain a current gain coefficient;
步骤S504,无线音箱根据叠加值与当前增益系数进行播放。In step S504, the wireless speaker plays according to the superimposed value and the current gain coefficient.
为了使播放出的语音信息与音频伴奏文件更加融合,在本发明实施例中,获取语音信息对应的PCM数据与音频伴奏文件对应的PCM数据中相应的采样点。在这里,相应的采样点指的是语音信息对应的PCM数据与音频伴奏文件对应的PCM数据在时间轴上相重合的采样点。确定了相应的采样点后,获取相应的采样点上语音信息对应的PCM数据的值以及音频伴奏文件对应的PCM数据的值,并将两个值进行叠加得到叠加值。得到叠加值后,判断叠加值是否大于预设值,若叠加值大于预设值,则表明在叠加的过程中引入了噪声,此时,调整当前增益系数,使叠加值与当前增益系数的乘积等于饱和值,由此避免混音后产生的噪声对混音的影响。其中,当前增益系数小于预设增益系数。若叠加值小于或等于预设值,则使当前增益系数等于预设增益系数。本发明实施例根据叠加值与预设值的相对大小调整当前增益系数,在避免混音中引入的噪声对混音造成影响的同时,能够保持语音信息对应的PCM波形与音频伴奏文件对应的PCM波形的叠加波形基本保持不变。In order to make the played voice information more fused with the audio accompaniment file, in the embodiment of the present invention, the corresponding sample points in the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file are acquired. Here, the corresponding sampling point refers to a sampling point where the PCM data corresponding to the voice information and the PCM data corresponding to the audio accompaniment file coincide on the time axis. After the corresponding sampling point is determined, the value of the PCM data corresponding to the voice information on the corresponding sampling point and the value of the PCM data corresponding to the audio accompaniment file are obtained, and the two values are superimposed to obtain a superimposed value. After the superimposed value is obtained, it is judged whether the superimposed value is greater than the preset value. If the superimposed value is greater than the preset value, it indicates that noise is introduced in the superimposition process. At this time, the current gain coefficient is adjusted so that the product of the superimposed value and the current gain coefficient is multiplied. Equal to the saturation value, thereby avoiding the effect of noise generated after mixing on the mix. Wherein, the current gain coefficient is less than the preset gain coefficient. If the superimposed value is less than or equal to the preset value, the current gain coefficient is made equal to the preset gain coefficient. In the embodiment of the present invention, the current gain coefficient is adjusted according to the relative size of the superimposed value and the preset value, and the PCM corresponding to the PCM waveform corresponding to the audio information and the audio accompaniment file can be maintained while avoiding the noise introduced in the mixing to affect the mixing. The superimposed waveform of the waveform remains essentially unchanged.
优选地,步骤S403还包括:Preferably, step S403 further includes:
无线音箱根据前N个增益系数调整当前增益系数,其中,N为大于或等于1的整数。The wireless speaker adjusts the current gain coefficient according to the first N gain coefficients, where N is an integer greater than or equal to one.
在一个实施例中,无线音箱根据当前帧的前N个帧对应的增益系数来调整当前增益系数,使各个帧之间平滑过渡,以保证混音后的音质。In one embodiment, the wireless speaker adjusts the current gain coefficient according to the gain coefficient corresponding to the first N frames of the current frame, so as to smoothly transition between the frames to ensure the sound quality after mixing.
本发明通过移动终端拆分卡拉OK伴奏文件中的音频伴奏文件、视频图像文件和歌词文件,通过移动终端的显示屏播放视频图像文件和歌词文件,接收用户输入的语音信息,并将编码后的语音信息以及音频伴奏文件发送至无线音箱,以使无线音箱对语音信息及音频伴奏文件进行解码并播放,由此通过移动终端以及与移动终端以无线方式连接通信的无线音箱实现卡拉OK功能,大大降低了卡拉OK的实现难度。The invention splits the audio accompaniment file, the video image file and the lyrics file in the karaoke accompaniment file by the mobile terminal, and plays the video image file and the lyric file through the display screen of the mobile terminal, receives the voice information input by the user, and receives the encoded voice information. The voice information and the audio accompaniment file are sent to the wireless speaker, so that the wireless speaker decodes and plays the voice information and the audio accompaniment file, thereby implementing the karaoke function through the mobile terminal and the wireless speaker wirelessly connected with the mobile terminal. Reduced the difficulty of achieving karaoke.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.

Claims (10)

  1. 一种卡拉OK的实现方法,包括: A method for implementing karaoke, comprising:
    提供移动终端和无线音箱,所述移动终端与所述无线音箱以无线方式连接通信,所述移动终端内存有卡拉OK伴奏文件;Providing a mobile terminal and a wireless speaker, the mobile terminal and the wireless speaker are connected in a wireless manner, and the mobile terminal has a karaoke accompaniment file;
    所述移动终端将所述卡拉OK伴奏文件拆分为音频伴奏文件、视频图像文件和歌词文件,并显示所述视频图像文件和所述歌词文件;The mobile terminal splits the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, and displays the video image file and the lyric file;
    所述移动终端接收用户输入的语音信息,对所述语音信息进行编码,并将编码后的所述语音信息以及所述音频伴奏文件发送至所述无线音箱;及Receiving, by the mobile terminal, voice information input by a user, encoding the voice information, and transmitting the encoded voice information and the audio accompaniment file to the wireless speaker;
    所述无线音箱接收所述编码后的语音信息和所述音频伴奏文件,实时对所述编码后的语音信息和所述音频伴奏文件进行解码并播放。The wireless speaker receives the encoded voice information and the audio accompaniment file, and decodes and plays the encoded voice information and the audio accompaniment file in real time.
  2. 如权利要求1所述的方法,其特征在于,所述移动终端接收用户输入的语音信息,对所述语音信息进行编码的步骤包括:The method of claim 1, wherein the mobile terminal receives voice information input by a user, and the step of encoding the voice information comprises:
    所述移动终端接收用户通过所述移动终端的麦克风输入的语音信息;The mobile terminal receives voice information input by a user through a microphone of the mobile terminal;
    所述移动终端实时对所述语音信息进行采样、量化及编码,得到与所述语音信息对应的脉冲编码调制数据;及The mobile terminal samples, quantizes, and encodes the voice information in real time to obtain pulse code modulated data corresponding to the voice information; and
    所述移动终端对所述语音信息对应的脉冲编码调制数据进行压缩编码,得到编码后的所述语音信息。The mobile terminal compress-encodes the pulse code modulated data corresponding to the voice information to obtain the encoded voice information.
  3. 如权利要求1或2所述的方法,其特征在于,所述无线音箱接收所述编码后的语音信息和所述音频伴奏文件,实时对所述编码后的语音信息和所述音频伴奏文件进行解码并播放的步骤包括:The method according to claim 1 or 2, wherein said wireless speaker receives said encoded voice information and said audio accompaniment file, and performs said encoded voice information and said audio accompaniment file in real time. The steps to decode and play include:
    所述无线音箱实时对接收到的所述编码后的语音信息进行解码,得到与所述语音信息对应的脉冲编码调制数据;The wireless speaker decodes the received encoded voice information in real time to obtain pulse code modulated data corresponding to the voice information;
    所述无线音箱实时对接收到的所述音频伴奏文件进行解码,得到与所述音频伴奏文件对应的脉冲编码调制数据;及The wireless speaker decodes the received audio accompaniment file in real time to obtain pulse code modulation data corresponding to the audio accompaniment file;
    所述无线音箱根据所述与所述语音信息对应的脉冲编码调制数据以及所述与所述音频伴奏文件对应的脉冲编码调制数据进行播放。The wireless speaker plays according to the pulse code modulation data corresponding to the voice information and the pulse code modulation data corresponding to the audio accompaniment file.
  4. 如权利要求3所述的方法,其特征在于,所述无线音箱根据所述与所述语音信息对应的脉冲编码调制数据以及所述与所述音频伴奏文件对应的脉冲编码调制数据进行播放的步骤包括:The method according to claim 3, wherein said wireless speaker is played according to said pulse code modulation data corresponding to said voice information and said pulse code modulation data corresponding to said audio accompaniment file include:
    所述无线音箱设定预设值及增益系数;The wireless speaker sets a preset value and a gain coefficient;
    所述无线音箱获取所述与所述语音信息对应的脉冲编码调制数据和所述与所述音频伴奏文件对应的脉冲编码调制数据中相应的采样点;The wireless speaker acquires corresponding sampling points in the pulse code modulation data corresponding to the voice information and the pulse code modulation data corresponding to the audio accompaniment file;
    所述无线音箱对所述相应的采样点上的所述与所述语音信息对应的脉冲编码调制数据和所述与所述音频伴奏文件对应的脉冲编码调制数据进行叠加,得到叠加值;The wireless speaker superimposes the pulse code modulation data corresponding to the voice information and the pulse code modulation data corresponding to the audio accompaniment file on the corresponding sampling point to obtain a superimposed value;
    所述无线音箱根据所述叠加值与所述预设值的相对大小调整所述增益系数,得到当前增益系数;及The wireless speaker adjusts the gain coefficient according to a relative size of the superimposed value and the preset value to obtain a current gain coefficient; and
    所述无线音箱根据所述叠加值与所述当前增益系数进行播放。The wireless speaker plays according to the superimposed value and the current gain coefficient.
  5. 如权利要求4所述的方法,其特征在于,所述无线音箱根据所述与所述语音信息对应的脉冲编码调制数据以及所述与所述音频伴奏文件对应的脉冲编码调制数据进行播放的步骤还包括:The method according to claim 4, wherein said wireless speaker is played according to said pulse code modulation data corresponding to said voice information and said pulse code modulation data corresponding to said audio accompaniment file Also includes:
    所述无线音箱根据前N个增益系数调整所述当前增益系数,其中,N为大于或等于1的整数。The wireless speaker adjusts the current gain coefficient according to the first N gain coefficients, where N is an integer greater than or equal to 1.
  6. 一种卡拉OK系统,其特征在于,包括:A karaoke system, characterized in that it comprises:
    移动终端,所述移动终端内存有卡拉OK伴奏文件;和a mobile terminal, wherein the mobile terminal has a karaoke accompaniment file; and
    无线音箱,所述无线音箱与所述移动终端以无线方式连接通信;a wireless speaker, the wireless speaker and the mobile terminal are wirelessly connected to communicate;
    其中所述移动终端用于将所述卡拉OK伴奏文件拆分为音频伴奏文件、视频图像文件和歌词文件,显示所述视频图像文件和所述歌词文件,接收用户输入的语音信息,对所述语音信息进行编码,并将编码后的所述语音信息以及所述音频伴奏文件发送至所述无线音箱;所述无线音箱用于接收所述编码后的语音信息和所述音频伴奏文件,实时对所述编码后的语音信息和所述音频伴奏文件进行解码并播放。The mobile terminal is configured to split the karaoke accompaniment file into an audio accompaniment file, a video image file, and a lyric file, display the video image file and the lyric file, and receive voice information input by the user. The voice information is encoded, and the encoded voice information and the audio accompaniment file are sent to the wireless speaker; the wireless speaker is configured to receive the encoded voice information and the audio accompaniment file, in real time The encoded voice information and the audio accompaniment file are decoded and played.
  7. 如权利要求6所述的系统,其特征在于,所述移动终端还用于:The system of claim 6 wherein said mobile terminal is further configured to:
    接收用户通过所述移动终端的麦克风输入的语音信息;Receiving voice information input by a user through a microphone of the mobile terminal;
    实时对所述语音信息进行采样、量化及编码,得到与所述语音信息对应的脉冲编码调制数据;及Sampling, quantizing, and encoding the voice information in real time to obtain pulse code modulated data corresponding to the voice information; and
    对所述与所述语音信息对应的脉冲编码调制数据进行压缩编码,得到编码后的所述语音信息。And compressing the pulse code modulated data corresponding to the voice information to obtain the encoded voice information.
  8. 如权利要求6或7所述的系统,其特征在于,所述无线音箱还用于:A system according to claim 6 or claim 7 wherein said wireless speaker is further adapted to:
    实时对接收到的所述语音信息进行解码,得到与所述语音信息对应的脉冲编码调制数据;Decoding the received voice information in real time to obtain pulse code modulated data corresponding to the voice information;
    实时对接收到的所述音频伴奏文件进行解码,得到与所述音频伴奏文件对应的脉冲编码调制数据;及Decoding the received audio accompaniment file in real time to obtain pulse code modulated data corresponding to the audio accompaniment file; and
    根据所述与所述语音信息对应的脉冲编码调制数据以及所述与所述音频伴奏文件对应的脉冲编码调制数据进行播放。And playing according to the pulse code modulation data corresponding to the voice information and the pulse code modulation data corresponding to the audio accompaniment file.
  9. 如权利要求8所述的系统,其特征在于,所述无线音箱还用于:The system of claim 8 wherein said wireless speaker is further for:
    设定预设值及增益系数;Set the preset value and gain factor;
    获取所述语音信息对应的脉冲编码调制数据与所述音频伴奏文件对应的脉冲编码调制数据中相应的采样点;Obtaining, in the pulse code modulation data corresponding to the voice information, a corresponding sampling point in the pulse code modulation data corresponding to the audio accompaniment file;
    对所述相应的采样点上的所述语音信息对应的脉冲编码调制数据与所述音频伴奏文件对应的脉冲编码调制数据进行叠加,得到叠加值;And superimposing the pulse code modulation data corresponding to the voice information on the corresponding sampling point and the pulse code modulation data corresponding to the audio accompaniment file to obtain a superimposed value;
    根据所述叠加值与所述预设值的相对大小调整增益系数,得到当前增益系数;及Adjusting a gain coefficient according to a relative size of the superimposed value and the preset value to obtain a current gain coefficient; and
    根据所述叠加值与所述当前增益系数进行播放。Playing according to the superimposed value and the current gain coefficient.
  10. 如权利要求9所述的系统,其特征在于,所述无线音箱还用于:The system of claim 9 wherein said wireless speaker is further for:
    根据前N个增益系数调整所述当前增益系数,其中,N为大于或等于1的整数。The current gain coefficient is adjusted according to the first N gain coefficients, where N is an integer greater than or equal to one.
PCT/CN2015/087355 2014-08-21 2015-08-18 Karaoke realization method and system WO2016026427A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410416415.7A CN104184894A (en) 2014-08-21 2014-08-21 Karaoke implementation method and system
CN201410416415.7 2014-08-21

Publications (1)

Publication Number Publication Date
WO2016026427A1 true WO2016026427A1 (en) 2016-02-25

Family

ID=51965613

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/087355 WO2016026427A1 (en) 2014-08-21 2015-08-18 Karaoke realization method and system

Country Status (2)

Country Link
CN (1) CN104184894A (en)
WO (1) WO2016026427A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410902A (en) * 2018-11-20 2019-03-01 福建海媚数码科技有限公司 A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184894A (en) * 2014-08-21 2014-12-03 深圳市比巴科技有限公司 Karaoke implementation method and system
CN105989824B (en) * 2015-02-16 2021-01-12 北京天籁传音数字技术有限公司 Karaoke system of mobile equipment and mobile equipment
CN104902316B (en) * 2015-05-14 2017-09-01 广东欧珀移动通信有限公司 Method, device, intelligent sound box and the mobile terminal of synchronous reproduction time
CN106954168B (en) * 2016-01-06 2020-06-12 络达科技股份有限公司 Wireless sound amplifying system
WO2017124421A1 (en) * 2016-01-22 2017-07-27 张阳 Method and system for implementing family ktv video on demand
CN106941646A (en) * 2017-03-27 2017-07-11 广东欧珀移动通信有限公司 Play method, device, mobile terminal and the audio-frequence player device of voice
CN107481709B (en) * 2017-08-11 2022-04-12 腾讯音乐娱乐(深圳)有限公司 Audio data transmission method and device
CN111345010B (en) * 2018-08-17 2021-12-28 华为技术有限公司 Multimedia content synchronization method, electronic equipment and storage medium
CN109451339B (en) * 2018-12-28 2021-10-01 深圳Tcl新技术有限公司 Audio transmission method, device, equipment and readable storage medium
CN111294626A (en) * 2020-01-21 2020-06-16 腾讯音乐娱乐科技(深圳)有限公司 Lyric display method and device
CN113539279A (en) * 2020-04-16 2021-10-22 腾讯科技(深圳)有限公司 Audio data processing method and device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034545A (en) * 2006-03-08 2007-09-12 海尔集团公司 Mobile phone for playing the mixed Kara OK music and its implementation method
CN101098523A (en) * 2006-06-29 2008-01-02 海尔集团公司 Method for realizing karaoke by mobile phone and mobile phone with karaoke function
CN101345541A (en) * 2008-08-29 2009-01-14 飞图科技(北京)有限公司 Method for implementing karaoke through broadcasting audio by FM radio used for mobile terminal
US20090209204A1 (en) * 2008-02-18 2009-08-20 Chi Mei Communication Systems, Inc. System and method for using a mobile phone as a wireless microphone
CN104184894A (en) * 2014-08-21 2014-12-03 深圳市比巴科技有限公司 Karaoke implementation method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200983609Y (en) * 2006-11-15 2007-11-28 康佳集团股份有限公司 Mobile phone with Kara OK function
CN202261485U (en) * 2011-08-03 2012-05-30 康佳集团股份有限公司 Mobile phone with karaoke function and sound system implemented by using same
CN202976818U (en) * 2012-10-19 2013-06-05 深圳市益光实业有限公司 Tablet computer karaoke system
CN103037086A (en) * 2012-12-11 2013-04-10 腾讯科技(上海)有限公司 Microphone achievement method as well as method, device and system for audio playing for mobile devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034545A (en) * 2006-03-08 2007-09-12 海尔集团公司 Mobile phone for playing the mixed Kara OK music and its implementation method
CN101098523A (en) * 2006-06-29 2008-01-02 海尔集团公司 Method for realizing karaoke by mobile phone and mobile phone with karaoke function
US20090209204A1 (en) * 2008-02-18 2009-08-20 Chi Mei Communication Systems, Inc. System and method for using a mobile phone as a wireless microphone
CN101345541A (en) * 2008-08-29 2009-01-14 飞图科技(北京)有限公司 Method for implementing karaoke through broadcasting audio by FM radio used for mobile terminal
CN104184894A (en) * 2014-08-21 2014-12-03 深圳市比巴科技有限公司 Karaoke implementation method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410902A (en) * 2018-11-20 2019-03-01 福建海媚数码科技有限公司 A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system

Also Published As

Publication number Publication date
CN104184894A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
WO2016026427A1 (en) Karaoke realization method and system
US8325935B2 (en) Speaker having a wireless link to communicate with another speaker
CN106210943A (en) A kind of wireless K sings microphone
CN106028208A (en) Wireless karaoke microphone headset
US20090150151A1 (en) Audio processing apparatus, audio processing system, and audio processing program
EP3228096B1 (en) Audio terminal
CN112135285B (en) Real-time audio interaction method for multi-Bluetooth audio equipment
CN108718361B (en) Audio file playing method and wireless answering device
WO2012151847A1 (en) Method and device for implementing bluetooth stereo supporting multiple sampling rates
WO2014090040A1 (en) Method of using a mobile device as a microphone, method of audio playback, and related device and system
EP3513406B1 (en) Audio signal processing
CN106656276A (en) Bluetooth audio based karaoke method
CN107277691B (en) Multi-channel audio playing method and system based on cloud and audio gateway device
JP2011511307A (en) Audio signal processing method and apparatus
CN205946078U (en) Wireless K sings microphone
JP2017156671A (en) system
US20110235632A1 (en) Method And Apparatus For Performing High-Quality Speech Communication Across Voice Over Internet Protocol (VoIP) Communications Networks
JP2005044310A (en) Equipment for telephone conversation, copyright protection method, and system for telephone conversation
CN214413006U (en) True wireless stereo earphone
TW202224444A (en) Multimedia playback synchronization
US20220103948A1 (en) Method and system for performing audio ducking for headsets
CN205595068U (en) No line number word pronunciation baseband transmission system
US20240029755A1 (en) Intelligent speech or dialogue enhancement
WO2015163750A2 (en) Device and method for transmitting and receiving voice data in wireless communication system
WO2007138782A1 (en) Group call device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15833043

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 28.04.2017)

122 Ep: pct application non-entry in european phase

Ref document number: 15833043

Country of ref document: EP

Kind code of ref document: A1