WO2021103259A1 - 音箱声道的选择方法、装置及音箱 - Google Patents

音箱声道的选择方法、装置及音箱 Download PDF

Info

Publication number
WO2021103259A1
WO2021103259A1 PCT/CN2019/129522 CN2019129522W WO2021103259A1 WO 2021103259 A1 WO2021103259 A1 WO 2021103259A1 CN 2019129522 W CN2019129522 W CN 2019129522W WO 2021103259 A1 WO2021103259 A1 WO 2021103259A1
Authority
WO
WIPO (PCT)
Prior art keywords
speaker
user
sound box
sound
channel
Prior art date
Application number
PCT/CN2019/129522
Other languages
English (en)
French (fr)
Inventor
张崇兴
Original Assignee
歌尔股份有限公司
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 歌尔股份有限公司 filed Critical 歌尔股份有限公司
Publication of WO2021103259A1 publication Critical patent/WO2021103259A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Definitions

  • This application relates to the technical field of sound boxes, and in particular to a method, device and sound box for selecting sound channels of a sound box.
  • speakers have attracted more attention. Smart speakers can enable users to enjoy wonderful music.
  • speakers are small in size and can be placed in any position.
  • speakers have a left channel and The distinction between the right channel, the user's left ear listens to the left channel sound, and the right ear listens to the right channel sound.
  • the listening user can feel the immersive stereo feeling, but the speaker
  • the placement position of the is arbitrary, so sometimes the sound that the user hears is the opposite, that is, the left ear hears the sound of the right channel, and the right ear hears the sound of the left channel, which causes the stereo playback effect to be reduced.
  • the first sound box is the left channel or the right sound channel
  • the second sound box is the remaining sound channel
  • the step of determining whether the first sound box is a left channel or a right channel according to the user position and the location of the first sound box, and the second sound box is the remaining sound channel includes:
  • first included angle formed by the connection of the first wiring and the connecting line and a second included angle formed by the connection of the second wiring and the connecting line, the angle range of the first included angle and the second included angle are both 0° ⁇ 180°;
  • the first sound box is the left channel or the right sound channel, and the second sound box is the remaining sound channel;
  • the connecting line is a line connecting the position of the first sound box and the position of the second sound box, and the first wiring connects the position of the user and the position of the first sound box.
  • the formed line and the second connection line are a line formed by connecting the user position and the position of the second sound box.
  • the step of determining whether the first sound box is a left channel or a right sound channel according to the first included angle and the position relationship of the connecting line, and the second sound box is the remaining sound channel includes:
  • the first included angle is formed by the connection line rotating counterclockwise with the first sound box, and the first sound box is the right sound channel;
  • the first included angle is formed by the connecting line rotating clockwise with the first sound box, and the first sound box is the left sound channel.
  • the step of determining that the first sound box is a left channel or a right channel according to the user position and the position of the first sound box, and the second sound box is the remaining sound channel includes :
  • the magnitude of the first included angle and the second included angle it is determined whether the user is within a preset range of answering the voice.
  • the step of determining whether the user is within a preset range of answering voices according to the magnitude of the first included angle and the second included angle includes:
  • first included angle and the second included angle are both between 0° and 90°, then the user is within a preset range of answering sounds
  • the user is not within the preset range for listening to the voice.
  • one of the first included angle or the second included angle is greater than 90°, after the step that the user is not within the preset range of answering the voice includes:
  • the prompt is used to move to the preset range of the answering sound.
  • the step of determining that the first sound box is a left channel or a right channel according to the user position and the position of the first sound box, and the second sound box is the remaining sound channel includes :
  • the step of determining, according to the position of the user, that the speaker that is closer to the user is the first speaker, and that the speaker that is farther away is the second speaker includes:
  • the distance between the user and the speaker is calculated as a first distance and a second distance respectively;
  • the present application also provides a sound box channel selection device, which includes:
  • the opening module is used to obtain a voice command to turn on the speaker
  • the determining module is used to determine the user location of the user according to the voice command
  • the determining module is further configured to determine, according to the position of the user, that the speaker that is closer to the user is the first speaker, and the speaker that is farther away is the second speaker;
  • the selection module is configured to determine whether the first sound box is a left channel or a right sound channel, and the second sound box is a remaining sound channel according to the location of the user and the location of the first sound box.
  • the present application also provides a sound box, the sound box comprising: a memory, a processor, and a sound box channel selection program stored in the memory and running on the processor; When the program for selecting a sound box channel is executed by the processor, the steps of the method for selecting a sound box channel as described above are implemented.
  • the location of the user is determined based on the voice command to turn on the speaker
  • the distance to the speaker is determined based on the user's location, where the distance to the user is closer
  • the speaker is the first speaker
  • the farther speaker is the second speaker.
  • the relationship between the position of the user and the location of the first speaker is analyzed, and it is concluded that the first speaker is the left channel or the right channel, so
  • the second sound box is the remaining sound channel, that is, the first sound box is the left sound channel and the second sound box is the right sound channel, or the first sound box is the right sound channel and the second sound box is the left sound channel. Tao.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for selecting sound channels of a speaker in this application;
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for selecting sound channels of a speaker according to this application;
  • FIG. 3 is a schematic flowchart of a third embodiment of a method for selecting sound channels of a speaker according to this application;
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a method for selecting sound channels of a speaker according to this application;
  • FIG. 5 is a schematic flowchart of a fifth embodiment of a method for selecting sound channels of a speaker according to this application;
  • FIG. 6 is a schematic flowchart of a sixth embodiment of a method for selecting sound channels of a speaker according to this application;
  • FIG. 7 is a schematic flowchart of a seventh embodiment of a method for selecting sound channels of a speaker according to this application.
  • FIG. 8 is a schematic flowchart of an eighth embodiment of a method for selecting sound channels of a speaker according to this application.
  • Fig. 9 is a schematic diagram of the connection of the sound channel selection device of the application.
  • FIG. 10 is a schematic diagram of a top-down sound box of this application.
  • the first embodiment proposed by this application is a method for selecting sound channels of a speaker.
  • the speakers of this application include smart speakers.
  • the artificial intelligence speakers referred to as AI speakers, are usually provided with A recognition module capable of recognizing voice, and the specific content of the received voice can also be analyzed through the recognition module.
  • the smart speaker makes corresponding actions according to the specific content of the voice, such as turning on or off, the method includes:
  • Step S10 Obtain a voice command to turn on the speaker.
  • the speaker is provided with a recognition module capable of recognizing voice, and the specific operation action of the voice command can be recognized through the recognition module.
  • a processor is provided in the speaker, and the processor controls the recognition module to obtain the voice command to turn on the speaker.
  • the voice command can be issued by an external device or by the user. For example, if the speaker is placed in the living room of the home, and the user intends to enjoy music during leisure time, the user can send a voice command including turning on the speaker, and the processor receives the voice command by controlling the recognition module and recognizes the voice command.
  • Step S20 Determine the user location where the user is located according to the voice command.
  • the two speakers there are two speakers, one speaker turns on the right channel, and the other speaker turns on the left channel. Through the playback of the left and right channels, stereo is formed.
  • the two speakers can be connected by Bluetooth or other wireless
  • the connection method the placement of the two speakers is also arbitrary.
  • the speaker determines which side of the speaker is located through the location of the user’s voice.
  • the sound is propagated in the air, it has a certain speed. It can be calculated that the user The distance between the two speakers is further determined to get the user's position.
  • Step S30 According to the user's position, it is determined that the speaker that is closer to the user is the first speaker, and the speaker that is farther is the second speaker.
  • the distance between the user and the two speakers is calculated based on the user's position, and the distance between the two speakers and the user is compared.
  • the speaker that is closer to the user is defined as the first speaker and the speaker that is farther away is the second speaker.
  • Step S40 According to the user's position and the position of the first speaker, it is determined that the first speaker is the left channel or the right channel, and the second speaker is the remaining channel.
  • the first speaker that is closer to the user is used as the criterion for judging, and the first speaker is analyzed according to the user's position on the left hand side or the right hand side of the user. If the first speaker is on the left hand side of the user, it is determined that the first speaker is the left sound Road, the second speaker is the right channel. If the first speaker is located on the user's right hand side, it is determined that the first speaker is the right channel and the second speaker is the left channel. Therefore, according to the position of the user, the first speaker and the second speaker complete the selection of the left channel and the right channel, ensuring that the user can obtain a good stereo experience effect.
  • the second speaker that is far away from the user can be used as the criterion for judging. Specifically, according to the user's position, analyze whether the second speaker is located on the left hand side or the right hand side of the user. If the second speaker is located on the left hand side of the user, then Make sure that the second speaker is the left channel and the first speaker is the right channel. If the second speaker is located on the user's right hand side, it is determined that the second speaker is the right channel and the first speaker is the left channel.
  • the processor for controlling the sound box may be arranged in the first sound box or the second sound box, or both the first sound box and the second sound box may be provided with a processor.
  • the position of the user is determined according to the voice command to turn on the speaker, and the distance from the speaker is determined according to the user position, where the distance from the user is greater
  • the nearby speaker is the first speaker
  • the far speaker is the second speaker.
  • the position relationship between the user position and the first speaker is analyzed to find that the first speaker is the left channel or the right channel
  • the second sound box is the remaining sound channel, that is, the first sound box is the left sound channel and the second sound box is the right sound channel, or the first sound box is the right sound channel and the second sound box is the left sound channel. Soundtrack.
  • the step S40 that the second sound box is the remaining sound channel includes:
  • Step S410 Obtain a first included angle formed by the connection of the first wiring and the connection line, and a second included angle formed by the connection of the second wiring and the connection line, and the angle range of the first included angle and the second included angle are both 0° to Between 180°.
  • first sound box and the second sound box and the user position are connected to form a triangle, the first connection line and the connection line form a first angle, and the second connection line and the connection line form a second angle.
  • Step S420 Determine whether the first speaker is the left channel or the right channel, and the second speaker is the remaining channel according to the first included angle and the positional relationship of the connecting line.
  • the connecting line is a line connecting the position of the first sound box and the position of the second sound box
  • the first wiring is the position of the user and the position of the first sound box.
  • the line formed by the position and the second wiring are the line formed by the position of the user and the position of the second sound box.
  • a top view plane is obtained.
  • the position of the first sound box and the position of the second sound box are connected to form a connecting line, and the connecting line divides the top view plane into a first In the answering area and the second answering area, through the voice command issued by the user, it can be determined whether the user is located in the first answering area or the second answering area, so as to facilitate further analysis of the user's location.
  • the first speaker as the criterion for judging, analyze how the first angle formed by the first wiring and the connecting line is formed by the connecting line surrounding the first speaker, so as to determine whether the first speaker is the left channel or the right channel. For example, is the first angle formed by the connecting line around the first speaker counterclockwise or clockwise. If the first angle is formed by the connecting line around the first speaker counterclockwise, it is determined that the first speaker is the right channel. The second speaker is the left channel. If the second included angle is formed by the connecting line clockwise around the first speaker, it is determined that the first speaker is the left channel and the second speaker is the right channel.
  • the step S420 that the second sound box is the remaining sound channel includes:
  • step S421 the first included angle is formed by the connecting line rotating the first sound box counterclockwise, and the first sound box is the right sound channel.
  • the first included angle ranges from 0° to 180°, and the first included angle is formed by the connecting line rotating the first speaker counterclockwise, indicating that the user is in the first listening area, and the first speaker is located in the direction of the user’s right hand The position is determined from this, the first speaker is the right channel, and the second speaker is the left channel.
  • step S422 the first included angle is formed by the connecting line rotating the first sound box clockwise, and the first sound box is the left channel.
  • the first included angle range is between 0° and 180°, and the first included angle is formed by the connecting line rotating the first speaker clockwise, indicating that the user is in the second listening area, and the first speaker is located in the direction of the user’s left hand The position is determined from this, the first speaker is the left channel, and the second speaker is the right channel.
  • the first angle can also be 0°, that is to say, at this time, the user is on the connecting line and the second speaker is on the side away from the first speaker.
  • the first speaker can be set to the left sound Road, the second speaker is the right channel, you can also set the first speaker as the right channel and the second speaker as the left channel.
  • the first angle can also be 180°, that is to say, at this time, the user is on the connecting line and on the side of the first speaker facing away from the second speaker.
  • the first speaker can be set as the left channel.
  • the second speaker is the right channel. You can also set the first speaker as the right channel and the second speaker as the left channel.
  • the fourth embodiment of the present application is proposed. According to the position of the user and the position of the first speaker, it is determined that the first speaker is the left channel or the right sound. After the step S420 where the second sound box is the remaining sound channel, the method includes:
  • step S430 it is determined whether the user is within a preset range of answering the voice according to the magnitude of the first included angle and the second included angle.
  • the direction and position suitable for the user to listen to the sound are within a certain range. Out of this range, the quality of the user's sound will be reduced, and the stereo effect will not be able to be effectively experienced.
  • This suitable range for the user to listen to the sound is The preset range. By determining whether the user is within the preset range of the answering sound, so as to further prompt the user to move to the preset range, to ensure that the stereo experience effect is obtained.
  • the step S430 includes:
  • step S431 if the first included angle and the second included angle are both between 0° and 90°, the user is within the preset range of listening voice;
  • the first included angle and the second included angle are both acute angles, so as to ensure that the user has a better hearing experience.
  • step S432 if one of the first included angle or the second included angle is greater than 90°, the user is not within the preset range of answering the voice.
  • one of the first included angle or the second included angle is an obtuse angle, and at this time, it is determined that the user is not within the preset range for answering the voice. Therefore, by determining the angle value of the first included angle and the second included angle, it can be determined whether the user is within the preset range.
  • Step S432 within the preset range includes:
  • step S433 the prompt is used to move to the preset range for answering the sound.
  • the processor may prompt the user to move to the preset range in the form of output voice, for example, prompt the user to move to the left or right. How far to move.
  • the user's position and the preset range can be identified in the screen, so that the user can move the screen to the preset range, so as to ensure a good stereo experience.
  • the seventh embodiment of the present application is proposed. According to the location of the user and the location of the first speaker, it is determined After the step S40 where the first speaker is the left channel or the right channel, and the second speaker is the remaining channels, the steps include:
  • Step S50 Obtain the separation distance between the first sound box and the second sound box, and compare the separation distance and the preset distance to adjust the distance between the first sound box and the second sound box.
  • the second speaker uses the first speaker as the criterion for judging, the second speaker emits a voice to the first speaker, the first speaker receives the voice from the second speaker, the sound propagation speed in the air, and the sound from the second speaker to the second speaker
  • the distance between the first speaker and the second speaker is calculated, that is, the spacing distance.
  • the distance is too large, it is difficult for the sound from the first speaker and the second speaker to merge to form a stereo.
  • both the first speaker and the second speaker are provided with two pickup microphones, for example, the user points to the first speaker
  • the voice command is issued, and the time difference between the two microphones to receive the sound can be calculated to get the approximate location of the user.
  • the first speaker is equipped with two microphones.
  • One microphone first receives the user's voice, and the other microphone receives the user's voice. Then the user approaches the microphone that receives the user's voice first. Time difference, calculate user location. Furthermore, it can be seen that the more microphones are set, the more accurate the user's position can be determined.
  • the second speaker can be equipped with an infrared transmitter
  • the first speaker is equipped with an infrared receiver
  • the second speaker emits infrared light to the first speaker, so as to measure the distance between the first speaker and the second speaker.
  • the eighth embodiment of the present application is proposed. According to the position of the user, it is determined that the speaker that is closer to the user is the first speaker, and the speaker that is farther away is the second speaker.
  • the step S50 includes:
  • Step S510 According to the voice command, the distance between the user and the speaker is calculated as the first distance and the second distance respectively;
  • Step S520 Comparing the magnitude of the first distance and the second distance, it is determined that the speaker that is closer to the user is the first speaker, and the speaker that is farther away is the second speaker.
  • the distance between the user and the two speakers is calculated, and the distance between the user and the first speaker is calculated as the first speaker.
  • One distance, the distance between the user and the second speaker is the second distance.
  • the user's position can be better within the first standard distance and the second standard distance.
  • Different types of speakers have different ranges of the first standard distance and the second standard distance.
  • the present application also provides a sound channel selection device.
  • the present application includes a smart speaker.
  • the smart speaker is referred to as an AI speaker.
  • the smart speaker is usually provided with a recognition module capable of recognizing voices.
  • the specific content of the received voice can be analyzed through the recognition module, and the smart speaker can make corresponding actions according to the specific content of the voice, such as turning on or off.
  • the device includes: a turning on module 100, a determining module 200, and a selecting module 300.
  • the turn-on module 100 is used to obtain a voice command to turn on the speaker; specifically, a recognition module capable of recognizing voice is provided in the speaker, and the specific operation action of the voice command can be recognized through the recognition module.
  • the speaker is provided with The processor controls the recognition module to obtain a voice command for turning on the speaker.
  • the voice command may be issued by an external device or by the user 30. For example, if the speaker is placed in the living room at home, and the user 30 intends to enjoy music during leisure time, the user 30 can send a voice command including turning on the speaker, and the processor receives the voice command by controlling the recognition module and recognizes the voice command.
  • the determining module 200 is used to determine the user location of the user 30 according to the voice command; generally speaking, there are two speakers, one speaker turns on the right channel, the other speaker turns on the left channel, and the left and right sound The channel is played to form a stereo sound.
  • the two speakers can be connected by Bluetooth or other wireless connections.
  • the placement of the two speakers is also arbitrary.
  • the speaker determines which side of the speaker is located through the location of the user 30's voice.
  • the sound travels in the air it has a certain speed, which can be inferred, The distance between the user 30 and the two speakers is further determined to obtain the user's position.
  • the determining module 200 is further configured to determine, according to the position of the user, that the speaker that is closer to the user 30 is the first speaker 10, and the speaker that is farther away is the second speaker 20; wherein, the user 30 is calculated based on the user's position. The distance between the two speakers is compared and the distance between the two speakers and the user 30 is obtained. The speaker that is closer to the user 30 is defined as the first speaker 10, and the speaker that is farther away is the second speaker 20.
  • the selection module 300 is configured to determine whether the first sound box 10 is a left channel or a right sound channel, and the second sound box 20 is a remaining sound channel according to the position of the user and the location of the first sound box 10. Specifically, taking the first speaker 10 that is closer to the user 30 as the criterion for judging, analyze whether the first speaker 10 is located on the left-hand side or the right-hand side of the user 30 according to the position of the user. If the first speaker 10 is located on the left-hand side of the user 30, it is determined The first speaker 10 is a left channel, and the second speaker 20 is a right channel. If the first speaker 10 is located on the right hand side of the user 30, it is determined that the first speaker 10 is the right channel and the second speaker 20 is the left channel. Therefore, according to the position of the user, the first speaker 10 and the second speaker 20 complete the selection of the left channel and the right channel, ensuring that the user 30 can obtain a good stereo experience effect.
  • the second speaker 20 that is farther from the user 30 can be used as the criterion. Specifically, according to the user’s position analysis, whether the second speaker 20 is located on the left hand side or the right hand side of the user 30, if the second speaker 20 is located on the user’s On the left hand side of 30, it is determined that the second speaker 20 is the left channel, and the first speaker 10 is the right channel. If the second speaker 20 is located on the right hand side of the user 30, it is determined that the second speaker 20 is the right channel and the first speaker 10 is the left channel.
  • the processor for controlling the sound box may be provided in the first sound box 10 or the second sound box 20, or both the first sound box 10 and the second sound box 20 may be provided with a processor.
  • the position of the user 30 is determined according to the voice command to turn on the speaker, that is, the user position, and the distance from the speaker is determined according to the user position, where the distance from the user 30 is relatively short.
  • the closest speaker is the first speaker 10
  • the far speaker is the second speaker 20.
  • the position relationship between the user position and the first speaker 10 is analyzed, and it is concluded that the first speaker 10 is the left channel or Right channel, the second speaker 20 is the remaining channel, that is, the first speaker 10 is the left channel, the second speaker 20 is the right channel, or the first speaker 10 is the right channel ,
  • the second sound box 20 is a left channel.
  • the selection module 300 is also used to obtain a first included angle 10a formed by the connection of the first wiring 12 and the connecting line 11, and a second included angle 20a formed by the connection of the second wiring 21 and the connecting line 11.
  • the angle range of the angle 10a and the second included angle 20a are both between 0° and 180°.
  • the first sound box 10 and the second sound box 20 and the user position are connected to form a triangle
  • the first wiring 12 and the connecting line 11 form a first included angle 10a
  • the second wiring 21 and the connecting line 11 form a second included angle. 20a.
  • the selection module 300 is also used to determine whether the first sound box 10 is a left channel or a right sound channel, and the second sound box 20 is the remaining sound channel according to the position relationship between the first included angle 10a and the connecting line. Specifically, using the first sound box 10 as a criterion for judging, analyze how the first angle 10a formed by the first wiring 12 and the connecting line 11 is formed by the connecting wire around the first sound box 10, so as to determine that the first sound box 10 is the left sound box.
  • Channel or right channel is the first angle 10a formed by the connecting wire around the first speaker 10 counterclockwise or clockwise, if the first angle 10a is formed by the connecting wire around the first speaker 10 counterclockwise, then It is determined that the first speaker 10 is the right channel and the second speaker 20 is the left channel. If the second angle 20a is formed clockwise around the first speaker 10 by the connecting line, it is determined that the first speaker 10 is the left channel, and the second The speaker 20 is the right channel.
  • the connecting line 11 is a line connecting the position of the first sound box 10 and the position of the second sound box 20
  • the first wiring 12 is a line connecting the position of the user and the position of the first sound box 10.
  • the second line 21 is a line connecting the user's position and the position of the second sound box 20. Looking down on the spatial positions of the first sound box 10 and the second sound box 20, a top view plane is obtained. The position of the first sound box 10 and the position of the second sound box 20 are connected to form a connecting line 11, which connects the The top view plane is divided into a first answering area 110 and a second answering area 120. According to the voice command issued by the user 30, it can be determined whether the user 30 is located in the first answering area 110 or the second answering area 120, so as to facilitate further analysis of the user's location.
  • the first sound box 10 as the criterion for judging, analyze how the first angle 10a formed by the first wiring 12 and the connecting line 11 is formed by the connecting wire 11 surrounding the first sound box 10, so as to determine that the first sound box 10 is on the left.
  • Channel or right channel for example, is the first angle 10a formed by the connecting line 11 around the first speaker 10 counterclockwise or clockwise, if the first angle 10a is the connecting line 11 surrounding the first speaker 10 counterclockwise If formed, it is determined that the first sound box 10 is the right channel, and the second sound box 20 is the left channel. If the second angle is that the connecting line 11 is formed clockwise around the first sound box 10, it is determined that the first sound box 10 is the left channel. , The second speaker 20 is the right channel.
  • the selection module 300 is also used for the first included angle 10a formed by the connecting line by rotating the first sound box counterclockwise, and the first sound box 10 is the right channel.
  • the first included angle 10a ranges from 0° to 180°.
  • the first included angle 10a is formed by the connecting line 11 and the first speaker 10 rotates counterclockwise, indicating that the user 30 is in the first listening area 110,
  • the speaker 10 is located in the right hand direction of the user 30, and it is determined that the first speaker 10 is the right channel, and the second speaker 20 is the left channel.
  • the selection module 300 is also used for the first included angle 10a formed by the connecting line 11 rotating the first sound box 10 clockwise, and the first sound box 10 is the left channel.
  • the first included angle 10a ranges from 0° to 180°.
  • the first included angle 10a is formed by the connecting line 11 and the first speaker 10 rotates clockwise, indicating that the user 30 is in the second listening area 120.
  • the speaker 10 is located in the left hand direction of the user 30, and it is determined that the first speaker 10 is the left channel, and the second speaker 20 is the right channel.
  • the first angle 10a can also be 0°, that is to say, at this time, the user 30 is located on the connecting line 11, and is located on the side of the second speaker 20 away from the first speaker 10.
  • the first speaker 10 can be set.
  • One speaker 10 is the left channel
  • the second speaker 20 is the right channel.
  • the first speaker 10 can be set as the right channel and the second speaker 20 is the left channel.
  • the first included angle 10a can also be 180°, that is to say, at this time, the user 30 is located on the connecting line 11 and on the side of the first speaker 10 away from the second speaker 20.
  • the first speaker can be set 10 is the left channel
  • the second speaker 20 is the right channel. It is also possible to set the first speaker 10 as the right channel and the second speaker 20 as the left channel.
  • the selection module 300 further includes a comparison unit 310, which is configured to determine whether the user 30 is within the preset range of answering the voice according to the size of the first included angle 10a and the second included angle 20a.
  • a comparison unit 310 is configured to determine whether the user 30 is within the preset range of answering the voice according to the size of the first included angle 10a and the second included angle 20a.
  • the direction and position suitable for the user 30 to listen to the sound are within a certain range. Outside this range, the quality of the sound received by the user 30 will be reduced and cannot effectively experience the stereo effect. This is suitable for the user 30 to listen to the sound.
  • the range is the preset range. By determining whether the user 30 is within the preset range of answering the sound, so as to further prompt the user 30 to move to the preset range, so as to ensure that the stereo experience effect is obtained.
  • the comparison unit 310 is further configured to determine whether the user 30 is within the preset range of answering the voice according to the size of the first included angle 10a and the second included angle 20a. Specifically, if the first included angle 10a and the second included angle 20a are both between 0° and 90°, then the user 30 is within the preset range of listening voice; that is, the first included angle 10a and the second included angle 20a are all acute angles, so as to ensure that the user 30 has a better hearing experience.
  • one of the first included angle 10a or the second included angle 20a is greater than 90°, the user 30 is not within the preset range for answering the voice. That is, one of the first included angle 10a or the second included angle 20a is an obtuse angle. At this time, it is determined that the user 30 is not within the preset range of answering the voice. Therefore, by determining the angle values of the first included angle 10a and the second included angle 20a, it can be determined whether the user 30 is within the preset range.
  • the selection module 300 further includes a prompt unit 320 configured to prompt for moving to a preset range for answering the sound. Specifically, when one of the first included angle 10a or the second included angle 20a is calculated to be greater than 90°, the processor may prompt the user 30 to move to a preset range by outputting a voice, for example, prompting the user 30 to move to the preset range. How far to move left or right.
  • the device for selecting a sound channel channel further includes an adjustment module 400, which is used to obtain the separation distance between the first sound box 10 and the second sound box 20, and compare the separation distance and the preset distance to adjust the first sound box 10 and the second sound box.
  • the distance of the second speaker 20 Specifically, taking the first speaker 10 as the criterion, the second speaker 20 emits a voice to the first speaker 10, and the first speaker 10 receives the voice from the second speaker 20. The sound propagation speed in the air and the sound The time from the second sound box 20 to the first sound box 10 is calculated to obtain the distance between the first sound box 10 and the second sound box 20, that is, the spacing distance.
  • the distance is set a preset distance and compare whether the distance is within the preset distance, if the distance is not in the preset distance. If the distance is set, the user 30 is prompted to adjust the distance between the first sound box 10 and the second sound box 20, so that the separation distance is within a preset distance to ensure that the sounds from the first sound box 10 and the second sound box 20 are fused to form a stereo sound.
  • the second speaker 20 can be equipped with an infrared transmitter, the first speaker 10 is equipped with an infrared receiver, and the second speaker 20 emits infrared light to the first speaker 10 to measure the first speaker 10 and the second speaker 20. The spacing distance.
  • the adjustment module 400 is also used to calculate the distance between the user 30 and the speaker as the first distance and the second distance according to the voice command; compare the first distance and the second distance to determine the speaker that is closer to the user 30 It is the first sound box 10, and the far sound box is the second sound box 20.
  • the distance between the user 30 and the two speakers is calculated, and the distance between the user 30 and the first speaker is calculated.
  • the distance 10 is the first distance
  • the distance between the user 30 and the second speaker 20 is the second distance.
  • both the first speaker 10 and the second speaker 20 are provided with two pickup microphones, for example, The user sends a voice command to the first speaker 10, and the time difference between the two microphones to receive the sound, the approximate position of the user can be calculated.
  • the first speaker 10 is provided with two microphones, one of which receives the user's voice first, and the other microphone receives the user's voice later, and the user approaches the microphone that receives the user's voice first, so that the two microphones receive the user's voice. Calculate the user’s location with the time difference. Furthermore, it can be seen that the greater the number of microphone settings, the more accurate the location of the user can be determined.
  • the standard distance between the user 30 and the first speaker 10 is set as the first standard distance
  • the standard distance between the user 30 and the second speaker 20 is set as the second standard distance
  • the position of the user between the first standard distance and the second standard distance is also possible.
  • a better stereo experience can be obtained within the computer, that is, the first distance is within the first standard distance range, and the second distance is within the second standard distance range.
  • Different types of speakers have different ranges of the first standard distance and the second standard distance.
  • the present application also provides a sound box, the sound box comprising: a memory, a processor, and a sound box channel selection program stored on the memory and run on the processor; the sound box channel selection program is The processor implements the steps of the method for selecting sound channel channels as described above when executed.
  • the steps of the method or algorithm described in the embodiments disclosed in this document can be directly implemented by hardware, a software module executed by a processor, or a combination of the two.
  • the software module can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or all areas in the technical field. Any other known storage media.

