CN105828235B - A kind of method and electronic equipment playing audio - Google Patents

A kind of method and electronic equipment playing audio Download PDF

Info

Publication number
CN105828235B
CN105828235B CN201510482087.5A CN201510482087A CN105828235B CN 105828235 B CN105828235 B CN 105828235B CN 201510482087 A CN201510482087 A CN 201510482087A CN 105828235 B CN105828235 B CN 105828235B
Authority
CN
China
Prior art keywords
audio track
track data
electronic equipment
audio
data
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.)
Active
Application number
CN201510482087.5A
Other languages
Chinese (zh)
Other versions
CN105828235A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510482087.5A priority Critical patent/CN105828235B/en
Publication of CN105828235A publication Critical patent/CN105828235A/en
Application granted granted Critical
Publication of CN105828235B publication Critical patent/CN105828235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The embodiment provides a kind of methods and electronic equipment for playing audio, wherein this method comprises: obtaining multiple audio track data of the different sound channels of audio data to be played;At least partly audio track data, the sending time of audio track data and target sound magnitude in multiple audio track data is sent at least one second electronic equipment, the second electronic equipment for getting audio track data is set to play the audio track data respectively got according to respective first volume value, first volume value is obtained according to target volume value, the multichannel that the embodiment of the present invention is able to achieve audio data plays, and forms three-dimensional result of broadcast.

Description

