Method and device for automatically matching karaoke songs and vehicle

文档序号:1046444 发布日期:2020-10-09 浏览:24次 中文

阅读说明:本技术 自动对频k歌的方法、装置和车辆 (Method and device for automatically matching karaoke songs and vehicle ) 是由 刘立伟 张海涛 曹高波 于 2019-03-29 设计创作,主要内容包括:本公开涉及一种自动对频K歌的方法、装置和车辆,应用于车辆,车辆设置有声音采集器和播放器,该方法包括:通过声音采集器按照预设的对频频率向播放器发送第一对频信号,第一对频信号包括第一调制频率,通过播放器按照对频频率接收第一对频信号,以将播放器的解调频率设定为第一调制频率,通过声音采集器向播放器发送第一调制信号,通过播放器将按照解调频率对第一调制信号进行解调得到的音频信号和预设的伴奏信号进行混频以获取K歌信号,并播放K歌信号。本公开不需要车主手动调整播放器的解调频率,就能实现声音采集器和播放器自动对频,以达到车载K歌的目的,操作简单,提高了用户的K歌体验。(The utility model relates to a method, device and vehicle of automatic frequently K song, be applied to the vehicle, the vehicle is provided with sound collector and player, this method includes: the method comprises the steps that a first frequency-matching signal is sent to a player through a sound collector according to a preset frequency-matching frequency, the first frequency-matching signal comprises a first modulation frequency, the first frequency-matching signal is received through the player according to the frequency-matching frequency, the demodulation frequency of the player is set as the first modulation frequency, the first modulation signal is sent to the player through the sound collector, an audio signal obtained by demodulating the first modulation signal according to the demodulation frequency and a preset accompaniment signal are mixed through the player to obtain a K song signal, and the K song signal is played. According to the method and the device, the sound collector and the player can be automatically aligned to frequency without manually adjusting the demodulation frequency of the player by a vehicle owner, so that the purpose of vehicle-mounted K song is achieved, the operation is simple, and the K song experience of a user is improved.)

1. A method for automatically singing on frequently K is applied to a vehicle, wherein the vehicle is provided with a sound collector and a player, and the method comprises the following steps:

sending a first frequency-pair signal to the player through the sound collector according to a preset frequency-pair frequency, wherein the first frequency-pair signal comprises a first modulation frequency, and the first modulation frequency is the current modulation frequency of the sound collector;

receiving, by the player, the first pair of frequency signals at the pair of frequency frequencies to set a demodulation frequency of the player to the first modulation frequency;

sending a first modulation signal to the player through the sound collector, wherein the first modulation signal is a signal obtained by modulating the collected audio signal according to the first modulation frequency by the sound collector;

and mixing the audio signal obtained by demodulating the first modulation signal according to the demodulation frequency and a preset accompaniment signal through the player to obtain a K song signal, and playing the K song signal.

2. The method of claim 1, wherein the sending, by the sound collector, a first audio signal to the player according to a preset audio frequency, the first audio signal including a current first modulation frequency of the sound collector, comprises:

coding the first modulation frequency according to a preset coding mode to obtain a first frequency-to-frequency signal;

transmitting the first cross-frequency signal to the player according to the cross-frequency;

the receiving, by the player, the first pair of frequency signals according to the pair of frequency frequencies to set a demodulation frequency of the player to the first modulation frequency includes:

receiving the first pair of frequency signals at the pair of frequency frequencies;

and decoding the first frequency-modulated signal according to a preset decoding mode to obtain the first modulation frequency, and setting the demodulation frequency as the first modulation frequency.

3. The method of claim 1, further comprising:

when the sound collector receives an update instruction, sending a second frequency-aligning signal to the player through the sound collector according to the first modulation frequency, wherein the update instruction is used for instructing the sound collector to update the modulation frequency from the first modulation frequency to a second modulation frequency, and the second frequency-aligning signal comprises the second modulation frequency;

receiving, by the player, the second counter-frequency signal at the first modulation frequency to set the demodulation frequency of the player to the second modulation frequency;

sending a second modulation signal to the player through the sound collector, wherein the second modulation signal is a signal obtained by modulating the audio signal according to the second modulation frequency by the sound collector;

and mixing the audio signal and the accompaniment signal obtained by demodulating the second modulation signal according to the demodulation frequency by the player to obtain the K song signal, and playing the K song signal.

4. The method of claim 1, further comprising:

after the sound collector receives a closing instruction, sending a control signal to the player through the sound collector according to the first modulation frequency, wherein the closing instruction is used for indicating the sound collector to be closed;

receiving, by the player, the control signal at the first modulation frequency and setting the demodulation frequency to the pair frequency.

5. The method of claim 1, wherein the player comprises: the device comprises a demodulation module, a controller and a loudspeaker;

the receiving, by the player, the first pair of frequency signals according to the pair of frequency frequencies to set a demodulation frequency of the player to the first modulation frequency includes:

demodulating the first frequency-pair signal according to the frequency-pair frequency through the demodulation module to obtain the first modulation frequency, and sending the first modulation frequency to the controller;

setting, by the controller, the demodulation frequency to the first modulation frequency;

the audio signal and the preset accompaniment signal obtained by demodulating the first modulation signal according to the demodulation frequency are mixed by the player to obtain a karaoke signal, and the karaoke signal is played, including:

demodulating the first modulation signal according to the demodulation frequency through the demodulation module to obtain the audio signal, and sending the audio signal to the controller;

mixing the audio signal and the accompaniment signal through the controller to obtain the K song signal, and sending the K song signal to the loudspeaker;

and playing the K song signal through the loudspeaker.

6. An apparatus for automatically singing frequently, which is applied to a vehicle, the apparatus comprising: a sound collector and a player;

the sound collector is used for sending a first frequency-matching signal to the player according to a preset frequency-matching frequency, wherein the first frequency-matching signal comprises a first modulation frequency, and the first modulation frequency is the current modulation frequency of the sound collector;

the player is used for receiving the first frequency-pairing signal according to the frequency-pairing frequency so as to set the demodulation frequency of the player to be the first modulation frequency;

the sound collector is further configured to send a first modulation signal to the player, where the first modulation signal is a signal obtained by modulating the collected audio signal according to the first modulation frequency by the sound collector;

the player is further configured to mix the audio signal obtained by demodulating the first modulation signal according to the demodulation frequency with a preset accompaniment signal to obtain a karaoke signal, and play the karaoke signal.

7. The apparatus of claim 6, wherein the sound collector is further configured to encode the first modulation frequency according to a preset encoding manner to obtain the first frequency-to-frequency signal;

the sound collector is also used for sending the first frequency-pairing signal to the player according to the frequency-pairing frequency;

the player is further configured to receive the first pair of frequency signals at the pair of frequency frequencies;

the player is further configured to decode the first frequency-modulated signal according to a preset decoding manner to obtain the first modulation frequency, and set the demodulation frequency as the first modulation frequency.

8. The apparatus of claim 6, wherein the sound collector is further configured to send a second audio signal to the player according to the first modulation frequency when receiving an update instruction, the update instruction being configured to instruct the sound collector to update the modulation frequency from the first modulation frequency to a second modulation frequency, and the second audio signal comprising the second modulation frequency;

the player is further used for receiving the second frequency-to-frequency signal according to the first modulation frequency so as to set the demodulation frequency of the player to be the second modulation frequency;

the sound collector is further configured to send a second modulation signal to the player, where the second modulation signal is a signal obtained by modulating the audio signal according to the second modulation frequency by the sound collector;

the player is further configured to mix the audio signal and the accompaniment signal obtained by demodulating the second modulated signal according to the demodulation frequency to obtain the K song signal, and play the K song signal.

9. The apparatus of claim 6, wherein the sound collector is further configured to send a control signal to the player according to the first modulation frequency after receiving a shutdown instruction, and the shutdown instruction is used to instruct the sound collector to shut down;

the player is further configured to receive the control signal according to the first modulation frequency and set the demodulation frequency as the pair frequency.

10. The apparatus of claim 6, wherein the player comprises: the device comprises a demodulation module, a controller and a loudspeaker;

the demodulation module is used for demodulating the first frequency-pair signal according to the frequency-pair frequency to obtain the first modulation frequency and sending the first modulation frequency to the controller;

the controller is configured to set the demodulation frequency to the first modulation frequency;

the demodulation module is further configured to demodulate the first modulation signal according to the demodulation frequency to obtain the audio signal, and send the audio signal to the controller;

the controller is further used for mixing the audio signal with the accompaniment signal to acquire the K song signal and sending the K song signal to the loudspeaker;

the loudspeaker is used for playing the K song signal.

11. A vehicle characterized in that it comprises an apparatus for automatically singing frequently according to any one of claims 6 to 10.

Technical Field

The disclosure relates to the technical field of audio and video data processing, in particular to a method, a device and a vehicle for automatically tuning karaoke.

Background

With the development of social economy and the improvement of living standard, the entertainment function becomes one of important references for people to choose automobiles, and the vehicle-mounted karaoke function becomes a popular field for current vehicle development as an entertainment function well liked by people. In the prior art, the vehicle-mounted K song function is mainly realized by wirelessly connecting a vehicle-mounted FM (English Frequency Modulation) microphone and a vehicle-mounted radio, the vehicle-mounted FM microphone and the vehicle-mounted radio need to perform Frequency matching to establish wireless connection, and the vehicle-mounted FM microphone is divided into a fixed Frequency range microphone and a Frequency-adjustable microphone at present. The FM fixed frequency range microphone and the vehicle-mounted radio are adopted for frequency matching, the demodulation frequency of the vehicle-mounted radio needs to be manually set as the modulation frequency of the vehicle-mounted FM microphone, if the broadcast signal in the signal received by the vehicle-mounted radio under the modulation frequency is too strong, the audio signal sent by the vehicle-mounted FM microphone cannot cover the broadcast signal, so that the K song has noise, and the normal K song function cannot be ensured. The frequency of the vehicle-mounted FM microphone is adjusted to the frequency of the vehicle-mounted FM microphone, the demodulation frequency of the vehicle-mounted FM microphone and the modulation frequency of the vehicle-mounted FM microphone need to be adjusted to the same frequency manually, if the broadcast signal in the signal received by the vehicle-mounted FM microphone is too strong under the frequency, the demodulation frequency of the vehicle-mounted FM microphone and the modulation frequency of the vehicle-mounted FM microphone need to be adjusted to another frequency manually again, the operation is complex, and the K song experience of a user is reduced.