Abstract

本申请一些实施例公开了一种音箱声道的选择方法、装置及音箱,所述方法包括:获取开启所述音箱的语音命令;依据所述语音命令,确定用户所处的用户位置;依据所述用户位置确定距离所述用户较近的音箱为第一音箱,较远的音箱为第二音箱;依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道。本申请能够使用户的左耳接听左声道声音,右耳接听右声道声音,有效保证立体声播放效果。

Description

音箱声道的选择方法、装置及音箱
本申请要求于2019年11月28日提交中国专利局、申请号为201911200447.2、申请名称为“音箱声道的选择方法、装置及音箱”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及音箱技术领域,尤其涉及一种音箱声道的选择方法、装置及音箱。
背景技术
近年来智能家电领域迅速发展,其中智能音箱更是备受关注,通过智能音箱能够使用户享受美妙的音乐,通常音箱的尺寸较小,可任意摆放它们的位置,一般音箱具有左声道和右声道的区分,用户左耳接听左声道声音,右耳接听右声道声音,通过左声道和右声道的设置,能够使接听用户感受到身临其境的立体声感觉,但是音箱的摆放位置是任意的,因此有时用户接听到的声音是相反的,即左耳接听右声道的声音,右耳接听左声道的声音,如此导致立体声播放效果降低。
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。
发明内容
基于此,针对现有音箱由于摆放位置是任意的,有时用户接听到的声音是相反的,导致立体声播放效果降低的问题,有必要提供一种音箱声道的选择方法、装置及音箱,能够使用户的左耳接听左声道声音,右耳接听右声道声音,有效保证立体声播放效果。
为实现上述目的,本申请提出的一种音箱声道的选择方法,所述方法包括:
获取开启所述音箱的语音命令;
依据所述语音命令,确定用户所处的用户位置;
依据所述用户位置确定距离所述用户较近的音箱为第一音箱,较远的音箱为第二音箱;
依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道。
可选地,所述依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道的步骤包括:
获得第一接线和连接线连接形成的第一夹角,以及第二接线和连接线连接形成的第二夹角,所述第一夹角和所述第二夹角的角度范围均在0°~180°之间;
依据所述第一夹角和所述连接线位置关系,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道;其中,
所述连接线为所述第一音箱的所处位置和所述第二音箱的所处位置连成的线、所述第一接线为所述用户位置和所述第一音箱的所处位置连成的线、所述第二接线为所述用户位置和所述第二音箱的所处位置连成的线。
可选地,所述依据所述第一夹角和所述连接线位置关系,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道的步骤包括:
所述第一夹角由所述连接线以所述第一音箱逆时针转动形成,则所述第一音箱为右声道;
所述第一夹角由所述连接线以所述第一音箱顺时针转动形成,则所述第一音箱为左声道。
可选地,所述依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道的步骤之后包括:
依据所述第一夹角和所述第二夹角大小,确定所述用户是否在接听声音的预设范围内。
可选地,所述依据所述第一夹角和所述第二夹角大小,确定所述用户是否在接听声音的预设范围内的步骤包括:
若所述第一夹角和所述第二夹角均在0°~90°之间,则所述用户在接听声音的预设范围内;
若所述第一夹角或所述第二夹角其中一个角度大于90°,则所述用户不 在接听声音的预设范围内。
可选地,所述若所述第一夹角或所述第二夹角其中一个角度大于90°,则所述用户不在接听声音的预设范围内的步骤之后包括:
提示用于移动至接听声音的预设范围内。
可选地,所述依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道的步骤之后包括:
获取所述第一音箱和所述第二音箱的间距距离,对比所述间距距离和预设距离,以调整所述第一音箱和所述第二音箱的距离。
可选地,所述依据所述用户位置确定距离所述用户较近的音箱为第一音箱,较远的音箱为第二音箱的步骤包括:
依据所述语音命令,计算得出所述用户与音箱的距离分别为第一距离和第二距离;
对比所述第一距离和所述第二距离大小,确定距离用户较近的音箱为第一音箱,较远的音箱为第二音箱。
此外,为了实现上述目的,本申请还提供一种音箱声道的选择装置,所述装置包括:
开启模块,用于获取开启所述音箱的语音命令;
确定模块,用于依据所述语音命令,确定用户所处的用户位置;
所述确定模块,还用于依据所述用户位置确定距离所述用户较近的音箱为第一音箱,较远的音箱为第二音箱;
选择模块,用于依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道。
此外,为了实现上述目的,本申请还提供一种音箱,所述音箱包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的音箱声道的选择程序;所述音箱声道的选择程序被所述处理器执行时实现如上文所述的音箱声道的选择方法的步骤。
本申请提出的技术方案中,依据开启音箱的语音命令,确定得出用户所处的位置,即用户位置,并依据所述用户位置确定得出距离音箱的距离,其中,距离所述用户较近的音箱为第一音箱,较远的音箱为第二音箱,分析所 述用户位置和所述第一音箱的所处位置关系,得出所述第一音箱为左声道或右声道,所述第二音箱为剩余声道,即所述第一音箱为左声道,所述第二音箱为右声道,或者,所述第一音箱为右声道,所述第二音箱为左声道。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一部分附图,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1为本申请音箱声道的选择方法第一实施例的流程示意图;
图2为本申请音箱声道的选择方法第二实施例的流程示意图;
图3为本申请音箱声道的选择方法第三实施例的流程示意图;
图4为本申请音箱声道的选择方法第四实施例的流程示意图;
图5为本申请音箱声道的选择方法第五实施例的流程示意图;
图6为本申请音箱声道的选择方法第六实施例的流程示意图;
图7为本申请音箱声道的选择方法第七实施例的流程示意图;
图8为本申请音箱声道的选择方法第八实施例的流程示意图;
图9为本申请音箱声道的选择装置的连接示意图;
图10为本申请俯视音箱的示意图。
附图标号说明:
标号 名称 标号 名称
10 第一音箱 21 第二接线
10a 第一夹角 30 用户
20a 第二夹角 100 开启模块
110 第一接听区域 200 确定模块
120 第二接听区域 300 选择模块
11 连接线 310 对比单元
12 第一接线 320 提示单元
20 第二音箱 400 调整模块
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步 说明。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
参阅图1所示,本申请提出的第一实施例,一种音箱声道的选择方法,本申请音箱包括智能音箱,所述智能(Artificial Intelligence)音箱,简称AI音箱,智能音箱中通常设置有能够识别语音的识别模块,并且通过所述识别模块还能够分析接收到的语音具体内容,智能音箱依据语音具体内容作出相应的动作,例如开机或者关机,所述方法包括:
步骤S10,获取开启音箱的语音命令。
具体地,音箱中设置有能够识别语音的识别模块,通过识别模块能够识别出语音命令的具体操作动作,通常来说,音箱中设置有处理器,处理器控制识别模块获取开启音箱的语音命令,其中,语音命令可以是外部设备发出,也可是用户发出。例如,音箱摆放在家中的客厅位置,用户在休闲之时打算欣赏音乐,用户可以向音箱发出包含有开机的语音命令,处理器通过控制识别模块接收语音命令,并且识别出语音命令。
步骤S20,依据语音命令,确定用户所处的用户位置。
通常来说,音箱包括有两个,一个音箱开启右声道,另一音箱则开启左声道,通过左右声道的播放,形成立体声,两个音箱之间可以是蓝牙连接,也可是其它无线连接方式,两个音箱的摆放位置也是任意位置的。音箱在接收语音命令的过程中,通过用户发出语音的方位,确定得出用于位于音箱的哪一侧,另外,声音在空气中传播时,具有一定的速度,由此可以推算得出,用户距离两个音箱的距离,由此进一步确定得出用户位置。
步骤S30,依据用户位置确定距离用户较近的音箱为第一音箱,较远的音箱为第二音箱。
其中,依据用户位置推算得出用户距离两个音箱的距离,对比得出两个音箱距离用户的距离大小,定义距离用户较近的音箱为第一音箱,较远的音 箱为第二音箱。
步骤S40,依据用户位置和第一音箱的所处位置,确定第一音箱为左声道或右声道,第二音箱为剩余声道。
具体地,以距离用户较近的第一音箱为判断基准,依据用户位置分析第一音箱位于用户的左手侧还是右手侧,如果第一音箱位于用户的左手侧,则确定第一音箱为左声道,第二音箱为右声道。如果第一音箱位于用户的右手侧,则确定第一音箱为右声道,第二音箱为左声道。由此依据用户位置,第一音箱和第二音箱完成左声道和右声道的选择,保证用户能够获得良好的立体声体验效果。
除此之外,还可以距离用户较远的第二音箱为判断基准,具体来说,据用户位置分析第二音箱位于用户的左手侧还是右手侧,如果第二音箱位于用户的左手侧,则确定第二音箱为左声道,第一音箱为右声道。如果第二音箱位于用户的右手侧,则确定第二音箱为右声道,第一音箱为左声道。
再者控制音箱的处理器可设置在第一音箱中或者第二音箱中,或者第一音箱中和第二音箱中均设置有处理器。
本实施例提出的技术方案中,依据开启音箱的语音命令,确定得出用户所处的位置,即用户位置,并依据所述用户位置确定得出距离音箱的距离,其中,距离所述用户较近的音箱为第一音箱,较远的音箱为第二音箱,分析所述用户位置和所述第一音箱的所处位置关系,得出所述第一音箱为左声道或右声道,所述第二音箱为剩余声道,即所述第一音箱为左声道,所述第二音箱为右声道,或者,所述第一音箱为右声道,所述第二音箱为左声道。
参阅图2所示,在本申请的第一实施例的基础上,提出本申请的第二实施例,依据用户位置和第一音箱的所处位置,确定第一音箱为左声道或右声道,第二音箱为剩余声道的步骤S40包括:
步骤S410,获得第一接线和连接线连接形成的第一夹角,以及第二接线和连接线连接形成的第二夹角,第一夹角和第二夹角的角度范围均在0°~180°之间。
具体地,将第一音箱和第二音箱以及用户位置连接形成三角形,第一接线和连接线形成第一夹角,第二接线和连接线连接形成的第二夹角。
步骤S420,依据第一夹角和连接线位置关系,确定第一音箱为左声道或 右声道,第二音箱为剩余声道。
其中,所述连接线为所述第一音箱的所处位置和所述第二音箱的所处位置连成的线、所述第一接线为所述用户位置和所述第一音箱的所处位置连成的线、所述第二接线为所述用户位置和所述第二音箱的所处位置连成的线。俯视第一音箱和第二音箱所在空间位置,得出俯视平面,第一音箱的所处位置和第二音箱的所处位置连接成连接线,所述连接线将所述俯视平面划分为第一接听区域和第二接听区域,通过用户发出的语音命令,能够得出用户位于第一接听区域还是第二接听区域,以此便于进一步分析用户位置。
具体地,以第一音箱为判断基准,分析第一接线和连接线形成的第一夹角是连接线围绕第一音箱如何形成的,以此确定第一音箱为左声道或右声道,例如第一夹角是连接线围绕第一音箱逆时针形成的,还是顺时针形成的,如果第一夹角是连接线围绕第一音箱逆时针形成,则确定第一音箱为右声道,第二音箱为左声道,如果第二夹角是连接线围绕第一音箱顺时针形成,则确定第一音箱为左声道,第二音箱为右声道。
参阅图3所示,在本申请的第二实施例的基础上,提出本申请的第三实施例,依据第一夹角和连接线位置关系,确定第一音箱为左声道或右声道,第二音箱为剩余声道的步骤S420包括:
步骤S421,第一夹角由连接线以第一音箱逆时针转动形成,则第一音箱为右声道。
具体地,第一夹角范围在0°~180°之间,第一夹角由连接线以第一音箱逆时针转动形成,则说明用户处于第一接听区域,第一音箱位于用户的右手方向位置,由此确定得出,第一音箱为右声道,第二音箱为左声道。
步骤S422,第一夹角由连接线以第一音箱顺时针转动形成,则第一音箱为左声道。
具体地,第一夹角范围在0°~180°之间,第一夹角由连接线以第一音箱顺时针转动形成,则说明用户处于第二接听区域,第一音箱位于用户的左手方向位置,由此确定得出,第一音箱为左声道,第二音箱为右声道。
除此之外,第一夹角还可以为0°,也就是说此时,用户位于连接线上,且位于第二音箱背离第一音箱一侧,此时可以设定第一音箱为左声道,第二 音箱为右声道,也可以设定第一音箱为右声道,第二音箱为左声道。
再者,第一夹角还可以为180°,也就是说此时,用户位于连接线上,且位于第一音箱背离第二音箱一侧,此时可以设定第一音箱为左声道,第二音箱为右声道,也可以设定第一音箱为右声道,第二音箱为左声道。
参阅图4所示,在本申请的第二实施例的基础上,提出本申请的第四实施例,依据用户位置和第一音箱的所处位置,确定第一音箱为左声道或右声道,第二音箱为剩余声道的步骤S420之后包括:
步骤S430,依据第一夹角和第二夹角大小,确定用户是否在接听声音的预设范围内。
通常来说,适合用户接听声音的方向和位置是在一定的范围内的,脱离这个范围,用户接听声音的质量将会降低,无法有效的体会到立体声的效果,这个适合用户接听声音的范围为预设范围。通过确定用户是否在接听声音的预设范围内,以便进一步提示用户移动至预设范围内,保证获得立体声的体验效果。
参阅图5所示,在本申请的第四实施例的基础上,提出本申请的第五实施例,依据第一夹角和第二夹角大小,确定用户是否在接听声音的预设范围内的步骤S430包括:
步骤S431,若第一夹角和第二夹角均在0°~90°之间,则用户在接听声音的预设范围内;
也就是说,第一夹角和第二夹角均为锐角,以此保证用户获得较好的听觉体验。
步骤S432,若第一夹角或第二夹角其中一个角度大于90°,则用户不在接听声音的预设范围内。
也就是说,第一夹角或第二夹角其中一个角度为钝角,此时,判定用户不在接听声音的预设范围内。由此通过第一夹角和第二夹角的角度值的确定,能够判断得出用户是否在预设范围内。
参阅图6所示,在本申请的第五实施例的基础上,提出本申请的第六实施例,若第一夹角或第二夹角其中一个角度大于90°,则用户不在接听声音的预设范围内的步骤S432之后包括:
步骤S433,提示用于移动至接听声音的预设范围内。
具体地,可以处理器在计算得出第一夹角或第二夹角其中一个角度大于90°时,通过输出语音的形式提示用户移动至预设范围内,例如,提示用户向左或者向右移动多少距离。
此外,还可通过画面显示的形成,在画面中标识出用户位置,以及预设范围,用户由此可以以及画面移动至预设范围内,以此保证获得良好的立体声体验。
参阅图7所示,在本申请的第一实施例至第六实施例的任一实施例的基础上,提出本申请的第七实施例,依据用户位置和第一音箱的所处位置,确定第一音箱为左声道或右声道,第二音箱为剩余声道的步骤S40之后包括:
步骤S50,获取第一音箱和第二音箱的间距距离,对比间距距离和预设距离,以调整第一音箱和第二音箱的距离。
具体地,以第一音箱为判断基准,第二音箱向第一音箱发出语音,第一音箱接收第二音箱发出的语音,通过声音在空气中的传播速度,以及,声音由第二音箱到第一音箱的时间,计算得出第一音箱和第二音箱之间的距离,即间距距离。通常,间距距离过大,第一音箱和第二音箱发出的声音很难融合形成立体声,为此,设定预设距离,通过对比间距距离是否在预设距离内,如果间距距离不在预设距离内,则提示用户调整第一音箱和第二音箱的距离,使间距距离在预设距离内,保证第一音箱和第二音箱发出的声音融合形成立体声。进一步地,为了确定得出用户位于第一音箱的位置,以及第二音箱位于第一音箱的具体位置,第一音箱和第二音箱均设置有两个拾音麦克风,比如,用户向第一音箱发出语音命令,通过两个麦克风接收声音的时间差,可计算得出用户的大致位置。例如,第一音箱设置有两个麦克风,其中一个麦克风先接收到用户声音,另一个麦克风后接收到用户声音,则用户靠近先接收到用户声音麦克风,以此根据两个麦克风接收到用户声音的时间差,推算用户位置。更进一步地,可知,麦克风设置的数量越多,确定用户的位置越准确。
此外,还可通过第二音箱上设置红外发射器,第一音箱设置红外接收器,第二音箱向第一音箱发射红外光线,以此来测量第一音箱和第二音箱的间距距离。
参阅图8所示,在本申请的第七实施例的基础上,提出本申请的第八实施 例,依据用户位置确定距离用户较近的音箱为第一音箱,较远的音箱为第二音箱的步骤S50包括:
步骤S510,依据语音命令,计算得出用户与音箱的距离分别为第一距离和第二距离;
步骤S520,对比第一距离和第二距离大小,确定距离用户较近的音箱为第一音箱,较远的音箱为第二音箱。
具体地,通过声音在空气中的传播速度,以及语音命令分别传播至第一音箱和第二音箱的时间,计算得出用户与两个音箱的距离,得出用户与第一音箱的距离为第一距离,用户与第二音箱的距离为第二距离。
此外,还可设定用户距离第一音箱的标准距离为第一标准距离,用户距离第二音箱的标准距离为第二标准距离,用户位置在第一标准距离和第二标准距离内能够获得更好的立体声体验,也就是,第一距离在第一标准距离范围内,第二距离在第二标准距离范围内。不同型号的音箱第一标准距离和第二标准距离范围不同。
本申请还提供一种音箱声道的选择装置,参阅图9和图10所示,本申请音箱包括智能音箱,所述智能音箱简称AI音箱,智能音箱中通常设置有能够识别语音的识别模块,并且通过所述识别模块还能够分析接收到的语音具体内容,智能音箱依据语音具体内容作出相应的动作,例如开机或者关机,所述装置包括:开启模块100、确定模块200和选择模块300。
开启模块100,用于获取开启所述音箱的语音命令;具体地,音箱中设置有能够识别语音的识别模块,通过识别模块能够识别出语音命令的具体操作动作,通常来说,音箱中设置有处理器,处理器控制识别模块获取开启音箱的语音命令,其中,语音命令可以是外部设备发出,也可是用户30发出。例如,音箱摆放在家中的客厅位置,用户30在休闲之时打算欣赏音乐,用户30可以向音箱发出包含有开机的语音命令,处理器通过控制识别模块接收语音命令,并且识别出语音命令。
确定模块200,用于依据所述语音命令,确定用户30所处的用户位置;通常来说,音箱包括有两个,一个音箱开启右声道,另一音箱则开启左声道,通过左右声道的播放,形成立体声,两个音箱之间可以是蓝牙连接,也可是 其它无线连接方式,两个音箱的摆放位置也是任意位置的。音箱在接收语音命令的过程中,通过用户30发出语音的方位,确定得出用于位于音箱的哪一侧,另外,声音在空气中传播时,具有一定的速度,由此可以推算得出,用户30距离两个音箱的距离,由此进一步确定得出用户位置。
所述确定模块200,还用于依据所述用户位置确定距离所述用户30较近的音箱为第一音箱10,较远的音箱为第二音箱20;其中,依据用户位置推算得出用户30距离两个音箱的距离,对比得出两个音箱距离用户30的距离大小,定义距离用户30较近的音箱为第一音箱10,较远的音箱为第二音箱20。
选择模块300,用于依据所述用户位置和所述第一音箱10的所处位置,确定所述第一音箱10为左声道或右声道,所述第二音箱20为剩余声道。具体地,以距离用户30较近的第一音箱10为判断基准,依据用户位置分析第一音箱10位于用户30的左手侧还是右手侧,如果第一音箱10位于用户30的左手侧,则确定第一音箱10为左声道,第二音箱20为右声道。如果第一音箱10位于用户30的右手侧,则确定第一音箱10为右声道,第二音箱20为左声道。由此依据用户位置,第一音箱10和第二音箱20完成左声道和右声道的选择,保证用户30能够获得良好的立体声体验效果。
除此之外,还可以距离用户30较远的第二音箱20为判断基准,具体来说,据用户位置分析第二音箱20位于用户30的左手侧还是右手侧,如果第二音箱20位于用户30的左手侧,则确定第二音箱20为左声道,第一音箱10为右声道。如果第二音箱20位于用户30的右手侧,则确定第二音箱20为右声道,第一音箱10为左声道。
再者控制音箱的处理器可设置在第一音箱10中或者第二音箱20中,或者第一音箱10中和第二音箱20中均设置有处理器。
本实施例提出的技术方案中,依据开启音箱的语音命令,确定得出用户30所处的位置,即用户位置,并依据用户位置确定得出距离音箱的距离,其中,距离所述用户30较近的音箱为第一音箱10,较远的音箱为第二音箱20,分析所述用户位置和所述第一音箱10的所处位置关系,得出所述第一音箱10为左声道或右声道,所述第二音箱20为剩余声道,即所述第一音箱10为左声道,所述第二音箱20为右声道,或者,所述第一音箱10为右声道,所述第二音箱20为左声道。
进一步地,所述选择模块300还用于获得第一接线12和连接线11连接形成的第一夹角10a,以及第二接线21和连接线11连接形成的第二夹角20a,第一夹角10a和第二夹角20a的角度范围均在0°~180°之间。具体地,将第一音箱10和第二音箱20以及用户位置连接形成三角形,第一接线12和连接线11形成第一夹角10a,第二接线21和连接线11连接形成的第二夹角20a。
所述选择模块300还用于依据第一夹角10a和连接线位置关系,确定第一音箱10为左声道或右声道,第二音箱20为剩余声道。具体地,以第一音箱10为判断基准,分析第一接线12和连接线11形成的第一夹角10a是连接线围绕第一音箱10如何形成的,以此确定第一音箱10为左声道或右声道,例如第一夹角10a是连接线围绕第一音箱10逆时针形成的,还是顺时针形成的,如果第一夹角10a是连接线围绕第一音箱10逆时针形成,则确定第一音箱10为右声道,第二音箱20为左声道,如果第二夹角20a是连接线围绕第一音箱10顺时针形成,则确定第一音箱10为左声道,第二音箱20为右声道。
其中,连接线11为第一音箱10的所处位置和第二音箱20的所处位置连成的线、第一接线12为用户位置和第一音箱10的所处位置连成的线、第二接线21为用户位置和第二音箱20的所处位置连成的线。俯视第一音箱10和第二音箱20所在空间位置,得出俯视平面,第一音箱10的所处位置和第二音箱20的所处位置连接成连接线11,所述连接线11将所述俯视平面划分为第一接听区域110和第二接听区域120,通过用户30发出的语音命令,能够得出用户30位于第一接听区域110还是第二接听区域120,以此便于进一步分析用户位置。
具体地,以第一音箱10为判断基准,分析第一接线12和连接线11形成的第一夹角10a是连接线11围绕第一音箱10如何形成的,以此确定第一音箱10为左声道或右声道,例如第一夹角10a是连接线11围绕第一音箱10逆时针形成的,还是顺时针形成的,如果第一夹角10a是连接线11围绕第一音箱10逆时针形成,则确定第一音箱10为右声道,第二音箱20为左声道,如果第二夹角是连接线11围绕第一音箱10顺时针形成,则确定第一音箱10为左声道,第二音箱20为右声道。
进一步地,选择模块300还用于第一夹角10a由连接线以第一音箱逆时针转动形成,则第一音箱10为右声道。具体地,第一夹角10a范围在0°~180°之间,第一夹角10a由连接线11以第一音箱10逆时针转动形成,则说明用户30 处于第一接听区域110,第一音箱10位于用户30的右手方向位置,由此确定得出,第一音箱10为右声道,第二音箱20为左声道。
选择模块300还用于第一夹角10a由连接线11以第一音箱10顺时针转动形成,则第一音箱10为左声道。具体地,第一夹角10a范围在0°~180°之间,第一夹角10a由连接线11以第一音箱10顺时针转动形成,则说明用户30处于第二接听区域120,第一音箱10位于用户30的左手方向位置,由此确定得出,第一音箱10为左声道,第二音箱20为右声道。
除此之外,第一夹角10a还可以为0°,也就是说此时,用户30位于连接线11上,且位于第二音箱20背离第一音箱10一侧,此时可以设定第一音箱10为左声道,第二音箱20为右声道,也可以设定第一音箱10为右声道,第二音箱20为左声道。
再者,第一夹角10a还可以为180°,也就是说此时,用户30位于连接线11上,且位于第一音箱10背离第二音箱20一侧,此时可以设定第一音箱10为左声道,第二音箱20为右声道,也可以设定第一音箱10为右声道,第二音箱20为左声道。
进一步地,选择模块300还包括对比单元310,对比单元310用于依据第一夹角10a和第二夹角20a大小,确定用户30是否在接听声音的预设范围内。通常来说,适合用户30接听声音的方向和位置是在一定的范围内的,脱离这个范围,用户30接听声音的质量将会降低,无法有效的体会到立体声的效果,这个适合用户30接听声音的范围为预设范围。通过确定用户30是否在接听声音的预设范围内,以便进一步提示用户30移动至预设范围内,保证获得立体声的体验效果。
进一步地,所述对比单元310还用于依据第一夹角10a和第二夹角20a大小,确定用户30是否在接听声音的预设范围内。具体地若第一夹角10a和第二夹角20a均在0°~90°之间,则用户30在接听声音的预设范围内;也就是说,第一夹角10a和第二夹角20a均为锐角,以此保证用户30获得较好的听觉体验。
若第一夹角10a或第二夹角20a其中一个角度大于90°,则用户30不在接听声音的预设范围内。也就是说,第一夹角10a或第二夹角20a其中一个角度为钝角,此时,判定用户30不在接听声音的预设范围内。由此通过第一夹角10a和第二夹角20a的角度值的确定,能够判断得出用户30是否在预设范围内。
进一步地,选择模块300还包括提示单元320,所述提示单元320用于提示用于移动至接听声音的预设范围内。具体地,可以处理器在计算得出第一夹角10a或第二夹角20a其中一个角度大于90°时,通过输出语音的形式提示用户30移动至预设范围内,例如,提示用户30向左或者向右移动多少距离。
进一步地,音箱声道的选择装置还包括调整模块400,调整模块400用于获取第一音箱10和第二音箱20的间距距离,对比间距距离和预设距离,以调整第一音箱10和第二音箱20的距离。具体地,以第一音箱10为判断基准,第二音箱20向第一音箱10发出语音,第一音箱10接收第二音箱20发出的语音,通过声音在空气中的传播速度,以及,声音由第二音箱20到第一音箱10的时间,计算得出第一音箱10和第二音箱20之间的距离,即间距距离。通常,间距距离过大,第一音箱10和第二音箱20发出的声音很难融合形成立体声,为此,设定预设距离,通过对比间距距离是否在预设距离内,如果间距距离不在预设距离内,则提示用户30调整第一音箱10和第二音箱20的距离,使间距距离在预设距离内,保证第一音箱10和第二音箱20发出的声音融合形成立体声。此外,还可通过第二音箱20上设置红外发射器,第一音箱10设置红外接收器,第二音箱20向第一音箱10发射红外光线,以此来测量第一音箱10和第二音箱20的间距距离。
进一步地,调整模块400还用于依据语音命令,计算得出用户30与音箱的距离分别为第一距离和第二距离;对比第一距离和第二距离大小,确定距离用户30较近的音箱为第一音箱10,较远的音箱为第二音箱20。
具体地,通过声音在空气中的传播速度,以及语音命令分别传播至第一音箱10和第二音箱20的时间,计算得出用户30与两个音箱的距离,得出用户30与第一音箱10的距离为第一距离,用户30与第二音箱20的距离为第二距离。进一步地,为了确定得出用户位于第一音箱10的位置,以及第二音箱20位于第一音箱10的具体位置,第一音箱10和第二音箱20均设置有两个拾音麦克风,比如,用户向第一音箱10发出语音命令,通过两个麦克风接收声音的时间差,可计算得出用户的大致位置。例如,第一音箱10设置有两个麦克风,其中一个麦克风先接收到用户声音,另一个麦克风后接收到用户声音,则用户靠近先接收到用户声音麦克风,以此根据两个麦克风接收到用户声音的时间差,推算用户位置。更进一步地,可知,麦克风设置的数量越多,确定用户的位 置越准确。
此外,还可设定用户30距离第一音箱10的标准距离为第一标准距离,用户30距离第二音箱20的标准距离为第二标准距离,用户位置在第一标准距离和第二标准距离内能够获得更好的立体声体验,也就是,第一距离在第一标准距离范围内,第二距离在第二标准距离范围内。不同型号的音箱第一标准距离和第二标准距离范围不同。
本申请还提供一种音箱,所述音箱包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的音箱声道的选择程序;所述音箱声道的选择程序被所述处理器执行时实现如上文所述的音箱声道的选择方法的步骤。
本申请音箱具体实施方式可以参照上述音箱声道的选择方法各实施例,在此不再赘述。
本说明书中各个实施例采用并列或者递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处可参见方法部分说明。
本领域普通技术人员还可以理解,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗 示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。

