CN114257924A - Method for distributing sound channels and related equipment - Google Patents

Method for distributing sound channels and related equipment Download PDF

Info

Publication number
CN114257924A
CN114257924A CN202011014924.9A CN202011014924A CN114257924A CN 114257924 A CN114257924 A CN 114257924A CN 202011014924 A CN202011014924 A CN 202011014924A CN 114257924 A CN114257924 A CN 114257924A
Authority
CN
China
Prior art keywords
sound
sound box
speaker
box
voice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011014924.9A
Other languages
Chinese (zh)
Inventor
种冲
蔡双林
朱涛
李龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011014924.9A priority Critical patent/CN114257924A/en
Priority to PCT/CN2021/118531 priority patent/WO2022062999A1/en
Publication of CN114257924A publication Critical patent/CN114257924A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/02Spatial or constructional arrangements of loudspeakers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/18Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using ultrasonic, sonic, or infrasonic waves
    • G01S5/20Position of source determined by a plurality of spaced direction-finders
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S1/00Two-channel systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control
    • H04S7/30Control circuits for electronic adaptation of the sound field
    • H04S7/302Electronic adaptation of stereophonic sound system to listener position or orientation
    • H04S7/303Tracking of listener position or orientation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Abstract

The embodiment of the application provides a method for distributing sound channels and related equipment, and relates to the technical field of multimedia audio. By adopting the method provided by the embodiment of the application, the operation mode of distributing the sound channels can be reduced, so that the stereo sound box group can easily form stereo sound effect. The method can comprise the following steps: the method comprises the steps that a first sound box obtains a first voice and determines the direction of a sound source emitting the first voice, wherein the first voice is used for indicating the first sound box to distribute sound channels for each sound box in a stereo sound box group, and the stereo sound box group comprises the first sound box and a second sound box; the first sound box configures the sound channel of the first sound box as the parameter of the first sound channel and configures the sound channel of the second sound box as the parameter of the second sound channel according to the direction of the sound source which sends the first voice and the direction of the second sound box.

Description