Disclosure of Invention

The invention aims to provide a method, a device and a vehicle for automatically matching karaoke songs, which are used for solving the problem that the matching operation of a microphone and a vehicle-mounted radio in the prior art is complex.

In order to achieve the above object, according to a first aspect of the embodiments of the present disclosure, there is provided a method for automatically tuning karaoke, which is applied to a vehicle provided with a sound collector and a player, the method including:

sending a first frequency-pair signal to the player through the sound collector according to a preset frequency-pair frequency, wherein the first frequency-pair signal comprises a first modulation frequency, and the first modulation frequency is the current modulation frequency of the sound collector;

receiving, by the player, the first pair of frequency signals at the pair of frequency frequencies to set a demodulation frequency of the player to the first modulation frequency;

sending a first modulation signal to the player through the sound collector, wherein the first modulation signal is a signal obtained by modulating the collected audio signal according to the first modulation frequency by the sound collector;

and mixing the audio signal obtained by demodulating the first modulation signal according to the demodulation frequency and a preset accompaniment signal through the player to obtain a K song signal, and playing the K song signal.

Optionally, the sending, by the sound collector, a first frequency-pair signal to the player according to a preset frequency-pair frequency, where the first frequency-pair signal includes a current first modulation frequency of the sound collector, includes:

coding the first modulation frequency according to a preset coding mode to obtain a first frequency-to-frequency signal;

transmitting the first cross-frequency signal to the player according to the cross-frequency;

the receiving, by the player, the first pair of frequency signals according to the pair of frequency frequencies to set a demodulation frequency of the player to the first modulation frequency includes:

receiving the first pair of frequency signals at the pair of frequency frequencies;

and decoding the first frequency-modulated signal according to a preset decoding mode to obtain the first modulation frequency, and setting the demodulation frequency as the first modulation frequency.

Optionally, the method further comprises:

when the sound collector receives an update instruction, sending a second frequency-aligning signal to the player through the sound collector according to the first modulation frequency, wherein the update instruction is used for instructing the sound collector to update the modulation frequency from the first modulation frequency to a second modulation frequency, and the second frequency-aligning signal comprises the second modulation frequency;

receiving, by the player, the second counter-frequency signal at the first modulation frequency to set the demodulation frequency of the player to the second modulation frequency;

sending a second modulation signal to the player through the sound collector, wherein the second modulation signal is a signal obtained by modulating the audio signal according to the second modulation frequency by the sound collector;

and mixing the audio signal and the accompaniment signal obtained by demodulating the second modulation signal according to the demodulation frequency by the player to obtain the K song signal, and playing the K song signal.

Optionally, the method further comprises:

after the sound collector receives a closing instruction, sending a control signal to the player through the sound collector according to the first modulation frequency, wherein the closing instruction is used for indicating the sound collector to be closed;

receiving, by the player, the control signal at the first modulation frequency and setting the demodulation frequency to the pair frequency.

Optionally, the player includes: the device comprises a demodulation module, a controller and a loudspeaker;

the receiving, by the player, the first pair of frequency signals according to the pair of frequency frequencies to set a demodulation frequency of the player to the first modulation frequency includes:

demodulating the first frequency-pair signal according to the frequency-pair frequency through the demodulation module to obtain the first modulation frequency, and sending the first modulation frequency to the controller;

setting, by the controller, the demodulation frequency to the first modulation frequency;

the audio signal and the preset accompaniment signal obtained by demodulating the first modulation signal according to the demodulation frequency are mixed by the player to obtain a karaoke signal, and the karaoke signal is played, including:

demodulating the first modulation signal according to the demodulation frequency through the demodulation module to obtain the audio signal, and sending the audio signal to the controller;

mixing the audio signal and the accompaniment signal through the controller to obtain the K song signal, and sending the K song signal to the loudspeaker;

and playing the K song signal through the loudspeaker.

According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for automatically tuning karaoke, which is applied to a vehicle, the apparatus including: a sound collector and a player;

the sound collector is used for sending a first frequency-matching signal to the player according to a preset frequency-matching frequency, wherein the first frequency-matching signal comprises a first modulation frequency, and the first modulation frequency is the current modulation frequency of the sound collector;

the player is used for receiving the first frequency-pairing signal according to the frequency-pairing frequency so as to set the demodulation frequency of the player to be the first modulation frequency;

the sound collector is further configured to send a first modulation signal to the player, where the first modulation signal is a signal obtained by modulating the collected audio signal according to the first modulation frequency by the sound collector;

the player is further configured to mix the audio signal obtained by demodulating the first modulation signal according to the demodulation frequency with a preset accompaniment signal to obtain a karaoke signal, and play the karaoke signal.

Optionally, the sound collector is further configured to encode the first modulation frequency according to a preset encoding manner to obtain the first frequency-to-frequency signal;

the sound collector is also used for sending the first frequency-pairing signal to the player according to the frequency-pairing frequency;

the player is further configured to receive the first pair of frequency signals at the pair of frequency frequencies;

the player is further configured to decode the first frequency-modulated signal according to a preset decoding manner to obtain the first modulation frequency, and set the demodulation frequency as the first modulation frequency.

