CN109410902A - A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system - Google Patents

A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system Download PDF

Info

Publication number
CN109410902A
CN109410902A CN201811381381.7A CN201811381381A CN109410902A CN 109410902 A CN109410902 A CN 109410902A CN 201811381381 A CN201811381381 A CN 201811381381A CN 109410902 A CN109410902 A CN 109410902A
Authority
CN
China
Prior art keywords
audio
frequency information
mode
song
value
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201811381381.7A
Other languages
Chinese (zh)
Inventor
林谋兰
吴焕祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FUJIAN HAIMEI DIGITAL TECHNOLOGY Co Ltd
Original Assignee
FUJIAN HAIMEI DIGITAL TECHNOLOGY Co Ltd
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 FUJIAN HAIMEI DIGITAL TECHNOLOGY Co Ltd filed Critical FUJIAN HAIMEI DIGITAL TECHNOLOGY Co Ltd
Priority to CN201811381381.7A priority Critical patent/CN109410902A/en
Publication of CN109410902A publication Critical patent/CN109410902A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/36Accompaniment arrangements
    • G10H1/361Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4392Processing of audio elementary streams involving audio buffer management
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/031Musical analysis, i.e. isolation, extraction or identification of musical elements or musical parameters from a raw acoustic signal or from an encoded audio signal
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/341Rhythm pattern selection, synthesis or composition

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

It is intelligently led the present invention provides a kind of Karaoke based on audio-frequency information and sings method and system, comprising: the audio-frequency information of real-time reception audio collection device acquisition, and save it in caching;The audio-frequency information of acquisition is obtained from caching, calculates the corresponding average decibel value of the audio-frequency information in preset time;If the average decibel value is less than default decibel threshold, and the current play mode of song is vocal accompaniment mode, then the play mode for switching song is original singer's mode;If average decibel value is greater than default decibel threshold, and the current play mode of song is original singer's mode, then the play mode for switching song is vocal accompaniment mode.The present invention solves original singer's mode/vocal accompaniment mode that manual switching song is needed in existing karaoke OK system, there is a problem of that operation is cumbersome.

Description

A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system
Technical field
The present invention relates to Karaoke technical fields more particularly to a kind of Karaoke based on audio-frequency information intelligently to lead the method for singing And system.
Background technique
Set-top box used in the place of market at present, when playing song there are two types of mode original singer and vocal accompaniment, i.e. song exists When playing original singer, original singer also will continue to play when user sings, and when song is switched to vocal accompaniment, user stops singing, song It plays and also there was only background music, need to need manual switching when original singer, operating process is cumbersome.
Summary of the invention
The technical problems to be solved by the present invention are: the present invention provides a kind of Karaokes based on audio-frequency information intelligently to lead Method and system are sung, the original singer's mode/vocal accompaniment mode for needing manual switching song in existing karaoke OK system is solved, deposits Operating cumbersome problem.
In order to solve the above-mentioned technical problems, the present invention provides a kind of Karaokes based on audio-frequency information intelligently to lead the side of singing Method, comprising the following steps:
S1: the audio-frequency information of real-time reception audio collection device acquisition, and save it in caching;
S2: obtaining the audio-frequency information of acquisition from caching, calculates the corresponding average mark of the audio-frequency information in preset time Shellfish value;
S3: if the average decibel value is less than default decibel threshold, and the current play mode of song is vocal accompaniment mode, then The play mode for switching song is original singer's mode;If average decibel value is greater than default decibel threshold, and the broadcasting mould that song is current Formula is original singer's mode, then the play mode for switching song is vocal accompaniment mode.
Intelligently lead the system of singing the present invention provides a kind of Karaoke based on audio-frequency information, including memory, processor and The computer program that can be run on a memory and on a processor is stored, the processor executes real when the computer program Existing following steps:
S1: the audio-frequency information of real-time reception audio collection device acquisition, and save it in caching;
S2: obtaining the audio-frequency information of acquisition from caching, calculates the corresponding average mark of the audio-frequency information in preset time Shellfish value;
S3: if the average decibel value is less than default decibel threshold, and the current play mode of song is vocal accompaniment mode, then The play mode for switching song is original singer's mode;If average decibel value is greater than default decibel threshold, and the broadcasting mould that song is current Formula is original singer's mode, then the play mode for switching song is vocal accompaniment mode.
The invention has the benefit that
It is intelligently led the present invention provides a kind of Karaoke based on audio-frequency information and sings method and system, real-time reception audio is adopted The audio-frequency information of storage acquisition, and save it in caching;The audio-frequency information of acquisition is obtained from caching, calculates preset time The corresponding average decibel value of the interior audio-frequency information;If the average decibel value is less than default decibel threshold, and song is current Play mode is vocal accompaniment mode, then the play mode for switching song is original singer's mode;If average decibel value is greater than default decibel threshold Value, and the current play mode of song is original singer's mode, then the play mode for switching song is vocal accompaniment mode.The present invention is according to working as When the corresponding decibel value of preceding audio-frequency information is less than default decibel threshold, then it is assumed that user does not sing currently, then switches Song current play mode is original singer's mode, allows user to sing the original singer for for a long time carrying out listening attentively to song in Karaoke, and carry out Study;When user sings again, when corresponding decibel value is obtained by calculation greater than default decibel threshold, then it represents that Yong Huchong It newly sings, then switching the current play mode of song is vocal accompaniment mode, solves in existing karaoke OK system and needs hand Original singer's mode/vocal accompaniment mode of dynamic switching song, has that operation is cumbersome.
Detailed description of the invention
Fig. 1 is the key step that the method for singing is led according to a kind of Karaoke intelligence based on audio-frequency information of the embodiment of the present invention Schematic diagram;
Fig. 2 is the structural representation that the system of singing is led according to a kind of Karaoke intelligence based on audio-frequency information of the embodiment of the present invention Figure;
Label declaration:
1, memory;2, processor.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached Figure is explained in detail.
The design of most critical of the present invention are as follows: the audio-frequency information for arriving real-time reception saves in the buffer, calculate in caching The corresponding average decibel value of the audio-frequency information saved in preset time, according to the pass between average decibel value and default decibel threshold System, the current play mode of switching song.
Fig. 1 is please referred to, the present invention provides a kind of Karaokes based on audio-frequency information intelligently to lead the method for singing, including following step It is rapid:
S1: the audio-frequency information of real-time reception audio collection device acquisition, and save it in caching;
S2: obtaining the audio-frequency information of acquisition from caching, calculates the corresponding average mark of the audio-frequency information in preset time Shellfish value;
S3: if the average decibel value is less than default decibel threshold, and the current play mode of song is vocal accompaniment mode, then The play mode for switching song is original singer's mode;If average decibel value is greater than default decibel threshold, and the broadcasting mould that song is current Formula is original singer's mode, then the play mode for switching song is vocal accompaniment mode.
As can be seen from the above description, the present invention provides a kind of Karaokes based on audio-frequency information intelligently to lead the method for singing, in real time The audio-frequency information of audio collection device acquisition is received, and is saved it in caching;The audio-frequency information of acquisition is obtained from caching, is counted Calculate the corresponding average decibel value of the audio-frequency information in preset time;If the average decibel value is less than default decibel threshold, and The current play mode of song is vocal accompaniment mode, then the play mode for switching song is original singer's mode;If average decibel value is greater than Default decibel threshold, and the current play mode of song is original singer's mode, then the play mode for switching song is vocal accompaniment mode.This When invention is less than default decibel threshold according to the corresponding decibel value of present video information, then it is assumed that user does not sing currently Song, then switching song current play mode is original singer's mode, and user is allowed to sing the original for for a long time carrying out listening attentively to song in Karaoke It sings, and is learnt;When user sings again, when corresponding decibel value is obtained by calculation greater than default decibel threshold, then Indicate that user re-starts singing, then switching the current play mode of song is vocal accompaniment mode, solves existing Karaoke system Original singer's mode/vocal accompaniment mode that manual switching song is needed in system has that operation is cumbersome.
Further, the S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio letter Breath, the first audio-frequency information is parsed to obtain the audio data of a frame or more;According to audio data more than a frame, multiple points are obtained Shellfish value;
The average value for calculating corresponding all decibel values in the time obtains average decibel value.
From the foregoing, by calculating the corresponding decibel value of each frame audio data, and according to all points in the time Average decibel value is calculated in the average value of shellfish value, by above-mentioned calculation, can be improved the accuracy of data calculating, from And the accuracy of song pattern switching is improved, avoid the case where accidentally switching from existing.
Further, the S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio letter First audio-frequency information is carried out A/D conversion, obtains the discrete value of multiple voltage signals by breath;According to the discrete value of voltage signal, lead to Preset formula is crossed, output valve is obtained;
The average value of corresponding all output valves in the time is calculated, the as described average decibel value.
As can be seen from the above description, above-mentioned A/D conversion be the audio data of analog signal is converted to data-signal, and according to Data information after conversion is calculated, and can guarantee the accuracy for the data being calculated, and the mistake of song mode is avoided to switch.
Further, the formula are as follows:
Y=20*log10(x/65535.0);
Wherein, the x is the discrete value of voltage signal, i.e., input value, y are output valve.
As can be seen from the above description, by above-mentioned formula, the discrete value for being capable of providing voltage signal is converted to the calculating of decibel Rate, and calculated result accuracy is high.
Further, the S1 specifically:
Audio collection device is obtained by set-top box to preset the audio data for the PCM format that sample rate collects, and sound Frequency evidence is stored in the caching of set-top box.
As can be seen from the above description, can guarantee that audio collection device collects foot within a preset time by the above method Enough audio datas carry out subsequent effective judgement.
Referring to figure 2., the present invention provides a kind of Karaokes based on audio-frequency information intelligently to lead the system of singing, including memory 1, processor 2 and it is stored in the computer program that can be run on memory 1 and on processor 2, the processor 2 executes described It is performed the steps of when computer program
S1: the audio-frequency information of real-time reception audio collection device acquisition, and save it in caching;
S2: obtaining the audio-frequency information of acquisition from caching, calculates the corresponding average mark of the audio-frequency information in preset time Shellfish value;
S3: if the average decibel value is less than default decibel threshold, and the current play mode of song is vocal accompaniment mode, then The play mode for switching song is original singer's mode;If average decibel value is greater than default decibel threshold, and the broadcasting mould that song is current Formula is original singer's mode, then the play mode for switching song is vocal accompaniment mode.
As can be seen from the above description, the present invention provides a kind of Karaokes based on audio-frequency information intelligently to lead the system of singing, in real time The audio-frequency information of audio collection device acquisition is received, and is saved it in caching;The audio-frequency information of acquisition is obtained from caching, is counted Calculate the corresponding average decibel value of the audio-frequency information in preset time;If the average decibel value is less than default decibel threshold, and The current play mode of song is vocal accompaniment mode, then the play mode for switching song is original singer's mode;If average decibel value is greater than Default decibel threshold, and the current play mode of song is original singer's mode, then the play mode for switching song is vocal accompaniment mode.This When invention is less than default decibel threshold according to the corresponding decibel value of present video information, then it is assumed that user does not sing currently Song, then switching song current play mode is original singer's mode, and user is allowed to sing the original for for a long time carrying out listening attentively to song in Karaoke It sings, and is learnt;When user sings again, when corresponding decibel value is obtained by calculation greater than default decibel threshold, then Indicate that user re-starts singing, then switching the current play mode of song is vocal accompaniment mode, solves existing Karaoke system Original singer's mode/vocal accompaniment mode that manual switching song is needed in system has that operation is cumbersome.
Further, the system of singing, the S2 are intelligently led in a kind of Karaoke based on audio-frequency information specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio letter Breath, the first audio-frequency information is parsed to obtain the audio data of a frame or more;According to audio data more than a frame, multiple points are obtained Shellfish value;
The average value for calculating corresponding all decibel values in the time obtains average decibel value.
From the foregoing, by calculating the corresponding decibel value of each frame audio data, and according to all points in the time Average decibel value is calculated in the average value of shellfish value, by above-mentioned calculation, can be improved the accuracy of data calculating, from And the accuracy of song pattern switching is improved, avoid the case where accidentally switching from existing.
Further, the system of singing, the S2 are intelligently led in a kind of Karaoke based on audio-frequency information specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio letter First audio-frequency information is carried out A/D conversion, obtains the discrete value of multiple voltage signals by breath;According to the discrete value of voltage signal, lead to Preset formula is crossed, output valve is obtained;
The average value of corresponding all output valves in the time is calculated, the as described average decibel value.
As can be seen from the above description, above-mentioned A/D conversion be the audio data of analog signal is converted to data-signal, and according to Data information after conversion is calculated, and can guarantee the accuracy for the data being calculated, and the mistake of song mode is avoided to switch.
Further, the system of singing, the formula are intelligently led in a kind of Karaoke based on audio-frequency information are as follows:
Y=20*log10(x/65535.0);
Wherein, the x is the discrete value of voltage signal, i.e., input value, y are output valve.
As can be seen from the above description, by above-mentioned formula, the discrete value for being capable of providing voltage signal is converted to the calculating of decibel Rate, and calculated result accuracy is high.
Further, the system of singing, the S1 are intelligently led in a kind of Karaoke based on audio-frequency information specifically:
Audio collection device is obtained by set-top box to preset the audio data for the PCM format that sample rate collects, and sound Frequency evidence is stored in the caching of set-top box.
As can be seen from the above description, can guarantee that audio collection device collects foot within a preset time by the above method Enough audio datas carry out subsequent effective judgement.
Please refer to Fig. 1, the embodiment of the present invention one are as follows:
The present invention provides a kind of Karaokes based on audio-frequency information intelligently to lead the method for singing, comprising the following steps:
S1: the audio-frequency information of real-time reception audio collection device acquisition, and save it in caching;
Wherein, the S1 specifically:
Audio collection device is obtained by set-top box to preset the audio data for the PCM format that sample rate collects, and sound Frequency evidence is stored in the caching of set-top box.
Wherein, the acquisition rate is 16KHz;
S2: obtaining the audio-frequency information of acquisition from caching, calculates the corresponding average mark of the audio-frequency information in preset time Shellfish value;
Wherein, the S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio letter Breath, the first audio-frequency information is parsed to obtain the audio data of a frame or more;According to audio data more than a frame, multiple points are obtained Shellfish value;
The average value for calculating corresponding all decibel values in the time obtains average decibel value.
Or, the S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio letter First audio-frequency information is carried out A/D conversion, obtains the discrete value of multiple voltage signals by breath;According to the discrete value of voltage signal, lead to Preset formula is crossed, output valve is obtained;
The average value of corresponding all output valves in the time is calculated, the as described average decibel value;
Wherein, the formula are as follows: y=20*log10(x/65535.0);Wherein, the x is the discrete value of voltage signal, y For output valve.
Wherein, above-mentioned preset time can be adjusted according to the actual situation, it is preferred that preset time 0-1min.
S3: if the average decibel value is less than default decibel threshold, and the current play mode of song is vocal accompaniment mode, then The play mode for switching song is original singer's mode;If average decibel value is greater than default decibel threshold, and the broadcasting mould that song is current Formula is original singer's mode, then the play mode for switching song is vocal accompaniment mode;
Wherein, the decibel threshold can be adjusted according to the actual situation, but herein it should be noted that being due to Karaoke Inside there are other noises or song, therefore needs to take into account when decibel threshold setting, preferably 20-100 decibels.
Referring to figure 2., the embodiment of the present invention two are as follows:
The present invention provides a kind of Karaokes based on audio-frequency information intelligently to lead the system of singing, including memory 1, processor 2 And it is stored in the computer program that can be run on memory 1 and on processor 2, the processor executes the computer program When perform the steps of
S1: the audio-frequency information of real-time reception audio collection device acquisition, and save it in caching;
Wherein, the S1 specifically:
Audio collection device is obtained by set-top box to preset the audio data for the PCM format that sample rate collects, and sound Frequency evidence is stored in the caching of set-top box.
Wherein, the acquisition rate is 16K;
S2: obtaining the audio-frequency information of acquisition from caching, calculates the corresponding average mark of the audio-frequency information in preset time Shellfish value;
Wherein, the S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio letter Breath, the first audio-frequency information is parsed to obtain the audio data of a frame or more;According to audio data more than a frame, multiple points are obtained Shellfish value;
The average value for calculating corresponding all decibel values in the time obtains average decibel value.
Or, the S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio letter First audio-frequency information is carried out A/D conversion, obtains the discrete value of multiple voltage signals by breath;According to the discrete value of voltage signal, lead to Preset formula is crossed, output valve is obtained;
The average value of corresponding all output valves in the time is calculated, the as described average decibel value;
Wherein, the formula are as follows: y=20*log10(x/65535.0);Wherein, the x is the discrete value of voltage signal, y For output valve.
Wherein, above-mentioned preset time can be adjusted according to the actual situation, it is preferred that preset time 0-1min.
S3: if the average decibel value is less than default decibel threshold, and the current play mode of song is vocal accompaniment mode, then The play mode for switching song is original singer's mode;If average decibel value is greater than default decibel threshold, and the broadcasting mould that song is current Formula is original singer's mode, then the play mode for switching song is vocal accompaniment mode;
Wherein, the decibel threshold can be adjusted according to the actual situation, and preferably 0-100 decibels.
The embodiment of the present invention three are as follows:
It is as follows for song automatically switches the form of expression of former vocal accompaniment with user in KTV box when requesting songs:
1) user clicks title of the song requesting song in box touch screen, opens side art of singing energy, and open vocal accompaniment mode.
2) song is searched for using phonetic, selects a song, click play.
3) television plays song.
4) system determines user and does not sing both when not having audio input, automatically switches to original singer's mode.
5) when user sings, system judgement has audio input, then switches back into vocal accompaniment mode, closes original singer.
The embodiment of the present invention four are as follows:
The improved hardware configuration of the present invention mainly includes set-top box, microphone and the audio collection being arranged on microphone Device.When set-top box plays song, sound is converted set-top box, set-top box by analog signal by external microphone and audio collection device Digital signal is converted analog signals into, and the audio data after conversion is stored in the buffer circle of memory, set-top box The data volume (data volume is adjustable) for obtaining fixed size from buffer area every time is handled, and is judged whether according to algorithm calculating There is voice input, and then carries out former vocal accompaniment switching;Specific implementation step is as follows:
1) how the data got are handled
(1) audio data of set time is saved
Audio is stored data into memory with pcm format with single channel 16k sample rate, can be determined by configuring setting time Surely the data volume size obtained;
(2) data how calculation processing
(a) fixed size reading data is come out from buffer area;
(b) data of reading are inputted by mathematical formulae as unit of frame sign and obtains a value, calculation formula are as follows: y =20*log10 (x/65535.0);Wherein x is the discrete value of the voltage signal after analog-to-digital conversion, i.e., input value, y are output valve;
(c) all in setting time are averaged with the calculated value of frame data;
(d) by judging that the size of the threshold values (threshold values is configurable) of average value and setting switches former vocal accompaniment mode.
Method and system is sung in conclusion intelligently leading the present invention provides a kind of Karaoke based on audio-frequency information, in real time The audio-frequency information of audio collection device acquisition is received, and is saved it in caching;The audio-frequency information of acquisition is obtained from caching, is counted Calculate the corresponding average decibel value of the audio-frequency information in preset time;If the average decibel value is less than default decibel threshold, and The current play mode of song is vocal accompaniment mode, then the play mode for switching song is original singer's mode;If average decibel value is greater than Default decibel threshold, and the current play mode of song is original singer's mode, then the play mode for switching song is vocal accompaniment mode.This When invention is less than default decibel threshold according to the corresponding decibel value of present video information, then it is assumed that user does not sing currently Song, then switching song current play mode is original singer's mode, and user is allowed to sing the original for for a long time carrying out listening attentively to song in Karaoke It sings, and is learnt;When user sings again, when corresponding decibel value is obtained by calculation greater than default decibel threshold, then Indicate that user re-starts singing, then switching the current play mode of song is vocal accompaniment mode, solves existing Karaoke system Original singer's mode/vocal accompaniment mode that manual switching song is needed in system has that operation is cumbersome.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in other relevant technical fields, similarly It is included within the scope of the present invention.