Method for distributing sound channels and related equipment
Technical Field
The embodiment of the application relates to the technical field of multimedia audio, in particular to a method for distributing sound channels and related equipment.
Background
In pursuit of better sound reproduction, people often create stereo speaker systems using multiple speakers. When a stereo speaker system is created, a speaker group network is first created for a plurality of speakers, that is, a plurality of speakers (or called slave speakers) are connected to a local area network of one of the speakers (or called master speaker). And secondly, allocating sound channels for each sound box in the plurality of sound boxes to form a stereo sound box system. When the stereo sound box system is used for playing audio files, a surround sound field can be formed, a reverberation effect is generated, and the user can feel as if he is at the scene.
Generally, after a plurality of speakers form a speaker group network, a sound channel of each speaker in the plurality of speakers may be set by an electronic device (e.g., a mobile phone), so that the plurality of speakers form a stereo speaker system. For example, two speakers and a mobile phone are in the same local area network, the two speakers form a speaker network, and left and right sound channels are set for the two speakers based on the operation of a user on the mobile phone. For example, the first speaker is set as a left channel speaker, and the second speaker is set as a right channel speaker. Thus, the two sound boxes form a two-channel stereo sound box system, when an audio file is played, the first sound box plays left channel audio, and the second sound box plays right channel audio.
In addition, after the plurality of sound boxes form a sound box network, sound channels can be set for the sound boxes through keys on the sound boxes, so that the plurality of sound boxes form a stereo sound box system. For example, two enclosures are in the same local area network, and the two enclosures form a stereo enclosure. Through the key operation to on first audio amplifier and the second audio amplifier, set up first audio amplifier into the left track audio amplifier, set up the second audio amplifier into the right track audio amplifier. Thus, the two enclosures constitute a two-channel stereo enclosure system.
The above method for distributing sound channels is complex to operate, so that the difficulty in setting the sound channels of the stereo sound box system is increased. Particularly, for the personnel who operate for the first time, the operation is more complicated and complicated, and is difficult to implement.
Disclosure of Invention
The application provides a method for distributing sound channels and related equipment, which can reduce the operation mode of distributing the sound channels, so that a stereo sound effect is easily formed by a stereo sound box set.
In order to achieve the technical purpose, the following technical scheme is adopted in the application:
in a first aspect, the present application provides a method for allocating sound channels, which may be applied to a stereo speaker set composed of at least two speakers, for example, where the stereo speaker set includes a first speaker and a second speaker. The method can comprise the following steps: the first sound box obtains first voice, the direction of a sound source emitting the first voice is determined, and the first voice is used for indicating the first sound box to distribute sound channels for each sound box in the stereo sound box group. The first sound box configures the sound channel of the first sound box as the parameter of the first sound channel and configures the sound channel of the second sound box as the parameter of the second sound channel according to the direction of the sound source of the first voice and the direction of the second sound box. That is, the first loudspeaker may assign a sound channel to each loudspeaker in the stereo loudspeaker group. The first channel may be either a left channel or a right channel. If the first channel is a left channel, the second channel is a right channel; if the first channel is a right channel, the second channel is a left channel.
It will be appreciated that the first voice is uttered by a user for controlling the first loudspeaker to assign a channel to each loudspeaker in the stereo loudspeaker group. Therefore, the purpose of allocating sound channels to each sound box in the stereo sound box group can be achieved through voice, and the operation difficulty of allocating the sound channels is reduced. Moreover, the first speaker may allocate sound channels to the first speaker and the second speaker according to a direction in which a user is located (i.e., a direction in which a sound source that utters the first voice is located) and a direction of the second speaker. That is to say, in the method provided by the embodiment of the present application, direction confirmation may be performed according to a sound source, so as to accurately allocate a sound channel, and provide a better hearing experience for a user.
In a possible implementation manner of the first aspect, before the first sound box configures the sound channels of the first sound box and the second sound box according to the direction of the sound source of the first voice and the direction of the second sound box, the first sound box may determine the direction of the second sound box. The first sound box can send first sound wave information, and the first sound wave information is used for indicating the second sound box to send out second sound waves. The first sound box receives the second sound wave information, and the direction of the second sound box can be determined according to the direction of the second sound wave information.
The first loudspeaker box and the second loudspeaker box are positioned through sound waves, operation commands do not need to be acquired, and the stereo loudspeaker box set can be directly established according to the sound waves of the first loudspeaker box and the second loudspeaker box. The realization mode reduces the operation difficulty and improves the intelligence degree of the system.
In another possible implementation manner of the first aspect, the first sound box may further receive indication information, where the indication information is used to indicate that the position of the second sound box is changed. In this case, the first speaker may issue a voice prompt for prompting whether to replace the sound channels of the first speaker and the second speaker.
When the position of the second sound box is changed, the stereo sound effect of the stereo sound box may be destroyed. If the first sound box gives out voice prompt, the user is prompted to change the information of each sound channel in the stereo sound box set, so that the stereo sound box set can always provide good stereo sound effect for the user.
For example, when the first sound box determines to replace the sound channels of the first sound box and the second sound box, the first sound box may determine the direction of the user according to the sound, and determine the sound channels of the first sound box and the second sound box according to the direction of the second sound box (i.e., the position of the second sound box after moving).
In another possible implementation manner of the first aspect, the first sound box may further obtain a second voice, where the second voice is used to instruct the first sound box to replace sound channels of the first sound box and the second sound box. And the first sound box responds to the second voice, configures the sound channel of the first sound box as the parameter of the second sound channel, and configures the sound channel of the second sound box as the parameter of the first sound channel.
Wherein, the second pronunciation are used for instructing the sound channel of switching first audio amplifier and second audio amplifier, and then first audio amplifier can change the sound channel setting of first audio amplifier and second audio amplifier. In the mode of controlling the first loudspeaker box through voice, the operation difficulty is reduced, and the user experience is better.
In another possible implementation manner of the first aspect, the first speaker determines that a third speaker is added to the stereo speaker group, and the first speaker determines a direction in which the third speaker is located. The first sound box can be configured with a sound channel of the third sound box according to the direction of the third sound box and the direction of the second sound box.
In another possible implementation manner of the first aspect, the first speaker acquires a third voice, and the third voice is used to instruct the first speaker to cancel the channel allocation. The first loudspeaker responds to the third voice, and disperses the stereo loudspeaker box group, so that each loudspeaker box in the stereo loudspeaker box group works independently.
In a second aspect, the present application further provides an apparatus for allocating a sound channel, where the apparatus includes an obtaining module and a configuring module, and the apparatus may be a first loudspeaker. The obtaining module may be configured to obtain a first voice, and determine a direction in which a sound source that emits the first voice is located, where the first voice is used to instruct the first sound box to allocate a sound channel to each sound box in the stereo sound box. The stereo sound box group comprises a first sound box and a second sound box. The configuration module may be configured to configure the sound channel of the first sound box as a parameter of the first sound channel and configure the sound channel of the second sound box as a parameter of the second sound channel according to a direction in which a sound source emitting the first sound is located and a direction in which the second sound box is located.
In a possible implementation manner of the second aspect, the apparatus for allocating channels may further include: and a positioning module. The positioning module may be configured to send first sound wave information, where the first sound wave information is used to instruct the second sound box to send second sound wave information; and receiving the second sound wave information, and determining the direction of the second sound box according to the direction of the second sound wave information.
In another possible implementation manner of the second aspect, the apparatus for allocating channels may further include a voice module. The obtaining module may be further configured to receive indication information, where the indication information is used to indicate a location change of the second information. The voice module can be used for sending out a voice question, and the voice prompt is used for prompting whether to replace sound channels of the first sound box and the second sound box.
In another possible implementation manner of the second aspect, the obtaining module may be further configured to obtain a second voice, where the second voice is used to instruct the first sound box to replace the sound channels of the first sound box and the second sound box. The configuration module may be further configured to, in response to the second voice, configure the sound channel of the first sound box as a parameter of the second sound channel, and configure the sound channel of the second sound box as a parameter of the first sound channel.
In another possible implementation manner of the second aspect, the apparatus for allocating channels may further include a determining module. The determining module may be configured to determine that the third speaker is added to the stereo speaker group, and the first speaker is configured to determine a direction in which the third speaker is located. The configuration module is further used for configuring the sound channel of the third sound box as the parameter of the third sound channel according to the direction of the second sound box and the direction of the third sound box.
In another possible implementation manner of the second aspect, the obtaining module may further be configured to obtain a third voice, where the third voice is used to instruct the first loudspeaker to cancel the channel allocation. The configuration module may be further configured to, in response to the third voice, dismiss the stereo speaker set such that each speaker in the stereo speaker set operates independently.
In a third aspect, the present application further provides an electronic device, where the first electronic device may include: a memory and one or more processors; the memory is coupled to the processor. Wherein the memory is adapted to store computer program code, the computer program code comprising computer instructions that, when executed by the processor, cause the first electronic device to perform the method of the first aspect and any of its possible implementations.
In a fourth aspect, the present application further provides a chip system, where the chip system is applied to an electronic device; the system-on-chip may include one or more interface circuits and one or more processors. The interface circuit is interconnected to the processor by a wire, and the interface circuit is configured to receive a signal from a memory of the electronic device and transmit the signal to the processor, the signal including computer instructions stored in the memory. When the processor executes the computer instructions described above, the electronic device performs the method of the first aspect and any of its possible implementations.
In a fifth aspect, the present application further provides a computer-readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of the first aspect and any of its possible implementations.
In a sixth aspect, the present application also provides a computer program product, which, when run on a computer, causes the computer to perform the method of the first aspect and any of its possible implementations.
It should be understood that the advantageous effects achieved by the apparatus for allocating channels according to the second aspect, the electronic device according to the third aspect, the chip system according to the fourth aspect, the computer-readable storage medium according to the fifth aspect, and the computer program product according to the sixth aspect provided by the present application can be referred to as the advantageous effects of the first aspect and any possible design thereof, and are not described herein again.
Drawings
Fig. 1A is a schematic view of a stereo speaker set according to an embodiment of the present disclosure;
fig. 1B is a scene schematic diagram of a sound source localization method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an application scenario of a method for allocating channels according to an embodiment of the present application;
fig. 3 is a schematic diagram of a hardware structure of an intelligent sound box provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an intelligent sound box provided in the embodiment of the present application;
FIG. 5A is a schematic diagram of another sound source localization scenario provided by an embodiment of the present application;
FIG. 5B is a schematic diagram of another sound source localization scenario provided by an embodiment of the present application;
fig. 6A is a flowchart of a method for allocating channels according to an embodiment of the present application;
fig. 6B is a flowchart of a method for establishing a stereo speaker group according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for allocating channels according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an intelligent sound box provided in the embodiment of the present application;
fig. 9 is a schematic structural diagram of a chip system according to an embodiment of the present disclosure.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
The embodiment of the application provides a method for allocating sound channels, which can be applied to the established stereo sound box group. Wherein, the stereo sound box group comprises at least two sound boxes. The sound channel of each sound box in the stereo sound box group is set, so that a surround sound field is formed when the stereo sound box group plays an audio file. By adopting the method for allocating the sound channels in the embodiment of the application, the stereo sound box group can allocate the sound channels for each sound box in the stereo sound box group according to the indication of the voice information. The difficulty of distributing sound channels for the stereo sound box set is reduced, and the stereo sound box set is easy to form stereo sound effect.
It will be appreciated that at least two enclosures form a stereo enclosure group comprising a master enclosure and a plurality of slave enclosures (enclosures other than the master enclosure). The main sound box can interact with a user, and the auxiliary sound box makes sound under the control of the main sound box, so that the stereo sound box group can work like one sound box.
Generally, after a plurality of speakers are formed into a stereo speaker, the sound channels of the master speaker and the slave speaker may be set by a specific placement angle for the master speaker and the slave speaker. Taking the stereo speaker set composed of two speakers as an example, please refer to fig. 1A, which is a stereo speaker set composed of two speakers. As shown in fig. 1A, the first speaker 10 is a master speaker, and the second speaker 11 is a slave speaker. The speaker of the main speaker is aligned with the direction of the user, and the speaker of the slave speaker is also aligned with the direction of the user. Based on the position of the user, the slave loudspeaker box can be set as a left sound channel, and the master loudspeaker box is set as a right sound channel. Thus, when the stereo sound box set plays an audio file, the slave sound box plays audio of a left sound channel, and the master sound box plays audio of a right sound channel, so that the stereo sound box set forms a surround sound field.
It will be appreciated that in the scenario shown in FIG. 1A, the sound channels of the slave and master enclosures that are set may be inaccurate if the speakers of the master and slave enclosures are oriented differently. It is assumed that the speaker of the master speaker is oriented opposite to the direction of the user, and the speaker of the slave speaker is oriented opposite to the direction of the user. Therefore, the master speaker is set as the left channel, and the slave speaker is set as the right channel, and when the stereo speaker set plays an audio file, the left and right channels are opposite to each other for the user.
A plurality of sound boxes form a stereo sound box group, and a correct sound channel is allocated to each sound box, so that a good surround sound effect can be provided for a user when an audio file is played.
For example, by adopting the sound source positioning provided by the embodiment of the application, the main sound box can determine the direction of the user and the direction of the slave sound box by using the sound source positioning method, so as to allocate sound channels to the slave sound box and the main sound box. Please refer to fig. 1B, which is a schematic diagram of a scene using sound source localization. As shown in fig. 1B, a master speaker 20, two slave speakers (e.g., a first slave speaker 21 and a second slave speaker 22 in fig. 1B) form a stereo speaker group. The main sound box determines the direction of the user based on the sound source positioning, and determines the direction of the first slave sound box 21 and the direction of the second slave sound box 22 through the sound source positioning. The master speaker sets the first slave speaker 21 as a left channel, sets the second slave speaker 22 as a right channel, and sets the master speaker as stereo. In this way, the main speakers in the stereo speaker set can be assigned the correct sound channels, and the stereo speaker set shown in fig. 1B plays the audio files to form a stereo surround sound field.
An application scenario of the method provided by the embodiment of the present application will be described below.
Please refer to fig. 2, which is a schematic view of an application scenario of the method for allocating channels according to the embodiment of the present application. As shown in fig. 2, includes an electronic device 100, and a plurality of smart speakers (e.g., a first speaker 101 and a second speaker 102). The electronic device 100, the first speaker 101, and the second speaker 102 are all connected to the same lan, and the electronic device 100 may combine the first speaker 101 and the second speaker 300 into a stereo speaker group. In the electronic device 100, the first speaker 102 and the second speaker 102 are combined into a stereo speaker group, and the first speaker 101 may be set as a master speaker, and the second speaker 102 is a slave speaker. By adopting the method provided by the embodiment of the application, the sound channel can be set for each sound box in the stereo sound box group through the main sound box. Therefore, when the stereo sound box group plays the audio file, a surrounding sound field is formed, so that a user can hear the sound played by the stereo sound box group and feel as if the user is in the scene.
For example, when the first speaker 101 and the second speaker 102 form a stereo speaker set, the main speaker may receive a voice of "component stereo" from a user (or referred to as a first voice), and determine a direction in which the user is located according to the voice. And the main sound box determines the direction of the slave sound box, and sound channels are distributed for the main sound box and the slave sound box according to the direction of the user and the direction of the slave sound box. For example, the main speaker recognizes that the slave speaker is on the left side of the user according to the direction of the user, and the main speaker sets the slave speaker as a left channel and the main speaker as a right channel. For another example, the master speaker recognizes that the slave speaker is on the right side of the user according to the direction of the user, and the master speaker sets the slave speaker as a right channel and the master speaker as a left channel.
The method provided by the embodiment of the application simplifies the way of distributing the sound channels for the stereo sound box set, the main sound box can determine the direction of the user according to the received voice of the user, and the sound channels are distributed according to the direction of the auxiliary sound box. The operation difficulty of distributing sound channels for the stereo sound box set is reduced, the stereo sound box set is easy to distribute the sound channels, and stereo sound effects are formed when the audio file is played.
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
Please refer to fig. 3, which is a schematic structural diagram of an intelligent sound box 200 according to an embodiment of the present application. As shown in fig. 3, smart sound box 200 may include a processor 210, an external memory interface 220, an internal memory 221, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, a sound source localization module 250, a wireless communication module 260, an audio module 270, a sensor module 280, a button 290, and the like. Wherein the sensor module 280 may include a gravity sensor 280A, a direction sensor 280B, an acceleration sensor 280C, and the like.
It is understood that the illustrated structure of the embodiment of the present invention does not specifically limit the smart sound box 200. In other embodiments of the present application, smart sound box 200 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: processor 210 may include a modem processor, a Graphics Processing Unit (GPU), an audio processor (or referred to as a digital processor) controller, a memory, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processor (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
Wherein, the controller can be the neural center and the command center of the smart sound box 200. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that have just been used or recycled by processor 210. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 210, thereby increasing the efficiency of the system.
In some embodiments, processor 210 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrated schematically, and does not form a structural limitation on the smart sound box 200. In other embodiments of the present application, the smart sound box 200 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
External memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of smart sound box 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 221 may be used to store computer-executable program code, including instructions. Processor 210 executes various functional applications and data processing of smart sound box 200 by executing instructions stored in internal memory 221. The internal memory 221 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data) created during use of smart sound box 200, and the like. In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charge management module 240 to power the processor 210, the internal memory 221, the external memory, the wireless communication module 260, and the like.
The acoustic source localization module 250 includes an acoustic wave generator 251 and an acoustic wave receiver 252. The sound source locator 250 may be in data communication with the processor 210. The acoustic wave generator 251 may emit an acoustic wave signal in a preset frequency band, and the acoustic wave receiver 252 may receive the acoustic wave signal. In some embodiments, the sound source localization module 250 may determine the direction from which the sound source is located based on the received sound wave signals. For example, the sound source localization module 250 determines the direction in which the user is located according to the received voice of the user. As another example, the sound source localization module 250 determines the direction in which the smart speaker is located based on the received sound wave signals emitted by other smart speakers (e.g., from speakers).
Wireless communication module 260 may provide a solution for wireless communication applied to smart sound box 200, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), and the like. The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 1, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 260 may also receive a signal to be transmitted from the processor 210, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 1 to radiate the electromagnetic waves.
Smart speaker 200 may implement audio functions via audio module 270, speaker 270A, receiver 270B, microphone 270C, and an application processor, for example. Such as music playing, obtaining voice information, recording, etc.
Audio module 270 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. Audio module 270 may also be used to encode and decode audio signals. In some embodiments, the audio module 270 may be disposed in the processor 210, or some functional modules of the audio module 270 may be disposed in the processor 110. The speaker 270A, also called a "horn", is used to convert an audio electrical signal into an acoustic signal. The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. The microphone 270C, also referred to as a "microphone," is used to convert acoustic signals into electrical signals.
It is understood that smart sound box 200 may be provided with a plurality of speakers 270A, and a plurality of microphones 270C. In some embodiments, smart sound box 200 is configured with speakers 270A in six orientations, and each speaker 270A may correspond to a microphone 270C.
Gravity sensor 280A may be configured to detect a change in a direction of gravity of smart sound box 200 to determine whether smart sound box 200 is displaced. For example, gravity sensor 280A may calculate an inclination angle of smart sound box 200 with respect to a horizontal plane, thereby determining that a gravity direction of the smart sound box changes to determine whether the position of the smart sound box moves.
Orientation sensor 280B may be used to sense the magnitude of the inertial force of smart sound box 200 in a certain direction and measure the acceleration and gravity of smart sound box 200 in that direction. In some embodiments, the direction of movement of the smartspeaker may be determined by direction sensor 280B.
Acceleration sensor 280C may detect the magnitude of acceleration of smart sound box 200 in various directions (typically three axes). The magnitude and direction of gravity may be detected when smart sound box 200 is stationary. The method can also be used for recognizing the gesture of the intelligent sound box so as to determine the moving distance of the intelligent sound box.
In addition, smart sound box 200 may further include a display screen, and the display screen may be used to display images or videos. The hardware structure of the smart sound box 200 is only a schematic diagram, and the embodiment of the present application does not specifically limit the hardware structure of the smart sound box.
The methods in the following embodiments may be implemented in an electronic device having the above hardware structure.
Please refer to fig. 4, which is a scene diagram illustrating a method for allocating channels according to an embodiment of the present application. The scenario shown in fig. 4 includes: router 300, first enclosure 301, second enclosure 302, and third enclosure 303. The router 300 as a gateway device may provide network access points for the first sound box 301, the second sound box 302, and the third sound box 303, so that the first sound box 301, the second sound box 302, and the third sound box 303 may access the wireless lan through the network access points, and then the first sound box 301, the second sound box 302, and the third sound box 303 may be used normally. The local area network communication range includes a first sound box 301, a second sound box 302 and a third sound box 303, and at least two sound boxes of the first sound box 301, the second sound box 302 and the third sound box 303 may form a stereo sound box group.
Illustratively, the first enclosure 301, the second enclosure 302, and the third enclosure 303 form a stereo enclosure group. The first speaker 301 serves as a master speaker, and the second speaker 302 and the third speaker 303 serve as slave speakers. After the three speakers form a stereo speaker group, the master speaker serves as an Access Point (AP), and the slave speakers are connected to the AP, so that the slave speakers can operate under the control of the master speaker.
Specifically, the main speaker can determine the position of the slave speaker by sound source localization, and determine the direction of the user according to the obtained voice of the user. The main sound box can distribute sound channels for the main sound box and the auxiliary sound box according to the direction of the user and the direction of the auxiliary sound box. So that the stereo sound box group forms a surround sound field when playing the audio file.
It is understood that when the first enclosure 301, the second enclosure 302, and the third enclosure 303 form a stereo enclosure group, the master enclosure may be randomly selected. Therefore, each loudspeaker box can realize the sound source positioning function.
The sound source localization function in the embodiment of the present application will be described in detail below.
Please refer to fig. 5A, which is a schematic diagram of a sound source localization scene according to an embodiment of the present application. As shown in fig. 5A, the first smart sound box 51 and the second smart sound box 52 form a stereo sound box set, wherein the hardware structures of the first smart sound box 51 and the second smart sound box 52 are the same. As shown in fig. 5A, each of the first and second smartboxes 51 and 52 includes 6 speakers and microphones disposed corresponding to the speakers. Each speaker may emit sound waves and each microphone may receive sound waves.
Any loudspeaker on the first intelligent sound box emits sound waves, and a microphone on the second intelligent sound box can receive the sound waves. For example, first smart speaker 51 is the primary speaker, and the microphone of first smart speaker 51 broadcasts first sound wave information indicating that the smart speaker broadcasts second sound wave information. Second smart speaker 52 receives the first sonic information and broadcasts a second sonic information. In this way, first smart sound box 51 may determine the direction in which second smart sound box 52 is located based on the microphone that receives the second sound wave.
Illustratively, as shown in fig. 5B, the first and second smartboxes 51 and 52 form a stereo speaker group, and the user is located at S1. Wherein the first smart speaker 51 is a master speaker and the second smart speaker 52 is a slave speaker. The user utters voice information (i.e., a first voice) for instructing the main speaker to set a sound channel for each speaker in the stereo speaker group. The main sound box receives a first voice sent by a user, and then the direction of the user can be determined according to the first voice. The primary sound box may emit a first sound wave that is indicative of a second sound wave being emitted from the sound box. And when the slave loudspeaker box receives the first sound wave, the slave loudspeaker box sends out a second sound wave, so that the master loudspeaker box can determine the direction of the slave loudspeaker box according to the received second sound wave. Therefore, the main sound box distributes a left sound channel for the main sound box and a right sound channel for the auxiliary sound box according to the direction of the user and the direction of the auxiliary sound box.
It can be understood that, after the user utters the first voice, the main speaker may set the sound channel of each speaker in the stereo speaker group according to the first voice, so that the stereo speaker group generates a stereo sound effect when playing the audio file.
The method for allocating channels provided in the embodiments of the present application will be described in detail below.
In addition, in the embodiment of the present application, a stereo sound box set formed by the first sound box 301, the second sound box 302, and the third sound box 303 is taken as an example, and the method for allocating sound channels provided in the embodiment of the present application will be described. The first sound box 301, the second sound box 302, and the third sound box 303 form a stereo sound box group, and when a stereo sound is not yet built, the method provided by the embodiment of the present application may be adopted to allocate a sound channel to each sound box, so that the stereo sound box group forms a stereo sound.
Please refer to fig. 6A, which is a flowchart illustrating a method for allocating channels according to an embodiment of the present application. It should be noted that, in the flowchart shown in fig. 6A, the first loudspeaker 301 and the second loudspeaker 302 form a stereo loudspeaker set, the first loudspeaker 301 is a master loudspeaker, and the second loudspeaker 302 is a slave loudspeaker, for example, to describe a method for allocating sound channels in the combined stereo loudspeaker set.
As shown in fig. 6A, the method may include steps 601 to 606.
Step 601: the main sound box and the auxiliary sound box form a stereo sound box group.
Illustratively, a main speaker and a slave speaker are included in the communicable range of a local area network, and a user can establish a stereo speaker group through an electronic device (e.g., a mobile phone). For example, the handset may access a local area network and query devices connected to the local area network to determine that both the master and slave speakers are connected to the local area network. The user can establish the stereo sound box group through the cell-phone, and the cell-phone can send the information of subassembly stereo sound box group to main audio amplifier and follow audio amplifier, further through the selection operation to main audio amplifier and follow the audio amplifier, with main audio amplifier and follow the audio amplifier and establish stereo sound box group.
For another example, a master speaker is connected to a local area network via a cellular phone, and a slave speaker is also connected to the local area network. The stereo speaker group is determined to be established through selection operations on the master speaker and the slave speakers (for example, clicking operations on keys on the master speaker and the slave speakers), the master speaker which initiates the creation of the stereo speaker group is determined first, and the slave speaker which receives the creation of the stereo speaker group is determined. Thus, the master loudspeaker and the slave loudspeaker form a stereo loudspeaker set.
As another example, the master loudspeaker and the slave loudspeaker may, after receiving the voice information, constitute a stereo loudspeaker group. The method for constructing the same is shown in fig. 6B, and the method may include steps 61a to 67 a.
Step 61 a: and the user sends out voice information which is used for indicating to build the stereo sound box group.
It can be understood that the smart speaker is generally in a dormant state, and can monitor the voice information sent by the user at any time, and if the voice information is not the wake-up voice for waking up the user (the smart speaker) to work, the smart speaker cannot respond to the voice information and cannot record the voice information.
Illustratively, the voice message may include a wake-up word, e.g., the voice message is "art and art, build stereo speaker group". The voice information indicates the master loudspeaker box and the slave loudspeaker boxes to form a stereo loudspeaker box group.
As another example, the voice message may not include a wake-up word, e.g., the voice message may be "build a stereo set".
Step 62 a: the main sound box receives the voice message.
The main sound box can receive the voice information as long as the main sound box is in the range capable of receiving the voice information, and the position of the voice information sent by the user is determined.
Step 63 a: voice information is received from the loudspeaker.
Similarly, as long as the slave loudspeaker box is in the receiving range of the voice information, the slave loudspeaker box can receive the voice information, and the direction of the user is determined according to the voice information.
Step 64 a: the main sound box broadcasts and constitutes stereo sound waves.
It will be appreciated that the primary speaker may be the speaker that, upon receiving the voice message, first emits sound waves that constitute a stereo sound. Alternatively, the main speaker is a predetermined speaker (e.g., a speaker that first accesses a local area network).
The sound wave for creating the body sound broadcasted by the main sound box can be the sound which can be heard by the user or the sound which can not be heard by the user.
Step 65 a: and receiving sound waves for forming stereo sound from the loudspeaker box, and broadcasting the sound waves accessed to the stereo set.
For example, the slave loudspeaker may receive voice information from a user, and the slave loudspeaker may receive sound waves of a component stereo broadcast by the master loudspeaker, and the slave loudspeaker may access sound waves of a stereo group in response to the sound waves of the component stereo broadcast. And the master loudspeaker box can receive the access request of the slave loudspeaker box, so that the slave loudspeaker box is added into the stereo loudspeaker box group.
Step 66 a: the master loudspeaker box receives sound waves connected into the stereo set, determines the direction of the slave loudspeaker box, and determines that the slave loudspeaker box and the slave loudspeaker box form a stereo loudspeaker box set.
It will be appreciated that the master loudspeaker receiving sound waves broadcast from the slave loudspeaker for access to the stereo set determines the direction in which the slave loudspeaker is located. In this way, the master speaker can allocate sound channels to the master speaker and the slave speaker according to the direction of the user and the direction of the slave speaker.
Step 67 a: the main sound box gives out a voice prompt that the stereo sound box is successfully built.
For example, the main speaker may broadcast a voice prompt of "stereo speaker group setup complete" so that the user knows that the stereo speaker group setup is complete.
It should be noted that, the master speaker and the slave speakers constitute a stereo speaker group, and then the master speaker can be used as an AP device, the slave speakers are connected to the master speaker, and the slave speakers operate under the control of the master speaker.
Step 602: the main sound box acquires first voice, the direction of a sound source emitting the first voice is determined, and the first voice is used for indicating the main sound box to allocate a sound channel for each sound box in the stereo sound box group.
It can be understood that when the master speaker and the slave speakers form a stereo speaker set, the master speaker can control the operation of the slave speakers. For example, the master speaker may control the receiving of voice information from the speakers and the transmission of the received voice information to the master speaker, which responds to the voice information received from the speakers. Or, the slave loudspeaker box transmits the received voice information to the master loudspeaker box, and the master loudspeaker box can determine response information corresponding to the voice information and transmit the response information to the slave loudspeaker box, so that the slave loudspeaker box responds to the voice information.
Illustratively, the first voice may be "make stereo," indicating that the master and slave enclosures are forming stereo. Alternatively, the first voice may be "art and art, constituting stereo". Wherein, the small art is the awakening word of the intelligent sound box.
Step 603: the main loudspeaker box broadcasts first sound wave information, and the first sound wave information is used for indicating that the auxiliary loudspeaker box broadcasts second sound wave information.
The main sound box and the auxiliary sound box are already assembled into a stereo sound box group, and the main sound box determines the direction of the auxiliary sound box in a sound source positioning mode.
It will be appreciated that if multiple slave enclosures are included in the stereo enclosure group, the master enclosure broadcasts a first sound wave so that the multiple enclosures receive the first sound wave information and broadcasts a second sound wave information in response to the first sound wave information. Therefore, the main sound box can receive the second sound wave information, and the directions of the slave sound boxes can be determined according to the received second sound wave information.
Step 604: the first acoustic information is received from the loudspeaker and the second acoustic information is broadcast in response to the first acoustic information.
The sound box receives the first sound wave information, and can recognize that the first sound wave information is sent by the main sound box and request the second sound wave information to be broadcast from the sound box. Thus, after receiving the first acoustic information from the speaker, the second acoustic information is broadcast. When the main sound box receives the second sound wave information, the main sound box determines the direction of the slave sound box according to the second sound wave information.
Step 605: and the main sound box receives the second sound wave information and determines the direction of the slave sound box.
It should be noted that, steps 603-605 are based on the way of sound source localization, so that the master speaker determines the direction in which the slave speaker is located. Specifically, reference may also be made to the description of the sound source method, and the above sound source positioning manners may be all applied here, and are not described in detail again.
In some implementations, the master speaker can also locate a distance value from the slave speaker according to the second sound wave information, so as to accurately determine a position relationship between the slave speaker and the user.
Step 606: the main sound box is set as a first sound channel and the auxiliary sound box is set as a second sound channel according to the direction of the sound source and the direction of the auxiliary sound box.
For example, the direction of the sound source is the direction of the user, and if the main speaker is located in the left area of the user and the slave speaker is located in the right area of the user, the main speaker may set the main speaker as the left channel and the slave speaker as the right channel. If the main speaker is located in the area on the right side of the user and the slave speaker is located in the area on the left side of the user, the main speaker may set the main speaker as the right channel and the slave speaker as the left channel.
It can be understood that if three enclosures, five enclosures or seven enclosures are included in the stereo enclosure group, the master enclosure may set the sound channels of the multiple slave enclosures according to the direction in which the multiple enclosures are located. The stereo sound box set is stereo when playing audio files, and good hearing experience is provided for users.
In a first implementation scenario, when the master loudspeaker and the slave loudspeaker form a stereo loudspeaker set, and the master loudspeaker sets the sound channel of each loudspeaker (i.e., the master loudspeaker and the slave loudspeaker) in the stereo loudspeaker set. If the third speaker is added to the stereo speaker group, i.e. the master speaker is connected to the first slave speaker and the second slave speaker, the master speaker needs to update the sound channel of each speaker in the stereo speaker group according to the position of the third speaker.
For example, the master loudspeaker may send first sonic information to the third loudspeaker indicating that second sonic information is being broadcast from the loudspeakers. The first slave loudspeaker and the second slave loudspeaker receive the first sound wave information and broadcast the second sound wave information in response to the first sound wave information, so that the master loudspeaker and the second loudspeaker receive the second sound wave information broadcast by the first slave loudspeaker and the second slave loudspeaker to determine the direction in which the first slave loudspeaker and the second slave loudspeaker are located. The master loudspeaker box can set sound channel parameters for the first slave loudspeaker box and the second slave loudspeaker box according to the direction in which the first slave loudspeaker box and the second slave loudspeaker box are located.
In a second implementation scenario, when the master speaker and the slave speakers form a stereo speaker set, and the master speaker sets a sound channel for each speaker in the stereo speaker set, the stereo speaker set forms stereo sound. If the position of any sound box in the stereo sound box group is changed, the sound box can send out indication information for indicating that the position of the sound box (namely the sound box) is changed. Thus, the main speaker can receive the indication information transmitted from the speaker.
It is understood that the indication may be broadcast from the speaker or may be sent from the main speaker. That is, the main speaker needs to send a prompt message when detecting that its own position changes.
For example, after receiving the indication information, the main speaker may send a voice prompt, where the voice prompt is used to prompt whether to replace the sound channels of the first speaker and the second speaker. The user can hear the voice prompt broadcasted by the master speaker, and if the user answers "yes", the master speaker can set the sound channels of the master speaker and the slave speaker according to the position of the current slave speaker.
For another example, after the master speaker receives the indication information, the current position of the speaker is determined, and the sound channels of the master speaker and the slave speaker are updated according to the position of the slave speaker and the position of the master speaker.
In a third implementation scenario, when the master loudspeaker and the slave loudspeaker establish a stereo loudspeaker group, the master loudspeaker sets up stereo sound for each loudspeaker in the stereo loudspeaker group. If the user wants to disassemble the stereo speaker group so that each speaker can work independently, the user can send out the voice message of "disassemble the stereo speaker group". The main sound box receives the voice information, and then the stereo sound box group can be dispersed, so that each sound box works independently.
The embodiment also provides a device for distributing sound channels, which corresponds to the main sound box in the embodiment. As shown in fig. 7, the main speaker includes: an acquisition module 701, a configuration module 702, a positioning module 703, a speech module 704, and a determination module 705.
The obtaining module 701 may be configured to obtain a first voice, and determine a direction in which a sound source that emits the first voice is located, where the first voice is used to instruct a first sound box to allocate a sound channel to each sound box in a stereo sound box. The stereo sound box group comprises a first sound box and a second sound box.
The configuration module 702 may be configured to configure the sound channel of the first sound box as a parameter of the first sound channel and configure the sound channel of the second sound box as a parameter of the second sound channel according to the direction of the sound source that emits the first sound and the direction of the second sound box.
The positioning module 703 may be configured to send first sound wave information, where the first sound wave information is used to instruct the second sound box to send second sound wave information; and receiving the second sound wave information, and determining the direction of the second sound box according to the direction of the second sound wave information.
The voice module 704 can be used to issue voice questions, and the voice prompts are used to prompt whether to change the sound channels of the first sound box and the second sound box.
The determining module 705 may be configured to determine that a third speaker is added to the stereo speaker group, and the first speaker is configured to determine a direction in which the third speaker is located.
It is understood that the electronic device includes hardware structures and/or software modules for performing the functions in order to realize the functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 8 shows a schematic diagram of a possible structure of the smart sound box according to the above embodiment. This smart sound box 200 includes: a processing unit 801, a sound source localization unit 802, an allocation channel unit 803, and a storage unit 804.
The processing unit 801 is configured to control and manage the actions of the smart sound box 200. For example, it may be used to indicate step 601 as in fig. 6A, and/or other processes for the techniques described herein.
And a sound source positioning unit 802, configured to control a process of determining the slave loudspeaker by the smart loudspeaker 200. For example, it may be used to indicate steps 61 a-67 a as in fig. 6B, and/or other processes for the techniques described herein.
And a channel allocation unit 803 for controlling the process of allocating channels to the smartspeaker 200. For example, may be used to indicate step 607 as in fig. 6A, and/or other processes for the techniques described herein.
The storage unit 804 is used for storing program codes and data of the smart sound box 200. For example, it may be used to store audio files, etc.
Of course, the unit modules in the smart sound box 200 include, but are not limited to, the processing unit 801, the sound source localization unit 802, the channel allocation unit 803, and the storage unit 804. For example, audio unit, communication unit, etc. may also be included in smart sound box 200. The audio unit is used for collecting voice sent by a user and playing the voice. The communication unit is used to support communication between the smart sound box 200 and other devices.
An embodiment of the present application further provides a chip system, as shown in fig. 9, where the chip system includes at least one processor 901 and at least one interface circuit 902. The processor 901 and the interface circuit 902 may be interconnected by wires. For example, the interface circuit 902 may be used to receive signals from other devices (e.g., a memory of an electronic device). Also for example, the interface circuit 902 may be used to send signals to other devices, such as the processor 901. Illustratively, the interface circuit 902 may read instructions stored in the memory and send the instructions to the processor 901. The instructions, when executed by the processor 901, may cause the electronic device to perform the various steps in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device is enabled to execute each function or step executed by the mobile phone in the foregoing method embodiment.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute each function or step executed by the mobile phone in the above method embodiments.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A method of assigning channels, comprising:
the method comprises the steps that a first sound box obtains first voice and determines the direction of a sound source emitting the first voice, wherein the first voice is used for indicating the first sound box to distribute sound channels for each sound box in a stereo sound box group, and the stereo sound box group comprises the first sound box and a second sound box;
the first sound box configures the sound channel of the first sound box as the parameter of the first sound channel and configures the sound channel of the second sound box as the parameter of the second sound channel according to the direction of the sound source which sends the first voice and the direction of the second sound box.
2. The method according to claim 1, wherein before the first speaker configures the sound channel of the first speaker as the parameter of the first sound channel and the sound channel of the second speaker as the parameter of the second sound channel according to the direction of the sound source emitting the first voice and the direction of the second speaker, the method further comprises:
the first sound box sends first sound wave information, and the first sound wave information is used for indicating the second sound box to send second sound wave information;
and the first sound box receives second sound wave information, and the direction of the second sound box is determined according to the direction of the second sound wave information.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
the first sound box receives indication information, and the indication information is used for indicating the position change of the second sound box;
the first sound box sends out voice prompt which is used for prompting whether to replace sound channels of the first sound box and the second sound box.
4. The method of claim 3, wherein the first speaker generates a voice prompt, the voice prompt being used to prompt whether to change the sound channels of the first speaker and the second speaker, the method further comprising:
the first sound box acquires second voice, and the second voice is used for indicating the first sound box to replace sound channels of the first sound box and the second sound box;
and the first sound box responds to the second voice, configures the sound channel of the first sound box as the parameter of the second sound channel, and configures the sound channel of the second sound box as the parameter of the first sound channel.
5. The method according to any one of claims 1-4, further comprising:
the first sound box determines that a third sound box is added into the stereo sound box group, and the first sound box determines the direction of the third sound box;
and the first sound box configures the sound channel of the third sound box as the parameter of the third sound channel according to the direction of the second sound box and the direction of the third sound box.
6. The method according to any one of claims 1-5, further comprising:
the first sound box acquires a third voice, and the third voice is used for indicating the first sound box to cancel sound channel allocation;
the first speaker is responsive to the third speech to disassemble the stereo speaker group such that each speaker in the stereo speaker group operates independently.
7. An apparatus for assigning channels, comprising: an acquisition module and a configuration module, wherein the configuration module is used for configuring the configuration module,
the acquisition module is used for acquiring first voice and determining the direction of a sound source which emits the first voice, wherein the first voice is used for indicating a first sound box to allocate a sound channel for each sound box in a stereo sound box group, and the stereo sound box group comprises the first sound box and a second sound box;
the configuration module is used for configuring the sound channel of the first sound box as the parameter of the first sound channel and configuring the sound channel of the second sound box as the parameter of the second sound channel according to the direction of the sound source which sends the first voice and the direction of the second sound box.
8. The apparatus of claim 7, wherein the means for assigning channels further comprises: a positioning module for positioning the optical fiber and the optical fiber,
the positioning module is used for sending first sound wave information, and the first sound wave information is used for indicating the second sound box to send second sound wave information; and receiving second sound wave information, and determining the direction of the second sound box according to the direction of the second sound wave information.
9. The apparatus of claim 7 or 8, wherein the means for assigning channels further comprises a speech module;
the acquisition module is further configured to receive indication information, where the indication information is used to indicate a change in position of the second sound box;
the voice module is used for sending out voice prompts, and the voice prompts are used for prompting whether to replace sound channels of the first sound box and the second sound box.
10. The apparatus of claim 9,
the acquisition module is further configured to acquire a second voice, where the second voice is used to instruct the first sound box to replace the sound channels of the first sound box and the second sound box;
the configuration module is further configured to, in response to the second voice, configure the sound channel of the first sound box as a parameter of the second sound channel, and configure the sound channel of the second sound box as a parameter of the first sound channel.
11. The apparatus according to any one of claims 7-10, wherein the apparatus for assigning channels further comprises a determining module;
the determining module is used for determining that a third sound box is added into the stereo sound box group, and the first sound box determines the direction of the third sound box;
the configuration module is further configured to configure the sound channel of the third sound box as a parameter of a third sound channel according to the direction in which the second sound box is located and the direction in which the third sound box is located.
12. The apparatus according to any one of claims 7 to 11,
the acquisition module is further configured to acquire a third voice, where the third voice is used to instruct the first sound box to cancel sound channel allocation;
the configuration module is further configured to, in response to the third voice, dismiss the stereo speaker set such that each speaker in the stereo speaker set operates independently.
13. An electronic device, characterized in that the electronic device comprises: a memory and one or more processors; the memory and the processor are coupled;
wherein the memory is for storing computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of any of claims 1-6.
14. A chip system, wherein the chip system is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a line; the interface circuit is to receive a signal from a memory of the electronic device and to send the signal to the processor, the signal comprising computer instructions stored in the memory; the electronic device performs the method of any of claims 1-6 when the processor executes the computer instructions.
15. A computer readable storage medium comprising computer instructions which, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-6.
CN202011014924.9A 2020-09-24 2020-09-24 Method for distributing sound channels and related equipment Pending CN114257924A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011014924.9A CN114257924A (en) 2020-09-24 2020-09-24 Method for distributing sound channels and related equipment
PCT/CN2021/118531 WO2022062999A1 (en) 2020-09-24 2021-09-15 Method for allocating channels and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011014924.9A CN114257924A (en) 2020-09-24 2020-09-24 Method for distributing sound channels and related equipment