Optionally, the sound collector is further configured to send a second frequency-pair signal to the player according to the first modulation frequency when receiving an update instruction, where the update instruction is used to instruct the sound collector to update the modulation frequency from the first modulation frequency to a second modulation frequency, and the second frequency-pair signal includes the second modulation frequency;

the player is further used for receiving the second frequency-to-frequency signal according to the first modulation frequency so as to set the demodulation frequency of the player to be the second modulation frequency;

the sound collector is further configured to send a second modulation signal to the player, where the second modulation signal is a signal obtained by modulating the audio signal according to the second modulation frequency by the sound collector;

the player is further configured to mix the audio signal and the accompaniment signal obtained by demodulating the second modulated signal according to the demodulation frequency to obtain the K song signal, and play the K song signal.

Optionally, the sound collector is further configured to send a control signal to the player according to the first modulation frequency after receiving a closing instruction, where the closing instruction is used to instruct the sound collector to close;

the player is further configured to receive the control signal according to the first modulation frequency and set the demodulation frequency as the pair frequency.

Optionally, the player includes: the device comprises a demodulation module, a controller and a loudspeaker;

the demodulation module is used for demodulating the first frequency-pair signal according to the frequency-pair frequency to obtain the first modulation frequency and sending the first modulation frequency to the controller;

the controller is configured to set the demodulation frequency to the first modulation frequency;

the demodulation module is further configured to demodulate the first modulation signal according to the demodulation frequency to obtain the audio signal, and send the audio signal to the controller;

the controller is further used for mixing the audio signal with the accompaniment signal to acquire the K song signal and sending the K song signal to the loudspeaker;

the loudspeaker is used for playing the K song signal.

According to a third aspect of the disclosed embodiments, a vehicle is provided with the apparatus for automatically singing frequently according to the second aspect.

According to the technical scheme, in the disclosure, a first frequency-pair signal comprising a first modulation frequency is sent to a player through a sound collector according to a preset frequency-pair frequency, the first modulation frequency is the current modulation frequency of the sound collector, the player receives the first frequency-pair signal according to the frequency-pair frequency, the demodulation frequency of the player is set as the first modulation frequency, the first modulation signal is sent to the player through the sound collector, the first modulation signal is a signal obtained by modulating the collected audio signal according to the first modulation frequency through the sound collector, and finally the audio signal obtained by demodulating the first modulation signal according to the demodulation frequency and a preset accompaniment signal are mixed through the player to obtain a K song signal and the K song signal is played. According to the method and the device, the sound collector and the player can be automatically aligned to frequency without manually adjusting the demodulation frequency of the player by a vehicle owner, so that the purpose of vehicle-mounted K song is achieved, the operation is simple, and the K song experience of a user is improved.

Additional features and advantages of the disclosure will be set forth in the detailed description which follows.

Drawings

The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:

FIG. 1 is a flow diagram illustrating a method for automatically singing an frequently karaoke song according to an exemplary embodiment.

Fig. 2a is a flow chart of one step 101 shown in the embodiment shown in fig. 1.

Fig. 2b is a flow chart illustrating one step 102 of the embodiment shown in fig. 1.

Fig. 2c is a block diagram of a sound collector in the method for automatically singing frequently karaoke shown in fig. 1.

FIG. 3 is a flow diagram illustrating another method for automatically singing frequently according to an exemplary embodiment.

FIG. 4 is a flow chart illustrating yet another method for automatically singing frequently in accordance with an exemplary embodiment.

Fig. 5a is a flow chart illustrating another step 102 of the embodiment shown in fig. 1.

Fig. 5b is a flow chart illustrating one step 104 of the embodiment shown in fig. 1.

Fig. 6 is a block diagram illustrating an apparatus for automatically tuning karaoke according to an exemplary embodiment.

Fig. 7 is a block diagram illustrating another apparatus for automatically tuning karaoke according to an exemplary embodiment.

FIG. 8 is a block diagram of a vehicle shown in accordance with an exemplary embodiment.

Detailed Description

Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

Before introducing the method, the apparatus, and the vehicle for automatically singing frequently songs provided by the present disclosure, an application scenario related to various embodiments of the present disclosure is first introduced. The application scenario may include a vehicle provided with a sound collector and a player, which may be, for example, a car, but may also be applicable to other types of motor vehicles or non-motor vehicles. The sound collector and the player both include chips capable of implementing fm multiplexing technology, such as RDS (Radio Digital System, chinese: Radio data broadcasting System) or SCA (supplemental communication Authorization, chinese: auxiliary communication Authorization).

FIG. 1 is a flow diagram illustrating a method for automatically singing an frequently karaoke song according to an exemplary embodiment. As shown in fig. 1, applied to a vehicle provided with a sound collector and a player, the method includes:

in step 101, a first frequency-matching signal is sent to the player through the sound collector according to a preset frequency-matching frequency, where the first frequency-matching signal includes a first modulation frequency, and the first modulation frequency is a current modulation frequency of the sound collector.

In step 102, a first pair of frequency signals is received by the player at a pair frequency to set a demodulation frequency of the player to a first modulation frequency.