Claims (10)

  1. 一种音箱声道的选择方法,其特征在于,所述方法包括:
    获取开启所述音箱的语音命令;
    依据所述语音命令,确定用户所处的用户位置;
    依据所述用户位置确定距离所述用户较近的音箱为第一音箱,较远的音箱为第二音箱;
    依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道。
  2. 如权利要求1所述的音箱声道的选择方法,其特征在于,所述依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道的步骤包括:
    获得第一接线和连接线形成的第一夹角,以及第二接线和连接线形成的第二夹角,所述第一夹角和所述第二夹角的角度范围均在0°~180°之间;
    依据所述第一夹角和所述连接线位置关系,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道;其中,
    所述连接线为所述第一音箱的所处位置和所述第二音箱的所处位置连成的线、所述第一接线为所述用户位置和所述第一音箱的所处位置连成的线、所述第二接线为所述用户位置和所述第二音箱的所处位置连成的线。
  3. 如权利要求2所述的音箱声道的选择方法,其特征在于,所述依据所述第一夹角和所述连接线位置关系,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道的步骤包括:
    所述第一夹角由所述连接线以所述第一音箱逆时针转动形成,则所述第一音箱为右声道;
    所述第一夹角由所述连接线以所述第一音箱顺时针转动形成,则所述第一音箱为左声道。
  4. 如权利要求2所述的音箱声道的选择方法,其特征在于,所述依据所 述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道的步骤之后包括:
    依据所述第一夹角和所述第二夹角大小,确定所述用户是否在接听声音的预设范围内。
  5. 如权利要求4所述的音箱声道的选择方法,其特征在于,所述依据所述第一夹角和所述第二夹角大小,确定所述用户是否在接听声音的预设范围内的步骤包括:
    若所述第一夹角和所述第二夹角均在0°~90°之间,则所述用户在接听声音的预设范围内;
    若所述第一夹角或所述第二夹角其中一个角度大于90°,则所述用户不在接听声音的预设范围内。
  6. 如权利要求5所述的音箱声道的选择方法,其特征在于,所述若所述第一夹角或所述第二夹角其中一个角度大于90°,则所述用户不在接听声音的预设范围内的步骤之后包括:
    提示用于移动至接听声音的预设范围内。
  7. 如权利要求1至6任一项所述的音箱声道的选择方法,其特征在于,所述依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道的步骤之后包括:
    获取所述第一音箱和所述第二音箱的间距距离,对比所述间距距离和预设距离,以调整所述第一音箱和所述第二音箱的距离。
  8. 如权利要求7所述的音箱声道的选择方法,其特征在于,所述依据所述用户位置确定距离所述用户较近的音箱为第一音箱,较远的音箱为第二音箱的步骤包括:
    依据所述语音命令,计算得出所述用户与音箱的距离分别为第一距离和第二距离;
    对比所述第一距离和所述第二距离大小,确定距离用户较近的音箱为第 一音箱,较远的音箱为第二音箱。
  9. 一种音箱声道的选择装置,其特征在于,所述装置包括:
    开启模块,用于获取开启所述音箱的语音命令;
    确定模块,用于依据所述语音命令,确定用户所处的用户位置;
    所述确定模块,还用于依据所述用户位置确定距离所述用户较近的音箱为第一音箱,较远的音箱为第二音箱;
    选择模块,用于依据所述用户位置和所述第一音箱的所处位置,确定所述第一音箱为左声道或右声道,所述第二音箱为剩余声道。
  10. 一种音箱,其特征在于,所述音箱包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的音箱声道的选择程序;所述音箱声道的选择程序被所述处理器执行时实现如权利要求1至8中任一项所述的音箱声道的选择方法的步骤。