Publications (1)

Publication Number Publication Date
CN114257924A true CN114257924A (en) 2022-03-29

Family

ID=80789918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011014924.9A Pending CN114257924A (en) 2020-09-24 2020-09-24 Method for distributing sound channels and related equipment

Country Status (2)

Country Link
CN (1) CN114257924A (en)
WO (1) WO2022062999A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150717A (en) * 2022-09-05 2022-10-04 润芯微科技(江苏)有限公司 Bluetooth split type sound box based on BLE and use method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024634A (en) * 2012-11-16 2013-04-03 新奥特(北京)视频技术有限公司 Method and device for processing audio signal
CN104185132A (en) * 2014-09-02 2014-12-03 广东欧珀移动通信有限公司 Audio track configuration method, intelligent terminal and corresponding system
CN105163241A (en) * 2015-09-14 2015-12-16 小米科技有限责任公司 Audio playing method and device as well as electronic device
US20180091926A1 (en) * 2016-09-23 2018-03-29 Samsung Electronics Co., Ltd. Electronic device and control method thereof
CN109754798A (en) * 2018-12-20 2019-05-14 歌尔股份有限公司 Multitone case synchronisation control means, system and speaker
CN110049428A (en) * 2019-03-20 2019-07-23 中国科学院计算技术研究所 Method, playback equipment and the system played for realizing multichannel surround sound
CN110677801A (en) * 2019-08-23 2020-01-10 华为技术有限公司 Sound box control method, sound box and sound box system
CN110996217A (en) * 2019-11-28 2020-04-10 歌尔科技有限公司 Sound channel selection method and device for sound box and sound box
CN111091828A (en) * 2019-12-31 2020-05-01 华为技术有限公司 Voice wake-up method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1175708C (en) * 1997-01-10 2004-11-10 索尼公司 Speaker device
US10779083B2 (en) * 2016-08-01 2020-09-15 D&M Holdings, Inc. Soundbar having single interchangeable mounting surface and multi-directional audio output
CN107040850B (en) * 2017-04-28 2019-08-16 安克创新科技股份有限公司 The method of intelligent sound box, sound system and its automatic setting sound channel
CN210405574U (en) * 2019-09-16 2020-04-24 杨欣元 Novel surround audio amplifier

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024634A (en) * 2012-11-16 2013-04-03 新奥特(北京)视频技术有限公司 Method and device for processing audio signal
CN104185132A (en) * 2014-09-02 2014-12-03 广东欧珀移动通信有限公司 Audio track configuration method, intelligent terminal and corresponding system
CN105163241A (en) * 2015-09-14 2015-12-16 小米科技有限责任公司 Audio playing method and device as well as electronic device
US20180091926A1 (en) * 2016-09-23 2018-03-29 Samsung Electronics Co., Ltd. Electronic device and control method thereof
CN109754798A (en) * 2018-12-20 2019-05-14 歌尔股份有限公司 Multitone case synchronisation control means, system and speaker
CN110049428A (en) * 2019-03-20 2019-07-23 中国科学院计算技术研究所 Method, playback equipment and the system played for realizing multichannel surround sound
CN110677801A (en) * 2019-08-23 2020-01-10 华为技术有限公司 Sound box control method, sound box and sound box system
CN110996217A (en) * 2019-11-28 2020-04-10 歌尔科技有限公司 Sound channel selection method and device for sound box and sound box
CN111091828A (en) * 2019-12-31 2020-05-01 华为技术有限公司 Voice wake-up method, device and system