For example, the player provided in the vehicle may be, for example, in-vehicle multimedia (including a radio, a controller, a display screen, navigation, and the like), in which a karaoke application is previously provided. When a user needs to play the karaoke, the player is started first, and a karaoke application is run on the player (for example, the karaoke application can be clicked on a display screen of the vehicle-mounted multimedia). At this time, the player may set a demodulation frequency of the player (e.g., a demodulation frequency of a radio) to a preset counter frequency (e.g., may be 87.5Mhz) through the controller. Then, the player starts to continuously detect surrounding signals according to the counter frequency, when a user starts the sound collector, the sound collector is initialized in the starting process, the sound collector adopts a frequency modulation multiplexing technology (such as RDS or SCA) to process the current first modulation frequency of the sound collector to obtain a first counter frequency signal, and the first counter frequency signal is sent to the player according to the counter frequency. It should be noted that the first modulation frequency is a modulation frequency of the sound collector, the opposite frequency is a frequency that the sound collector is dedicated to perform opposite frequency with the player, and the first modulation frequency and the opposite frequency may be the same or different. The player receives the first frequency-matching signal according to the frequency-matching frequency, analyzes the first frequency-matching signal through the frequency modulation multiplexing technology to obtain a first modulation frequency, and sets the demodulation frequency of the player as the first modulation frequency through the controller, so that the frequency-matching of the sound collector and the player is realized.

In step 103, a first modulation signal is sent to the player through the sound collector, where the first modulation signal is a signal obtained by modulating the collected audio signal according to a first modulation frequency by the sound collector.

In step 104, mixing, by the player, the audio signal obtained by demodulating the first modulated signal according to the demodulation frequency with a preset accompaniment signal to obtain a karaoke signal, and playing the karaoke signal.

For example, after completing the frequency matching between the sound collector and the player, the sound collector (e.g., a microphone, etc.) collects an audio signal sent by a user, modulates the collected audio signal according to a first modulation frequency to obtain a first modulation signal, and sends the first modulation signal to the player through the sound collector, where the modulation method may be any analog modulation method, and may include: FM, AM (Amplitude Modulation, Chinese) or SSB (Single Side Band, Chinese) etc. After the player receives the first modulation signal, the player demodulates the first modulation signal according to demodulation frequency (namely the first modulation frequency) to obtain an audio signal, and then mixes the audio signal obtained by demodulation with a preset accompaniment signal to obtain a K song signal (namely audio containing the audio signal and the accompaniment signal), and plays the K song signal. The demodulation method is a demodulation method corresponding to the modulation method in the audio acquisition apparatus, and may be, for example, FM demodulation, AM demodulation, SSB demodulation, or the like. The preset accompaniment signal may be a piece of audio preset in the player according to the specific requirements of the user (such as the name of the accompaniment and the volume of the accompaniment) before the user plays the karaoke.

It should be noted that, in the present disclosure, sending the first pair of frequency signals by the sound collector is performed during a starting process of the sound collector, and after the sound collector is started, sending the first pair of frequency signals may be stopped, so that when the player starts the K song application first and the sound collector starts later, the player may directly obtain the first pair of frequency signals sent by the sound collector, and if the sound collector starts the K song application later, the sound collector may have stopped sending the first pair of frequency signals, and at this time, the user may send a frequency pairing instruction (for example, long press a key preset on the microphone, or restart the microphone) through the sound collector, so that the sound collector retransmits the first pair of frequency signals, thereby completing frequency pairing with the player.

In summary, in the disclosure, a first frequency-to-frequency signal including a first modulation frequency is first sent to a player through a sound collector according to a preset frequency-to-frequency, where the first modulation frequency is a current modulation frequency of the sound collector, the player receives the first frequency-to-frequency signal according to the frequency-to-frequency to set a demodulation frequency of the player as the first modulation frequency, then the sound collector sends the first modulation signal to the player, where the first modulation signal is a signal obtained by modulating an acquired audio signal according to the first modulation frequency by the sound collector, and finally the player mixes the audio signal obtained by demodulating the first modulation signal according to the demodulation frequency with a preset accompaniment signal to obtain a K song signal and plays the K song signal. According to the method and the device, the sound collector and the player can be automatically aligned to frequency without manually adjusting the demodulation frequency of the player by a vehicle owner, so that the purpose of vehicle-mounted K song is achieved, the operation is simple, and the K song experience of a user is improved.

Fig. 2a is a flow chart of one step 101 shown in the embodiment shown in fig. 1. As shown in fig. 2a, step 101 comprises the following steps:

in step 1011, the first modulation frequency is encoded according to a preset encoding method to obtain a first frequency-to-frequency signal.

In step 1012, a first peer-to-peer signal is transmitted to the player at the peer-to-peer frequency.

For example, when the sound collector is an FM microphone with RDS functionality, the sound collector may include, as shown in the block diagram of the sound collector in fig. 2 c: the main control chip is respectively connected with the FM transmitting chip, the FM transmitting switch, the modulation frequency adjusting key, the battery management module, the display screen and the microphone. The main control chip is used for controlling each module connected with the main control chip, the FM transmitting chip has an RDS function, the FM transmitting switch is used for controlling the turning-off, turning-on and turning-on of the FM transmitting function, the battery management module comprises a battery and a charging circuit, the battery management module is respectively responsible for providing electricity for the sound collector and charging the battery, the display screen is used for displaying information such as modulation frequency, battery electricity and the state of the sound collector, and the microphone is used for collecting the sound of the K song of a user.