A kind of method and electronic equipment playing audio
Technical field
The present invention relates to electronic technology field, in particular to a kind of method and electronic equipment for playing audio.
Background technique
Put broadcasting audio file outside the electronic equipment, and only one loudspeaker when, sound can only come out from a place, It cannot achieve modelling effect, even if, since loudspeaker spacing is too small, equally cannot achieve solid in the case where there is multiple loudspeaker Feel effect.In this way when user wants the music for listening high tone quality to have stereoscopic effect, outer playing function is unable to satisfy user demand.
Summary of the invention
The embodiment provides a kind of methods and electronic equipment for playing audio, are able to achieve more sound of audio data Road plays, and forms the three-dimensional result of broadcast centered on the first electronic equipment being user-operably.
In order to achieve the above object, the embodiment provides a kind of methods for playing audio, are applied to the first electricity Sub- equipment, this method comprises:
Obtain multiple audio track data of the different sound channels of audio data to be played;
By in multiple audio track data at least partly audio track data, the sending time of audio track data and Target sound magnitude is sent at least one second electronic equipment, makes the second electronic equipment for getting audio track data according to each From the first volume value play the audio track data that respectively get, the first volume value is obtained according to target volume value.
The embodiments of the present invention also provide a kind of electronic equipment, which includes:
Obtain module, multiple audio track data of the different sound channels for obtaining audio data to be played;
First sending module, for by at least partly audio track data in multiple audio track data, audio track The sending time and target sound magnitude of data are sent at least one second electronic equipment, make to get audio track data Second electronic equipment plays the audio track data respectively got according to respective first volume value, and the first volume value is according to mesh Mark with phonetic symbols magnitude obtains.
Above scheme of the invention is include at least the following beneficial effects:
In an embodiment of the present invention, pass through multiple audio track numbers of the different sound channels of acquisition audio data to be played According to, and by least partly audio track data, the sending time and mesh of audio track data in multiple audio track data Mark with phonetic symbols magnitude is sent at least one second electronic equipment, makes the second electronic equipment for getting audio track data according to respective The first volume value play the audio track data that respectively get, wherein the first volume value is obtained according to target volume value, solution The problem of having determined when putting playing audio-fequency data outside electronic equipment and making, having cannot achieve modelling effect, has reached the more of audio data Sound channel plays, and forms the purpose of the three-dimensional result of broadcast centered on the first electronic equipment being user-operably.
Detailed description of the invention
Fig. 1 is the flow chart that the method for audio is played in first embodiment of the invention;
Fig. 2 is the flow chart that the method for audio is played in second embodiment of the invention;
Fig. 3 is the schematic diagram that the request of shared audio frequency apparatus is sent in second embodiment of the invention;
Fig. 4 is that audio track data, the sending time and mesh of audio track data are sent in second embodiment of the invention The schematic diagram of mark with phonetic symbols magnitude;
Fig. 5 is the structural schematic diagram of electronic equipment in third embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
First embodiment
As shown in Figure 1, the first embodiment of the present invention provides a kind of method for playing audio, set applied to the first electronics Standby (such as smart phone, tablet computer etc.), wherein this method comprises:
Step S11 obtains multiple audio track data of the different sound channels of audio data to be played;
In the first embodiment of the present invention, above-mentioned first electronic equipment can be smart phone, tablet computer etc..
In the first embodiment of the present invention, the first electronic equipment can be decoded by treating playing audio-fequency data, Obtain multiple audio track data (such as the left channel audio channel data, right channel of the different sound channels of audio data to be played Audio track data etc.).Wherein, it treats playing audio-fequency data and is decoded to operate and belong to for a person skilled in the art Common knowledge, therefore details are not described herein.
Step S12, by the transmission of at least partly audio track data, audio track data in multiple audio track data Time and target sound magnitude are sent at least one second electronic equipment, set the second electronics for getting audio track data Standby that the audio track data respectively got are played according to respective first volume value, the first volume value is worth according to target volume It arrives.
In the first embodiment of the present invention, above-mentioned second electronic equipment can be the equipment such as smart phone, tablet computer.
In the first embodiment of the present invention, above-mentioned target sound magnitude refers to the volume value of audio data to be played.
In the first embodiment of the present invention, it as a preferably example, can allow in multiple audio track data The corresponding electronic equipment of each audio track data, can improve the effect of three-dimensional broadcasting in this way.
In the first embodiment of the present invention, when sending one or more audio track data to the second electronic equipment, The sending time of the one or more audio track data and target sound magnitude can be sent to the second electronic equipment simultaneously, with Make the second electronic equipment in the transmission for receiving the one or more audio track data, the one or more audio track data After time and target sound magnitude, according to the sending time and it can receive time of audio track data and calculate itself and the The distance of one electronic equipment, and sound is calculated according to this distance from own propagation to the pad value of the first electronic equipment, finally The first volume value of one or more audio track data that broadcasting receives is determined according to the pad value and target sound magnitude, So that the sound transmission that plays out of the second electronic equipment to the first electronic equipment volume value as target sound magnitude, i.e., Ensure that sound is not in apparent distortion.Wherein, it should be noted that if the position of the first electronic equipment changes, the Two electronic equipments will recalculate the distance between itself and the first electronic equipment, and according to this distance with target sound magnitude weight Newly determine that itself plays the first volume value of the one or more audio track data received.That is, herein can be by the first electricity Sub- equipment is understood as being one " remote controler " being user-operably, as long as its position changes, the second electronic equipment just needs Redefine the first volume value for itself playing the one or more audio track data received.
In the first embodiment of the present invention, pass through multiple audio tracks of the different sound channels of acquisition audio data to be played Data, and by multiple audio track data at least partly audio track data, the sending time of audio track data and Target sound magnitude is sent at least one second electronic equipment, makes the second electronic equipment for getting audio track data according to each From the first volume value play the audio track data that respectively get, the first volume value obtains according to target volume value, reaches The multichannel of audio data plays, and forms the mesh of the three-dimensional result of broadcast centered on the first electronic equipment being user-operably , and then improve user experience.
Wherein, in the first embodiment of the present invention, there are two types of the specific implementations of above-mentioned steps S12, wherein first Kind are as follows: all audio frequency channel data in multiple audio track data is sent at least two second electronic equipments;Second Are as follows: only by first part's audio track data, the sending time and mesh of audio track data in multiple audio track data Mark with phonetic symbols magnitude is sent at least one second electronic equipment, and first part's audio track data are removed in multiple audio track data Except second part audio track data also stay on the first electronic equipment, either first way or second in this way Mode can ensure multiple audio track data at least corresponding two electronic equipments (i.e. the first electronic equipment and one second electricity Sub- equipment or two the second electronic equipments), to realize that the multichannel of audio data plays, formed be user-operably the The purpose of three-dimensional result of broadcast centered on one electronic equipment, and then improve user experience.
In the first embodiment of the present invention, when sending first in multiple audio track data to the second electronic equipment When one or more audio track data in multi-voice frequency channel data, while can be by the one or more audio track data Sending time and target sound magnitude are sent to the second electronic equipment, so that the second electronic equipment is receiving the one or more It, can be according to the transmission after audio track data, the sending time of the one or more audio track data and target sound magnitude Time and the time for receiving audio track data calculate itself and calculate at a distance from the first electronic equipment, and according to this distance Sound finally is determined to play from own propagation to the pad value of the first electronic equipment according to the pad value and target sound magnitude out First volume value of the one or more audio track data received, so that the sound that the second electronic equipment plays out passes The volume value of the first electronic equipment is multicast to as target sound magnitude, that is, ensures that sound is not in apparent distortion.Certain One electronic equipment is by first part's audio track data, the sending time of audio track data in multiple audio track data And target sound magnitude is sent to after at least one second electronic equipment, can be played in multiple audio track data except first Second part audio track data except multi-voice frequency channel data, that is, the first electronic equipment is set at least one second electronics It is standby to play the audio track data respectively got, form the three-dimensional broadcasting centered on the first electronic equipment being user-operably Effect, and then improve user experience.
Wherein, in the first embodiment of the present invention, when the first electronic equipment is as third electronic equipment (such as intelligent hand Machine, tablet computer etc.) shared audio frequency apparatus when, i.e. the first electronic equipment not as send audio track data side, conduct When receiving audio track data side, the above method further include:
When receiving third electronic equipment, (third electronic equipment herein can be understood as be user-operably one " remote controler ") the audio track data, the sending time of audio track data and when target sound magnitude that send, it can be according to reception To audio track data sending time, receive audio track data time and target sound magnitude, determine play institute First volume value of the audio track data received, and play received audio track data.To make third electronics Audio data to be played in equipment realizes that multichannel plays, and is formed vertical centered on the third electronic equipment being user-operably Body result of broadcast.
Wherein, in the first embodiment of the present invention, the sending time for the audio track data that above-mentioned basis receives connects Time and the target sound magnitude for receiving audio track data determine the first volume for playing received audio track data Value, specifically includes: first according to the sending time of the audio track data that receive, receive the time of audio track data with And the spread speed of audio track data, pass through formula D=V- (t2-t1), the first electronic equipment itself is calculated and sends sound The distance between third electronic equipment of frequency channel data, wherein D indicates distance, and V indicates the spread speed of audio track data t2Expression receives the time of audio track data, t1Indicate sending time;Then in the case where not considering barrier, pass through Formula:
K=10log (10,4 π)+20log (10, D)
Sound is calculated from the first electronic equipment own propagation to the third electronic equipment for sending audio track data Pad value, wherein K indicates pad value;Finally according to pad value and target sound magnitude, determine to play received audio sound First volume value of track data, such as the first volume value is obtained plus pad value on the basis of target sound magnitude.
Second embodiment
As shown in Fig. 2, the second embodiment of the present invention provides a kind of method for playing audio, set applied to the first electronics It is standby, wherein this method comprises:
Step S21 obtains multiple audio track data of the different sound channels of audio data to be played;
In the second embodiment of the present invention, above-mentioned first electronic equipment can be smart phone, tablet computer etc..
In the second embodiment of the present invention, the first electronic equipment can be decoded by treating playing audio-fequency data, Obtain multiple audio track data (such as the left channel audio channel data, right channel of the different sound channels of audio data to be played Audio track data etc.).Wherein, it treats playing audio-fequency data and is decoded to operate and belong to for a person skilled in the art Common knowledge, therefore details are not described herein.
Step S22 establishes connection at least one second electronic equipment respectively by wireless communication;
In the second embodiment of the present invention, the first electronic equipment can (such as bluetooth) by wireless communication mode, Connection is established at least one second electronic equipment respectively, it is to be understood that in the second embodiment of the present invention, and it is unlimited The fixed concrete mode for establishing connection with the second electronic equipment.
Step S23 sends the request of shared audio frequency apparatus by connection at least one second electronic equipment respectively;
In the second embodiment of the present invention, as shown in figure 3, the first electronic equipment can be by above-mentioned connection at least one A second electronic equipment sends the request of shared audio frequency apparatus.Such as the second electronic equipment 1, the second electronic equipment into Fig. 3 2, the request of audio frequency apparatus, certain second electronic equipment 1, the second electronic equipment 2, second are shared in the transmissions such as second electronic equipment n Electronic equipment n etc. can also return the result (such as receiving) after the request for receiving shared audio frequency apparatus to the first electronic equipment, So that the first electronic equipment carries out subsequent operation.
Step S24 will after the request for the shared audio frequency apparatus of receiving for receiving the return of at least one second electronic equipment At least partly audio track data, the sending time of audio track data and target sound magnitude in multiple audio track data It is sent at least one second electronic equipment, makes the second electronic equipment for getting audio track data according to respective first sound Magnitude plays the audio track data respectively got, or makes the first electronic equipment for getting audio track data according to mesh Mark with phonetic symbols magnitude, and the second electronic equipment of audio track data is got according to respective first volume value broadcasting respectively acquisition The audio track data arrived, the first volume value are obtained according to target volume value.
In the second embodiment of the present invention, as a preferably example, it can allow in multiple audio track data The corresponding electronic equipment of each audio track data, can improve the effect of three-dimensional broadcasting in this way.
In the second embodiment of the present invention, as shown in figure 4, receiving connecing at least one second electronic equipment return It, can be by at least partly audio track data in multiple audio track data, audio track after request by shared audio frequency apparatus The sending time and target sound magnitude of data are sent at least one second electronic equipment.Such as the second electronics into Fig. 4 Equipment 1, the second electronic equipment 2, second electronic equipment n etc. send audio track data, the sending time of audio track data with And target sound magnitude, wherein it is readily apparent that being all different to the audio track data that each second electronic equipment is sent.
In the second embodiment of the present invention, when sending one or more audio track data to the second electronic equipment, The sending time of the one or more audio track data and target sound magnitude can be sent to the second electronic equipment simultaneously, with Make the second electronic equipment in the transmission for receiving the one or more audio track data, the one or more audio track data After time and target sound magnitude, according to the sending time and it can receive time of audio track data and calculate itself and the The distance of one electronic equipment, and sound is calculated according to this distance from own propagation to the pad value of the first electronic equipment, finally The first volume value of one or more audio track data that broadcasting receives is determined according to the pad value and target sound magnitude, So that the sound transmission that plays out of the second electronic equipment to the first electronic equipment volume value as target sound magnitude, i.e., Ensure that sound is not in apparent distortion.
In the second embodiment of the present invention, multiple audio tracks of the different sound channels by obtaining audio data to be played Data, and through wireless communication by at least partly audio track data in multiple audio track data, audio track The sending time and target sound magnitude of data are sent at least one second electronic equipment, make to get audio track data Second electronic equipment plays the audio track data respectively got according to respective first volume value, or makes to get audio First electronic equipment of channel data according to target sound magnitude, and get the second electronic equipment of audio track data according to Respective first volume value plays the audio track data respectively got, and the first volume value is obtained according to target volume value, reached The multichannel for having arrived audio data plays, and forms the three-dimensional result of broadcast centered on the first electronic equipment being user-operably Purpose, and then improve user experience.
3rd embodiment
The following are the embodiments for a kind of electronic equipment that third embodiment of the invention provides.The embodiment of the electronic equipment with Above-mentioned embodiment of the method belongs to same design, and the detail content of not detailed description, can refer in the embodiment of electronic equipment Above method embodiment.
As shown in figure 5, the third embodiment of the present invention provides a kind of electronic equipment, which includes:
Obtain module 51, multiple audio track data of the different sound channels for obtaining audio data to be played;
First sending module 52, for by least partly audio track data, the audio sound in multiple audio track data The sending time and target sound magnitude of track data are sent at least one second electronic equipment, make to get audio track data The second electronic equipment play the audio track data that respectively get according to respective first volume value, or make to get sound First electronic equipment of frequency channel data according to target sound magnitude, and get the second electronic equipment of audio track data by The audio track data respectively got are played according to respective first volume value, the first volume value is obtained according to target volume value.
Wherein, obtaining module 51 includes:
Decoding unit is decoded for treating playing audio-fequency data, obtains the different sound channels of audio data to be played Multiple audio track data.
Wherein, the first sending module 52 includes:
Link block, for by wireless communication, establishing connection at least one second electronic equipment respectively;
First transmission unit, for sending shared audio frequency apparatus at least one second electronic equipment respectively by connection Request;
Second transmission unit, in the shared audio frequency apparatus of receiving for receiving the return of at least one second electronic equipment After request, by multiple audio track data at least partly audio track data, the sending time of audio track data and Target sound magnitude is sent at least one second electronic equipment.
The another aspect of third embodiment of the invention, first sending module can be also used for the multiple audio sound First part's audio track data, the sending time of audio track data and target sound magnitude in track data are sent at least One the second electronic equipment;
The wherein electronic equipment further include:
Playing module, for playing in the multiple audio track data in addition to first part's audio track data Two part audio track data.
By above-mentioned structure, electronic equipment and the second electronic equipment can be made to play respectively according to respective volume value each From audio track data, formed multichannel effect.
Wherein, electronic equipment further include:
Receiving module, for receiving the third electronic equipment as audio track data sender when the first electronic equipment When the audio track data of transmission, the sending time of audio track data and target sound magnitude, according to sending time and target Volume value determines the first volume value for playing received audio track data, and plays received audio track Data.
Wherein, receiving module includes:
First computing unit, for according to sending time, receive time and the audio track number of audio track data According to spread speed, pass through formula D=V (t2-t1), the first electronic equipment itself is calculated and sends audio track data The distance between third electronic equipment, wherein D indicates distance, and V indicates the spread speed of audio track data, t2It indicates to receive To the time of audio track data, t1Indicate sending time;
Second computing unit, for passing through formula in the case where not considering barrier:
K=10log (10,4 π)+20log (10, D)
Sound is calculated from the first electronic equipment own propagation to the third electronic equipment for sending audio track data Pad value, wherein K indicates pad value;
Determination unit, for determining to play received audio track data according to pad value and target sound magnitude The first volume value.
In the third embodiment of the present invention, the multichannel that audio data to be played may be implemented in electronic equipment plays, can The three-dimensional result of broadcast centered on the first electronic equipment being user-operably is formed, and then improves user experience.
Explanation is needed further exist for, this electronic equipment described in this description includes but is not limited to smart phone, puts down Plate computer etc., and described many functional components are all referred to as module, specifically to emphasize the only of its implementation Vertical property.
This many functional component described in this description is all referred to as module, specifically to emphasize its realization side The independence of formula.
In the embodiment of the present invention, module can use software realization, to be executed by various types of processors.Citing comes It says, the executable code module of a mark may include the one or more physics or logical block of computer instruction, citing For, object, process or function can be built as.Nevertheless, the executable code of institute's mark module is without physically It is located together, but may include the different instructions being stored on different location, be combined together when in these command logics When, it constitutes module and realizes the regulation purpose of the module.
In fact, executable code module can be the either many item instructions of individual instructions, and can even be distributed It on multiple and different code segments, is distributed in distinct program, and is distributed across multiple memory devices.Similarly, it grasps Making data can be identified in module, and can realize according to any form appropriate and be organized in any appropriate class In the data structure of type.The operation data can be used as individual data collection and be collected, or can be distributed on different location (including in different storage device), and at least partly can only be present in system or network as electronic signal.
When module can use software realization, it is contemplated that the level of existing hardware technique, it is possible to implemented in software Module, without considering the cost, those skilled in the art can build corresponding hardware circuit to realize correspondence Function, the hardware circuit includes conventional ultra-large integrated (VLSI) circuit or gate array and such as logic core The existing semiconductor of piece, transistor etc either other discrete elements.Module can also use programmable hardware device, such as Field programmable gate array, programmable logic array, programmable logic device etc. are realized.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (12)