Claims (10)

1. the method for singing intelligently is led in a kind of Karaoke based on audio-frequency information, which comprises the following steps:
S1: the audio-frequency information of real-time reception audio collection device acquisition, and save it in caching;
S2: obtaining the audio-frequency information of acquisition from caching, calculates the corresponding average decibel value of the audio-frequency information in preset time;
S3: if the average decibel value is less than default decibel threshold, and the current play mode of song is vocal accompaniment mode, then switches The play mode of song is original singer's mode;If average decibel value is greater than default decibel threshold, and the current play mode of song is Original singer's mode, then the play mode for switching song is vocal accompaniment mode.
2. the method for singing intelligently is led in a kind of Karaoke based on audio-frequency information according to claim 1, which is characterized in that described S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio-frequency information, it will First audio-frequency information parses to obtain the audio data of a frame or more;According to audio data more than a frame, multiple decibel values are obtained;
The average value for calculating corresponding all decibel values in the time obtains average decibel value.
3. the method for singing intelligently is led in a kind of Karaoke based on audio-frequency information according to claim 1, which is characterized in that described S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio-frequency information, it will First audio-frequency information carries out A/D conversion, obtains the discrete value of multiple voltage signals;According to the discrete value of voltage signal, by pre- If formula obtains output valve;
The average value of corresponding all output valves in the time is calculated, the as described average decibel value.
4. the method for singing intelligently is led in a kind of Karaoke based on audio-frequency information according to claim 3, which is characterized in that described Formula are as follows:
Y=20*log10(x/65535.0);
Wherein, the x is the discrete value of voltage signal, and y is output valve.
5. the method for singing intelligently is led in a kind of Karaoke based on audio-frequency information according to claim 1, which is characterized in that described S1 specifically:
Audio collection device is obtained by set-top box to preset the audio data for the PCM format that sample rate collects, and audio number According in the caching for being stored in set-top box.
6. the system of singing intelligently is led in a kind of Karaoke based on audio-frequency information, including memory, processor and storage are on a memory And the computer program that can be run on a processor, which is characterized in that the processor is realized when executing the computer program Following steps:
S1: the audio-frequency information of real-time reception audio collection device acquisition, and save it in caching;
S2: obtaining the audio-frequency information of acquisition from caching, calculates the corresponding average decibel value of the audio-frequency information in preset time;
S3: if the average decibel value is less than default decibel threshold, and the current play mode of song is vocal accompaniment mode, then switches The play mode of song is original singer's mode;If average decibel value is greater than default decibel threshold, and the current play mode of song is Original singer's mode, then the play mode for switching song is vocal accompaniment mode.
7. the system of singing intelligently is led in a kind of Karaoke based on audio-frequency information according to claim 6, which is characterized in that described S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio-frequency information, it will First audio-frequency information parses to obtain the audio data of a frame or more;According to audio data more than a frame, multiple decibel values are obtained;
The average value for calculating corresponding all decibel values in the time obtains average decibel value.
8. the system of singing intelligently is led in a kind of Karaoke based on audio-frequency information according to claim 6, which is characterized in that described S2 specifically:
It obtains the audio-frequency information saved within the time in the buffer in real time within a preset time, obtains the first audio-frequency information, it will First audio-frequency information carries out A/D conversion, obtains the discrete value of multiple voltage signals;According to the discrete value of voltage signal, by pre- If formula obtains output valve;
The average value of corresponding all output valves in the time is calculated, the as described average decibel value.
9. the system of singing intelligently is led in a kind of Karaoke based on audio-frequency information according to claim 8, which is characterized in that described Formula are as follows:
Y=20*log10(x/65535.0);
Wherein, the x is the discrete value of voltage signal, and y is output valve.
10. the system of singing intelligently is led in a kind of Karaoke based on audio-frequency information according to claim 6, which is characterized in that institute State S1 specifically:
Audio collection device is obtained by set-top box to preset the audio data for the PCM format that sample rate collects, and audio number According in the caching for being stored in set-top box.
CN201811381381.7A 2018-11-20 2018-11-20 A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system Pending CN109410902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811381381.7A CN109410902A (en) 2018-11-20 2018-11-20 A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811381381.7A CN109410902A (en) 2018-11-20 2018-11-20 A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system