Also Published As

Publication number Publication date
WO2022062999A1 (en) 2022-03-31

Similar Documents

Publication Publication Date Title
US10038957B2 (en) Audio mixing based upon playing device location
US10051368B2 (en) Mobile apparatus and control method thereof
WO2020253844A1 (en) Method and device for processing multimedia information, and storage medium
WO2020019821A1 (en) Microphone hole-blockage detection method and related product
CN113015065B (en) Connection method, device, equipment and computer storage medium
CN111641916B (en) Audio sharing method and electronic equipment
CN103329570A (en) Audio processing device
CN111447600B (en) Audio sharing method of wireless earphone, terminal equipment and storage medium
CN108712704B (en) Sound box, audio data playing method and device, storage medium and electronic device
CN112423175B (en) Earphone noise reduction method and device, storage medium and electronic equipment
KR102386110B1 (en) Portable sound equipment
CN110213707A (en) Earphone and its hearing-aid method, computer readable storage medium
WO2019062538A1 (en) In-vehicle intelligent wifi microphone and audio delay processing method therefor
CN114257924A (en) Method for distributing sound channels and related equipment
CN112770248B (en) Sound box control method and device and storage medium
CN105187993A (en) Three-dimensional stereo headphone device and recovery method
CN113518297A (en) Sound box interaction method, device and system and sound box
CN115175159B (en) Bluetooth headset playing method and equipment
CN116033304B (en) Audio output method, electronic equipment and readable storage medium
CN105682010B (en) Bluetooth connection control method, device and playback equipment in audio frequency broadcast system
CN111556406B (en) Audio processing method, audio processing device and earphone
US10966016B2 (en) Electronic device including a plurality of speakers
CN112612444A (en) Sound source position positioning method, sound source position positioning device, electronic equipment and storage medium
CN115015838B (en) Positioning method and sound source positioning system
EP4203446A1 (en) Terminal and method for outputting multi-channel audio by using plurality of audio devices

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220329

RJ01 Rejection of invention patent application after publication