1. a kind of method for playing audio, is applied to the first electronic equipment, which is characterized in that the described method includes:
Obtain multiple audio track data of the different sound channels of audio data to be played;
By in the multiple audio track data at least partly audio track data, the sending time of audio track data and Target sound magnitude is sent at least one second electronic equipment, make to get the second electronic equipment of the audio track data by The audio track data respectively got are played according to respective first volume value, first volume value is according to the target volume Value obtains, wherein the sound transmission that second electronic equipment is played out with first volume value is set to first electronics Volume value when standby is equal with the target sound magnitude.
2. the method as described in claim 1, which is characterized in that the different sound channels for obtaining audio data to be played it is multiple Audio track data, specifically:
It treats playing audio-fequency data to be decoded, obtains multiple audio track numbers of the different sound channels of the audio data to be played According to.
3. the method as described in claim 1, which is characterized in that it is described by the multiple audio track data at least partly Audio track data, the sending time of audio track data and target sound magnitude are sent at least one second electronic equipment, It specifically includes:
By wireless communication, connection is established at least one described second electronic equipment respectively;
By the connection, the request of shared audio frequency apparatus is sent at least one described second electronic equipment respectively;
It, will be described after the request for receiving the receiving shared audio frequency apparatus that at least one described second electronic equipment returns At least partly audio track data, the sending time of audio track data and target sound magnitude in multiple audio track data It is sent at least one second electronic equipment.
4. the method as described in claim 1, which is characterized in that it is described by the multiple audio track data at least partly Audio track data, the sending time of audio track data and target sound magnitude are sent at least one second electronic equipment, It specifically includes:
By in the multiple audio track data first part's audio track data, the sending time of audio track data and Target sound magnitude is sent at least one second electronic equipment;
Wherein, the method also includes:
Play the second part audio track number in the multiple audio track data in addition to first part's audio track data According to.
5. the method as described in claim 1, which is characterized in that the method also includes:
When the first electronic equipment receives the audio track number of the third electronic equipment transmission as audio track data sender When according to, the sending time of audio track data and target sound magnitude, according to the sending time and target sound magnitude, determine The first volume value of received audio track data is played, and plays received audio track data.
6. method as claimed in claim 5, which is characterized in that it is described according to the sending time and target sound magnitude, it determines The first volume value for playing received audio track data out, specifically includes:
According to the sending time, the time of audio track data and the spread speed of audio track data are received, is passed through Formula D=V (t2-t1), it is calculated between the first electronic equipment itself and the third electronic equipment for sending audio track data Distance, wherein D indicates the distance, and V indicates the spread speed of audio track data, t2Expression receives audio track data Time, t1Indicate the sending time;
Sound is calculated from the first electronic equipment own propagation to hair by formula K=10log (10,4 π)+20log (10, D) The pad value of the third electronic equipment of audio track data is sent, wherein K indicates the pad value;
According to the pad value and target sound magnitude, the first volume value for playing received audio track data is determined.
7. a kind of electronic equipment, the electronic equipment is the first electronic equipment, which is characterized in that the first electronic equipment packet It includes:
Obtain module, multiple audio track data of the different sound channels for obtaining audio data to be played;
First sending module, for by at least partly audio track data in the multiple audio track data, audio track The sending time and target sound magnitude of data are sent at least one second electronic equipment, make to get the audio track number According to the second electronic equipment play the audio track data that respectively get, first volume according to respective first volume value Value is obtained according to the target volume value, wherein second electronic equipment is passed with the sound that first volume value plays out Volume value when being multicast to first electronic equipment is equal with the target sound magnitude.
8. electronic equipment as claimed in claim 7, which is characterized in that the acquisition module includes:
Decoding unit is decoded for treating playing audio-fequency data, obtains the different sound channels of the audio data to be played Multiple audio track data.
9. electronic equipment as claimed in claim 7, which is characterized in that first sending module includes:
Link block, for by wireless communication, establishing connection at least one described second electronic equipment respectively;
First transmission unit, for sending shared audio at least one described second electronic equipment respectively by the connection The request of equipment;
Second transmission unit, for being set in the receiving shared audio for receiving at least one second electronic equipment return After standby request, by the transmission of at least partly audio track data, audio track data in the multiple audio track data Time and target sound magnitude are sent at least one second electronic equipment.
10. electronic equipment as claimed in claim 7, which is characterized in that
First sending module is used for first part's audio track data, the audio sound in the multiple audio track data The sending time and target sound magnitude of track data are sent at least one second electronic equipment;
The wherein electronic equipment further include:
Playing module, for playing second in the multiple audio track data in addition to first part's audio track data Multi-voice frequency channel data.
11. electronic equipment as claimed in claim 7, which is characterized in that the electronic equipment further include:
Receiving module, for receiving the third electronic equipment transmission as audio track data sender when the first electronic equipment Audio track data, the sending time of audio track data and when target sound magnitude, according to the sending time and target Volume value determines the first volume value for playing received audio track data, and plays received audio track Data.
12. electronic equipment as claimed in claim 11, which is characterized in that the receiving module includes:
First computing unit, for according to the sending time, receive time and the audio track number of audio track data According to spread speed, pass through formula D=V (t2-t1), the first electronic equipment itself is calculated and sends audio track data The distance between third electronic equipment, wherein D indicates the distance, and V indicates the spread speed of audio track data, t2It indicates Receive the time of audio track data, t1Indicate the sending time;
Second computing unit, for passing through formula
Sound is calculated from the first electronic equipment own propagation to transmission audio sound in K=10log (10,4 π)+20log (10, D) The pad value of the third electronic equipment of track data, wherein K indicates the pad value;
Determination unit, for determining to play received audio track data according to the pad value and target sound magnitude The first volume value.
CN201510482087.5A 2015-08-07 2015-08-07 A kind of method and electronic equipment playing audio Active CN105828235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510482087.5A CN105828235B (en) 2015-08-07 2015-08-07 A kind of method and electronic equipment playing audio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510482087.5A CN105828235B (en) 2015-08-07 2015-08-07 A kind of method and electronic equipment playing audio