PCT/CN2019/129522 2019-11-28 2019-12-28 音箱声道的选择方法、装置及音箱 WO2021103259A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911200447.2A CN110996217B (zh) 2019-11-28 2019-11-28 音箱声道的选择方法、装置及音箱
CN201911200447.2 2019-11-28

Publications (1)

Publication Number Publication Date
WO2021103259A1 true WO2021103259A1 (zh) 2021-06-03

Family

ID=70088414

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/129522 WO2021103259A1 (zh) 2019-11-28 2019-12-28 音箱声道的选择方法、装置及音箱

Country Status (2)

Country Link
CN (1) CN110996217B (zh)
WO (1) WO2021103259A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747092A (zh) * 2020-05-29 2021-12-03 深圳Tcl数字技术有限公司 一种声道播放方法、系统及存储介质
CN114257924A (zh) * 2020-09-24 2022-03-29 华为技术有限公司 一种分配声道的方法及相关设备
CN112911496A (zh) * 2021-03-26 2021-06-04 潍坊歌尔电子有限公司 发声组件的配对方法、音频系统和可读存储介质
CN115696171A (zh) * 2021-07-29 2023-02-03 华为技术有限公司 声道配置方法、电子设备及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469624A (zh) * 2014-12-16 2015-03-25 广东欧珀移动通信有限公司 耳机声道切换方法、系统、电子设备以及耳机
WO2017219538A1 (zh) * 2016-06-23 2017-12-28 乐视控股(北京)有限公司 声道数据匹配方法及装置
US20180060024A1 (en) * 2016-08-26 2018-03-01 Shenzhen Xinguodu Technology Co., Ltd Intelligent switch and intelligent home system using the same
CN108551610A (zh) * 2018-05-11 2018-09-18 四川斐讯信息技术有限公司 一种智能音箱及其音效产生方法
CN109844690A (zh) * 2015-11-18 2019-06-04 三星电子株式会社 适应于用户位置的音频装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008072541A (ja) * 2006-09-15 2008-03-27 D & M Holdings Inc オーディオ装置
CN104967953B (zh) * 2015-06-23 2018-10-09 Tcl集团股份有限公司 一种多声道播放方法和系统
WO2019041178A1 (zh) * 2017-08-30 2019-03-07 深圳魔耳智能声学科技有限公司 声音播放方法、设备及可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469624A (zh) * 2014-12-16 2015-03-25 广东欧珀移动通信有限公司 耳机声道切换方法、系统、电子设备以及耳机
CN109844690A (zh) * 2015-11-18 2019-06-04 三星电子株式会社 适应于用户位置的音频装置
WO2017219538A1 (zh) * 2016-06-23 2017-12-28 乐视控股(北京)有限公司 声道数据匹配方法及装置
US20180060024A1 (en) * 2016-08-26 2018-03-01 Shenzhen Xinguodu Technology Co., Ltd Intelligent switch and intelligent home system using the same
CN108551610A (zh) * 2018-05-11 2018-09-18 四川斐讯信息技术有限公司 一种智能音箱及其音效产生方法

