CN109040904A - The audio frequency playing method and device of intelligent sound box - Google Patents
The audio frequency playing method and device of intelligent sound box Download PDFInfo
- Publication number
- CN109040904A CN109040904A CN201811288179.XA CN201811288179A CN109040904A CN 109040904 A CN109040904 A CN 109040904A CN 201811288179 A CN201811288179 A CN 201811288179A CN 109040904 A CN109040904 A CN 109040904A
- Authority
- CN
- China
- Prior art keywords
- audio
- speaker
- default
- playing
- default speaker
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/20—Arrangements for obtaining desired frequency or directional characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/04—Circuits for transducers, loudspeakers or microphones for correcting frequency response
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
Abstract
The embodiment of the invention discloses a kind of audio frequency playing method of intelligent sound box and devices, it is related to intelligent terminal technical field, main purpose is to solve intelligent sound box mode when being played simultaneously in the prior art and needs manpower intervention, relatively complicated, convenience poor problem when audio being caused to play.Main technical schemes of the embodiment of the present invention are as follows: obtain audio-frequency information, and noise reduction process is carried out to the audio-frequency information, and detect in the audio-frequency information after noise reduction with the presence or absence of preset audio;If so, synchronizing operation with the default speaker for playing the preset audio;Identical audio is played simultaneously with the default speaker.The embodiment of the present invention is mainly used for the audio playing process of intelligent sound box.
Description
Technical field
The present embodiments relate to the methods that intelligent terminal technical field more particularly to a kind of audio of intelligent sound box play
And device.
Background technique
With the continuous progress of technology, smart machine is gradually popularized.Especially intelligent sound box, can be with intelligent hand
A variety of smart machines such as machine, tablet computer connect and carry out the broadcasting of audio, while it has many advantages, such as compact, light wide
Liked by user.Under normal conditions, in order to obtain better audio output effect, general user can by multiple speakers into
Row synchronism output, so that the result of broadcast for being equivalent to three-dimensional sound is obtained, to improve sensory experience.
Currently, in order to obtain preferable result of broadcast, being needed artificial when carrying out audio broadcasting by intelligent sound box
Multiple speakers are subjected to networking, and control is played out to other speakers accessed in the network by main sound box, to realize
Multitone case synchronizes the effect of broadcasting.However, in practical applications, existing intelligent sound box broadcast mode is relatively complicated, need
Manpower intervention is wanted, causes the existing audio broadcast mode convenience based on intelligent sound box poor.
Summary of the invention
In view of this, the embodiment of the present invention provides the audio frequency playing method and device of a kind of intelligent sound box, main purpose exists
In solving existing intelligent sound box to carry out multitone case synchronously playing audio frequency mode relatively complicated, there are playing process convenience compared with
The problem of difference.
In order to achieve the above object, the embodiment of the present invention mainly provides the following technical solutions:
In a first aspect, the embodiment of the invention provides a kind of audio frequency playing methods of intelligent sound box, this method comprises:
Audio-frequency information is obtained, and noise reduction process is carried out to the audio-frequency information, and detect in the audio-frequency information after noise reduction and be
It is no that there are preset audios;
If so, synchronizing operation with the default speaker for playing the preset audio;
Identical audio is played simultaneously with the default speaker.
Optionally, before the default speaker with the broadcasting preset audio synchronizes operation, the method is also
Include:
Judge in current network with the presence or absence of the default speaker;
It is described to synchronize operation with default speaker that is playing the preset audio, comprising:
If detecting the presence of the default speaker, operation is synchronized with the default speaker.
Optionally, include: with the presence or absence of the default speaker in the judgement current network
The network information of the wifi network currently accessed is read, and is judged in the wifi network with the presence or absence of preset type
Number speaker;
If so, determining that the speaker of the default model is the default speaker.
Optionally, described to play identical audio simultaneously with the default speaker and include:
Acquire the audio fragment that default speaker plays;
According to position of the audio fragment in the default speaker audio being played on, determines and play starting point;
Identical audio is played simultaneously according to the broadcasting starting point and the default speaker.
Second aspect, the embodiment of the invention also provides a kind of audio playing apparatus of intelligent sound box, which includes:
Detection unit carries out noise reduction process for obtaining audio-frequency information, and to the audio-frequency information, and after detecting noise reduction
It whether there is preset audio in audio-frequency information;
Synchronization unit, it is default with the broadcasting preset audio if there are preset audios in external environment for detecting
Speaker synchronizes operation;
Broadcast unit, for playing identical audio simultaneously with the default speaker.
Optionally, described device further include:
Judging unit, for judging in current network with the presence or absence of the default speaker;
The synchronization unit synchronizes if being also used to detect the presence of the default speaker with the default speaker
Operation.
Optionally, the judging unit includes:
Judgment module for reading the network information of the wifi network currently accessed, and judges in the wifi network
With the presence or absence of the speaker of default model;
Determining module, if the speaker for judging to have default model in the wifi network, it is determined that the preset type
Number speaker be the default speaker.
Optionally, the broadcast unit, comprising:
Acquisition module, the audio fragment played for acquiring default speaker;
Determining module, for the position according to the audio fragment in the default speaker audio being played on, really
Surely starting point is played;
Playing module, for playing identical audio simultaneously according to the broadcasting starting point and the default speaker.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, at least one processor;
And at least one processor, the bus being connected to the processor;Wherein,
The processor, memory complete mutual communication by the bus;
The processor is used to call the program instruction in the memory, to execute described in any one of first aspect
The audio frequency playing method of intelligent sound box.
Fourth aspect, the embodiment of the present invention also provide a kind of non-transient computer readable storage medium, the non-transient meter
Calculation machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer execute any one of first aspect
The audio frequency playing method of the intelligent sound box.
The audio frequency playing method and device of a kind of intelligent sound box provided in an embodiment of the present invention, with intelligent sound in the prior art
Case needs manpower intervention, there is a problem of that audio broadcast mode convenience is poor and compare that process is played simultaneously is relatively complicated, this
Inventive embodiments can carry out noise reduction process by obtaining audio-frequency information, and to the audio-frequency information, and detect the sound after noise reduction
It whether there is preset audio in frequency information, and when detecting preset audio, carried out with the default speaker for playing preset audio same
Step operation, finally, play identical audio simultaneously with the default speaker, thus realize intelligent sound box automatically with default speaker
The function being played simultaneously of carrying out audio simplifies the step of multitone case cooperates with when playing audio, then without artificial intervention
Improve the convenience of the audio playing process of intelligent sound box.
Above description is only the general introduction of technical solution of the embodiment of the present invention, in order to better understand the embodiment of the present invention
Technological means, and can be implemented in accordance with the contents of the specification, and in order to allow above and other mesh of the embodiment of the present invention
, feature and advantage can be more clearly understood, the special specific embodiment for lifting the embodiment of the present invention below.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
The limitation of embodiment.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of audio frequency playing method flow chart of intelligent sound box provided in an embodiment of the present invention;
Fig. 2 shows the audio frequency playing method flow charts of another intelligent sound box provided in an embodiment of the present invention;
Fig. 3 shows a kind of composition block diagram of the audio playing apparatus of intelligent sound box provided in an embodiment of the present invention;
Fig. 4 shows the composition block diagram of the audio playing apparatus of another intelligent sound box provided in an embodiment of the present invention;
Fig. 5 shows the structural block diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
It is fully disclosed to those skilled in the art.
The embodiment of the present invention provides a kind of audio frequency playing method of intelligent sound box, as shown in Figure 1, which comprises
101, audio-frequency information is obtained, noise reduction process is carried out to the audio-frequency information, and detect in the audio-frequency information after noise reduction
With the presence or absence of preset audio.
Collaboration in order to make intelligent sound box carry out audio automatically plays, in embodiments of the present invention, it is necessary first to intelligence
Can speaker extraneous environment is detected, to judge in current external environment with the presence or absence of audio, i.e., the described audio-frequency information,
It is wherein formed after audio-frequency information may be the different audio superpositions issued from multiple and different sound sources, in order to improve the present invention
The accuracy being played simultaneously in the elecscreen playing process of intelligent sound box described in embodiment is also needed in this step to current institute
The audio of acquisition carries out noise reduction process, so that other meaningless audios are filtered, so that accurate audio is obtained,
And the audio-frequency information after noise reduction is detected, determine whether that there are preset audios, wherein in embodiments of the present invention,
The preset audio can may be any number of audio fragment for any audio, preset audios such as music, songs, herein simultaneously
Specific restriction is not done, can voluntarily be chosen according to the needs of users, and the audio filtered simultaneously for noise reduction process then can be with
For other audios except preset audio.
For example, when user has chosen the segment 1 in A music, then the method according to this step, when intelligent sound box is opened
Qi Hou, the audio that can be played first to default speaker obtain, and the audio that then will acquire is detected, and determines that it is
The no segment 1 for A music.
It should be noted that in embodiments of the present invention, judging whether there is the default sound in carrying out external environment
When frequency, judgment mode can be carried out according to existing any audio detection mode, for example, can be by broadcasting to default speaker
The audio frequency characteristics put extract, and compare with the audio frequency characteristics of the preset audio, herein not for judgment mode
Specific restriction is done, can be chosen according to actual needs.
If 102, detecting in external environment, there are preset audios, carry out with the default speaker for playing the preset audio same
Step operation.
According to the method for abovementioned steps 101, through detecting, the preset audio is implicitly present in external environment when detecting
When, then illustrate the extraneous audio for existing and playing, therefore, it is necessary to the speaker that plays the audio, i.e., the described default speaker carries out same
Step operation, to realize the collaboration result of broadcast of multitone case.Wherein, in the mode and the existing method of synchronization one for synchronizing operation
It causes, is communicated to connect for example, can will be established with default speaker, it is after confirmation communication connection is successfully established, then true with default speaker
Surely broadcasting configuration when audio, such as audio broadcast sound volume are played, to complete the simultaneously operating with default speaker.Specifically,
The establishment process of communication connection can be carried out by any mode, and details are not described herein.
Specifically, during synchronizing operation, it can be by being scanned to audio playback sources, and establish therewith
Connection relationship.Or according to network settings, judge with the presence or absence of default speaker in current network, so that it is guaranteed that the standard of simultaneously operating
True property.
103, identical audio is played simultaneously with the default speaker.
In embodiments of the present invention, after the simultaneously operating of abovementioned steps 102, illustrate to have had been provided with and default speaker
The function being played simultaneously then can preset speaker with this and play identical audio simultaneously according to the method described in this step.Its
In, the audio that should be played simultaneously with default speaker can be such as any audio of music, song, it is not limited here.
For example, when the preset audio, being respectively two parts of song A with the audio that default speaker plays simultaneously, in this way,
The method of 101-103 described in the embodiment of the present invention, then be specifically as follows;When detect in external environment there are song A certain
When segment and preset audio, then current speaker 1 and the speaker 2 for playing song can be synchronized, and synchronously completing
Afterwards, speaker 1 and speaker 2 continue to play the remaining segment of song A, i.e., the audio played simultaneously with default speaker.
The audio frequency playing method of a kind of intelligent sound box provided in an embodiment of the present invention, with intelligent sound box in the prior art same
It is relatively complicated to walk playing process, needs manpower intervention, there is a problem of that audio broadcast mode convenience is poor and compare, the present invention is real
Noise reduction process can be carried out by obtaining audio-frequency information, and to the audio-frequency information by applying example, and detect the audio-frequency information after noise reduction
In whether there is preset audio, and when detecting preset audio, synchronize operation with the default speaker for playing preset audio,
Finally, identical audio is played simultaneously with the default speaker, so that realizing intelligent sound box carries out sound with default speaker automatically
The function of frequency being played simultaneously simplifies the step of multitone case cooperates with when playing audio, then improves without artificial intervention
The convenience of the audio playing process of intelligent sound box.
Below in order to be explained in more detail, the embodiment of the invention provides the audio broadcasting sides of another intelligent sound box
Method, it is specific as shown in Fig. 2, this method comprises:
201, audio-frequency information is obtained, and noise reduction process is carried out to the audio-frequency information, and detect the audio-frequency information after noise reduction
In whether there is preset audio.
Wherein, the preset audio can be the second song with the first song, the audio played simultaneously with default speaker.
In embodiments of the present invention, first song, the second song can be two segments in same song, or two
Different songs does not represent sequencing here, the description for first, second is only used as differentiation.
In audio playing process in order to realize intelligent sound box, the multitone case collaboration that can be realized automation is played, at this
In inventive embodiments, external environment can be detected according to the method for this step, also, in embodiments of the present invention,
The subject of implementation of method can be a certain intelligent sound box.
Specifically, this step can be with when carrying out detection external environment are as follows:
Firstly, obtaining audio-frequency information from external environment, which can be to contain background audio, noise etc. entirely
The audio of portion's sound.Here, for the acquisition modes of audio-frequency information, can by the microphone that is arranged in current intelligent sound box into
Row obtains.
Then, judge in the audio-frequency information with the presence or absence of first song.Specifically, in the process judged
In, it can be compared by audio pre-stored in intelligent sound box, be confirmed whether it is the first song.Alternatively, can also lead to
The function of surfing the Net for crossing intelligent sound box setting whether there is the first song from detecting in network in present video.Here, for sentencing
Disconnected mode and foundation do not do specific restriction, can be selected with actual demand.
As a result, by obtaining audio-frequency information from external environment, and judge in the audio-frequency information with the presence or absence of described the
One song can be realized the real-time detection played to default speaker, so as to ensure in the external world there are when song, at the first time
It is detected and is judged, thus the real-time that the audio for improving intelligent sound box on the whole plays.
If 202, detecting in external environment there are preset audio, judge in current network with the presence or absence of the default sound
Case.
When having been had been detected by external environment in abovementioned steps 201 there are when the first song, then illustrate intelligent sound box
Outside needs to carry out being played simultaneously for song there are song.Here, in order to ensure the accuracy being played simultaneously, it is also necessary to according to
Method described in this step judges the network where current intelligent sound box, has determined whether default speaker.
Wherein, current network can be wifi network, the principle based on wifi network, the equipment in same wifi network
It can find and identify mutually, therefore, when the smart machine in the embodiment of the present invention is integrated into the speaker of the first song of broadcasting
When the wifi network at place, then it can be detected by reading the network information in wifi network in current network with the presence or absence of pre-
If speaker.Meanwhile it can also be carried out in embodiments of the present invention by the model to speaker pre- for the ease of the identification of equipment room
If the identification of speaker, so that it is guaranteed that identification process can also be simplified while accuracy when subsequent synchronizing operation.Specifically, this step
It is rapid then may include: firstly, reading the network information of wifi network currently accessed.Then, judge in the wifi network
With the presence or absence of the speaker of default model.If finally judging the speaker that there is default model in the wifi network, it is determined that described
The speaker of default model is the default speaker.
It, can be in the net that intelligent sound box is accessed as a result, by judging with the presence or absence of the default speaker in current network
In network, the identification to default speaker is realized, and avoid when non-network interior speaker plays music or song, to intelligent sound box
Interference, the problem of then avoiding the timing error being likely to occur improves the accuracy that the audio of intelligent sound box plays.Into
One step, by reading the network information of the wifi network currently accessed, and judge in the wifi network with the presence or absence of pre-
If the speaker of model, when determining the speaker that there is default model in wifi network, it is determined that the speaker of the default model is
The default speaker, so as in using the network information of wifi network as current network with the presence or absence of the judgement of default speaker
Foundation improves the accuracy of judging result, and realizes the judgement that default speaker is carried out with device model, simplified to obtain judgement
Process improves convenience.
If 203, detecting the presence of the default speaker, operation is synchronized with the default speaker.
In the embodiment of the present invention, for the description in step 102 in the mode and process, with previous embodiment of simultaneously operating
Unanimously, details are not described herein.
204, identical audio is played simultaneously with the default speaker.
In embodiments of the present invention, since durings abovementioned steps are judged, synchronized etc., default speaker is still continuing
The broadcasting for carrying out audio therefore, can also be according to the side of this step in order to further improve the accuracy of synchronously playing audio frequency
Method: firstly, acquiring the audio fragment that default speaker plays.Then, it is being broadcast according to the audio fragment in the default speaker
The position in audio put, and determine and play starting point.Finally, being played simultaneously according to the broadcasting starting point and the default speaker
Identical audio.
When as a result, by being a kind of broadcastings audio of default speaker, according to the audio fragment for acquiring default speaker broadcasting, and
It according to position of the audio fragment in the default speaker audio being played on, determines and plays starting point, then root again
Identical audio is played simultaneously according to the broadcasting starting point and the default speaker, it can be ensured that current intelligent sound box and default sound
Case plays song in real time and carries out real-time synchronous adjustment, ensures that current intelligent sound box is synchronous with the holding of default speaker
The accuracy of the effect of broadcasting.
Further, as the realization to method shown in above-mentioned Fig. 1, Fig. 2, the embodiment of the invention provides a kind of intelligent sounds
The audio playing apparatus of case.The Installation practice is corresponding with preceding method embodiment, and to be easy to read, present apparatus embodiment is no longer
Detail content in preceding method embodiment is repeated one by one, it should be understood that the device in the present embodiment can correspond to
Realize the full content in preceding method embodiment.Specifically as shown in figure 3, the device includes:
Detection unit 31 can be used for obtaining audio-frequency information, and carry out noise reduction process to the audio-frequency information, and detect drop
It whether there is preset audio in audio-frequency information after making an uproar;
Synchronization unit 32, if can be used in the detection external environment of detection unit 31, there are preset audios, with broadcasting institute
The default speaker for stating preset audio synchronizes operation;
Broadcast unit 33 can be used for playing simultaneously with the default speaker identical after the synchronization unit 32 synchronizes
Audio.
Further, as shown in figure 4, described device further include:
Judging unit 34 can be used for judging in current network with the presence or absence of the default speaker;
The synchronization unit 32, it is and described if can be also used for judging unit 34 detects the presence of the default speaker
Default speaker synchronizes operation.
Further, as shown in figure 4, the judging unit 34 includes:
Judgment module 341, can be used for reading the network information of the wifi network currently accessed, and judge the wifi
With the presence or absence of the speaker of default model in network;
Determining module 342, if can be used for judgment module 341 judges the sound that there is default model in the wifi network
Case, it is determined that the speaker of the default model is the default speaker.
Further, as shown in figure 4, the broadcast unit 33, comprising:
Acquisition module 331 can be used for acquiring the audio fragment that default speaker plays;
Determining module 332, can be used for according to the acquisition module 331 acquire audio fragment the default speaker just
Position in the audio of broadcasting determines and plays starting point;
Playing module 333, the broadcasting starting point and the default speaker that can be used for being determined according to the determining module 332 are same
When play identical audio.
The audio playing apparatus for the intelligent sound box introduced by the present embodiment is that can execute in the embodiment of the present invention
The device of the audio frequency playing method of intelligent sound box, so the audio based on intelligent sound box described in the embodiment of the present invention plays
Method, those skilled in the art can understand the specific embodiment of the audio playing apparatus of the intelligent sound box of the present embodiment
And its various change form, so how to be realized in the embodiment of the present invention at this for the audio playing apparatus of the intelligent sound box
The audio frequency playing method of intelligent sound box be no longer discussed in detail.As long as those skilled in the art implement in the embodiment of the present invention
Device used by the audio frequency playing method of intelligent sound box belongs to the range to be protected of the application.
The audio frequency playing method and device of a kind of intelligent sound box provided in an embodiment of the present invention, with intelligent sound in the prior art
Case needs manpower intervention, there is a problem of that audio broadcast mode convenience is poor and compare that process is played simultaneously is relatively complicated, this
Inventive embodiments can carry out noise reduction process by obtaining audio-frequency information, and to the audio-frequency information, and detect the sound after noise reduction
It whether there is preset audio in frequency information, and when detecting preset audio, carried out with the default speaker for playing preset audio same
Step operation, finally, play identical audio simultaneously with the default speaker, thus realize intelligent sound box automatically with default speaker
The function being played simultaneously of carrying out audio simplifies the step of multitone case cooperates with when playing audio, then without artificial intervention
Improve the convenience of the audio playing process of intelligent sound box.
Meanwhile by obtaining audio-frequency information from external environment, and judge in the audio-frequency information with the presence or absence of described the
One song can be realized the real-time detection played to default speaker, so as to ensure in the external world there are when song, at the first time
It is detected and is judged, thus the real-time that the audio for improving intelligent sound box on the whole plays.In addition, by judging current net
It whether there is the default speaker in network, can realize the identification to default speaker in the network that intelligent sound box is accessed, and
And avoid the interference when non-network interior speaker plays music or song, to intelligent sound box, it then avoids and is likely to occur
The problem of timing error, improves the accuracy that the audio of intelligent sound box plays.Further, it is currently accessed by reading
The network information of wifi network, and judge in the wifi network with the presence or absence of the speaker of default model, when determining wifi network
When the middle speaker that there is default model, it is determined that the speaker of the default model is the default speaker, so as to wifi
The network information of network improves the accurate of judging result as the judgment basis that whether there is default speaker in current network
Property, and realize the judgement that default speaker is carried out with device model, and it is simplified to obtain deterministic process, improve convenience.
When further, by being a kind of broadcastings audio of default speaker, according to the audio piece for acquiring default speaker broadcasting
Section, and the position according to the audio fragment in the default speaker audio being played on determine and play starting point, then
Identical audio is played simultaneously further according to the broadcasting starting point and the default speaker, it can be ensured that current intelligent sound box and pre-
If speaker plays song in real time and carries out real-time synchronous adjustment, ensure that current intelligent sound box and default speaker are kept
The accuracy for the effect being played simultaneously.
The audio playing apparatus of the intelligent sound box includes processor and memory, above-mentioned detection unit, synchronization unit and
Broadcast unit etc. stores in memory as program unit, executes above procedure list stored in memory by processor
Member realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one
Or more, by adjusting kernel parameter come solve existing intelligent sound box carry out multitone case synchronously playing audio frequency mode compared with
Be it is cumbersome, there is a problem of that playing process convenience is poor.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited
Store up chip.
The embodiment of the invention provides a kind of non-transient computer readable storage medium, the non-transient computer is readable to be deposited
Storage media stores computer instruction, and the computer instruction makes the computer execute intelligent sound box described in above-described embodiment
Audio frequency playing method.
The embodiment of the invention provides a kind of electronic equipment, as shown in Figure 5, comprising:
At least one processor 41;
And at least one processor 42, the bus 43 being connect with the processor 41;Wherein,
The processor 41, memory 42 complete mutual communication by the bus 43;
The processor 41 is used to call the program instruction in the memory 42, to execute following steps:
Audio-frequency information is obtained, and noise reduction process is carried out to the audio-frequency information, and detect in the audio-frequency information after noise reduction and be
It is no that there are preset audios;
If so, synchronizing operation with the default speaker for playing the preset audio;
Identical audio is played simultaneously with the default speaker.
Further, before the default speaker with the broadcasting preset audio synchronizes operation, the method
Further include:
Judge in current network with the presence or absence of the default speaker;
It is described to synchronize operation with default speaker that is playing the preset audio, comprising:
If detecting the presence of the default speaker, operation is synchronized with the default speaker.
Further, include: with the presence or absence of the default speaker in the judgement current network
The network information of the wifi network currently accessed is read, and is judged in the wifi network with the presence or absence of preset type
Number speaker;
If so, determining that the speaker of the default model is the default speaker.
Further, described to play identical audio simultaneously with the default speaker and include:
Acquire the audio fragment that default speaker plays;
According to position of the audio fragment in the default speaker audio being played on, determines and play starting point;
Identical audio is played simultaneously according to the broadcasting starting point and the default speaker.
Electronic equipment in the embodiment of the present invention can be PC, server etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just
The program code of beginningization there are as below methods step: audio-frequency information is obtained, and noise reduction process is carried out to the audio-frequency information, and detect
It whether there is preset audio in audio-frequency information after noise reduction;If so, being carried out with the default speaker for playing the preset audio same
Step operation;Identical audio is played simultaneously with the default speaker.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (10)
1. a kind of audio frequency playing method of intelligent sound box characterized by comprising
Audio-frequency information is obtained, and noise reduction process is carried out to the audio-frequency information, and detect in the audio-frequency information after noise reduction and whether deposit
In preset audio;
If so, synchronizing operation with the default speaker for playing the preset audio;
Identical audio is played simultaneously with the default speaker.
2. the method according to claim 1, wherein it is described with play the default speaker of the preset audio into
Before row simultaneously operating, the method also includes:
Judge in current network with the presence or absence of the default speaker;
It is described to synchronize operation with default speaker that is playing the preset audio, comprising:
If detecting the presence of the default speaker, operation is synchronized with the default speaker.
3. according to the method described in claim 2, it is characterized in that, whether there is the default sound in the judgement current network
Case includes:
The network information of the wifi network currently accessed is read, and is judged in the wifi network with the presence or absence of default model
Speaker;
If so, determining that the speaker of the default model is the default speaker.
4. according to the method described in claim 3, it is characterized in that, described play identical audio with the default speaker simultaneously
Include:
Acquire the audio fragment that default speaker plays;
According to position of the audio fragment in the default speaker audio being played on, determines and play starting point;
Identical audio is played simultaneously according to the broadcasting starting point and the default speaker.
5. a kind of audio playing apparatus of intelligent sound box, which is characterized in that described device includes:
Detection unit carries out noise reduction process for obtaining audio-frequency information, and to the audio-frequency information, and detects the audio after noise reduction
It whether there is preset audio in information;
Synchronization unit, if there are preset audios in external environment for detecting, with the default speaker for playing the preset audio
Synchronize operation;
Broadcast unit, for playing identical audio simultaneously with the default speaker.
6. device according to claim 5, which is characterized in that described device further include:
Judging unit, for judging in current network with the presence or absence of the default speaker;
The synchronization unit synchronizes operation with the default speaker if being also used to detect the presence of the default speaker.
7. device according to claim 6, which is characterized in that the judging unit includes:
Judgment module, for reading the network information of the wifi network currently accessed, and judge in the wifi network whether
There are the speakers of default model;
Determining module, if the speaker for judging to have default model in the wifi network, it is determined that the default model
Speaker is the default speaker.
8. device according to claim 7, which is characterized in that the broadcast unit, comprising:
Acquisition module, the audio fragment played for acquiring default speaker;
Determining module, for the position according to the audio fragment in the default speaker audio being played on, determination is broadcast
Put starting point;
Playing module, for playing identical audio simultaneously according to the broadcasting starting point and the default speaker.
9. a kind of electronic equipment characterized by comprising
At least one processor;
And at least one processor, the bus being connected to the processor;Wherein,
The processor, memory complete mutual communication by the bus;
The processor is used to call the program instruction in the memory, any into claim 4 with perform claim requirement 1
The audio frequency playing method of intelligent sound box described in.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Store up computer instruction, the computer instruction requires the computer perform claim 1 to described in any one of claim 4
The audio frequency playing method of intelligent sound box.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811288179.XA CN109040904B (en) | 2018-10-31 | 2018-10-31 | Audio playing method and device of intelligent sound box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811288179.XA CN109040904B (en) | 2018-10-31 | 2018-10-31 | Audio playing method and device of intelligent sound box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109040904A true CN109040904A (en) | 2018-12-18 |
CN109040904B CN109040904B (en) | 2020-06-16 |
Family
ID=64614604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811288179.XA Active CN109040904B (en) | 2018-10-31 | 2018-10-31 | Audio playing method and device of intelligent sound box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109040904B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110933617A (en) * | 2019-11-27 | 2020-03-27 | 展讯通信(上海)有限公司 | WIFI audio data sending method and device and computer-readable storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916735A (en) * | 2012-12-31 | 2014-07-09 | 广州励丰文化科技股份有限公司 | Remote control method for intelligent noise reduction active speaker |
CN203872353U (en) * | 2014-02-12 | 2014-10-08 | 深圳市日上光电股份有限公司 | Wireless sound device control system |
CN104135704A (en) * | 2014-07-11 | 2014-11-05 | 黄天旭 | Sound box networking method and sound box network |
CN105208514A (en) * | 2015-09-07 | 2015-12-30 | 惠州Tcl移动通信有限公司 | Slave equipment and master and slave equipment automatic matching system and method |
CN105262516A (en) * | 2015-09-07 | 2016-01-20 | 惠州Tcl移动通信有限公司 | Slave device, and system and method for automatically pairing master and slave devices |
CN105374377A (en) * | 2015-10-20 | 2016-03-02 | 北京小鸟听听科技有限公司 | Control method, control system, and loudspeaker box of multiroom audio playing |
CN106601273A (en) * | 2016-12-30 | 2017-04-26 | 杭州士兰微电子股份有限公司 | Audio playing system and audio playing method |
CN106653068A (en) * | 2016-10-08 | 2017-05-10 | 广东欧珀移动通信有限公司 | Audio data playing method, device and terminal |
CN107134286A (en) * | 2017-05-15 | 2017-09-05 | 深圳米唐科技有限公司 | ANTENNAUDIO player method, music player and storage medium based on interactive voice |
CN107609034A (en) * | 2017-08-09 | 2018-01-19 | 深圳市汉普电子技术开发有限公司 | A kind of audio frequency playing method of intelligent sound box, audio playing apparatus and storage medium |
US9928728B2 (en) * | 2014-05-09 | 2018-03-27 | Sony Interactive Entertainment Inc. | Scheme for embedding a control signal in an audio signal using pseudo white noise |
CN107861705A (en) * | 2016-12-21 | 2018-03-30 | 深圳中盛智兴科技有限公司 | Intelligent main equipment and smart slave device, audio-frequency inputting method and system |
CN108090140A (en) * | 2017-12-04 | 2018-05-29 | 维沃移动通信有限公司 | A kind of playback of songs method and mobile terminal |
US20180234765A1 (en) * | 2017-02-15 | 2018-08-16 | Amazon Technologies, Inc. | Selection of master device for synchronized audio |
-
2018
- 2018-10-31 CN CN201811288179.XA patent/CN109040904B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916735A (en) * | 2012-12-31 | 2014-07-09 | 广州励丰文化科技股份有限公司 | Remote control method for intelligent noise reduction active speaker |
CN203872353U (en) * | 2014-02-12 | 2014-10-08 | 深圳市日上光电股份有限公司 | Wireless sound device control system |
US9928728B2 (en) * | 2014-05-09 | 2018-03-27 | Sony Interactive Entertainment Inc. | Scheme for embedding a control signal in an audio signal using pseudo white noise |
CN104135704A (en) * | 2014-07-11 | 2014-11-05 | 黄天旭 | Sound box networking method and sound box network |
CN105208514A (en) * | 2015-09-07 | 2015-12-30 | 惠州Tcl移动通信有限公司 | Slave equipment and master and slave equipment automatic matching system and method |
CN105262516A (en) * | 2015-09-07 | 2016-01-20 | 惠州Tcl移动通信有限公司 | Slave device, and system and method for automatically pairing master and slave devices |
CN105374377A (en) * | 2015-10-20 | 2016-03-02 | 北京小鸟听听科技有限公司 | Control method, control system, and loudspeaker box of multiroom audio playing |
CN106653068A (en) * | 2016-10-08 | 2017-05-10 | 广东欧珀移动通信有限公司 | Audio data playing method, device and terminal |
CN107861705A (en) * | 2016-12-21 | 2018-03-30 | 深圳中盛智兴科技有限公司 | Intelligent main equipment and smart slave device, audio-frequency inputting method and system |
CN106601273A (en) * | 2016-12-30 | 2017-04-26 | 杭州士兰微电子股份有限公司 | Audio playing system and audio playing method |
US20180234765A1 (en) * | 2017-02-15 | 2018-08-16 | Amazon Technologies, Inc. | Selection of master device for synchronized audio |
CN107134286A (en) * | 2017-05-15 | 2017-09-05 | 深圳米唐科技有限公司 | ANTENNAUDIO player method, music player and storage medium based on interactive voice |
CN107609034A (en) * | 2017-08-09 | 2018-01-19 | 深圳市汉普电子技术开发有限公司 | A kind of audio frequency playing method of intelligent sound box, audio playing apparatus and storage medium |
CN108090140A (en) * | 2017-12-04 | 2018-05-29 | 维沃移动通信有限公司 | A kind of playback of songs method and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110933617A (en) * | 2019-11-27 | 2020-03-27 | 展讯通信(上海)有限公司 | WIFI audio data sending method and device and computer-readable storage medium |
CN110933617B (en) * | 2019-11-27 | 2021-09-03 | 展讯通信(上海)有限公司 | WIFI audio data sending method and device and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109040904B (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104994425B (en) | A kind of video identifier method and apparatus | |
US10003906B2 (en) | Determining and using room-optimized transfer functions | |
CN105448312B (en) | Audio sync playback method, apparatus and system | |
CN105979470B (en) | Audio-frequency processing method, device and the play system of panoramic video | |
TW202036356A (en) | Gradient boosting decision tree-based method and device for model training | |
EP2885786B1 (en) | Transforming audio content for subjective fidelity | |
CN107277594A (en) | A kind of video and audio and barrage synchronous method and device | |
CN104091607B (en) | Video editing method and device based on IOS equipment | |
CN109120997A (en) | Method for processing video frequency, device, terminal and medium | |
CN111988647A (en) | Sound and picture synchronous adjusting method, device, equipment and medium | |
CN106301482B (en) | A kind of display methods of VR device identification chip, VR equipment and virtual reality | |
CN104937919A (en) | Common event-based multidevice media playback | |
CN103905925A (en) | Method and terminal for repeatedly playing program | |
CN105766001A (en) | System and method for audio processing using arbitrary triggers | |
CN105657446B (en) | The detection method and device of bumper advertisements in a kind of video | |
CN105427874A (en) | Method and system for configuring playing parameters of Bluetooth loudspeaker box and mobile terminal | |
CN109040904A (en) | The audio frequency playing method and device of intelligent sound box | |
CN108830059A (en) | Control method, device and the electronic equipment of media interviews | |
CN109963092A (en) | A kind of processing method of subtitle, device and terminal | |
WO2014091281A1 (en) | An apparatus aligning audio signals in a shared audio scene | |
CN107613356A (en) | Media and vibrations synchronous broadcast method and device, electronic equipment and storage medium | |
CN107978318A (en) | A kind of real-time sound mixing method and device | |
EP3203468B1 (en) | Acoustic system, communication device, and program | |
CN108345443A (en) | Playback of songs method and device based on intelligent terminal | |
EP3350790B1 (en) | System and method for determining proximity of a controller to a media rendering device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |