WO2020156251A1 - 音频的播放采集方法、装置、设备及可读存储介质 - Google Patents
音频的播放采集方法、装置、设备及可读存储介质 Download PDFInfo
- Publication number
- WO2020156251A1 WO2020156251A1 PCT/CN2020/072810 CN2020072810W WO2020156251A1 WO 2020156251 A1 WO2020156251 A1 WO 2020156251A1 CN 2020072810 W CN2020072810 W CN 2020072810W WO 2020156251 A1 WO2020156251 A1 WO 2020156251A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- audio
- terminal
- voice input
- bluetooth headset
- connection mode
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/04—Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/215—Input arrangements for video game devices characterised by their sensors, purposes or types comprising means for detecting acoustic signals, e.g. using a microphone
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/25—Output arrangements for video game devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/08—Mouthpieces; Microphones; Attachments therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/027—Spatial or constructional arrangements of microphones, e.g. in dummy heads
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/033—Headphones for stereophonic communication
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/54—Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/10—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
- A63F2300/1081—Input via voice recognition
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/6063—Methods for processing data by generating or executing the game program for sound processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/07—Applications of wireless loudspeakers or wireless microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
- H04R2430/01—Aspects of volume control, not necessarily automatic, in sound systems
Definitions
- the embodiments of the present application relate to the field of audio processing, and in particular to a method, device, device, and readable storage medium for playing and collecting audio.
- a Bluetooth headset is a headset device that plays the audio currently to be played by the terminal after being connected to the terminal via Bluetooth (English: Bluetooth).
- the Bluetooth headset has a microphone for receiving and a sound unit for sound, and the user can wear Bluetooth
- the earphone listens to the music being played in the music application installed on the terminal, or the background sound of the game being played in the game application.
- the Bluetooth headset and the terminal are connected through the Bluetooth physical link (Synchronous Connection Oriented Voip, SCO Voip) connection mode.
- the Bluetooth headset can sound through the sound unit or through the microphone. Sound, and the sound emitted by the sound unit is a monophonic sound.
- the game background sound of the stereo sound effect is used to identify the position of the other party, such as the position of the gunfire and the sound of the footsteps.
- the Bluetooth headset cannot Playing the background sound of the stereo sound effect while collecting audio, the function of the game application cannot be realized normally.
- the embodiments of the present application provide an audio playback and collection method, device, device, and readable storage medium, which can realize audio collection while playing stereo sound.
- the technical solution is as follows:
- a method for playing and collecting audio is provided, which is applied to a terminal connected with a Bluetooth headset, the terminal is configured with a terminal microphone, and the Bluetooth headset is configured with a headset microphone, the method includes:
- the voice input signal is used to enable a voice input function of the terminal, and the voice input function is used to collect voice input content;
- an audio playback and collection device which is applied to a terminal connected with a Bluetooth headset, the terminal is configured with a terminal microphone, the Bluetooth headset is configured with a headset microphone, and the device includes:
- a display module configured to display a program interface of a target application program, the program interface corresponds to a first audio, and the first audio is played through the Bluetooth headset in the form of a stereo sound effect;
- a receiving module configured to receive a voice input signal, the voice input signal is used to enable a voice input function of the terminal, and the voice input function is used to collect voice input content;
- the sending module is configured to shield the channel opening notification sent to the headset microphone according to the voice input signal, the channel opening notification is used to notify the headset microphone to turn on the first voice input channel; to notify the terminal microphone to turn on the second
- the voice input channel collects second audio as the voice input content.
- a computer device in another aspect, includes a processor and a memory.
- the memory stores at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least A piece of program, the code set or the instruction set is loaded and executed by the processor to realize the audio playback and collection method provided in the above-mentioned embodiment of the present application.
- a computer-readable storage medium stores at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code
- the set or instruction set is loaded and executed by the processor to implement the audio playback and collection method provided in the foregoing embodiment of the present application.
- a computer program product is provided.
- the computer program product runs on a computer, the computer executes the audio playback and collection method provided in the above embodiments of the present application.
- the second audio is collected through the terminal microphone as the voice input content, while ensuring that the first audio played by the Bluetooth headset is stereo sound, the terminal microphone
- the collection of the second audio is realized, which avoids the problem that the Bluetooth headset cannot collect audio while playing stereo sound, and when it is applied to a game application, it ensures that the function of the game application can be implemented normally.
- Fig. 1 is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application
- FIG. 2 is a functional schematic diagram of the Bluetooth headset when data is transmitted between the Bluetooth headset and the terminal through the A2DP protocol provided by an exemplary embodiment of the present application;
- Fig. 4 is a flowchart of a method for playing and collecting audio provided by an exemplary embodiment of the present application
- FIG. 6 is a functional schematic diagram of the Bluetooth headset and the terminal when data is transmitted between the Bluetooth headset and the terminal through the A2DP protocol provided by an exemplary embodiment of the present application;
- FIG. 7 is a flowchart of an audio playback and collection method provided by another exemplary embodiment of the present application.
- FIG. 8 is a schematic diagram of a sound source collection setting interface provided by an exemplary embodiment of the present application.
- FIG. 9 is a functional schematic diagram of the Bluetooth headset when data is transmitted between the Bluetooth headset and the terminal through the SCO Voip protocol according to an exemplary embodiment of the present application.
- FIG. 10 is a flowchart of a method for playing and collecting audio according to another exemplary embodiment of the present application.
- Fig. 11 is a flowchart of a method for playing and collecting audio provided by another exemplary embodiment of the present application.
- Fig. 12 is a structural block diagram of an audio playback and collection device provided by an exemplary embodiment of the present application.
- FIG. 13 is a structural block diagram of an audio playback and collection device provided by another exemplary embodiment of the present application.
- Fig. 14 is a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
- the implementation environment includes a terminal 110, a Bluetooth headset 120, and a server 130.
- the Bluetooth headset 120 and the terminal 110 Connect via Bluetooth.
- the Bluetooth headset 120 and the terminal 110 can use multiple Bluetooth transmission protocols for data transmission.
- the Bluetooth headset 120 and the terminal 110 can use the Bluetooth audio distribution profile (Advanced Audio Distribution Profile, A2DP).
- A2DP Advanced Audio Distribution Profile
- data can also be transmitted through the Bluetooth physical link call (Synchronous Connection Oriented Voip, SCO Voip) protocol, and the Bluetooth transmission protocol between the Bluetooth headset 120 and the terminal 110 can be switched between the above two protocols.
- the Bluetooth headset 120 supports both the A2DP protocol and the SCO Voip protocol.
- the terminal 110 first selects the Bluetooth transmission protocol with the Bluetooth headset 120 as the A2DP protocol, and performs data with the Bluetooth headset 120 through the A2DP protocol For transmission, at any time t2 after the time t1, after the terminal 110 sets the Bluetooth transmission protocol with the Bluetooth headset 120 to the SCO Voip protocol, data transmission is performed with the Bluetooth headset 120 through the SCO Voip protocol.
- the Bluetooth headset 120 is configured with a headset microphone
- the terminal 110 is configured with a terminal microphone.
- the terminal 110 is used to determine the audio to be played, and transmit the audio to be played to the aforementioned Bluetooth headset 120 for playback, such as: playing music in a music application through the Bluetooth headset 120, and playing a game application through the Bluetooth headset 120 The background sound of the game in the program, etc.
- the terminal 110 may also be implemented as multiple terminals. As shown in FIG. 1, the terminal 110 includes a terminal 111, a terminal 112, and a terminal 113.
- the terminal 110 and the server 130 are connected through a communication network 140, and the communication network 140 may be a wired network or a wireless network.
- the game application has a first account logged in, and the server 130 is used to receive voice input content sent by the terminal, and according to the settings of the game application, The voice input content is sent to the terminal 110 corresponding to the teammate account of the first account, and/or the voice input content is sent to the terminal 110 corresponding to the hostile account of the first account.
- a first account is logged in the terminal 111
- a second account is logged in to the terminal 112.
- the first account and the second account are teammates in a game match, and the voice activated by the first account
- the terminal 111 sends the voice input content of the first account to the server 130 through the communication network 140
- the server 130 sends the voice input content to the terminal 112 through the communication network 140 as the voice communication content between teammates.
- A2DP protocol It is a protocol that supports stereo transmission but does not support the audio collection of the Bluetooth headset 120, that is, when the terminal 110 and the Bluetooth headset 120 are used for data transmission through the A2DP protocol, the Bluetooth headset 120 can receive the data sent by the terminal 110 Stereo can also receive mono audio sent by the terminal 110, but the Bluetooth headset 120 cannot send the audio collected by the microphone to the terminal 110 for transmission;
- the Bluetooth headset 120 when data is transmitted between the terminal 110 and the Bluetooth headset 120 through the A2DP protocol, the Bluetooth headset 120 can only play sound and can play in the form of stereo sound effects, but the Bluetooth headset 120 cannot collect Audio.
- the stereo sound effect being played in the terminal is the background sound in the game application, the account logged in in the game application cannot communicate with teammates or enemies.
- SCO Voip protocol It is a protocol that supports both audio transmission and audio collection, but does not support the transmission of stereo sound. That is, when the terminal 110 and the Bluetooth headset 120 perform data transmission through the SCO Voip protocol, the Bluetooth headset 120 It can receive mono audio sent by the terminal 110, or collect audio and transmit it to the terminal 110, but the Bluetooth headset 120 cannot receive the stereo sent by the terminal 110.
- the Bluetooth headset 120 can collect audio and can also play audio, but the audio played by the Bluetooth headset 120 cannot be realized as Stereo sound effects.
- the running application in the terminal is a game application
- the audio played by the Bluetooth headset 120 is a game background sound
- the position of the background sound cannot be confirmed based on the game background sound, such as the position of footsteps, gunshots, etc. .
- FIG. 4 is a flowchart of an audio playback and collection method provided by an exemplary embodiment of the present application.
- the method is applied to the terminal 110 shown in FIG. 1 as an example for explanation.
- the terminal is connected to a Bluetooth headset, and the terminal A terminal microphone is configured, and the Bluetooth headset is configured with a headset microphone.
- the method includes:
- Step 401 Display the program interface of the target application, the program interface corresponds to the first audio, and the first audio is played through the Bluetooth headset in the form of stereo sound effects.
- the target application includes any one of a game application, a music application, a video application, a social application, and a financial application.
- the program interface is a game interface in the game application
- the program interface is a picture that includes a virtual object to observe the virtual environment.
- the first audio corresponding to the game interface is background audio during the game, and when the first audio is audio with stereo sound effects, the first audio is used to identify the position of the sounding position relative to the virtual object in the virtual environment.
- the background audio includes at least one of footsteps, gunshots, magic dubbing, special effects dubbing, and vehicle launch sounds.
- the background audio can be identified.
- the location of the location such as: the location of footsteps, the location of gunfire, etc.
- the program interface includes a virtual object to observe the virtual environment screen.
- the gunshot played by the Bluetooth headset corresponding to the left ear is louder to reflect the direction of the gunshot Located on the left side of the virtual object in the virtual environment.
- the program interface is a playback interface in the music program
- the first audio is music currently being played in the music program
- the music is played through a Bluetooth headset in the form of stereo sound effects.
- the program interface is a video playback interface in the video application
- the first audio is the dubbing audio of the video currently playing in the video application
- the dubbing audio is stereo sound
- the form is played via Bluetooth headset.
- the program interface can be a public social interface in the social application or a chat interface in the social application
- the first audio is the social application
- the first audio can be the audio published in the public social interface, the audio sent by the chat object in the chat interface, or the program background sound of the social application.
- the program interface may be at least one of a transfer interface, a balance viewing interface, and a bill query interface in the financial application
- the first audio may be the financial application
- the program background sound in the program can also be a special effect dubbing in a financial application, such as the sound of gold coins falling.
- the program interface corresponds to the stereo connection mode between the Bluetooth headset and the terminal as the default connection mode, or the currently set connection mode between the Bluetooth headset and the terminal corresponding to the program interface is the stereo connection mode.
- the stereo connection mode is a connection mode for data transmission between the terminal and the Bluetooth headset through the A2DP protocol. That is, when the terminal displays the program interface, the Bluetooth headset and the terminal use the A2DP protocol for data transmission by default, or after the terminal receives the mode selection operation, the A2DP protocol is used as the protocol for data transmission between the Bluetooth headset and the terminal.
- Step 402 Receive a voice input signal.
- the voice input signal is used to enable a voice input function of the terminal, and the voice input function is used to collect voice input content.
- the voice input signal may be generated according to a user's operation in the terminal, or may be sent by the server to the terminal.
- the terminal displays the game battle interface.
- the terminal receives a voice input signal, or when the terminal enters a game battle, the server sends a voice input signal to the terminal to start the game battle interface.
- Voice function When the user turns on the voice function in the game battle interface, the terminal receives a voice input signal, or when the terminal enters a game battle, the server sends a voice input signal to the terminal to start the game battle interface.
- the voice input function may be a function provided in a program interface, a function provided by another interface in the target application program, a function provided by another application program or a function provided by the terminal operating system.
- the voice input function is a voice dialogue function provided by the game interface.
- the voice dialogue function Through the voice dialogue function, the account logged in the game application can communicate with Teammates and/or opponents communicate via voice dialogue.
- the voice input function is a voice translation function provided in a translation application, and the voice input content is translated through the voice translation function.
- Step 403 Shield the channel opening notification sent to the headset microphone according to the voice input signal.
- the channel open notification is used to notify the headset microphone to turn on the first voice input channel, and collect the second audio through the first voice input channel, and shield the channel open notification sent to the headset microphone, then the headset microphone will not receive the channel open Notice, the first voice input channel will not be turned on to collect the second audio.
- Step 404 Notify the terminal microphone to open the second voice input channel to collect the second audio as voice input content.
- the terminal microphone is a microphone configured on the terminal, and optionally, the second audio is audio collected through the terminal microphone.
- the voice input content is content applied to the voice input function.
- the playback of the first audio and the collection of the second audio are performed simultaneously.
- the manner of determining to open the second voice input channel through the terminal microphone includes any one of the following manners:
- the playback sound effect of the first audio being a stereo sound effect
- the voice input channel collects the second audio as the voice input content
- the connection mode between the terminal and the Bluetooth headset is the stereo connection mode by default
- the second voice input channel is turned on through the terminal microphone to collect the second audio as the voice input content.
- the A2DP protocol is used as an example for data transmission between the Bluetooth headset and the terminal.
- the terminal and the Bluetooth headset are performed through the SCO Voip protocol 510
- the terminal and the Bluetooth headset perform data transmission through the A2DP protocol 520, shielding the notification of opening the voice input channel for the Bluetooth headset, and notifying the terminal microphone 530 to open the voice input channel. That is, as shown in FIG. 6, the Bluetooth headset 610 is only responsible for playing the first audio, and the terminal 620 is responsible for collecting the second audio through the microphone.
- the audio playback and collection method when the terminal is connected to a Bluetooth headset and plays the first audio in the form of stereo sound effects through the Bluetooth headset, the second audio is collected through the terminal microphone as the voice input content. While the first audio played by the Bluetooth headset is in the form of stereo sound effects, the second audio is collected through the terminal microphone, which avoids the problem that the Bluetooth headset cannot collect audio while playing stereo sound. It is used in game applications During medium time, ensure that the functions of the game application can be implemented normally.
- FIG. 7 is a flowchart of an audio playback and collection method provided by another exemplary embodiment of the present application. Taking the terminal 110 shown in FIG. 1 as an example for description, as shown in FIG. 7, the method includes:
- Step 701 Display the program interface of the target application, and the program interface corresponds to the first audio.
- the first audio is played through a Bluetooth headset in the form of stereo sound effects, or the first audio is played through a Bluetooth headset in the form of mono sound effects.
- the play form of the first audio is determined according to the connection mode between the Bluetooth headset and the terminal.
- the target application includes any one of a game application, a music application, a video application, a social application, and a financial application.
- the target application is a game application as an example for description.
- the program interface is a game interface in the game application, and the program interface includes a screen for a virtual object to observe the virtual environment.
- the first audio corresponding to the game interface is the background audio during the game.
- the first audio is used to identify the sound position of the first audio according to the stereo sound effect, which is relatively virtual in the virtual environment
- the orientation of the object is relatively virtual in the virtual environment
- the background audio includes at least one of footsteps, gunshots, magic dubbing, special effects dubbing, and vehicle launch sounds.
- the background audio can be identified.
- the location of the location such as: the location of footsteps, the location of gunfire, etc.
- Step 702 Determine the connection mode between the Bluetooth headset and the terminal.
- connection mode includes any one of a stereo connection mode and a mono connection mode.
- connection mode between the Bluetooth headset and the terminal is stereo connection mode
- the first audio corresponding to the program interface is played through the Bluetooth headset in the form of stereo sound effects
- the connection mode between the Bluetooth headset and the terminal is mono In the channel connection mode
- the first audio corresponding to the program interface is played through the Bluetooth headset in the form of a mono sound effect.
- connection mode between the Bluetooth headset and the terminal is determined according to the mode selection operation.
- the terminal receives a mode selection operation, and the mode selection operation is used to select the connection mode between the Bluetooth headset and the terminal between a mono connection mode and a stereo connection mode.
- the second audio is collected through the terminal microphone, that is, the Bluetooth headset is only responsible for playing the first audio, and the data transmission between the Bluetooth headset and the terminal is performed through the A2DP protocol; when the option Bluetooth headset is received During the selection operation on the 822, the second audio is collected through the microphone configured in the Bluetooth headset, that is, the Bluetooth headset is responsible for playing the first audio and collecting the second audio, and the first audio played by the Bluetooth headset is mono audio. Data transmission is carried out between the Bluetooth headset and the terminal through the SCO Voip protocol.
- Step 703 Receive a voice input signal.
- the voice input function may be a function provided in a program interface, a function provided by another interface in the target application program, a function provided by another application program or a function provided by the terminal operating system.
- Step 704 in response to the Bluetooth headset and the terminal being connected in a stereo connection mode, shield the channel opening notification sent to the headset microphone, and notify the terminal microphone to turn on the second voice input channel to collect the second audio as voice input content.
- the corresponding selected connection mode is the stereo connection mode, according to the mode
- the selection operation amplifies the sound intensity of the collected second audio by a preset multiple.
- the playback of the first audio and the collection of the second audio are performed simultaneously.
- Step 705 In response to the connection between the Bluetooth headset and the terminal in a mono connection mode, notify the headset microphone to turn on the first voice input channel to collect the second audio as voice input content.
- the first audio is played through the Bluetooth headset in the form of a mono sound effect.
- the audio playback and collection method when the terminal is connected to a Bluetooth headset and plays the first audio in the form of stereo sound effects through the Bluetooth headset, the second audio is collected through the terminal microphone as the voice input content. While the first audio played by the Bluetooth headset is in the form of stereo sound effects, the second audio is collected through the terminal microphone, which avoids the problem that the Bluetooth headset cannot collect audio while playing stereo sound. It is used in game applications During medium time, ensure that the functions of the game application can be implemented normally.
- FIG. 10 is a flowchart of an audio playback and collection method provided by another exemplary embodiment of the present application. Take the method applied to the terminal 110 shown in FIG. 1 as an example for description. As shown in FIG. 10, the method includes:
- Step 1001 Display the program interface of the target application program, the program interface corresponds to the first audio, and the first audio is played in the form of stereo sound effect through the Bluetooth headset.
- the target application is any one of a game application, a music application, a video application, a social application, and a financial application.
- the program interface corresponds to the stereo connection mode between the Bluetooth headset and the terminal as the default connection mode, or the currently set connection mode between the Bluetooth headset and the terminal corresponding to the program interface is the stereo connection mode.
- the stereo connection mode is a connection mode for data transmission between the terminal and the Bluetooth headset through the A2DP protocol. That is, when the terminal displays the program interface, the Bluetooth headset and the terminal use the A2DP protocol for data transmission by default, or after the terminal receives the mode selection operation, the A2DP protocol is used as the protocol for data transmission between the Bluetooth headset and the terminal.
- Step 1002 Receive a voice input signal.
- the voice input signal is used to turn on the voice input function of the terminal, and the voice input function is a function realized through the collection of voice input content.
- Step 1003 Block the channel opening notification sent to the headset microphone according to the voice input signal.
- the channel opening notification is used to notify the headset microphone to turn on the first voice input channel, and collect the second audio through the first voice input channel, and shield the channel opening notification sent to the headset microphone, then the headset microphone will not receive the channel opening Notice, the first voice input channel will not be turned on to collect the second audio.
- Step 1004 Notify the terminal microphone to turn on the second voice input channel to collect the second audio as voice input content.
- the headset microphone is a microphone configured on a Bluetooth headset
- the terminal microphone is a microphone configured on the terminal
- the second audio is audio collected by the terminal microphone
- the voice input content is content applied to the voice input function.
- Step 1005 Receive a first volume adjustment operation.
- the first volume adjustment operation includes any one of the following operations:
- the volume adjustment key is a physical button on the terminal;
- the terminal interface includes a volume adjustment control, and the adjustment operation on the volume adjustment control is used as the first volume adjustment operation.
- Step 1006 Adjust the playback volume of the first audio according to the first volume adjustment operation.
- Step 1007 Receive a second volume adjustment operation.
- the second volume adjustment operation includes any one of the following operations:
- the volume adjustment key is a physical button on the terminal;
- the terminal interface includes a volume adjustment control, and the adjustment operation on the volume adjustment control is used as the second volume adjustment operation.
- the above-mentioned first volume adjustment operation and the second volume adjustment operation are two different operations, and the objects of adjustment are distinguished through the two different operations.
- Step 1008 Adjust the sound intensity of the collected second audio according to the second volume adjustment operation.
- the audio playback and collection method when the terminal is connected to a Bluetooth headset and plays the first audio in the form of stereo sound effects through the Bluetooth headset, the second audio is collected through the terminal microphone as the voice input content. While the first audio played by the Bluetooth headset is in the form of stereo sound effects, the second audio is collected through the terminal microphone, which avoids the problem that the Bluetooth headset cannot collect audio while playing stereo sound. It is used in game applications During medium time, ensure that the functions of the game application can be implemented normally.
- the microphone of the terminal when the second audio is collected through the terminal, the microphone of the terminal is usually at a certain distance from the sounding position. Therefore, the sound intensity of the collected second audio is usually weak, and two different volume adjustment operations are performed. The volume of the first audio and the input sound intensity of the second audio are adjusted separately to ensure that the sound intensity of the second audio can be adjusted to an appropriate intensity.
- FIG. 11 combining the player, setting the collection source, the connection mode, and the overall performance of the Bluetooth headset and the terminal to describe the audio playback collection method involved in the embodiment of the present application, as shown in FIG. 11 Show:
- Step 1101 The player connects the Bluetooth headset to the terminal.
- the player matches the Bluetooth headset with the terminal in the terminal setting interface.
- the connection between the Bluetooth headset and the terminal is realized; or, the Bluetooth headset is a headset that has established a historical connection relationship with the terminal. Then when the user turns on the Bluetooth headset, a connection relationship between the Bluetooth headset and the terminal is automatically established.
- Step 1102 Set the collection source to be a Bluetooth headset.
- the collection of the second audio is set to be performed by the microphone configured in the Bluetooth headset.
- Step 1103 It is determined that the connection mode is a connection mode through the SCO Voip protocol.
- Step 1104 Play the first audio through the Bluetooth headset, and collect the second audio through the Bluetooth headset.
- the first audio is played in mono.
- Step 1105 Set the collection source as the terminal.
- the collection of the second audio is set to be performed by the terminal microphone configured in the terminal.
- Step 1106 It is determined that the connection mode is a connection mode through the A2DP protocol.
- Step 1107 Play the first audio through the Bluetooth headset, and collect the second audio through the terminal.
- the first audio is played in the form of stereo sound effects.
- the audio playback and collection method when the terminal is connected to a Bluetooth headset and plays the first audio in the form of stereo sound effects through the Bluetooth headset, the second audio is collected through the terminal microphone as the voice input content. While the first audio played by the Bluetooth headset is in the form of stereo sound effects, the second audio is collected through the terminal microphone, which avoids the problem that the Bluetooth headset cannot collect audio while playing stereo sound. It is used in game applications During medium time, ensure that the functions of the game application can be implemented normally.
- FIG. 12 is a structural block diagram of an audio playback and collection device provided by an exemplary embodiment of the present application.
- the terminal is equipped with a terminal microphone, and the Bluetooth headset connected to the terminal is configured There is a headset microphone, the device includes: a display module 1210, a receiving module 1220, and a sending module 1230;
- the display module 1210 is configured to display a program interface of a target application program, the program interface corresponds to a first audio, and the first audio is played through the Bluetooth headset in the form of a stereo sound effect;
- the receiving module 1220 is configured to receive a voice input signal, the voice input signal is used to enable the voice input function of the terminal, and the voice input function is used to collect voice input content;
- the sending module 1230 is configured to shield the channel opening notification sent to the headset microphone according to the voice input signal, and the channel opening notification is used to notify the headset microphone to turn on the first voice input channel; to notify the terminal microphone to turn on the first voice input channel.
- the second voice input channel collects second audio as the voice input content.
- the device also includes:
- a determining module 1240 configured to determine the connection mode between the Bluetooth headset and the terminal
- the sending module 1230 is further configured to respond to the connection between the Bluetooth headset and the terminal in the stereo connection mode, shielding the channel opening notification sent to the headset microphone.
- connection mode between the Bluetooth headset and the terminal is the stereo connection mode
- the stereo connection mode is a default connection mode between the Bluetooth headset and the terminal; or, the stereo connection mode is a connection mode currently set between the Bluetooth headset and the terminal.
- the sending module 1230 is further configured to, in response to the connection between the Bluetooth headset and the terminal in the mono connection mode, notify the headset microphone to turn on the first
- the voice input channel collects the second audio as the voice input content; the first audio is played through the Bluetooth headset in the form of a mono sound effect.
- the receiving module 1220 is further configured to receive a mode selection operation, and the mode selection operation is used to set the connection mode between the Bluetooth headset and the terminal in the mono Selecting between the connection mode and the stereo connection mode;
- the amplification module 1250 is configured to amplify the sound intensity of the collected second audio by a preset multiple in response to the mode selection operation corresponding to the selected connection mode being the stereo connection mode.
- the sending module 1230 is further configured to determine the playback sound effect of the first audio played by the Bluetooth headset; the playback sound effect in response to the first audio is the stereo sound effect Shielding the channel opening notification sent to the headset microphone according to the voice input signal.
- the receiving module 1220 is further configured to receive a first volume adjustment operation, and adjust the playback volume of the first audio according to the first volume adjustment operation.
- the receiving module 1220 is further configured to receive a second volume adjustment operation, and adjust the sound intensity of the collected second audio according to the second volume adjustment operation.
- the target application includes a game application
- the program interface includes a screen for observing a virtual environment based on a virtual object
- the first audio is background audio during the game.
- the first audio is used to identify the position of the sounding position relative to the virtual object in the virtual environment.
- the aforementioned display module 1210 can be implemented by a display screen, or can be implemented by a display screen, a processor, and a memory; the aforementioned receiving module 1220, sending module 1230, determining module 1240, and amplifying module 1250 can be implemented by a processor. It can also be implemented by a combination of a processor and a memory.
- FIG. 14 shows a structural block diagram of a terminal 1400 provided by an exemplary embodiment of the present invention.
- the terminal 1400 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving picture experts compress standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compress standard audio Level 4) Player, laptop or desktop computer.
- the terminal 1400 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
- the terminal 1400 includes a processor 1401 and a memory 1402.
- the processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
- the processor 1401 may adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). achieve.
- the processor 1401 may also include a main processor and a coprocessor.
- the main processor is a processor used to process data in the wake state, also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state.
- the processor 1401 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used to render and draw content that needs to be displayed on the display screen.
- the processor 1401 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process calculation operations related to machine learning.
- AI Artificial Intelligence
- the memory 1402 may include one or more computer-readable storage media, which may be non-transitory.
- the memory 1402 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
- the non-transitory computer-readable storage medium in the memory 1402 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1401 to implement the audio processing provided by the method embodiments of the present application. Play collection.
- the terminal 1400 optionally further includes: a peripheral device interface 1403 and at least one peripheral device.
- the processor 1401, the memory 1402, and the peripheral device interface 1403 may be connected through a bus or signal line.
- Each peripheral device can be connected to the peripheral device interface 1403 through a bus, a signal line, or a circuit board.
- the peripheral device includes: at least one of a radio frequency circuit 1404, a touch display screen 1405, a camera 1406, an audio circuit 1407, a positioning component 1408, and a power supply 1409.
- the peripheral device interface 1403 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1401 and the memory 1402.
- the processor 1401, the memory 1402, and the peripheral device interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1401, the memory 1402, and the peripheral device interface 1403 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
- the radio frequency circuit 1404 is used to receive and transmit RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
- the radio frequency circuit 1404 communicates with a communication network and other communication devices through electromagnetic signals.
- the radio frequency circuit 1404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
- the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
- the radio frequency circuit 1404 can communicate with other terminals through at least one wireless communication protocol.
- the wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area network and/or WiFi (Wireless Fidelity, wireless fidelity) network.
- the radio frequency circuit 1404 may also include NFC (Near Field Communication) related circuits, which is not limited in this application.
- the display screen 1405 is used for displaying UI (User Interface).
- the UI can include graphics, text, icons, videos, and any combination thereof.
- the display screen 1405 also has the ability to collect touch signals on or above the surface of the display screen 1405.
- the touch signal may be input to the processor 1401 as a control signal for processing.
- the display screen 1405 may also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
- the display screen 1405 may be one display screen 1405, which is provided with the front panel of the terminal 1400; in other embodiments, there may be at least two display screens 1405, which are respectively arranged on different surfaces of the terminal 1400 or in a folded design; In still other embodiments, the display screen 1405 may be a flexible display screen, which is arranged on the curved surface or the folding surface of the terminal 1400. Furthermore, the display screen 1405 can also be configured as a non-rectangular irregular pattern, that is, a special-shaped screen.
- the display screen 1405 may be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light emitting diode).
- the audio circuit 1407 may include a microphone and a speaker.
- the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1401 for processing, or input to the radio frequency circuit 1404 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively set in different parts of the terminal 1400.
- the microphone can also be an array microphone or an omnidirectional collection microphone.
- the speaker is used to convert the electrical signal from the processor 1401 or the radio frequency circuit 1404 into sound waves.
- the speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker.
- the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for distance measurement and other purposes.
- the audio circuit 1407 may also include a headphone jack.
- the positioning component 1408 is used to locate the current geographic location of the terminal 1400 to implement navigation or LBS (Location Based Service, location-based service).
- the positioning component 1408 may be a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, or the Galileo system of Russia.
- the power supply 1409 is used to supply power to various components in the terminal 1400.
- the power supply 1409 may be alternating current, direct current, disposable batteries or rechargeable batteries.
- the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery.
- a wired rechargeable battery is a battery charged through a wired line
- a wireless rechargeable battery is a battery charged through a wireless coil.
- the rechargeable battery can also be used to support fast charging technology.
- the terminal 1400 further includes one or more sensors 1410.
- the one or more sensors 1410 include, but are not limited to, an acceleration sensor 1411, a gyroscope sensor 1412, a pressure sensor 1413, a fingerprint sensor 1414, an optical sensor 1415, and a proximity sensor 1416.
- the acceleration sensor 1411 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1400.
- the acceleration sensor 1411 may be used to detect the components of gravitational acceleration on three coordinate axes.
- the processor 1401 may control the touch screen 1405 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1411.
- the acceleration sensor 1411 may also be used for the collection of game or user motion data.
- the gyroscope sensor 1412 can detect the body direction and rotation angle of the terminal 1400, and the gyroscope sensor 1412 can cooperate with the acceleration sensor 1411 to collect the user's 3D actions on the terminal 1400.
- the processor 1401 can implement the following functions according to the data collected by the gyroscope sensor 1412: motion sensing (for example, changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
- the pressure sensor 1413 may be arranged on the side frame of the terminal 1400 and/or the lower layer of the touch screen 1405.
- the processor 1401 performs left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor 1413.
- the processor 1401 operates according to the user's pressure on the touch display screen 1405 to control the operability controls on the UI interface.
- the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
- the fingerprint sensor 1414 is used to collect the user's fingerprint.
- the processor 1401 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 1414, or the fingerprint sensor 1414 identifies the user's identity according to the collected fingerprint.
- the processor 1401 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
- the fingerprint sensor 1414 may be provided on the front, back or side of the terminal 1400. When a physical button or a manufacturer logo is provided on the terminal 1400, the fingerprint sensor 1414 may be integrated with the physical button or the manufacturer logo.
- the optical sensor 1415 is used to collect the ambient light intensity.
- the processor 1401 may control the display brightness of the touch screen 1405 according to the ambient light intensity collected by the optical sensor 1415. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1405 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1405 is decreased.
- the processor 1401 may also dynamically adjust the shooting parameters of the camera assembly 1406 according to the ambient light intensity collected by the optical sensor 1415.
- the proximity sensor 1416 also called a distance sensor, is usually arranged on the front panel of the terminal 1400.
- the proximity sensor 1416 is used to collect the distance between the user and the front of the terminal 1400.
- the processor 1401 controls the touch screen 1405 to switch from the on-screen state to the off-screen state; when the proximity sensor 1416 detects When the distance between the user and the front of the terminal 1400 gradually increases, the processor 1401 controls the touch display screen 1405 to switch from the on-screen state to the on-screen state.
- FIG. 14 does not constitute a limitation on the terminal 1400, and may include more or fewer components than those shown in the figure, or combine certain components, or adopt different component arrangements.
- the embodiment of the present application also provides a computer-readable storage medium that stores at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set Or the instruction set is loaded and executed by the processor to realize the audio playback and collection method described in any one of FIGS. 4, 7 and 10.
- This application also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the audio playback and collection methods provided by the foregoing method embodiments.
- the program can be stored in a computer-readable storage medium.
- the medium may be a computer-readable storage medium included in the memory in the foregoing embodiment; or may be a computer-readable storage medium that exists alone and is not assembled into the terminal.
- the computer-readable storage medium stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor In order to realize the audio playback collection method described in any one of FIG. 4, FIG. 7 and FIG.
- the computer-readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), Solid State Drives (SSD, Solid State Drives), or optical discs.
- random access memory may include resistive random access memory (ReRAM, Resistance Random Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).
- ReRAM resistive random access memory
- DRAM Dynamic Random Access Memory
- the program can be stored in a computer-readable storage medium.
- the storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Telephone Function (AREA)
- Circuit For Audible Band Transducer (AREA)
- Headphones And Earphones (AREA)
Abstract
Description
Claims (20)
- 一种音频的播放采集方法,其特征在于,应用于连接有蓝牙耳机的终端中,所述终端配置有终端麦克风,所述蓝牙耳机配置有耳机麦克风,所述方法包括:显示目标应用程序的程序界面,所述程序界面对应有第一音频,所述第一音频以立体音效的形式通过所述蓝牙耳机播放;接收语音输入信号,所述语音输入信号用于开启所述终端的语音输入功能,所述语音输入功能用于对语音输入内容进行采集;根据所述语音输入信号屏蔽向所述耳机麦克风发送的通道开启通知,所述通道开启通知用于通知所述耳机麦克风开启第一语音输入通道;通知所述终端麦克风开启第二语音输入通道以采集第二音频作为所述语音输入内容。
- 根据权利要求1所述的方法,其特征在于,所述语音输入功能为所述程序界面提供的功能,所述蓝牙耳机和所述终端之间的连接模式包括立体声连接模式和单声道连接模式中的任意一种;所述根据所述语音输入信号屏蔽向所述耳机麦克风发送的通道开启通知,包括:确定所述蓝牙耳机和所述终端之间的所述连接模式;响应于所述蓝牙耳机和所述终端之间通过所述立体声连接模式连接,屏蔽向所述耳机麦克风发送的所述通道开启通知。
- 根据权利要求2所述的方法,其特征在于,所述蓝牙耳机和所述终端之间的连接模式为所述立体声连接模式;所述立体声连接模式为所述蓝牙耳机和所述终端之间的默认连接模式;或,所述立体声连接模式为所述蓝牙耳机和所述终端之间当前设置的连接模式。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:响应于所述蓝牙耳机和所述终端之间通过所述单声道连接模式连接,通知所述耳机麦克风开启所述第一语音输入通道以采集所述第二音频作为所述语音输入内容;所述第一音频以单声道音效的形式通过所述蓝牙耳机播放。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:接收模式选择操作,所述模式选择操作用于对所述蓝牙耳机和所述终端之间的连接模式在所述单声道连接模式和所述立体声连接模式之间进行选择;响应于所述模式选择操作对应被选择的连接模式为所述立体声连接模式,对采集得到的所述第二音频的声强放大预设倍数。
- 根据权利要求1至5任一所述的方法,其特征在于,所述根据所述语音输入信号屏蔽向所述耳机麦克风发送的通道开启通知,包括:对所述蓝牙耳机播放所述第一音频的播放音效进行确定;响应于所述第一音频的播放音效为所述立体音效,根据所述语音输入信号屏蔽向所述耳机麦克风发送的所述通道开启通知。
- 根据权利要求1至5任一所述的方法,其特征在于,所述方法还包括:接收第一音量调节操作,并根据所述第一音量调节操作对所述第一音频的播放音量进行调节。
- 根据权利要求1至5任一所述的方法,其特征在于,所述方法还包括:接收第二音量调节操作,并根据所述第二音量调节操作对采集得到的所述第二音频的声强进行调节。
- 根据权利要求1至5任一所述的方法,其特征在于,所述目标应用程序包括游戏应用程序,所述程序界面中包括根据虚拟对象对虚拟环境进行观察的画面,所述第一音频为游戏过程中的背景音频,当所述第一音频为立体音效的音频时,所述第一音频用于识别发声位置在所述虚拟环境中相对所述虚拟对象的方位。
- 一种音频的播放采集装置,其特征在于,应用于连接有蓝牙耳机的终端中,所述终端配置有终端麦克风,所述蓝牙耳机配置有耳机麦克风,所述装置包括:显示模块,用于显示目标应用程序的程序界面,所述程序界面对应有第一音频,所述第一音频以立体音效的形式通过所述蓝牙耳机播放;接收模块,用于接收语音输入信号,所述语音输入信号用于开启所述终端的语音输入功能,所述语音输入功能用于对语音输入内容进行采集;发送模块,用于根据所述语音输入信号屏蔽向所述耳机麦克风发送的通道开启通知,所述通道开启通知用于通知所述耳机麦克风开启第一语音输入通道;通知所述终端麦克风开启第二语音输入通道以采集第二音频作为所述语音输入内容。
- 根据权利要求10所述的装置,其特征在于,所述语音输入功能为所述程序界面提供的功能,所述蓝牙耳机和所述终端之间的连接模式包括立体声连接模式和单声道连接模式中的任意一种;所述装置还包括:确定模块,用于确定所述蓝牙耳机和所述终端之间的所述连接模式;所述发送模块,还用于响应于所述蓝牙耳机和所述终端之间通过所述立体声连接模式连接,屏蔽向所述耳机麦克风发送的所述通道开启通知。
- 根据权利要求11所述的装置,其特征在于,所述蓝牙耳机和所述终端之间的连接模式为所述立体声连接模式;所述立体声连接模式为所述蓝牙耳机和所述终端之间的默认连接模式;或,所述立体声连接模式为所述蓝牙耳机和所述终端之间当前设置的连接模式。
- 根据权利要求11所述的装置,其特征在于,所述发送模块,还用于响应于所述蓝牙耳机和所述终端之间通过所述单声道连接模式连接,通知所述耳机麦克风开启所述第一语音输入通道以采集所述第二音频作为所述语音输入内容;所述第一音频以单声道音效的形式通过所述蓝牙耳机播放。
- 根据权利要求11所述的装置,其特征在于,所述接收模块,还用于接收模式选择操作,所述模式选择操作用于对所述蓝牙耳机和所述终端之间的连接模式在所述单声道连接模式和所述立体声连接模式之间进行选择;放大模块,用于响应于所述模式选择操作对应被选择的连接模式为所述立体声连接模式,对采集得到的所述第二音频的声强放大预设倍数。
- 根据权利要求10至14任一所述的装置,其特征在于,所述发送模块,还用于对所述蓝牙耳机播放所述第一音频的播放音效进行确定;响应于所述第一音频的播放音效为所述立体音效,根据所述语音输入信号屏蔽向所述耳机麦克风发送的所述通道开启通知。
- 根据权利要求10至14任一所述的装置,其特征在于,所述接收模块,还用于接收第一音量调节操作,并根据所述第一音量调节操作对所述第一音频的播放音量进行调节。
- 根据权利要求10至14任一所述的装置,其特征在于,所述接收模块,还用于接收第二音量调节操作,并根据所述第二音量调节操作对采集得到的所述第二音频的声强进行调节。
- 根据权利要求10至14任一所述的装置,其特征在于,所述目标应用程序包括游戏应用程序,所述程序界面中包括根据虚拟对象对虚拟环境进行观察的画面,所述第一音频为游戏过程中的背景音频,当所述第一音频为立体音效的音频时,所述第一音频用于识别发声位置在所述虚拟环境中相对所述虚拟对象的方位。
- 一种计算机设备,其特征在于,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如权利要求1至9任一所述的音频的播放采集方法。
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如权利要求1至9任一所述的音频的播放采集方法。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP20749204.2A EP3920550A4 (en) | 2019-01-30 | 2020-01-17 | METHOD, APPARATUS AND DEVICE FOR AUDIO PLAYBACK AND COLLECTION AND PLAYABLE STORAGE MEDIA |
SG11202103654YA SG11202103654YA (en) | 2019-01-30 | 2020-01-17 | Audio playing and collection method, apparatus, and device and readable storage medium |
JP2021521252A JP7431820B2 (ja) | 2019-01-30 | 2020-01-17 | オーディオの再生及び収集方法、装置、機器並びにコンピュータプログラム |
KR1020217010999A KR102523919B1 (ko) | 2019-01-30 | 2020-01-17 | 오디오 재생 및 수집 방법, 장치 및 디바이스 및 판독 가능한 저장 매체 |
US17/229,712 US11350215B2 (en) | 2019-01-30 | 2021-04-13 | Audio play and acquisition method and apparatus, device, and readable storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910092056.7A CN110166890B (zh) | 2019-01-30 | 2019-01-30 | 音频的播放采集方法、设备及存储介质 |
CN201910092056.7 | 2019-01-30 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/229,712 Continuation US11350215B2 (en) | 2019-01-30 | 2021-04-13 | Audio play and acquisition method and apparatus, device, and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020156251A1 true WO2020156251A1 (zh) | 2020-08-06 |
Family
ID=67644808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/072810 WO2020156251A1 (zh) | 2019-01-30 | 2020-01-17 | 音频的播放采集方法、装置、设备及可读存储介质 |
Country Status (7)
Country | Link |
---|---|
US (1) | US11350215B2 (zh) |
EP (1) | EP3920550A4 (zh) |
JP (1) | JP7431820B2 (zh) |
KR (1) | KR102523919B1 (zh) |
CN (1) | CN110166890B (zh) |
SG (1) | SG11202103654YA (zh) |
WO (1) | WO2020156251A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112423105A (zh) * | 2020-10-27 | 2021-02-26 | 深圳Tcl新技术有限公司 | 数据传输方法、设备及介质 |
CN113889154A (zh) * | 2021-09-30 | 2022-01-04 | 广州维梦科技有限公司 | 声音录制方法、终端、存储介质 |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166890B (zh) | 2019-01-30 | 2022-05-31 | 腾讯科技(深圳)有限公司 | 音频的播放采集方法、设备及存储介质 |
US20210153118A1 (en) * | 2019-11-20 | 2021-05-20 | Mediatek Inc. | Method for referring to application scenario to manage hardware component of electronic device and associated non-transitory machine-readable medium |
CN113225838A (zh) * | 2020-01-21 | 2021-08-06 | 青岛海信移动通信技术股份有限公司 | 一种麦克风的控制方法、音频接收设备及音频采集设备 |
CN111744192B (zh) * | 2020-06-28 | 2024-02-02 | 网易(杭州)网络有限公司 | 声音的传播方法、装置、电子设备及计算机可读介质 |
CN113380249A (zh) * | 2021-06-11 | 2021-09-10 | 北京声智科技有限公司 | 语音控制方法、装置、设备及存储介质 |
CN113553025B (zh) * | 2021-09-18 | 2021-12-10 | 深圳市外星人创新电子有限公司 | 基于游戏模式的蓝牙耳机的控制方法及系统 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060258406A1 (en) * | 2005-05-11 | 2006-11-16 | Kabushiki Kaisha Toshiba | Portable communication terminal |
US20100004926A1 (en) * | 2008-06-30 | 2010-01-07 | Waves Audio Ltd. | Apparatus and method for classification and segmentation of audio content, based on the audio signal |
CN106412259A (zh) * | 2016-09-14 | 2017-02-15 | 广东欧珀移动通信有限公司 | 移动终端通话控制方法、装置及移动终端 |
CN108924361A (zh) * | 2018-07-10 | 2018-11-30 | 南昌黑鲨科技有限公司 | 音频播放和采集控制方法、系统及计算机可读存储介质 |
CN110166890A (zh) * | 2019-01-30 | 2019-08-23 | 腾讯科技(深圳)有限公司 | 音频的播放采集方法、设备及存储介质 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6084973A (en) * | 1997-12-22 | 2000-07-04 | Audio Technica U.S., Inc. | Digital and analog directional microphone |
KR100735413B1 (ko) * | 2006-08-08 | 2007-07-04 | 삼성전자주식회사 | 블루투스를 이용하여 음악 데이터 재생 중 음성을입출력하는 이동통신 단말기 및 음성 입출력 방법 |
JP2008092093A (ja) * | 2006-09-29 | 2008-04-17 | Yamaha Corp | 楽音再生装置及びプログラム |
US20080101274A1 (en) * | 2006-10-31 | 2008-05-01 | Motorola, Inc. | Method and system for delaying a push to connect channel establishment |
KR20080066136A (ko) * | 2007-01-11 | 2008-07-16 | 엘지이노텍 주식회사 | 블루투스 헤드셋을 이용한 음악 재생 방법 |
US9883271B2 (en) * | 2008-12-12 | 2018-01-30 | Qualcomm Incorporated | Simultaneous multi-source audio output at a wireless headset |
KR101615382B1 (ko) * | 2009-12-18 | 2016-04-25 | 한국전자통신연구원 | 게임 장치에서의 오디오 제공 시스템 |
CN101984728B (zh) * | 2010-10-22 | 2013-10-02 | 惠州Tcl移动通信有限公司 | 一种基于蓝牙耳机实现可视通话的方法及可视通信终端 |
CN104969289B (zh) * | 2013-02-07 | 2021-05-28 | 苹果公司 | 数字助理的语音触发器 |
KR102289474B1 (ko) * | 2015-02-27 | 2021-08-13 | 삼성전자주식회사 | 오디오를 출력하는 방법 및 이를 위한 전자 장치 |
CN105050034B (zh) * | 2015-08-25 | 2017-04-05 | 百度在线网络技术(北京)有限公司 | 基于蓝牙连接的语音服务实现方法和装置及系统 |
-
2019
- 2019-01-30 CN CN201910092056.7A patent/CN110166890B/zh active Active
-
2020
- 2020-01-17 KR KR1020217010999A patent/KR102523919B1/ko active IP Right Grant
- 2020-01-17 WO PCT/CN2020/072810 patent/WO2020156251A1/zh unknown
- 2020-01-17 EP EP20749204.2A patent/EP3920550A4/en active Pending
- 2020-01-17 SG SG11202103654YA patent/SG11202103654YA/en unknown
- 2020-01-17 JP JP2021521252A patent/JP7431820B2/ja active Active
-
2021
- 2021-04-13 US US17/229,712 patent/US11350215B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060258406A1 (en) * | 2005-05-11 | 2006-11-16 | Kabushiki Kaisha Toshiba | Portable communication terminal |
US20100004926A1 (en) * | 2008-06-30 | 2010-01-07 | Waves Audio Ltd. | Apparatus and method for classification and segmentation of audio content, based on the audio signal |
CN106412259A (zh) * | 2016-09-14 | 2017-02-15 | 广东欧珀移动通信有限公司 | 移动终端通话控制方法、装置及移动终端 |
CN108924361A (zh) * | 2018-07-10 | 2018-11-30 | 南昌黑鲨科技有限公司 | 音频播放和采集控制方法、系统及计算机可读存储介质 |
CN110166890A (zh) * | 2019-01-30 | 2019-08-23 | 腾讯科技(深圳)有限公司 | 音频的播放采集方法、设备及存储介质 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3920550A4 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112423105A (zh) * | 2020-10-27 | 2021-02-26 | 深圳Tcl新技术有限公司 | 数据传输方法、设备及介质 |
CN112423105B (zh) * | 2020-10-27 | 2024-03-15 | 深圳Tcl新技术有限公司 | 数据传输方法、设备及介质 |
CN113889154A (zh) * | 2021-09-30 | 2022-01-04 | 广州维梦科技有限公司 | 声音录制方法、终端、存储介质 |
CN113889154B (zh) * | 2021-09-30 | 2024-03-19 | 广州维梦科技有限公司 | 声音录制方法、终端、存储介质 |
Also Published As
Publication number | Publication date |
---|---|
SG11202103654YA (en) | 2021-05-28 |
CN110166890A (zh) | 2019-08-23 |
US20210235193A1 (en) | 2021-07-29 |
KR102523919B1 (ko) | 2023-04-19 |
KR20210058908A (ko) | 2021-05-24 |
EP3920550A4 (en) | 2022-03-16 |
EP3920550A1 (en) | 2021-12-08 |
US11350215B2 (en) | 2022-05-31 |
JP2022505283A (ja) | 2022-01-14 |
CN110166890B (zh) | 2022-05-31 |
JP7431820B2 (ja) | 2024-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020156251A1 (zh) | 音频的播放采集方法、装置、设备及可读存储介质 | |
CN110764730B (zh) | 播放音频数据的方法和装置 | |
WO2021008055A1 (zh) | 视频合成的方法、装置、终端及存储介质 | |
KR102336368B1 (ko) | 오디오 데이터를 재생하기 위한 방법 및 장치 | |
WO2019128592A1 (zh) | 进行直播的方法和装置 | |
CN112492097B (zh) | 音频播放方法、装置、终端及计算机可读存储介质 | |
CN110996305B (zh) | 连接蓝牙设备的方法、装置、电子设备及介质 | |
CN110618805B (zh) | 调整设备电量的方法、装置、电子设备及介质 | |
CN109324739B (zh) | 虚拟对象的控制方法、装置、终端及存储介质 | |
WO2021148013A1 (zh) | 互动数据播放方法及电子设备 | |
CN110401898B (zh) | 输出音频数据的方法、装置、设备和存储介质 | |
CN110708630B (zh) | 控制耳机的方法、装置、设备及存储介质 | |
CN110740340A (zh) | 视频直播方法及装置、存储介质 | |
US11272304B2 (en) | Method and terminal for playing audio data, and storage medium thereof | |
CN111142838A (zh) | 音频播放方法、装置、计算机设备及存储介质 | |
CN110856152A (zh) | 播放音频数据的方法、装置、电子设备及介质 | |
CN110234036B (zh) | 一种播放多媒体文件的方法、装置及系统 | |
WO2020258698A1 (zh) | 歌词显示方法、装置、设备及存储介质 | |
CN111818358A (zh) | 音频文件的播放方法、装置、终端及存储介质 | |
EP3955580A1 (en) | Method and apparatus for managing live-streaming room, and storage medium | |
WO2021003949A1 (zh) | 歌曲播放方法、装置及系统 | |
CN108196813B (zh) | 添加音效的方法和装置 | |
CN110808021A (zh) | 音频播放的方法、装置、终端及存储介质 | |
CN110933454A (zh) | 处理直播萌脸礼物的方法、装置、设备及存储介质 | |
WO2022227589A1 (zh) | 音频处理方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20749204 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20217010999 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2021521252 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2020749204 Country of ref document: EP Effective date: 20210830 |