Also Published As

Publication number Publication date
CN110996217A (zh) 2020-04-10
CN110996217B (zh) 2021-08-24

Similar Documents

Publication Publication Date Title
WO2021103259A1 (zh) 音箱声道的选择方法、装置及音箱
US10440492B2 (en) Calibration of virtual height speakers using programmable portable devices
JP6385389B2 (ja) パーソナライズされたオーディオを提供するためのシステムと方法
US10123140B2 (en) Dynamic calibration of an audio system
WO2018149275A1 (zh) 调整音箱输出的音频的方法和装置
JP2006504130A (ja) 音声に基づく装置制御
RU2707149C2 (ru) Устройство и способ модифицирования вывода аудиосигнала устройства
US11096005B2 (en) Sound reproduction
CN112118485B (zh) 音量自适应调整方法、系统、设备及存储介质
JP2017527148A (ja) 音質改善のための方法及びヘッドセット
CN106792365B (zh) 一种音频播放方法及装置
JP2018509820A (ja) パーソナライズされたヘッドホン
CN104966521A (zh) 一种调整音乐播放模式的方法及装置
TWI659413B (zh) 用於在音訊區域中控制聲音影像之方法、裝置與系統
CN111164990B (zh) 基于级别的音频对象交互
CN113553022A (zh) 设备调整方法、装置、移动终端及存储介质
JP2021513263A (ja) ダイナミックサウンドイコライゼーションに関する方法
CN113079453B (zh) 一种听觉音效智能跟随方法及系统
EP3776169A1 (en) Voice-control soundbar loudspeaker system with dedicated dsp settings for voice assistant output signal and mode switching method
JP2008167319A (ja) ヘッドホンシステム、ヘッドホン駆動制御装置およびヘッドホン
CN111412587B (zh) 空调器的语音处理方法、装置、空调器和存储介质
KR101595964B1 (ko) 볼륨 및 주파수 자동 조절 이어폰
US20200314568A1 (en) Accelerometer-Based Selection of an Audio Source for a Hearing Device
CN113659950B (zh) 一种高保真多用途音响控制方法、系统、装置及存储介质
CN110099326B (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: 19954626

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19954626

Country of ref document: EP

Kind code of ref document: A1