After the player is started, the sound collector can initialize the main control chip in the starting process, the FM transmitting chip is controlled by the main control chip to be initialized, the first counter frequency signal is initialized, and meanwhile the RDS function of the FM transmitting chip is started. The sound collector encodes the current first modulation frequency of the sound collector through the RDS function of the FM transmitting chip to obtain a first frequency-pair signal, and then the first frequency-pair signal is sent to the player through the FM transmitting chip according to the preset frequency-pair frequency.

Fig. 2b is a flow chart illustrating one step 102 of the embodiment shown in fig. 1. As shown in fig. 2b, step 102 comprises the following steps:

in step 1021, a first pair of frequency signals is received at a pair frequency.

In step 1022, the first pilot signal is decoded according to a preset decoding manner to obtain a first modulation frequency, and the demodulation frequency is set as the first modulation frequency.

Illustratively, an FM receiving chip with RDS functionality is included in the player. Similarly, in the process of starting the player, the player initializes the FM receiving chip, sets the demodulation frequency of the FM receiving chip to the opposite frequency, and simultaneously turns on the RDS function of the FM receiving chip, and at this time, the player starts to continuously detect the surrounding signals according to the opposite frequency. When the player receives a first counter frequency signal according to the counter frequency, the player firstly decodes the first counter frequency signal according to a preset decoding mode through an RDS function of the FM receiving chip to obtain a first modulation frequency, then stores the obtained first modulation frequency in a corresponding register through the FM receiving chip, and simultaneously sets a flag bit preset in the register to 1 (the flag bit is 0 before the FM receiving chip obtains the first modulation frequency), and sends an interrupt signal to the player (the mode of sending the interrupt signal may be determined according to the FM receiving chip, for example, the interrupt signal may be sent by generating a low level or a high level for several milliseconds through a certain pin of the FM receiving chip). When the player receives an interrupt signal sent by the FM receiving chip, the flag bit is detected in response to the interrupt signal, the register storing the first modulation frequency is read to obtain the first modulation frequency, and finally the demodulation frequency of the FM receiving chip is set to be the first modulation frequency through the player so as to finish the frequency matching of the sound collector and the player.

FIG. 3 is a flow diagram illustrating another method for automatically singing frequently according to an exemplary embodiment. As shown in fig. 3, the method further comprises the steps of:

in step 105, when the sound collector receives the update instruction, sending a second frequency-pairing signal to the player through the sound collector according to the first modulation frequency, where the update instruction is used to instruct the sound collector to update the modulation frequency from the first modulation frequency to a second modulation frequency, and the second frequency-pairing signal includes the second modulation frequency.

In step 106, a second counter-frequency signal is received by the player at the first modulation frequency to set the demodulation frequency of the player to the second modulation frequency.

For example, in the process of singing a song, if it is found that a broadcast signal corresponding to a first modulation frequency is too strong, the first modulation signal sent to the player by the sound collector cannot cover the broadcast signal, so that a noise exists in the process of singing the song, a user can send an update instruction through the sound collector to eliminate the noise, the update instruction is used for instructing the sound collector to update the modulation frequency from the first modulation frequency to a second modulation frequency, and the user sends an update instruction through the sound collector, for example, a frequency adjustment key may be arranged on the sound collector, and the user can control increase and decrease of the modulation frequency through the modulation frequency adjustment key to send the update instruction. When the sound collector receives the update instruction, the second modulation frequency set by the sound collector may be processed by using a frequency modulation multiplexing technology (e.g., RDS or SCA) or an analog modulation method (e.g., FM, AM, or SSB) to obtain a second counter frequency signal, and the second counter frequency signal is sent to the player according to the first modulation frequency (at this time, the sound collector and the player send signals through the first modulation frequency). And after receiving the second frequency-pair signal, the player analyzes the second frequency-pair signal by adopting a frequency modulation multiplexing technology to obtain a second modulation frequency. When the sound collector modulates the second frequency-pairing signal in an analog modulation mode, the player demodulates the second frequency-pairing signal in a demodulation mode corresponding to the analog modulation mode adopted by the sound collector to obtain a second modulation frequency, and after the player obtains the second modulation frequency, the demodulation frequency of the player is set to be the second modulation frequency to realize frequency-pairing between the sound collector and the player again.

In step 107, a second modulation signal is sent to the player through the sound collector, where the second modulation signal is a signal obtained by modulating the audio signal according to a second modulation frequency by the sound collector.

In step 108, the audio signal and the accompaniment signal obtained by demodulating the second modulation signal according to the demodulation frequency are mixed by the player to obtain the K song signal, and the K song signal is played.

For example, after completing the frequency re-alignment between the sound collector and the player, the sound collector (e.g., a microphone, etc.) collects an audio signal sent by the user, modulates the collected audio signal according to a second modulation frequency to obtain a second modulation signal, and sends the second modulation signal to the player through the sound collector, where the modulation method may be any analog modulation method, and may include: FM, AM, or SSB, etc. After the player receives the second modulation signal, the player demodulates the second modulation signal according to a demodulation frequency (i.e., the second modulation frequency) to obtain an audio signal, mixes the audio signal obtained by demodulation with the accompaniment signal to obtain a K song signal (i.e., an audio including the audio signal and the accompaniment signal), and plays the K song signal. The demodulation method is a demodulation method corresponding to the modulation method in the audio acquisition apparatus, and may be, for example, FM demodulation, AM demodulation, SSB demodulation, or the like.

FIG. 4 is a flow chart illustrating yet another method for automatically singing frequently in accordance with an exemplary embodiment. As shown in fig. 4, the method further comprises the steps of:

in step 109, after the sound collector receives the closing instruction, the sound collector sends a control signal to the player according to the first modulation frequency, and the closing instruction is used for instructing the sound collector to close.

In step 110, a control signal is received by the player at a first modulation frequency and a demodulation frequency is set to a counter frequency.

For example, after the song K is finished, the user may send a close instruction (for example, long-pressing a shutdown key on the microphone) through the sound collector, where the close instruction is used to instruct the sound collector to close, and after receiving the close instruction, the sound collector sends a control signal to the player according to the first modulation frequency. The control signal is received by the player according to the first modulation frequency, and the demodulation frequency of the player is set to a counter frequency. The demodulation frequency of the player is set as the opposite frequency so as to facilitate the user to replace the sound collector in the K song process, after the user closes the sound collector, the player sets the demodulation frequency as the opposite frequency, at the moment, the player continuously detects surrounding signals according to the opposite frequency, if the user starts a new sound collector, the new sound collector can execute the steps 101 to 104 again, so that the opposite frequency of the new sound collector and the player is completed, and the user can continue the K song through the new sound collector. The control signal between the sound collector and the player can be transmitted by using frequency modulation multiplexing technology (such as RDS or SCA) or by using analog modulation and demodulation (such as FM, AM or SSB).

Fig. 5a is a flow chart illustrating another step 102 of the embodiment shown in fig. 1. As shown in fig. 5a, the player includes: a demodulation module, a controller and a speaker, step 102 may further include the steps of:

in step 1023, the first frequency-pair signal is demodulated by the demodulation module according to the frequency-pair frequency to obtain a first modulation frequency, and the first modulation frequency is sent to the controller.

In step 1024, the demodulation frequency is set to the first modulation frequency by the controller.

Illustratively, the sound collector sends a first frequency-aligning signal to the player according to a preset frequency-aligning frequency, the player demodulates the first frequency-aligning signal according to the frequency-aligning frequency through the demodulation module, processes the demodulated first frequency-aligning signal by using a frequency modulation multiplexing technology to obtain a first modulation frequency, sends the first modulation frequency to the controller, and sets the demodulation frequency of the demodulation module as the first modulation frequency through the controller, thereby completing the frequency-aligning of the sound collector and the player.

Fig. 5b is a flow chart illustrating one step 104 of the embodiment shown in fig. 1. As shown in fig. 5b, the player includes: a demodulation module, a controller, and a speaker, step 104 may include the steps of:

in step 1041, the first modulation signal is demodulated by the demodulation module according to the demodulation frequency to obtain an audio signal, and the audio signal is sent to the controller.

In step 1042, the audio signal and the accompaniment signal are mixed by the controller to obtain a karaoke signal, and the karaoke signal is sent to the speaker.

In step 1043, the karaoke signal is played through the speaker.

For example, after receiving the first modulation signal, the player first demodulates the first modulation signal according to a demodulation frequency (i.e., the first modulation frequency) through a demodulation module of the player to obtain an audio signal, mixes the audio signal with the accompaniment signal through a controller of the player to obtain a K song signal (i.e., an audio including the audio signal and the accompaniment signal), and sends the K song signal to the speaker. And finally playing the K song signal through a loudspeaker. The demodulation method is a demodulation method corresponding to the modulation method in the audio acquisition apparatus, and may be, for example, FM demodulation, AM demodulation, SSB demodulation, or the like.

In summary, in the disclosure, a first frequency-to-frequency signal including a first modulation frequency is first sent to a player through a sound collector according to a preset frequency-to-frequency, where the first modulation frequency is a current modulation frequency of the sound collector, the player receives the first frequency-to-frequency signal according to the frequency-to-frequency to set a demodulation frequency of the player as the first modulation frequency, then the sound collector sends the first modulation signal to the player, where the first modulation signal is a signal obtained by modulating an acquired audio signal according to the first modulation frequency by the sound collector, and finally the player mixes the audio signal obtained by demodulating the first modulation signal according to the demodulation frequency with a preset accompaniment signal to obtain a K song signal and plays the K song signal. According to the method, the sound collector and the player can automatically align the frequency without manually adjusting the demodulation frequency of the player by a vehicle owner, the operation is simple, the purpose of vehicle-mounted K song is achieved, and the K song experience of a user is improved.

Fig. 6 is a block diagram illustrating an apparatus for automatically tuning karaoke according to an exemplary embodiment. As shown in fig. 6, applied to a vehicle, the apparatus 200 includes: a sound collector 201 and a player 202.

The sound collector 201 is configured to send a first frequency-pairing signal to the player 202 according to a preset frequency-pairing frequency, where the first frequency-pairing signal includes a first modulation frequency, and the first modulation frequency is a current modulation frequency of the sound collector 201.

The player 202 is configured to receive the first pair of frequency signals at the pair frequency to set the demodulation frequency of the player 202 to the first modulation frequency.

The sound collector 201 is further configured to send a first modulation signal to the player 202, where the first modulation signal is a signal obtained by modulating the collected audio signal by the sound collector 201 according to a first modulation frequency.

The player 202 is further configured to mix an audio signal obtained by demodulating the first modulated signal according to the demodulation frequency with a preset accompaniment signal to obtain a karaoke signal, and play the karaoke signal.

Optionally, the sound collector 201 is further configured to encode the first modulation frequency according to a preset encoding manner to obtain a first frequency-to-frequency signal.

The sound collector 201 is further configured to send a first pair of frequency signals to the player 202 according to the pair of frequency frequencies.

The player 202 is also configured to receive a first pair of audio signals at a pair of audio frequencies.

The player 202 is further configured to decode the first pilot signal according to a preset decoding manner to obtain a first modulation frequency, and set the demodulation frequency as the first modulation frequency.

Optionally, the sound collector 201 is further configured to send a second frequency-pair signal to the player 202 according to the first modulation frequency when receiving the update instruction, where the update instruction is used to instruct the sound collector 201 to update the modulation frequency from the first modulation frequency to a second modulation frequency, and the second frequency-pair signal includes the second modulation frequency.

The player 202 is further configured to receive a second counter-frequency signal according to the first modulation frequency to set the demodulation frequency of the player 202 to the second modulation frequency.

The sound collector 201 is further configured to send a second modulation signal to the player 202, where the second modulation signal is a signal obtained by modulating the audio signal by the sound collector 201 according to a second modulation frequency.

The player 202 is further configured to mix the audio signal and the accompaniment signal obtained by demodulating the second modulated signal according to the demodulation frequency to obtain the K song signal, and play the K song signal.

Optionally, the sound collector 201 is further configured to send a control signal to the player 202 according to the first modulation frequency after receiving a shutdown instruction, where the shutdown instruction is used to instruct the sound collector 201 to shut down.

The player 202 is also configured to receive a control signal at a first modulation frequency and set the demodulation frequency to the counter frequency.

Fig. 7 is a block diagram illustrating another apparatus for automatically tuning karaoke according to an exemplary embodiment. The player 202 includes: a demodulation module 2021, a controller 2022, and a speaker 2023.

The demodulation module 2021 is configured to demodulate the first pair of frequency signals according to the pair of frequency frequencies to obtain a first modulation frequency, and send the first modulation frequency to the controller 2022.

The controller 2022 is configured to set the demodulation frequency to the first modulation frequency.

The demodulation module 2021 is further configured to demodulate the first modulated signal according to the demodulation frequency to obtain an audio signal, and send the audio signal to the controller 2022.

The controller 2022 is further configured to mix the audio signal with the accompaniment signal to obtain the K song signal, and send the K song signal to the speaker 2023.

The speaker 2023 is used for playing the karaoke signal.

With regard to the apparatus for automatically singing frequently in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.

In summary, in the disclosure, a first frequency-to-frequency signal including a first modulation frequency is first sent to a player through a sound collector according to a preset frequency-to-frequency, where the first modulation frequency is a current modulation frequency of the sound collector, the player receives the first frequency-to-frequency signal according to the frequency-to-frequency to set a demodulation frequency of the player as the first modulation frequency, then the sound collector sends the first modulation signal to the player, where the first modulation signal is a signal obtained by modulating an acquired audio signal according to the first modulation frequency by the sound collector, and finally the player mixes the audio signal obtained by demodulating the first modulation signal according to the demodulation frequency with a preset accompaniment signal to obtain a K song signal and plays the K song signal. According to the method and the device, the sound collector and the player can be automatically aligned to frequency without manually adjusting the demodulation frequency of the player by a vehicle owner, so that the purpose of vehicle-mounted K song is achieved, the operation is simple, and the K song experience of a user is improved.

FIG. 8 is a block diagram of a vehicle shown in accordance with an exemplary embodiment. As shown in fig. 8, the vehicle 300 includes the apparatus 200 for automatically singing frequently shown in either of fig. 6 or 7.

With regard to the apparatus for automatically singing frequently in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.

In summary, in the disclosure, a first frequency-to-frequency signal including a first modulation frequency is first sent to a player through a sound collector according to a preset frequency-to-frequency, where the first modulation frequency is a current modulation frequency of the sound collector, the player receives the first frequency-to-frequency signal according to the frequency-to-frequency to set a demodulation frequency of the player as the first modulation frequency, then the sound collector sends the first modulation signal to the player, where the first modulation signal is a signal obtained by modulating an acquired audio signal according to the first modulation frequency by the sound collector, and finally the player mixes the audio signal obtained by demodulating the first modulation signal according to the demodulation frequency with a preset accompaniment signal to obtain a K song signal and plays the K song signal. According to the method and the device, the sound collector and the player can be automatically aligned to frequency without manually adjusting the demodulation frequency of the player by a vehicle owner, so that the purpose of vehicle-mounted K song is achieved, the operation is simple, and the K song experience of a user is improved.

The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.

It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.

In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于星座旋转的等增益合并系统的工作方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!