Publications (2)

Publication Number Publication Date
CN105828235A CN105828235A (en) 2016-08-03
CN105828235B true CN105828235B (en) 2019-05-17

Family

ID=56514408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510482087.5A Active CN105828235B (en) 2015-08-07 2015-08-07 A kind of method and electronic equipment playing audio

Country Status (1)

Country Link
CN (1) CN105828235B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898503A (en) * 2016-04-25 2016-08-24 乐视控股(北京)有限公司 Playing control method, device and system for mobile terminal
CN112312366B (en) * 2019-07-26 2022-10-28 华为技术有限公司 Method, electronic equipment and system for realizing functions through NFC (near field communication) tag
CN114371823B (en) * 2020-10-14 2023-06-09 荣耀终端有限公司 Multimedia playing method and device and electronic equipment
CN113050916A (en) * 2021-04-09 2021-06-29 深圳Tcl新技术有限公司 Audio playing method, device and storage medium
CN113129915B (en) * 2021-04-22 2023-06-09 北京二六三企业通信有限公司 Audio sharing method, device, equipment, storage medium and program product
CN115632731B (en) * 2022-10-26 2023-10-13 广东保伦电子股份有限公司 Synchronous playing strategy for multi-playing terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101312600A (en) * 2007-05-22 2008-11-26 鸿富锦精密工业(深圳)有限公司 Volume regulating apparatus and automatic volume regulating method
CN104270814A (en) * 2014-09-30 2015-01-07 南京沃旭通讯科技有限公司 Locating method and system based on mixed TDOA and ToF
CN104464763A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Method and device for processing information
CN104735589A (en) * 2015-01-30 2015-06-24 广东欧珀移动通信有限公司 Intelligent loudspeaker box grouped volume regulation system and method based on GPS
CN104808176A (en) * 2015-05-11 2015-07-29 上海新微技术研发中心有限公司 Indoor positioning method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101312600A (en) * 2007-05-22 2008-11-26 鸿富锦精密工业(深圳)有限公司 Volume regulating apparatus and automatic volume regulating method
CN104464763A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Method and device for processing information
CN104270814A (en) * 2014-09-30 2015-01-07 南京沃旭通讯科技有限公司 Locating method and system based on mixed TDOA and ToF
CN104735589A (en) * 2015-01-30 2015-06-24 广东欧珀移动通信有限公司 Intelligent loudspeaker box grouped volume regulation system and method based on GPS
CN104808176A (en) * 2015-05-11 2015-07-29 上海新微技术研发中心有限公司 Indoor positioning method

Also Published As

Publication number Publication date
CN105828235A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN105828235B (en) A kind of method and electronic equipment playing audio
CN104871558B (en) The method and apparatus that image for collaborative audio system is produced
US20110051940A1 (en) Decoding device, coding and decoding device, and decoding method
CN105438900B (en) Mobile phone boarding system
CN103945253B (en) Method for controlling volume and equipment, control method for playing multimedia and equipment
CN202310099U (en) Wireless sounder and system for playing audio through same
CN104063121B (en) Requesting songs control method and device
CN105161121B (en) To the control method and audio transfer control of audio peripheral hardware transmission audio
CN104867513B (en) A kind of control method for playing back and equipment
DE102012014570A1 (en) MULTIMEDIA CONTROL METHOD AND MULTIMEDIA CONTROL SYSTEM
CN104934050A (en) Audio networking playing method and system based on wireless network
CN107040874A (en) Method, device and the bluetooth equipment of blue-teeth data simultaneously operating
CN104066152A (en) System and method for enabling devices to have access to wireless network
CN101510988A (en) Method and apparatus for processing and playing voice signal
CN104581602A (en) Recording data training method, multi-track audio surrounding method and recording data training device
CN108471569A (en) A kind of multitone case device plays method and device
CN107040848A (en) Synchronization parameter transmission method, device and the equipment of AVDTP agreements
CN108566706A (en) flash lamp control method, device, terminal device and storage medium
CN105282711B (en) The method and terminal of network configuration information are sent, received based on multicasting technology
CN107431859A (en) The radio broadcasting of the voice data of encapsulation with control data
CN105611480A (en) Audio playing method and terminal
CN116437262B (en) Automatic sound tuning method and system for sound
CN1980053A (en) Wireless network audio frequency power amplifier and relative method
CN104883391A (en) Data transmission control method and device
CN105828129B (en) A kind of audio-video frequency playing system control method, device and audio-video frequency playing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant