CN109379490B - Audio playing method and device, electronic equipment and computer readable medium - Google Patents
Audio playing method and device, electronic equipment and computer readable medium Download PDFInfo
- Publication number
- CN109379490B CN109379490B CN201811161376.5A CN201811161376A CN109379490B CN 109379490 B CN109379490 B CN 109379490B CN 201811161376 A CN201811161376 A CN 201811161376A CN 109379490 B CN109379490 B CN 109379490B
- Authority
- CN
- China
- Prior art keywords
- audio
- playing
- wireless
- audio playing
- wireless audio
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The application discloses an audio playing method, an audio playing device, electronic equipment and a computer readable medium, and relates to the technical field of communication. The method comprises the following steps: when two wireless audio playing devices are playing different audio data to realize audio mixing playing, judging whether each wireless audio playing device is in a preset state; the wireless audio playing equipment in the preset state is used as first wireless audio playing equipment, and the audio data played by the wireless audio playing equipment is first audio data; if the wireless audio playing device which is not in the preset state is taken as a second wireless audio playing device, the audio data played by the wireless audio playing device is second audio data; and controlling the second wireless audio playing device to simultaneously play the first audio data and the second audio data so as to realize audio mixing playing. Therefore, even if the user abandons listening to the audio data using one of the wireless audio playing devices, the other wireless audio playing device can play the two audio data at the same time to achieve the effect of remix playing.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to an audio playing method and apparatus, an electronic device, and a computer readable medium.
Background
At present, the inconvenience brought by a wired earphone can be reduced by playing audio data in the electronic equipment by using the wireless audio playing equipment, and moreover, the electronic equipment can be simultaneously connected with two wireless audio playing equipment which can realize the mixed playing effect of audio. However, if the user abandons listening to the audio using one of the wireless audio playing devices, the user may not hear the mixed playing effect of the audio, resulting in poor user experience.
Disclosure of Invention
The application provides an audio playing method, an audio playing device, an electronic device and a computer readable medium, so as to overcome the above defects.
In a first aspect, an embodiment of the present application provides an audio playing method, which is applied to an electronic device, where the electronic device can be connected to two wireless audio playing devices simultaneously. The method comprises the following steps: when two wireless audio playing devices are playing different audio data to realize audio mixing playing, judging whether each wireless audio playing device is in a preset state; the method comprises the steps that a wireless audio playing device in a preset state is used as a first wireless audio playing device, and audio data played by the first wireless audio playing device in the audio mixing playing process is first audio data; if the wireless audio playing device which is not in the preset state is taken as a second wireless audio playing device, the audio data played by the second wireless audio playing device in the audio mixing playing process is taken as second audio data; and controlling the second wireless audio playing device to simultaneously play the first audio data and the second audio data so as to realize audio mixing playing.
In a second aspect, an embodiment of the present application further provides an audio playing apparatus, which is applied to an electronic device, where the electronic device can be connected to two wireless audio playing devices simultaneously. The audio playing device comprises: the device comprises a detection unit, a first determination unit, a second determination unit and a playing unit. The detecting unit is used for judging whether each wireless audio playing device is in a preset state or not when the two wireless audio playing devices are playing different audio data to realize audio mixing playing. The first determining unit is configured to use the wireless audio playing device in a preset state as a first wireless audio playing device, and the audio data played by the first wireless audio playing device in the audio mixing playing process is the first audio data. And the second determining unit is configured to use the wireless audio playing device that is not in the preset state as a second wireless audio playing device, and the audio data played by the second wireless audio playing device in the audio mixing playing process is second audio data. And the playing unit is used for controlling the second wireless audio playing equipment to simultaneously play the first audio data and the second audio data so as to realize audio mixing playing.
In a third aspect, an embodiment of the present application further provides an electronic device, including: one or more processors capable of connecting two wireless audio playback devices simultaneously; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the above-described methods.
In a fourth aspect, the present application also provides a computer-readable medium having program code executable by a processor, where the program code causes the processor to execute the above method.
Compared with the prior art, according to the scheme provided by the application, when two wireless audio playing devices are used for playing different audio data to realize audio mixing playing, the using states of the two wireless audio playing devices are detected, if one wireless audio playing device is in the preset state and the other wireless audio playing device is not in the preset state, the audio data played by the wireless audio playing device in the preset state are handed to the wireless audio playing device not in the preset state for playing, and the wireless audio playing device not in the preset state plays and keeps playing the audio data, namely the wireless audio playing device not in the preset state plays the different audio data to realize audio mixing playing. Therefore, even if the user abandons listening to the audio data by using one of the wireless audio playing devices, the other wireless audio playing device can play the two audio data at the same time to realize the effect of mixed-sound playing, and the experience degree of the user in playing the audio can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 illustrates a block diagram of a speech system provided by an embodiment of the present application;
FIG. 2 illustrates a block diagram of a speech system provided in another embodiment of the present application;
fig. 3 is a flowchart illustrating a method of playing audio according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a device management interface provided by an embodiment of the present application;
FIG. 5 is a flowchart illustrating a method of playing audio according to another embodiment of the present application;
fig. 6 is a flowchart illustrating a method for playing audio according to another embodiment of the present application
FIG. 7 is a schematic diagram illustrating an answering interface provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of an answering interface provided by another embodiment of the present application;
fig. 9 shows a block diagram of an audio playing apparatus provided in an embodiment of the present application;
FIG. 10 shows a block diagram of an electronic device provided by an embodiment of the present application;
fig. 11 illustrates a storage unit for storing or carrying program codes for implementing an audio playing method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
With the increase of the types of audio playing devices and the improvement of playing sound effects, more users can select to output the audio to be played by electronic devices such as mobile phones and tablet computers to the audio playing devices for playing. Common audio playing devices include a vehicle-mounted music player, a sound box, an earphone, and the like.
The audio playing device can be divided into a wired audio playing device and a wireless audio playing device according to different connection modes, and the electronic device can interact with the wireless audio playing device through a wireless network to transmit signals, wherein the wireless network can be Bluetooth, wifi, an LTE network or NFC and the like.
Illustratively, as shown in fig. 1, a block diagram of a speech system 1 provided by an embodiment of the present application is shown. Specifically, the speech system 1 includes an electronic device 100, a first wireless audio playing device 210 and a second wireless audio playing device 220, and the electronic device 100 can be connected to the first wireless audio playing device 210 and the second wireless audio playing device 220 at the same time.
In the embodiment of the present invention, an application capable of playing audio is installed in the electronic device 100, and specifically, the application may be audio playing software, video playing software, or call software. The electronic device 100 sends the audio to be played to the first wireless audio playing device 210 or the second wireless audio playing device 220, and the first wireless audio playing device 210 or the second wireless audio playing device 220 plays the voice.
In this embodiment of the present invention, the first wireless audio playing device 210 and the second wireless audio playing device 220 may be a bluetooth sound or a bluetooth earphone, the first wireless audio playing device 210 and the second wireless audio playing device 220 may realize connection with the electronic device 100 by starting a bluetooth function, and after the connection is established, the electronic device 100 sends a voice to be played to the bluetooth sound, and the bluetooth sound realizes voice playing.
When the first wireless audio playing device 210 and the second wireless audio playing device 220 are both bluetooth devices, the electronic device 100 may be simultaneously connected to the first wireless audio playing device 210 and the second wireless audio playing device 220 through a bluetooth module, as an implementation manner, the bluetooth module in the electronic device may support multipoint connection, so that the electronic device shown in fig. 1 can be connected to the first wireless audio playing device 210 and the second wireless audio playing device 220, respectively, and after the connection is established, the electronic device 100 may obtain identifiers of the first wireless audio playing device 210 and the second wireless audio playing device 220, where the identifiers may be MAC addresses. Specifically, when the bluetooth function of the electronic device is turned on, the electronic device scans the bluetooth devices within a certain distance range around, and specifically, after receiving a scan command, a bluetooth chip or other underlying network module of the electronic device scans according to a preset channel scanning sequence, such as scanning common channels 1, 7, and 13 first, and then scanning other channels that are not common, thereby obtaining the identifiers of all bluetooth devices within the current range, and displaying the identifiers in the bluetooth list interface of the electronic device.
If the Bluetooth device which is already connected and has better signal strength exists in the scanned Bluetooth device identification, the electronic device can automatically connect with the Bluetooth device, and the user can also select one Bluetooth device in the Bluetooth list interface for connection.
When the electronic device connects to an external bluetooth device, the system of the electronic device may go to a status value indicating that the electronic device is currently connected to the bluetooth device. Therefore, the electronic device can detect the Bluetooth device, and acquire the device identifier of the Bluetooth device.
As another embodiment, the electronic device 100 is connected to the first wireless audio playing device 210 through bluetooth, and then the first wireless audio playing device 210 is connected to the second wireless audio playing device 220 through bluetooth, so that the electronic device 100, the first wireless audio playing device 210, and the second wireless audio playing device 220 are connected simultaneously through networking, that is, the first wireless audio playing device 210 serves as a relay for the electronic device 100 and the second wireless audio playing device 220.
Therefore, after the electronic device 100 is connected to the first wireless audio playing device 210 and the second wireless audio playing device 220 at the same time, different audio playing devices can play different audio data, and certainly, different audio playing devices can play the same audio data to achieve effects such as stereo. Or one of the wireless audio playing devices may be used to play audio data, and the other wireless audio playing device is in a standby state and does not play audio.
However, the inventor finds in research that when a user abandons to listen to audio data using one of the wireless audio playback devices, because the audio data played by the two wireless audio playback devices cannot be simultaneously listened to, the effect of mixed-sound playback cannot be obtained, and thus the user experience is not high.
Therefore, in order to solve the technical defect, an embodiment of the present application provides an audio playing method applied to the electronic device, and specifically, the method includes: s301 to S304.
S301: when two wireless audio playing devices are playing different audio data to realize audio mixing playing, whether each wireless audio playing device is in a preset state is judged.
The two wireless audio playing devices play different audio data, and a user can obtain the visual effect of audio mixing playing by listening to the audio data played by the two wireless audio playing devices at the same time. For example, in order to enable a user to realize a special effect of singing back of music when playing music, the audio data played by the two wireless audio playing devices may be the same, for example, the two audio data are the same song, and the sampling frequency, the sampling bit number, the bit rate and the corresponding content of the two audio data are the same.
Therefore, when the user plays songs, the same songs are played at different frequencies respectively on the two wireless audio playing devices, and the frequencies represent the tones of the sounds, for example, one tone imitating a male voice and the other tone imitating a female voice, so that the effect of double singing of men and women is realized.
For another example, the audio data played by two wireless audio playing devices can achieve a stereo playing effect, and specifically, one of the two wireless audio playing devices is playing left channel data of the audio data, and the other wireless audio playing device is playing right channel data of the audio data to achieve stereo playing of the audio data. Specifically, the audio data played by the two wireless audio playing devices are the same song and are recorded as a target song, the target song can be divided into left and right channel data, that is, left channel data and right channel data, and the left channel data and the right channel data both correspond to the target song, then one of the wireless audio playing devices plays the left channel data of the target song, the other wireless audio playing device plays the right channel data of the target song, and then the user simultaneously listens to the audio data of the left and right channels of the target song, thereby realizing a stereo effect.
As an embodiment, in order to better achieve the above-mentioned double singing and stereo effect, the wireless audio playing device may be a wireless headset, and specifically, may be a bluetooth headset.
As another embodiment, the wireless audio playing device may also be a wireless sound box, for example, a bluetooth sound box. The simultaneous interpretation effect can be achieved by the wireless loudspeaker, specifically,
after the electronic device acquires the first audio data, second audio data are generated according to the first audio data, wherein the language corresponding to the first audio data is different from the language corresponding to the second audio data. The first audio data and the second audio data may correspond to different languages, or correspond to the same language but have different languages. For example, the language corresponding to the first audio data is chinese and the language corresponding to the second audio data is english, the first audio data and the second audio data correspond to different languages, and for example, the language corresponding to the first audio data is cantonese and the language corresponding to the second audio data is mandarin, the first audio data and the second audio data correspond to the same language, but the corresponding languages are different
Specifically, translation software is installed in the electronic device, and after first audio data is acquired, the translation software is called to generate second audio data from the first audio data. Then, it is also possible that the first audio data and the second audio data are acquired in advance, for example, the first audio data and the second audio data are downloaded on a certain website. For example, if the content of the first audio data is "I am Chinese, I love my country", and the content of the second audio data is "I am Chinese, I love my country", the second audio data may be played when the first audio data is played to "I am Chinese", and the second audio data may be played when the first audio data is played to "I love my country".
It should be noted that, considering that the two users obtain the first audio data in real time and continuously and the second audio data is also obtained continuously in real time during the voice chat, the time difference between the first playing time starting point and the second playing time starting point may be set empirically, as an embodiment, the time when the user speaks a sentence or a talk is a preset time, the preset time may be obtained statistically according to the habits of the users, and the time difference is N times of the preset time, where N is a value between greater than 0 and less than 1.
The embodiment of determining that the two wireless audio playing devices are playing different audio data to realize mixed-sound playing may be that the electronic device is connected to the first wireless audio playing device and the second wireless audio playing device at the same time, so that when the user plays the audio data, the user can select music to be played in an audio playing interface of the electronic device, such as the displayed interfaces of the electronic device shown in fig. 1 and 2, select one or more audio data, and click a play button to play the selected audio data. In addition, the user can also select the wireless audio playing device for playing the audio data through the electronic device.
For example, as shown in fig. 4, a device management interface of the electronic device is shown, in which an operation interface of two wireless audio playing devices connected to the electronic device is displayed, specifically, selection buttons of the two wireless audio playing devices are included, and the selection button corresponding to each device in fig. 4, for example, when a circular button is located on the left side, the electronic device selects the wireless audio playing device to play audio data. The audio data played by the electronic device can be played by the connected wireless audio playback device after the connection is established.
In addition, in the interface, each wireless audio playing device further corresponds to a pull-down menu, and a user can configure an application program for the wireless audio playing device to play audio through the pull-down menu, for example, configure first audio data for the device 1 and configure second audio data for the device 2, if the electronic device can respectively control the playing of the first audio data and the playing of the second audio data, the device 1 can be enabled to play the first audio data, and the device 2 is enabled to play the second audio data, so as to achieve an effect of mixed playing.
Therefore, whether the electronic device is connected with the first wireless audio playing device or not can be determined through the button state in the interface, and whether the device connected with the electronic device through the Bluetooth is the audio playing device or not can be detected, wherein in the electronic device based on the android operating system, the type of the device connected through the Bluetooth currently can be determined through a return value obtained by instantiating the Bluetooth class. If the returned value is AUDIO _ VIDEO _ CAMCORDER, the image acquisition equipment is characterized; if the returned value is AUDIO _ VIDEO _ CAR _ AUDIO, the vehicle-mounted equipment is characterized; if the returned value is AUDIO _ VIDEO _ HIFI _ AUDIO, the AUDIO or VIDEO playing device is characterized as an AUDIO playing device or a VIDEO playing device, such as a bluetooth headset; if the returned value is AUDIO _ VIDEO _ MICROPHONE, it is characterized as a MICROPHONE.
When the electronic equipment is determined to be connected with the wireless audio playing equipment, that is, after the electronic equipment is connected with the wireless audio playing equipment, whether the electronic equipment receives a playing request which is a request for requesting to play audio data is detected, if the electronic equipment is connected with the first wireless audio playing equipment and the first wireless audio playing equipment is selected as equipment for playing the audio data of the electronic equipment, whether the playing request of the audio data of the data, which is obtained by operating the electronic equipment by a user, is acquired, and if the playing request is acquired, the electronic equipment is determined to be playing the audio data through the first wireless audio playing equipment.
Specifically, the play request may be a reminder message or a voice play request. The reminding information comprises information for reminding a user that some events are triggered, such as call reminding information, short message reminding information, alarm reminding information and the like. For example, the call reminding information is used for reminding the user of the current incoming call.
As another embodiment, the utterance request may be a request to play a voice every time the electronic device utters a voice. The utterance request may be an audio utterance request, a video utterance request, or a call utterance request.
Specifically, a plurality of audio playing software are installed in the electronic device, and the software may be a music playing APP, a video playing APP, or a recording APP. For example, a video playing key is arranged on a video playing interface, and by detecting the touch of the video playing key, whether the electronic device currently receives a playing request of audio data can be determined, for example, a user selects a video, enters the video playing interface, and clicks a playing button of the playing interface, and an application program can detect what type of video the user currently clicks through monitoring the user touch operation, specifically, the playing button is provided with a preset attribute, and by detecting the attribute of the obtained playing button corresponding to the touch operation, the video to be played selected by the user can be determined, so that the playing request and the audio corresponding to the playing request can be obtained.
The method comprises the steps that when the electronic equipment plays two wireless audio frequencies, the audio data to be played are configured by the equipment and the obtained playing request of the audio data, so that whether the two wireless audio playing equipment play different audio data currently can be determined to achieve the effect of mixed sound playing. If yes, judging whether each wireless audio playing device is in a preset state or not.
The preset state represents a use state of the wireless audio playing device, and specifically may be a wearing state, a working state, a connection state, or a use, where the use represents an audio type to be played by the wireless audio playing device, for example, the audio type is used for playing pure audio, conversation voice, or audio in video. If the wireless audio playing device is in the preset state, it means that the user abandons the use of the wireless audio playing device to listen to the audio data being played, thereby abandoning the auditory effect of the remix playing.
As an implementation manner, the working state of each wireless audio playing device may be obtained, if the working state of the wireless audio playing device is the off-line state, it is determined that the wireless audio playing device is in the preset state, and otherwise, it is determined that the wireless audio playing device is not in the preset state.
Specifically, the dropped state is that the connection between the electronic device and the wireless audio playing device is disconnected, and may be that the wireless audio playing device is turned off to cause the disconnection between the electronic device and the wireless audio playing device, or that the connection between the electronic device and the wireless audio playing device is disconnected due to a communication link failure between the wireless audio playing device and the electronic device.
Specifically, the electronic device sends a beacon to each wireless audio playing device, and determines whether a return result returned by the wireless audio playing device based on the received beacon is received within a preset time, if the return result sent by the wireless audio playing device is obtained within the preset time, it is determined that the connection between the electronic device and the wireless audio playing device is not disconnected, that is, the working state of the wireless audio playing device is connected, otherwise, it is determined that the working state of the wireless audio playing device is in a disconnection state. And if the working state of the wireless audio playing equipment is the off-line state, judging that the wireless audio playing equipment is in the preset state, and if the working state of the wireless audio playing equipment is the connected state, judging that the wireless audio playing equipment is not in the preset state.
In addition, it may also be determined whether the wireless audio playing device is in a preset state according to the wearing state and the call state of the wireless audio playing device, specifically, please refer to the following embodiments.
S302: and taking the wireless audio playing device in a preset state as a first wireless audio playing device, wherein the audio data played by the first wireless audio playing device in the audio mixing playing process is first audio data.
S303: and taking the wireless audio playing device which is not in the preset state as a second wireless audio playing device, wherein the audio data played by the second wireless audio playing device in the audio mixing playing process is second audio data.
Judging whether each wireless audio playing device is in a preset state or not, respectively, using the wireless audio playing device in the preset state as a first wireless audio playing device, using the wireless audio playing device not in the preset state as a second wireless audio playing device, wherein, the audio data played by the first wireless audio playing device in the process of audio mixing playing is used as the first audio data, the audio data played by the second wireless audio playing device in the process of audio mixing playing is used as the second audio data, that is, the first audio data is used as the reference of the audio data played by the first wireless audio playing device in the process of audio mixing playing, and the second audio data is used as the reference of the audio data played by the second wireless audio playing device in the mixed sound playing process, not the definition of the audio data played by the first wireless audio playing device and the second wireless audio playing device.
It should be noted that, if neither of the two wireless audio playing devices is in the preset state, it indicates that the user is still listening to the audio played by the mixed audio using the two wireless audio playing devices, and then the method is ended or the process returns to S301. In addition, if both the two wireless audio playing devices are in the preset state, it indicates that the user abandons the two wireless audio playing devices to listen to the audio, and then the method is ended or the execution returns to S301.
S304: and controlling the second wireless audio playing device to simultaneously play the first audio data and the second audio data so as to realize audio mixing playing.
Specifically, the second wireless audio playing device is controlled to continue playing the second audio data, and meanwhile, the first audio data played by the first wireless audio playing device is also handed to the second wireless audio playing device to be played, so that the user can continue playing different audio data through the second wireless audio playing device to achieve the sound mixing playing effect.
Specifically, as an implementation manner, when the first wireless audio playing device is determined, that is, when the wireless audio playing device in a preset state of the two wireless audio playing devices is determined, a time point at this time is recorded as a first time point, a playing progress of the first audio data corresponding to the first time point is determined as the first playing progress, and a specific implementation manner of controlling the second wireless audio playing device to play the first audio data and the second audio data at the same time is that the second wireless audio playing device is controlled to continue to play the second audio data and to continue to play the first audio data at the first playing progress.
In addition, in order to better achieve the effect of mixed sound playing, when the first audio data and the second audio data are played, there is a corresponding relationship in time, for example, the two are played simultaneously or the two are played with a certain time delay, after the first playing progress is acquired and delayed, the second playing progress of the second audio data corresponding to the first playing progress of the second audio data is determined during the mixed sound playing process, and then the specific implementation manner of controlling the second wireless audio playing device to play the first audio data and the second audio data simultaneously is that the second wireless audio playing device is controlled to play the second audio data at the second playing progress, and the first audio data is continuously played at the first playing progress.
Taking stereo as an example, and the wireless audio playing device is a wireless earphone, the user wears a first wireless earphone and a second wireless earphone, and the first wireless earphone plays left channel data of the target audio, and the second wireless earphone plays right channel data of the target audio, and the first wireless earphone and the second wireless earphone play the target audio simultaneously, so that the user can listen to the stereo effect of the target audio through the first wireless earphone and the second wireless earphone. When the user takes off or closes the first wireless earphone or uses the first wireless earphone to receive the call, the user can control the second wireless earphone to continue playing the left channel data and the right channel data of the target audio through the electronic equipment so as to realize the effect of receiving the stereo sound through the second wireless earphone.
As a mode, a PCM file, that is, an Android STEREO PCM data structure is generated by default recording of an Android recording, assuming that a set sampling rate is 16K, a recording type is audioformat, channel _ IN _ STEREO, and a data type is audioformat, encoding _ PCM _16BIT, the data structure of the PCM file is approximately a 2byte left channel, a 2byte right channel, a 2byte left channel, and a 2byte right channel …, so that the Android STEREO PCM data structure can be split into a left channel audio signal and a right channel audio signal, the left channel audio signal obtained by processing the split signals is transmitted to a left ear of a user through a first wireless earphone, and the right channel audio signal obtained by processing the split signals is transmitted to a right ear of a user through a second wireless earphone, thereby improving an audio playing effect and user experience
In addition, the wireless audio playing device is a wireless earphone, the user wears two wireless earphones to play audio data, and if one wireless earphone is taken off, the other wireless earphone is controlled to play different audio data at the same time to achieve the effect of sound mixing playing. Specifically, please refer to fig. 5, which illustrates an audio playing method provided in another embodiment of the present application, applied to the electronic device, and specifically, the method includes: s501 to S505.
S501: and when the two wireless audio playing devices play different audio data to realize audio mixing playing, acquiring the wearing state of each wireless audio playing device.
Specifically, take wireless audio playback device as bluetooth headset for example, then this bluetooth headset includes the casing, bluetooth module and playing module, wherein, bluetooth module and playing module all are located the casing, bluetooth module is used for establishing the relation of connection and transmitting data etc. with electronic equipment between, and playing module is used for playing the audio data who obtains, be provided with contact pick-up on this casing, the contact parameter of input when can detecting the casing of user contact bluetooth headset, wherein, contact pick-up can be pressure sensor, approach light sensor etc. then this contact parameter can be pressure value or light signal intensity value.
When the two wireless audio playing devices play different audio data to realize audio mixing playing, the contact parameters of the two Bluetooth earphones are respectively obtained, and the wearing states of the first Bluetooth earphone and the second Bluetooth earphone are determined based on the contact parameters.
Further, after the contact parameters between the two bluetooth headsets and the ears of the user are respectively obtained, a first bluetooth headset in contact with the left ear of the user and a second bluetooth headset in contact with the right ear of the user can be determined from the two bluetooth headsets. Wherein, taking a bluetooth earphone as an example for explanation, the contact sensor of the bluetooth earphone is fixedly arranged on the target position of the earphone body, when the bluetooth earphone is arranged on the left ear of the user, the contact sensor can detect the contact area and the contact point between the bluetooth earphone and the left ear of the user, when the bluetooth earphone is arranged on the right ear of the user, the contact sensor can detect the contact area and the contact point between the right ear of the user, because the arrangement position of the contact sensor is not changed, when the bluetooth earphone is switched between the left ear of the user and the right ear of the user, the contact area and the contact point are different, therefore, after the contact parameter of the bluetooth earphone is detected, the contact parameter can be compared with the pre-stored contact parameter of the bluetooth earphone arranged on the left ear of the user and the pre-stored contact parameter of the bluetooth earphone arranged on the right ear of the user to determine the arrangement position of the bluetooth earphone, i.e., determining that the bluetooth headset is the first bluetooth headset or the second bluetooth headset. Similarly, the other bluetooth headset may also be determined as the first bluetooth headset or the second bluetooth headset in the above manner, so that it may be determined whether the two bluetooth headsets are worn on the ear of the user based on the contact parameter, and if the two bluetooth headsets are worn on the ear of the user, the wearing state of the bluetooth headset is determined to be the worn state, and if the two bluetooth headsets are not worn on the ear of the user, the wearing state of the bluetooth headset is determined to be the unworn state.
In addition, whether a first bluetooth headset and a second bluetooth headset are worn on ears of a user can be detected through motion tracks, and specifically, the motion tracks of the first bluetooth headset and the motion tracks of the second bluetooth headset are respectively monitored.
As a mode, the bluetooth headset further comprises an acceleration sensor and/or a gyroscope, wherein the acceleration sensor and/or the gyroscope are arranged in the headset body and used for detecting the motion track of the bluetooth headset and sending the detected motion track to the electronic equipment connected with the bluetooth headset, so that the electronic equipment can detect the motion track of the bluetooth headset. Specifically, the movement track of the first bluetooth headset can be detected through a first acceleration sensor arranged in the first bluetooth headset and sent to the electronic equipment, and the movement track of the second bluetooth headset can be detected through a second acceleration sensor arranged in the second bluetooth headset and sent to the electronic equipment, so that the movement track of the first bluetooth headset and the movement track of the second bluetooth headset can be respectively monitored.
Taking a gyroscope as an example, according to the axis-fixing property of the gyroscope and the known preset posture of the bluetooth headset relative to the direction of a rotating shaft of the gyroscope, when the posture of the bluetooth headset is different from the preset posture and the motion of the bluetooth headset in a certain direction of pitching, yawing or rolling is generated, because the direction of the rotating shaft of the gyroscope is kept unchanged, the change of the posture of the bluetooth headset can be determined by detecting the change of the angular relationship of a bluetooth headset rod relative to the rotating shaft and the angular relationship of the preset posture relative to the rotating shaft, and the motion track of the bluetooth headset can be determined.
And determining the wearing states of the two Bluetooth headsets based on the motion tracks of the two Bluetooth headsets.
In this embodiment, after the motion track of the first bluetooth headset is detected by the acceleration sensor and/or the gyroscope arranged in the headset body of the first bluetooth headset, whether the first bluetooth headset is separated from the left ear of the user is judged based on the motion track, it can be understood that when the motion track of the first bluetooth headset represents that the radian is obvious, the first bluetooth headset can be considered to be separated from the left ear of the user, and when the motion track of the first bluetooth headset does not represent that the radian is obvious, the first bluetooth headset can be considered to be not separated from the left ear of the user
In this embodiment, after the motion trajectory of the second bluetooth headset is detected by the acceleration sensor and/or the gyroscope disposed in the headset body of the second bluetooth headset, whether the second bluetooth headset is separated from the right ear of the user is determined based on the motion trajectory, it can be understood that when the motion trajectory of the second bluetooth headset represents an obvious radian change, the second bluetooth headset may be considered to be separated from the right ear of the user, and when the motion trajectory of the second bluetooth headset does not represent an obvious radian change, the second bluetooth headset may be considered not to be separated from the right ear of the user.
S502: and if the wearing state of the wireless audio playing equipment is the non-wearing state, judging that the wireless audio playing equipment is in the preset state, otherwise, judging that the wireless audio playing equipment is not in the preset state.
S503: and taking the wireless audio playing device in a preset state as a first wireless audio playing device, wherein the audio data played by the first wireless audio playing device in the audio mixing playing process is first audio data.
S504: and taking the wireless audio playing device which is not in the preset state as a second wireless audio playing device, wherein the audio data played by the second wireless audio playing device in the audio mixing playing process is second audio data.
S505: and controlling the second wireless audio playing device to simultaneously play the first audio data and the second audio data so as to realize audio mixing playing.
Therefore, taking stereo as an example, and the wireless audio playing device is a bluetooth headset, the user wears the first bluetooth headset and the second bluetooth headset, and the first bluetooth headset plays the left channel data of the target audio, and the second bluetooth headset plays the right channel data of the target audio, and the first bluetooth headset and the second bluetooth headset play the target audio simultaneously, so that the user can hear the stereo effect of the target audio through the first bluetooth headset and the second bluetooth headset. When the user takes off the first Bluetooth headset, the user can control the second Bluetooth headset to continuously play the left channel data and the right channel data of the target audio through the electronic equipment so as to realize listening to the stereo effect through the second Bluetooth headset.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
In addition, a user has a habit of using the bluetooth earphones to answer the call, and although the bluetooth earphones are in a wearing state at the moment, the user still may abandon using one of the bluetooth earphones to listen to the audio data and use the audio data for answering the call. Specifically, please refer to fig. 6, which illustrates an audio playing method provided by another embodiment of the present application, applied to the electronic device, specifically, the method includes: s601 to S606.
S601: when two wireless audio playing devices are playing different audio data to realize audio mixing playing, whether an audio playing request is acquired is detected, and the audio playing request is used for playing preset types of audio.
Specifically, the determination of the audio playback request may refer to the above-described embodiment. The audio playing request is used to play a preset type of audio, where the preset type of audio may be voice or audio in video, and in this embodiment of the present application, the preset type of audio is voice call type audio. Specifically, the type of the audio corresponding to the audio playing request can be determined based on the audio playing request input by the application program operated by the user, for example, if the user clicks a certain audio or video playing button of the music playing software to input the audio playing request, the type of the audio corresponding to the audio playing request is a pure audio class or a video class.
Specifically, when the electronic device receives an incoming call, i.e., a ringing phone or a vibration alert sounds, the electronic device can detect and display an incoming call interface on the screen. And the user clicks an answering key in the incoming call interface to establish call connection between the current number of the electronic equipment and the incoming call number. Specifically, the phone state of the electronic device can be monitored through a phone manager in the system of the electronic device, so that whether the electronic device is in a call mode can be monitored. The phone manager is an application module in the system of the electronic device, and the user obtains the call state of the electronic device, for example, when the system of the electronic device is an android system, the phone manager is TelephonyManager.
Specifically, as shown in fig. 7, when the electronic device receives a call, an answering interface is displayed, and an answering button is displayed on the answering interface, and the user can click the answering button to put through the call. Specifically, when the connection button is clicked, an audio playing request input by the user is obtained, and the audio playing request requests the user to play call voice in the call process of the electronic device, that is, audio of a voice call type.
S602: and if the request is obtained, determining the wireless audio playing equipment corresponding to the audio playing request.
Specifically, when the user sets a wireless headset for answering a call through the electronic device, the wireless headset may be two wireless headsets, or one of the wireless headsets, and when the user clicks the answer button shown in fig. 7, the user may input an audio play request and answer the call through the wireless headset set by default, that is, the wireless audio play device corresponding to the audio play request is a preset default wireless audio play device, so that the wireless audio play device corresponding to the audio play request can be determined.
As another embodiment, when answering a call, the user can select which wireless audio playback device to answer the call. Specifically, as shown in fig. 8, two listening buttons, namely a first listening button and a second listening button, are disposed on the interface, where the first listening button and the second listening button correspond to different wireless earphones, specifically, the first listening button corresponds to a wireless earphone worn on the left ear, the second listening button corresponds to a wireless earphone worn on the right ear, and the specific manner of determining the earphones of the left ear and the right ear can refer to the foregoing embodiments. The user can input an audio playing request by clicking one of the answering buttons, and the electronic equipment can determine the wireless earphone corresponding to the audio playing request by detecting the first answering button and the second answering button.
S603: and judging the use state of the wireless audio playing equipment corresponding to the audio playing request to be in a preset state.
When a user wants to play audio data in a call process by using a certain wireless earphone, the wireless earphone cannot be used for listening to mixed sound for playing, and the audio data in the call process needs to be played, the use state of the wireless audio playing device corresponding to the audio playing request is judged to be in a preset state, and the other wireless earphone is not in the preset state.
In addition, when the wearing state of the wireless audio playing device is determined to be the non-wearing state, and the wireless audio playing device is determined to be in the preset state, if the wearing state of the wireless audio playing device is the worn state, whether the wireless audio playing device wants to play the audio of the preset type is determined.
Specifically, taking the first bluetooth headset and the second bluetooth headset as an example, if the first bluetooth headset is detached, that is, in an unworn state, it is determined whether the second bluetooth headset intends to play the predetermined type of audio, and if so, the subsequent steps from S604 to S606 are not performed, because the predetermined type of audio has a higher playing priority, for example, the audio of the voice call type has the highest playing level, and can be played first in preference to other types of audio data.
As an implementation manner, when two wireless audio playing devices are playing different audio data to realize audio mixing playing, the wearing state of each wireless audio playing device is obtained, if the wearing state of the wireless audio playing device is an unworn state, it is determined that the wireless audio playing device is in a preset state, otherwise, it is detected whether an audio playing request is obtained, where the audio playing request is used to play a preset type of audio, if the wearing state of the wireless audio playing device is obtained, the wireless audio playing device corresponding to the audio playing request is determined, if the using state of the wireless audio playing device corresponding to the audio playing request is an unworn state, the method is ended, otherwise, S604 is continuously executed.
As another embodiment, before detecting whether an audio playing request is obtained, it may also be determined whether two wireless earphones are both in a wearing state, specifically, when two wireless audio playing devices are playing different audio data to implement audio mixing playing, the wearing state of each wireless audio playing device is obtained, and if the wearing state of each wireless audio playing device is a worn state, whether an audio playing request is obtained is detected, where the audio playing request is used to play a preset type of audio; if the request is obtained, determining the wireless audio playing equipment corresponding to the audio playing request; and judging the use state of the wireless audio playing equipment corresponding to the audio playing request to be in a preset state.
S604: and taking the wireless audio playing device in a preset state as a first wireless audio playing device, wherein the audio data played by the first wireless audio playing device in the audio mixing playing process is first audio data.
S605: and taking the wireless audio playing device which is not in the preset state as a second wireless audio playing device, wherein the audio data played by the second wireless audio playing device in the audio mixing playing process is second audio data.
S606: and controlling the second wireless audio playing device to simultaneously play the first audio data and the second audio data so as to realize audio mixing playing.
Therefore, taking stereo as an example, and the wireless audio playing device is a bluetooth headset, the user wears the first bluetooth headset and the second bluetooth headset, and the first bluetooth headset plays the left channel data of the target audio, and the second bluetooth headset plays the right channel data of the target audio, and the first bluetooth headset and the second bluetooth headset play the target audio simultaneously, so that the user can hear the stereo effect of the target audio through the first bluetooth headset and the second bluetooth headset. When the electronic equipment acquires the incoming call request and the user answers the call by using the first Bluetooth earphone, the user can control the second Bluetooth earphone to continuously play the left channel data and the right channel data of the target audio through the electronic equipment so as to realize the effect of listening to the stereo sound through the second Bluetooth earphone, and the first Bluetooth earphone can play the audio in the call process, so that the user can listen to the call and play the stereo audio at the same time.
In addition, considering that the user does not want the surrounding sound to be too noisy or too loud during answering the call, and needs to adjust the playing volume of the second wireless audio playing device, specifically, controlling the second wireless audio playing device to play the first audio data and the second audio data at the same time to realize the mixed-sound playing includes: and reducing the playing volume of the second wireless audio playing device, and controlling the second wireless audio playing device to play the first audio data and the second audio data at the same time with the reduced playing volume so as to realize sound mixing playing.
Specifically, the playing volume of the second wireless audio playing device is obtained, as an implementation manner, the electronic device sends a volume obtaining request to the second wireless audio playing device, and the second wireless audio playing device feeds back the playing volume of the second wireless audio playing device according to the volume obtaining request after the audio obtaining request is received in the past. As another implementation manner, an audio playing client is disposed in the electronic device, the audio playing client requests to play audio data, and the user can adjust the playing volume of the audio data played in mixed sound through the audio playing client, that is, can set the playing volume when the first wireless audio playing device or the second wireless audio playing device plays the audio data.
And then, acquiring the playing volume of the electronic equipment when playing the preset type of audio, namely the call volume when calling, determining the size relationship between the two, and if the playing volume of the second wireless audio playing equipment is larger than the playing volume of the first wireless audio playing equipment when playing the preset type of audio, reducing the playing volume of the second wireless audio playing equipment. Illustratively, the first wireless audio playing device and the second wireless audio playing device both play audio data at a first volume to achieve an effect of mixed sound playing, and then a user answers a call using the first wireless audio playing device, and a call volume when answering the call is a second volume, a difference between the first volume and the second volume is obtained, a magnitude relation between the first volume and the second volume can be determined according to the difference, and if the first volume is greater than the second volume, the first volume is decreased, specifically, the first volume is decreased to be lower than the second volume, more specifically, half of an absolute value of a volume difference between zero and the second volume is obtained and is recorded as a third volume, and the first volume is adjusted to be the second volume.
Therefore, the user can listen to the audio data of the mixed sound playing while answering the call, and the volume of the audio data of the mixed sound playing is lower than the call volume of the answering call, so that the user cannot clearly listen to the voice in the call because the volume of the audio data of the mixed sound playing is too large.
It should be noted that, for the parts not described in detail in the above steps, reference may be made to the foregoing embodiments, and details are not described herein again.
Referring to fig. 9, a block diagram of an audio playing apparatus 900 according to an embodiment of the present application is shown, where the apparatus may include: a detection unit 901, a first determination unit 902, a second determination unit 903, and a playback unit 904.
The detecting unit 901 is configured to determine whether each of the wireless audio playing devices is in a preset state when the two wireless audio playing devices are playing different audio data to implement mixed-sound playing.
A first determining unit 902, configured to use a wireless audio playing device in a preset state as a first wireless audio playing device, where audio data played by the first wireless audio playing device in a mixed sound playing process is first audio data.
A second determining unit 903, configured to use a wireless audio playing device that is not in a preset state as a second wireless audio playing device, where audio data played by the second wireless audio playing device in a mixed sound playing process is second audio data.
A playing unit 904, configured to control the second wireless audio playing device to play the first audio data and the second audio data simultaneously, so as to implement mixed-sound playing.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 10, a block diagram of an electronic device according to an embodiment of the present application is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a bluetooth module 140, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform the methods as described in the foregoing method embodiments.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
The bluetooth module 140 is used for implementing bluetooth connection between the electronic device and the bluetooth device, and data interaction between the electronic device and the bluetooth device. Specifically, the bluetooth protocol may be used with the bluetooth device by 5.0/4.2/4.1/2.1/2.0, or may also be used by Bluetooth Low Energy (BLE), bluetooth Enhanced Data Rate (EDR), or bluetooth Basic Rate (BR). The bluetooth module 140 may include a power amplifier, a wireless transceiver, a transceiver switch, a low noise amplifier, an antenna, and the like. When sending signals, the transceiver itself will directly output a low-Power weak rf signal, which is sent to a Power Amplifier (PA) for Power amplification, and then radiated to the space through an Antenna (Antenna) by a Transmit/Receive Switch (Transmit/Receive Switch). When receiving signals, the antenna can sense electromagnetic signals in the space, and the electromagnetic signals are sent to a Low Noise Amplifier (LNA) for amplification after passing through the switcher, so that the amplified signals can be directly sent to a transceiver for processing and demodulation, and the bluetooth module 140 can use a 2.4GHz frequency band.
Referring to fig. 11, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 1100 has stored therein program code that can be called by a processor to perform the method described in the above-described method embodiments.
The computer-readable storage medium 1100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 1100 includes a non-volatile computer-readable storage medium. The computer readable storage medium 1100 has storage space for program code 1110 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 1110 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (7)
1. An audio playing method is applied to an electronic device, wherein the electronic device can be connected with two wireless audio playing devices simultaneously, and the method comprises the following steps:
when two wireless audio playing devices play different audio data to realize audio mixing playing, acquiring the wearing state of each wireless audio playing device;
if the wearing state of each wireless audio playing device is a worn state, detecting whether an audio playing request is acquired, wherein the audio playing request is used for playing audio of a voice call type;
if the request is obtained, determining the wireless audio playing equipment corresponding to the audio playing request;
judging the use state of the wireless audio playing equipment corresponding to the audio playing request to be in a preset state;
the method comprises the steps that a wireless audio playing device in a preset state is used as a first wireless audio playing device, and audio data played by the first wireless audio playing device in the audio mixing playing process is first audio data;
if the wireless audio playing device which is not in the preset state is taken as a second wireless audio playing device, the audio data played by the second wireless audio playing device in the audio mixing playing process is taken as second audio data;
controlling the first wireless audio playing device to play the audio of the voice call type;
and controlling the second wireless audio playing device to simultaneously play the first audio data and the second audio data so as to realize audio mixing playing.
2. The method of claim 1, wherein the wireless audio playback device is a wireless headset.
3. The method according to claim 1, wherein the controlling the second wireless audio playing device to simultaneously play the first audio data and the second audio data to realize mixed-sound playing comprises:
reducing the playing volume of the second wireless audio playing device;
and controlling the second wireless audio playing device to play the first audio data and the second audio data at the same time by the reduced playing volume so as to realize sound mixing playing.
4. The method according to any one of claims 1 to 3, wherein when two wireless audio playing devices are playing different audio data to realize mixed-sound playing, acquiring the wearing state of each wireless audio playing device comprises:
and when one wireless audio playing device of the two wireless audio playing devices plays the left channel data of the audio data, and the other wireless audio playing device plays the right channel data of the audio data to realize the stereo playing of the audio data, acquiring the wearing state of each wireless audio playing device.
5. The audio playing device is applied to an electronic device, wherein the electronic device can be connected to two wireless audio playing devices simultaneously, and the audio playing device comprises:
the detection unit is used for acquiring the wearing state of each wireless audio playing device when the two wireless audio playing devices are playing different audio data to realize audio mixing playing; if the wearing state of each wireless audio playing device is a worn state, detecting whether an audio playing request is acquired, wherein the audio playing request is used for playing audio of a voice call type; if the request is obtained, determining the wireless audio playing equipment corresponding to the audio playing request; judging the use state of the wireless audio playing equipment corresponding to the audio playing request to be in a preset state;
the first determining unit is configured to use a wireless audio playing device in a preset state as a first wireless audio playing device, and if audio data played by the first wireless audio playing device in a mixed audio playing process is first audio data;
a second determining unit, configured to use a wireless audio playing device that is not in a preset state as a second wireless audio playing device, where audio data played by the second wireless audio playing device in a mixed audio playing process is second audio data;
the playing unit is used for controlling the first wireless audio playing device to play the audio of the voice call type; and controlling the second wireless audio playing device to simultaneously play the first audio data and the second audio data so as to realize audio mixing playing.
6. An electronic device, comprising:
one or more processors capable of connecting two wireless audio playback devices simultaneously;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-4.
7. A computer-readable storage medium having program code stored therein, the program code being invoked by a processor to perform the method of any of claims 1-4.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811161376.5A CN109379490B (en) | 2018-09-30 | 2018-09-30 | Audio playing method and device, electronic equipment and computer readable medium |
PCT/CN2019/097146 WO2020063069A1 (en) | 2018-09-30 | 2019-07-22 | Audio playing method and apparatus, electronic device and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811161376.5A CN109379490B (en) | 2018-09-30 | 2018-09-30 | Audio playing method and device, electronic equipment and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109379490A CN109379490A (en) | 2019-02-22 |
CN109379490B true CN109379490B (en) | 2021-02-05 |
Family
ID=65402891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811161376.5A Active CN109379490B (en) | 2018-09-30 | 2018-09-30 | Audio playing method and device, electronic equipment and computer readable medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109379490B (en) |
WO (1) | WO2020063069A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379490B (en) * | 2018-09-30 | 2021-02-05 | Oppo广东移动通信有限公司 | Audio playing method and device, electronic equipment and computer readable medium |
CN109831833B (en) * | 2019-03-18 | 2021-01-05 | 成都极客通科技有限公司 | Emergency call-in system and method based on sound mixing control |
CN110505610A (en) * | 2019-04-30 | 2019-11-26 | 努比亚技术有限公司 | Communication management method, equipment, system and readable storage medium storing program for executing |
EP4228285A4 (en) * | 2020-10-28 | 2024-01-03 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Audio control method and device |
CN114650496B (en) * | 2022-03-07 | 2024-09-27 | 维沃移动通信有限公司 | Audio playing method and electronic equipment |
CN115022777A (en) * | 2022-06-08 | 2022-09-06 | Oppo广东移动通信有限公司 | Audio playing parameter updating method, audio data adjusting method, device and medium |
WO2024040527A1 (en) * | 2022-08-25 | 2024-02-29 | Qualcomm Incorporated | Spatial audio using a single audio device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100020998A1 (en) * | 2008-07-28 | 2010-01-28 | Plantronics, Inc. | Headset wearing mode based operation |
CN107295434A (en) * | 2017-05-26 | 2017-10-24 | 广东思派康电子科技有限公司 | TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast |
CN108076306A (en) * | 2017-12-29 | 2018-05-25 | 中兴通讯股份有限公司 | Meeting implementation method, device, equipment and system, computer readable storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104159173A (en) * | 2014-08-27 | 2014-11-19 | 宇龙计算机通信科技(深圳)有限公司 | Earphone, earphone application method, earphone control method and device as well as mobile terminal |
CN105472496A (en) * | 2015-11-21 | 2016-04-06 | 惠州Tcl移动通信有限公司 | Bluetooth earphone and automatic on-off method thereof |
CN106341757A (en) * | 2016-09-30 | 2017-01-18 | 宇龙计算机通信科技(深圳)有限公司 | Sound source simultaneous playing method, device and terminal |
CN108108146A (en) * | 2018-01-19 | 2018-06-01 | 深圳市沃特沃德股份有限公司 | The method and playback equipment that multiple playback equipments are played simultaneously |
CN109379490B (en) * | 2018-09-30 | 2021-02-05 | Oppo广东移动通信有限公司 | Audio playing method and device, electronic equipment and computer readable medium |
-
2018
- 2018-09-30 CN CN201811161376.5A patent/CN109379490B/en active Active
-
2019
- 2019-07-22 WO PCT/CN2019/097146 patent/WO2020063069A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100020998A1 (en) * | 2008-07-28 | 2010-01-28 | Plantronics, Inc. | Headset wearing mode based operation |
CN107295434A (en) * | 2017-05-26 | 2017-10-24 | 广东思派康电子科技有限公司 | TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast |
CN108076306A (en) * | 2017-12-29 | 2018-05-25 | 中兴通讯股份有限公司 | Meeting implementation method, device, equipment and system, computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020063069A1 (en) | 2020-04-02 |
CN109379490A (en) | 2019-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109379490B (en) | Audio playing method and device, electronic equipment and computer readable medium | |
CN109445739B (en) | Audio playing method and device, electronic equipment and computer readable medium | |
US11251763B2 (en) | Audio signal adjustment method, storage medium, and terminal | |
WO2020063046A1 (en) | Audio playback method and device, electronic device and storage medium | |
CN109257500B (en) | Audio playing method and device, electronic equipment and storage medium | |
CN109151566B (en) | Audio playing method and device, electronic equipment and computer readable medium | |
US10950238B2 (en) | Bluetooth speaker base, method and system for controlling thereof | |
WO2017181365A1 (en) | Earphone channel control method, related apparatus, and system | |
CN109151789B (en) | Translation method, device and system and Bluetooth headset | |
CN116684514A (en) | Sound masking method and device and terminal equipment | |
US20190200175A1 (en) | Electronic accessory incorporating dynamic user-controlled audio muting capabilities, related methods and communications terminal | |
CN103414982A (en) | Method and device for offering voice | |
US10827455B1 (en) | Method and apparatus for sending a notification to a short-range wireless communication audio output device | |
CN106982286B (en) | Recording method, recording equipment and computer readable storage medium | |
CN110290441B (en) | Wireless earphone control method and device, wireless earphone and storage medium | |
WO2020063065A1 (en) | Audio transmission method and apparatus, electronic device, and storage medium | |
CN114245328A (en) | Voice call transfer method and electronic equipment | |
KR20170043319A (en) | Electronic device and audio ouputting method thereof | |
CN113709906B (en) | Wireless audio system, wireless communication method and equipment | |
WO2023185589A1 (en) | Volume control method and electronic device | |
CN113518297A (en) | Sound box interaction method, device and system and sound box | |
CN116321084A (en) | Bluetooth communication method, bluetooth communication device, electronic equipment and computer readable medium | |
CN109155803B (en) | Audio data processing method, terminal device and storage medium | |
US11665271B2 (en) | Controlling audio output | |
CN114501239A (en) | Master-slave switching method and device of earphone, Bluetooth earphone and storage medium |
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 |