Publications (1)

Publication Number Publication Date
CN109410902A true CN109410902A (en) 2019-03-01

Family

ID=65474253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811381381.7A Pending CN109410902A (en) 2018-11-20 2018-11-20 A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system

Country Status (1)

Country Link
CN (1) CN109410902A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200944303Y (en) * 2006-07-28 2007-09-05 福州星网视易信息系统有限公司 Karaoke original accompaniment control device
CN103259931A (en) * 2013-04-25 2013-08-21 广东欧珀移动通信有限公司 Switching method and device based on singing mode of mobile-phone music player
WO2016026427A1 (en) * 2014-08-21 2016-02-25 深圳市比巴科技有限公司 Karaoke realization method and system
CN106024033A (en) * 2016-06-15 2016-10-12 北京小米移动软件有限公司 Playing control method and apparatus
CN107093419A (en) * 2016-02-17 2017-08-25 广州酷狗计算机科技有限公司 A kind of dynamic vocal accompaniment method and apparatus
CN108461086A (en) * 2016-12-13 2018-08-28 北京唱吧科技股份有限公司 A kind of real-time switching method and apparatus of audio

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN200944303Y (en) * 2006-07-28 2007-09-05 福州星网视易信息系统有限公司 Karaoke original accompaniment control device
CN103259931A (en) * 2013-04-25 2013-08-21 广东欧珀移动通信有限公司 Switching method and device based on singing mode of mobile-phone music player
WO2016026427A1 (en) * 2014-08-21 2016-02-25 深圳市比巴科技有限公司 Karaoke realization method and system
CN107093419A (en) * 2016-02-17 2017-08-25 广州酷狗计算机科技有限公司 A kind of dynamic vocal accompaniment method and apparatus
CN106024033A (en) * 2016-06-15 2016-10-12 北京小米移动软件有限公司 Playing control method and apparatus
CN108461086A (en) * 2016-12-13 2018-08-28 北京唱吧科技股份有限公司 A kind of real-time switching method and apparatus of audio

Similar Documents

Publication Publication Date Title
US10789290B2 (en) Audio data processing method and apparatus, and computer storage medium
CN104080024B (en) Volume leveller controller and control method and audio classifiers
CN106898340B (en) Song synthesis method and terminal
KR101669302B1 (en) Control device
CN104079247B (en) Balanced device controller and control method and audio reproducing system
CN105074822B (en) Device and method for audio classification and processing
CN103440862B (en) A kind of method of voice and music synthesis, device and equipment
Cuesta et al. Analysis of intonation in unison choir singing
US20090307594A1 (en) Adaptive User Interface
CN107799126A (en) Sound end detecting method and device based on Supervised machine learning
CN108847215B (en) Method and device for voice synthesis based on user timbre
WO2020155490A1 (en) Method and apparatus for managing music based on speech analysis, and computer device
CN110992932B (en) Self-learning voice control method, system and storage medium
CN102790933A (en) Audio system and method using adaptive intelligence to distinguish information content of audio signals and to control signal processing function
CN111785238B (en) Audio calibration method, device and storage medium
US20140129235A1 (en) Audio tracker apparatus
CN101667422A (en) Method and device for adjusting mode of song accompaniment
CN102982792A (en) Method using mobile phone to tune musical instrument and device using mobile phone to tune musical instrument
CN101166317A (en) A method and corresponding device for providing mobile equipment with sound mixing function
WO2023207472A1 (en) Audio synthesis method, electronic device and readable storage medium
CN110853606A (en) Sound effect configuration method and device and computer readable storage medium
CN113271386B (en) Howling detection method and device, storage medium and electronic equipment
CN105632523B (en) Adjust the method and apparatus and terminal of the volume output valve of audio data
CN109410902A (en) A kind of Karaoke based on audio-frequency information, which is intelligently led, sings method and system
KR20180012397A (en) Management system and method for digital sound source, device and method of playing digital sound source

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190301