CN112995844A - Sound playing method and sound playing device - Google Patents

Sound playing method and sound playing device Download PDF

Info

Publication number
CN112995844A
CN112995844A CN202110222971.0A CN202110222971A CN112995844A CN 112995844 A CN112995844 A CN 112995844A CN 202110222971 A CN202110222971 A CN 202110222971A CN 112995844 A CN112995844 A CN 112995844A
Authority
CN
China
Prior art keywords
sound
playing
warning
vehicle
volume
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
CN202110222971.0A
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202110222971.0A priority Critical patent/CN112995844A/en
Publication of CN112995844A publication Critical patent/CN112995844A/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
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • H04R1/32Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only
    • H04R1/323Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only for loudspeakers
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B3/00Audible signalling systems; Audible personal calling systems
    • G08B3/10Audible signalling systems; Audible personal calling systems using electric transmission; using electromagnetic transmission
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • G10L2025/783Detection of presence or absence of voice signals based on threshold decision

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Acoustics & Sound (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Otolaryngology (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses a sound playing method and a sound playing device, wherein the sound playing is applied to a vehicle-mounted sound box, the vehicle-mounted sound box comprises a pickup assembly arranged outside a vehicle and a playing assembly arranged inside the vehicle, and the sound playing method comprises the following steps: acquiring ambient sound outside the vehicle through a sound pickup assembly; determining that a warning tone is present in the ambient sound; and interrupting the current sound of the playing component or reducing the current playing volume of the playing component, and controlling the playing component to play the warning prompt according to the warning sound. The technical scheme of the invention can ensure that personnel in the vehicle can timely detect the emergency, timely take corresponding measures and reduce potential safety hazards.

Description

Sound playing method and sound playing device
Technical Field
The invention relates to the technical field of vehicle-mounted sound boxes, in particular to a sound playing method and a sound playing device.
Background
During the running process of the vehicle, the windows are always closed, and a relatively closed environment is formed inside the vehicle and is insensitive to external sound. When an emergency occurs outside the vehicle, it is difficult for external sounds to be transmitted to the inside of the vehicle. At this moment, the personnel in the vehicle are difficult to perceive the emergency sometimes, and can not make effective countermeasure in the first time, so there is great potential safety hazard.
Disclosure of Invention
Based on this, aiming at the problem that at present, in a relatively closed environment, personnel in a vehicle are difficult to detect an emergency sometimes and cannot make effective countermeasures in the first time to cause great potential safety hazards, a sound playing method and a sound playing device are necessary to provide, and the sound playing method and the sound playing device aim to ensure that the personnel in the vehicle can timely detect the emergency, timely make countermeasures and reduce the potential safety hazards.
In order to achieve the above object, the present invention provides a sound playing method, where the sound playing method is applied to a vehicle-mounted sound box, where the vehicle-mounted sound box includes a sound pickup assembly disposed outside a vehicle and a playing assembly disposed inside the vehicle, and the sound playing method includes:
acquiring ambient sound outside the vehicle through a sound pickup assembly;
determining that a warning tone is present in the ambient sound;
and interrupting the current sound of the playing component or reducing the current playing volume of the playing component, and controlling the playing component to play the warning prompt according to the warning sound.
Optionally, the step of determining that a warning sound is present in the environmental sound comprises:
determining the sound source position of warning sound through the pickup assembly;
the step of interrupting the current sound of the playing component or reducing the current playing volume of the playing component and controlling the playing component to play the warning prompt according to the warning sound comprises the following steps:
interrupting the current sound process of the playing component or reducing the current playing volume of the playing component;
and controlling the playing component to play the warning prompt according to the sound source position of the warning sound.
Optionally, a plurality of playing assemblies are arranged in the vehicle, and the plurality of playing assemblies are respectively arranged in the vehicle;
the step of controlling the playing component to play the warning prompt according to the sound source position of the warning sound comprises the following steps:
and selecting a playing component corresponding to the sound source position of the warning sound to play a warning prompt.
Optionally, a plurality of pickup assemblies are provided, and one pickup assembly is arranged corresponding to one playing assembly;
the step of determining the sound source position of the warning sound through the pickup assembly includes:
receiving a warning sound through the pickup assembly;
comparing the volume of the warning sound acquired by each pickup assembly;
and selecting the pickup assembly corresponding to the maximum volume value of the warning sound, wherein the position of the pickup assembly is the sound source position of the warning sound.
Optionally, a plurality of pickup assemblies are provided, and one pickup assembly is arranged corresponding to one playing assembly;
the step of determining the sound source position of the warning sound through the pickup assembly includes:
receiving warning sound through a pickup assembly, and acquiring the volume of the warning sound;
and constructing a volume direction graph according to the volume of the warning sound, and obtaining the sound source position of the warning sound according to the directivity of the volume direction graph.
Optionally, the step of determining that a warning sound exists in the environmental sound includes:
acquiring the volume of the environmental sound, and comparing the volume of the environmental sound with a preset threshold;
if the volume of the environmental sound is larger than or equal to a preset threshold value, warning sound exists in the environmental sound;
and if the volume of the environmental sound is smaller than a preset threshold value, the environmental sound is background noise.
Optionally, after the step of determining that the volume of the environmental sound is greater than or equal to a preset threshold, the method further includes:
comparing the environmental sound with data in a preset voice library, and judging whether the data type of the environmental sound conforms to the data type in the voice library;
if the data type of the environmental sound accords with the data type in the voice library, warning sound exists in the environmental sound;
and if the data type of the environmental sound does not conform to the data type in the voice library, the environmental sound is background noise.
Optionally, after the step of determining that the warning sound exists in the environmental sound, the method includes:
and selecting a warning prompt matched with the warning sound in a sound source library.
Optionally, before the step of interrupting the current sound of the playing component, the method includes:
judging whether the playing component is in a broadcasting state or not;
if the playing component is in a playing state, the step of interrupting the current sound of the playing component or reducing the current playing volume of the playing component is executed;
and if the playing component is not in a broadcasting state, controlling the playing component to send out a warning prompt.
Optionally, the warning tone comprises an outside vehicle whistle;
the step of determining that a warning tone is present in the ambient sound comprises:
determining that an external vehicle whistle is present in the ambient sound.
Optionally, the step of obtaining ambient sound outside the vehicle through the sound pickup assembly is preceded by:
determining whether an interior of the vehicle is in a sound-deadening state;
if the interior of the vehicle is in a sound insulation state, a monitoring mode is started to generate a monitoring instruction, so that the vehicle-mounted sound box executes the step of acquiring the ambient sound outside the vehicle through the pickup assembly according to the monitoring instruction.
In order to achieve the above object, the present invention also provides a sound reproducing apparatus, including: the system comprises a memory, a processor and a sound playing method which is stored on the memory and can be operated on the processor; the sound playing method when executed by the processor implements the steps of the sound playing method as described above.
In the technical scheme provided by the invention, when an emergency occurs, sound is generated, and the sound is understood as warning sound. The method comprises the steps of obtaining the environment sound outside the vehicle, determining that warning sound exists in the environment sound, wherein the existence of the warning sound indicates that an emergency situation exists outside the vehicle, and the outside sound is difficult to transmit to the inside of the vehicle, so that a warning prompt is directly sent out inside the vehicle. Thus, the personnel in the vehicle can timely receive the warning prompt aiming at the warning sound. According to the technical scheme, after the warning sound is confirmed to exist outside the vehicle, the warning prompt aiming at the warning sound is sent out inside the vehicle, and through the mode, even if the inside of the vehicle is in a relatively closed environment, personnel inside the vehicle can take corresponding measures at the first time, so that potential safety hazards are reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a sound playing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a sound playing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a sound playing method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a sound playing method according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart illustrating a sound playing method according to a fifth embodiment of the present invention;
FIG. 6 is a flowchart illustrating a sound playing method according to a sixth embodiment of the present invention;
FIG. 7 is a flowchart illustrating a sound playing method according to a seventh embodiment of the present invention;
FIG. 8 is a flowchart illustrating a sound playing method according to an eighth embodiment of the present invention;
FIG. 9 is a flowchart illustrating a sound playing method according to a ninth embodiment of the present invention;
FIG. 10 is a flowchart illustrating a sound playing method according to a tenth embodiment of the present invention;
fig. 11 is a flowchart illustrating a sound playing method according to an eleventh embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the related art, when a vehicle runs, the external ring is noisy, dust is large, windows are often closed, and a relatively closed environment is formed in the vehicle. When the emergency appears outside the vehicle, outside sound is difficult to transmit to the inside of the vehicle, and the personnel in the vehicle are difficult to take effective counter measures for the first time, so that the vehicle can continuously run, and great potential safety hazards exist.
In order to solve the above problem, referring to fig. 1, a first embodiment of the present invention is provided, in which the present invention provides a sound playing method, the sound playing method is applied to a vehicle-mounted sound box, the vehicle-mounted sound box includes a sound pickup assembly disposed outside a vehicle and a playing assembly disposed inside the vehicle, and the sound playing method includes:
step S10, acquiring the environment sound outside the vehicle through the sound pickup assembly; in the driving process of the vehicle, the vehicle usually faces a complex driving environment, so that accidents often occur, and a driver needs to deal with the accidents in time. In the event of an accident, a warning sound is accompanied. For example, a warning of a whistling of a surrounding vehicle, or a shouting warning of a pedestrian, or the like. These sounds are all contained in the ambient sound. Therefore, it is necessary to acquire the ambient sound outside the vehicle through the sound pickup assembly before determining whether the warning sound is present. The ambient sound is acquired by a sound sensor, a sound pickup unit, or the like provided outside the vehicle. E.g. a microphone array or the like. After the environment sound is transmitted to the microphone array, the environment sound can be captured by the microphone, the environment sound is transmitted to the vehicle-mounted sound box, the processor is arranged inside the vehicle-mounted sound box, and the further processing of the environment sound is completed through the processor.
Step S20, determining that warning sound exists in the environment sound; the warning tone is included in the environmental sound, and it is first determined whether the warning tone is present in the environmental sound. There are various ways to determine whether a warning sound exists, for example, by judging the magnitude of the environmental sound, or analyzing the frequency of the environmental sound, or determining the sound data type of the environmental sound, i.e., analyzing the data in the environmental sound by means of voice recognition, to identify whether the warning sound exists.
And step S30, interrupting the current sound of the playing component or reducing the current playing volume of the playing component, and controlling the playing component to play the warning prompt according to the warning sound. If the playing component is in a working state and plays sound, if the warning prompt is played synchronously at the moment, the two sounds are easily mixed together and are difficult to distinguish, and personnel in the vehicle are difficult to clearly listen. Therefore, the playing of the playing component to the current sound needs to be interrupted first, and then the warning prompt is played, so that the warning prompt can be effectively highlighted. The warning prompt can be that the warning sound is directly played in the vehicle, or can be other sounds matched with the warning sound. Besides interrupting the current sound process of the playing component, the current playing volume of the playing component can be reduced. For example, when the current playing component plays music, the prompt of warning sound can be displayed by reducing the mode of playing music, so that the warning of personnel in the vehicle is finished.
Further, the vehicle is in a relatively closed environment, and the vehicle plays a certain role in isolating sound. Therefore, it is difficult to transmit the ambient sound to the vehicle interior in a timely manner, and it is also known that the warning sound is difficult to receive in the vehicle interior. And after the warning sound exists in the environment, a warning prompt is sent out in the vehicle. The warning alert may be a separation of the warning tone from the environmental background and then the sounding of the warning tone inside the vehicle. However, this method requires analysis of the environmental sound, which takes a certain time, and can avoid danger within minutes and seconds in case of an accident. Therefore, after the warning sound is determined, the vehicle-mounted sound box can be directly called, the warning prompt is directly sent out through the vehicle-mounted sound box, namely, one sound matched with the warning sound is selected, so that the processing of the environmental sound can be reduced, and the consumption of precious reaction time is avoided.
In the technical scheme provided by the embodiment, when an emergency occurs, a sound is generated, and the sound is understood as a warning sound. The method comprises the steps of obtaining the environment sound outside the vehicle, determining that warning sound exists in the environment sound, wherein the existence of the warning sound indicates that an emergency situation exists outside the vehicle, and the outside sound is difficult to transmit to the inside of the vehicle, so that a warning prompt is directly sent out inside the vehicle. Thus, the personnel in the vehicle can timely receive the warning prompt aiming at the warning sound. According to the technical scheme, after the warning sound is confirmed to exist outside the vehicle, the warning prompt aiming at the warning sound is sent out inside the vehicle, and through the mode, even if the inside of the vehicle is in a relatively closed environment, personnel inside the vehicle can take corresponding measures at the first time, so that potential safety hazards are reduced.
Referring to fig. 2, a second embodiment of the present invention is proposed on the basis of the first embodiment of the present invention. The step of determining the presence of a warning tone in the ambient sound comprises:
step S21, determining the sound source position of the warning sound through the sound pickup assembly; the sound depends on air transmission, and the energy of the sound is gradually reduced in the sound transmission process. The pickup assembly distributes around the vehicle, therefore the sound size that every pickup assembly acquireed is different, and the size of obtaining sound through the pickup assembly can judge the position of giving off who reachs the warning sound.
Interrupting the current sound of the playing component or reducing the current playing volume of the playing component, and controlling the playing component to play the warning prompt according to the warning sound, wherein the method comprises the following steps:
step S31, interrupting the current sound process of the playing component or reducing the current playing volume of the playing component; the current sound progress of the playing component is interrupted by recording the current playing progress and then pausing, or by adjusting and reducing the volume of the current sound, so that the user cannot hear the current sound, or only can hear a small current sound, and the playing volume of the warning prompt is increased, so that the warning prompt is highlighted.
And step S32, controlling the playing component to play the warning prompt according to the sound source position of the warning sound. And after the sound source position of the warning sound is determined, controlling the corresponding playing component to send out a warning prompt. The outside pickup assembly of vehicle sets up the inside broadcast subassembly of corresponding vehicle, and this broadcast subassembly is the broadcast subassembly nearest from the sound source of warning sound. When the play component closest to the sound source of the warning sound is selected to play the sound, personnel in the vehicle can observe the sound according to the propagation direction of the sound at the first time, so that the dangerous degree of the occurring situation can be rapidly confirmed.
Referring to fig. 3, a third embodiment of the present invention is proposed on the basis of the second embodiment of the present invention. The plurality of playing assemblies are arranged in the vehicle;
according to the step that the sound source position of the warning sound controls the playing component to play the warning prompt, the method comprises the following steps:
step S321, selecting the playing component corresponding to the sound source position of the warning sound to play the warning prompt. And selecting the corresponding playing component, namely selecting the playing component closest to the sound source of the warning sound. Through the nearest play subassembly broadcast sound of sound source position apart from the warning sound, the inside personnel of vehicle make the observation fast according to sound source direction, can confirm emergency's position fast to make and deal with the measure.
Certainly also can be all play subassemblies sound production simultaneously, only in the sound source position of warning sound, the sound of corresponding play subassembly is the biggest, and the personnel in whole vehicle all can hear warning suggestion like this, can judge the sound source again.
Referring to fig. 4, a fourth embodiment of the present invention is proposed on the basis of the third embodiment of the present invention. In order to determine the position of a sound source, a plurality of sound pickup assemblies are arranged, and one sound pickup assembly is arranged corresponding to one playing assembly;
the method comprises the following steps of determining the sound source position of warning sound through a pickup assembly, wherein the steps comprise:
step S211, receiving warning sound through a sound pickup assembly; for example, the pickup assembly is provided with 8, respectively in locomotive both sides, and four doors correspond the position to and the parking stall both sides set up pickup assembly, through this kind of mounting means, pickup assembly all can catch sound around the vehicle. Because the sound has attenuation in the transmission process, the sound acquired by each pickup assembly is different in size. Furthermore, in order to improve the accuracy of judging the sounding position of the warning sound, more sound pickup assemblies can be arranged around the vehicle. 8 pickup assembly can guarantee to obtain the sound source of more angular position promptly, can also avoid the installation quantity too much, lead to the cost rising.
Step S212, comparing the volume of the warning sound acquired by each pickup assembly; each sound pickup assembly transmits the acquired sound to a processor of the vehicle-mounted sound box, the processor compares the volume of the warning sound acquired by each sound pickup assembly, and selects the sound pickup assembly corresponding to the maximum volume value and the corresponding playing assembly.
In step S213, the sound pickup element corresponding to the maximum volume value of the warning sound is selected, and the position of the sound pickup element is the sound source position of the warning sound. The volume of the sound captured by the pickup assembly closest to the location from which the warning sound is emitted is also at a maximum. By judging the position of the pickup assembly corresponding to the maximum volume value of the warning sound, the position is considered to be the position closest to the emitting position of the warning sound, and can also be considered to be the emitting position of the warning sound. And then control the corresponding playing component to play the sound.
Referring to fig. 5, a fifth embodiment of the present invention is proposed on the basis of the third embodiment of the present invention. In order to determine the position of a sound source, a plurality of sound pickup assemblies are arranged, and one sound pickup assembly is arranged corresponding to one playing assembly;
the method comprises the following steps of determining the sound source position of warning sound through a pickup assembly, wherein the steps comprise:
step S201, receiving warning sound through a pickup assembly, and acquiring the volume of the warning sound; pickup assembly distributes around the vehicle, and the sound source position of warning sound is fixed, and when the warning sound propagated to the vehicle, the energy can dwindle gradually, and the volume size that every pickup assembly received is different.
And S202, constructing a volume direction graph according to the volume of the warning sound, and acquiring the sound source position of the warning sound according to the directivity of the volume direction graph. According to the volume acquired by each pickup assembly, a volume direction graph is constructed, the position of each pickup assembly is displayed on the volume direction graph, and the directivity on the volume direction graph is more prominent when the volume of the received warning sound is larger. Therefore, the corresponding position is the sound source position of the warning sound through the sound volume direction graph and the direction judgment of the prominent directivity. And calling a playing component corresponding to the position, and playing the warning prompt through the playing component.
Referring to fig. 6, a sixth embodiment of the present invention is proposed on the basis of the above-described embodiment of the present invention. The step of determining the presence of a warning tone in the ambient sound comprises:
step S210, acquiring the volume of the environmental sound, and comparing the volume of the environmental sound with a preset threshold;
step S220, if the volume of the environmental sound is larger than or equal to a preset threshold value, warning sound exists in the environmental sound;
in step S230, if the volume of the ambient sound is smaller than the preset threshold, the ambient sound is a background noise.
In the environment of the vehicle, the noise of the vehicle traveling to and from the vehicle is large, and the noise of the environment is also large. To accurately judge whether a warning sound is present in an environmental sound. Through setting the volume of presetting threshold and ambient sound and comparing, when the warning sound was sent out, the volume was great. For example, the horn of an outside vehicle, the volume of which needs to be significantly above the volume of the ambient sound in order to be able to alert other vehicles. In the comparison process, if the volume of the environmental sound is greater than or equal to the preset threshold, it indicates that other vehicles send out horn sound, and if the volume of the environmental sound is less than the preset threshold, the environmental sound is background noise. The background noise need not be played inside the vehicle.
Referring to fig. 7, a seventh embodiment of the present invention is proposed on the basis of the third sixth embodiment of the present invention. Although there may be a non-warning sound in the external environment sound, a sound with a large volume is effective in distinguishing the environmental noise from the warning sound. If the volume of the environmental sound is larger than or equal to the preset threshold value, the method further comprises the following steps:
step S221, comparing the environmental sound with the data in the preset voice library, and judging whether the data type of the environmental sound conforms to the data type in the voice library;
step S222, if the data type of the environmental sound accords with the data type in the voice library, warning sound exists in the environmental sound;
in step S223, if the data type of the environmental sound does not conform to the data type in the speech library, the environmental sound is a background noise.
After determining that the volume of the environmental sound meets the standard of the warning sound, it is also necessary to judge whether the data type of the warning sound meets the standard. For example, the warning sound is the horn sound of an external vehicle, the volume of the horn sound is large, when the vehicle runs on the road, pedestrians can occasionally send out shouting sounds, and the volume of the shouting sounds is also large. The sound is the same as the fingerprint of human, has uniqueness, and whether the acquired sound belongs to the sound of a loudspeaker can be judged through the analysis of the sound. Specifically, voiceprint information of various automobile horns is stored in the voice library, and after the volume of the environmental sound is preliminarily judged to be in accordance with the standard of warning sound, the voiceprint of the environmental sound is compared with the voiceprint in the voice library, namely the data type of the environmental sound is compared with the data type in the voice library. After the voiceprint of the environmental sound conforms to the voiceprint information in the voice library, the existence of warning sound in the environmental sound can be judged, and if the voiceprint of the environmental sound does not conform to the voiceprint information in the voice library, the environmental sound can be judged to be background noise. After the environmental sound is determined to be the background noise, the environmental sound does not need to be warned in the vehicle, so that the warning prompt does not need to be played by the playing component.
Referring to fig. 8, an eighth embodiment of the present invention is proposed on the basis of the above-described embodiment of the present invention. After the step of determining the presence of a warning tone in the ambient sound, comprising:
in step S40, a warning prompt matching the warning sound is selected from the sound source library. In order to improve the efficiency of sound transmission, the reduction of the transmission efficiency caused by playing the warning sound after processing is avoided. When the sound is played through the playing component, the warning prompt is selected from the sound source library and is directly played through the playing component. In order to make the sound of the warning prompt reflect the specificity of the emergency, the sound type of the warning prompt can be distinguished. For example, the warning sound is the horn sound of the external vehicle, and then the sound matched with the horn sound is selected in the sound source library, so that the warning prompt can simulate the horn sound of the external vehicle, and the personnel in the vehicle can more quickly judge the concrete reasons of the emergency. Besides, the sound source bank can also comprise the siren sound of a traffic police, or the whistle sound of a traffic commander and the like.
Referring to fig. 9, a ninth embodiment of the present invention is proposed on the basis of the above-described embodiment of the present invention. While the vehicle is in motion, the occupants may be playing music, or listening to a radio, etc. That is, the play component is running to ensure that the alert prompt can be played smoothly. Before the step of interrupting the current sound of the playing component, the method comprises the following steps:
step S50, judging whether the playing component is in the playing state;
step S51, if the playing component is in the playing state, executing the step of interrupting the current sound of the playing component or reducing the current playing volume of the playing component;
in step S52, if the playing component is not in the playing state, the playing component is controlled to send out an alert.
Checking the working state of the playing component, for example, if the playing component continuously consumes power or has power supply continuously, or if the switch of the playing component is in an on state, it indicates that the playing component is in the working state. In order to enable the warning prompt to be played smoothly, the current playing state is interrupted and the warning prompt is inserted when the playing component is determined to be in work. And when the playing component is determined not to work, directly controlling the playing component to play the warning prompt. Through the scheme, the warning prompt can be clearly sent out at the first time.
Referring to fig. 10, a tenth embodiment of the present invention is proposed on the basis of the above-described embodiment of the present invention. The warning sound comprises an external vehicle whistling sound;
the step of determining the presence of a warning tone in the ambient sound comprises:
step S200, determining that the external vehicle whistling sound exists in the environment sound. When the vehicle runs on the road, the main warning prompt comes from other external vehicles, so that whether warning sound exists in the external environment can be judged by judging whether the whistle of other external vehicles exists in the environmental sound.
Referring to fig. 11, an eleventh embodiment of the present invention is proposed on the basis of the above-described embodiment of the present invention. Before the step of acquiring the ambient sound outside the vehicle through the sound pickup assembly, the method comprises the following steps:
step S60, determining whether the interior of the vehicle is in a sound-deadening state; if the vehicle is in the sound-insulated state, the vehicle can automatically execute the sound playing method in the application. The sound insulation state can be judged by detecting whether the glass windows on the two sides of the vehicle are in a closed state, if the glass windows are closed or a gap is left, the interior of the vehicle can be judged to be in the sound insulation state, and if the glass windows are in an open state, the interior of the vehicle can be judged to be in an open state.
Note that the width of the window gap may be set, and if the width is smaller than the set width, the interior of the vehicle is determined to be in the sound-insulating state, and if the width is greater than or equal to the set width, the interior of the vehicle is determined to be in the open state.
Step S70, if the interior of the vehicle is in the sound insulation state, the monitoring mode is turned on to generate a monitoring instruction, so that the sound box in the vehicle performs the step of acquiring the ambient sound outside the vehicle through the sound pickup assembly according to the monitoring instruction. After the interior that detects the vehicle is in the sound insulation state, the automatic mode of monitoring that opens, generate the instruction of monitoring under the mode of monitoring, the outside ambient sound of vehicle is obtained according to the instruction of monitoring to the pickup assembly. Therefore, after the monitoring mode is automatically started, the warning information from the external environment can be timely received by the personnel in the vehicle.
It should be noted that the monitoring mode may also be manually turned on after the vehicle driver confirms that the monitoring mode needs to be turned on. For example, when the environment inside and outside the vehicle is very noisy, the driver cannot hear the external sound, and at this time, even if the interior of the vehicle is in an open state, the monitoring mode can be started.
The present invention also provides a sound playing apparatus, the sound playing apparatus comprising: the system comprises a memory, a processor and a sound playing method which is stored on the memory and can be operated on the processor; the sound playing method when executed by the processor implements the steps of the sound playing method as described above.
The specific implementation of the sound playing apparatus of the present invention may refer to the embodiments of the sound playing method, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (12)

1. The sound playing method is applied to a vehicle-mounted sound box, the vehicle-mounted sound box comprises a pickup assembly arranged outside a vehicle and a playing assembly arranged inside the vehicle, and the sound playing method comprises the following steps:
acquiring ambient sound outside the vehicle through a sound pickup assembly;
determining that a warning tone is present in the ambient sound;
and interrupting the current sound of the playing component or reducing the current playing volume of the playing component, and controlling the playing component to play the warning prompt according to the warning sound.
2. The sound playing method of claim 1, wherein the step of determining that a warning sound is present in the ambient sound comprises:
determining the sound source position of warning sound through the pickup assembly;
the step of interrupting the current sound of the playing component or reducing the current playing volume of the playing component and controlling the playing component to play the warning prompt according to the warning sound comprises the following steps:
interrupting the current sound process of the playing component or reducing the current playing volume of the playing component;
and controlling the playing component to play the warning prompt according to the sound source position of the warning sound.
3. The sound playing method according to claim 2, wherein a plurality of playing assemblies are provided, and the plurality of playing assemblies are respectively provided in the vehicle interior;
the step of controlling the playing component to play the warning prompt according to the sound source position of the warning sound comprises the following steps:
and selecting a playing component corresponding to the sound source position of the warning sound to play a warning prompt.
4. The sound playing method of claim 3, wherein there are a plurality of said pickup assemblies, and one of said pickup assemblies is disposed corresponding to one of said playing assemblies;
the step of determining the sound source position of the warning sound through the pickup assembly includes:
receiving a warning sound through the pickup assembly;
comparing the volume of the warning sound acquired by each pickup assembly;
and selecting the pickup assembly corresponding to the maximum volume value of the warning sound, wherein the position of the pickup assembly is the sound source position of the warning sound.
5. The sound playing method of claim 3, wherein there are a plurality of said pickup assemblies, and one of said pickup assemblies is disposed corresponding to one of said playing assemblies;
the step of determining the sound source position of the warning sound through the pickup assembly includes:
receiving warning sound through a pickup assembly, and acquiring the volume of the warning sound;
and constructing a volume direction graph according to the volume of the warning sound, and obtaining the sound source position of the warning sound according to the directivity of the volume direction graph.
6. The sound playing method according to any one of claims 1 to 5, wherein the step of determining that the warning sound exists in the environmental sound comprises:
acquiring the volume of the environmental sound, and comparing the volume of the environmental sound with a preset threshold;
if the volume of the environmental sound is larger than or equal to a preset threshold value, warning sound exists in the environmental sound;
and if the volume of the environmental sound is smaller than a preset threshold value, the environmental sound is background noise.
7. The sound playing method of claim 6, wherein after the step of determining that the volume of the ambient sound is greater than or equal to a predetermined threshold, the method further comprises:
comparing the environmental sound with data in a preset voice library, and judging whether the data type of the environmental sound conforms to the data type in the voice library;
if the data type of the environmental sound accords with the data type in the voice library, warning sound exists in the environmental sound;
and if the data type of the environmental sound does not conform to the data type in the voice library, the environmental sound is background noise.
8. The sound playing method according to any one of claims 1 to 5, wherein the step of determining that the warning sound exists in the environmental sound is followed by:
and selecting a warning prompt matched with the warning sound in a sound source library.
9. The sound playing method according to any one of claims 1 to 5, wherein the step of interrupting the playing of the current sound of the component is preceded by:
judging whether the playing component is in a broadcasting state or not;
if the playing component is in a playing state, the step of interrupting the current sound of the playing component or reducing the current playing volume of the playing component is executed;
and if the playing component is not in a broadcasting state, controlling the playing component to send out a warning prompt.
10. The sound playing method according to any one of claims 1 to 5, wherein the warning sound includes an outside vehicle whistling sound;
the step of determining that a warning tone is present in the ambient sound comprises:
determining that an external vehicle whistle is present in the ambient sound.
11. The sound reproducing method according to any one of claims 1 to 5, wherein the step of obtaining the ambient sound outside the vehicle by the sound pickup unit is preceded by:
determining whether an interior of the vehicle is in a sound-deadening state;
if the interior of the vehicle is in a sound insulation state, a monitoring mode is started to generate a monitoring instruction, so that the vehicle-mounted sound box executes the step of acquiring the ambient sound outside the vehicle through the pickup assembly according to the monitoring instruction.
12. A sound reproducing apparatus, characterized in that the reproducing apparatus comprises: the system comprises a memory, a processor and a sound playing method which is stored on the memory and can be operated on the processor; the sound playing method when executed by the processor implements the steps of the sound playing method according to any one of claims 1 to 11.
CN202110222971.0A 2021-02-26 2021-02-26 Sound playing method and sound playing device Pending CN112995844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110222971.0A CN112995844A (en) 2021-02-26 2021-02-26 Sound playing method and sound playing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110222971.0A CN112995844A (en) 2021-02-26 2021-02-26 Sound playing method and sound playing device

Publications (1)

Publication Number Publication Date
CN112995844A true CN112995844A (en) 2021-06-18

Family

ID=76351385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110222971.0A Pending CN112995844A (en) 2021-02-26 2021-02-26 Sound playing method and sound playing device

Country Status (1)

Country Link
CN (1) CN112995844A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114242072A (en) * 2021-12-21 2022-03-25 上海帝图信息科技有限公司 Voice recognition system for intelligent robot
CN114537271A (en) * 2022-02-09 2022-05-27 广州小鹏汽车科技有限公司 Control method, vehicle, and storage medium
CN115101078A (en) * 2022-06-23 2022-09-23 浙江吉利控股集团有限公司 Voiceprint capturing and displaying system, vehicle with voiceprint capturing and displaying system, control method and storage medium
CN115880925A (en) * 2022-11-30 2023-03-31 东风汽车有限公司东风日产乘用车公司 Tire puncture auxiliary identification method, device, equipment and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040091262A (en) * 2003-04-21 2004-10-28 기아자동차주식회사 An apparatus and method of alarm for the other vehicle's horn
CN1897054A (en) * 2005-07-14 2007-01-17 松下电器产业株式会社 Device and method for transmitting alarm according various acoustic signals
CN1960579A (en) * 2006-11-09 2007-05-09 西南石油大学 Device inside automobile wheelhouse for monitoring horn sounds of other vehicles
CN103661188A (en) * 2012-09-17 2014-03-26 纬创资通股份有限公司 Warning device and warning method
CN104908645A (en) * 2015-06-08 2015-09-16 上海斐讯数据通信技术有限公司 Auxiliary vehicle driving system and working method thereof
CN105205955A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Method and device for sending out warning signal
CN106114363A (en) * 2015-12-22 2016-11-16 西华大学 Response instruction system in vehicle whistle car
CN106412188A (en) * 2016-10-13 2017-02-15 深圳市冠旭电子股份有限公司 Reminding method and apparatus
CN106791109A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of sound prompting method and mobile terminal
CN107147795A (en) * 2017-05-24 2017-09-08 上海与德科技有限公司 A kind of reminding method and mobile terminal
CN107333199A (en) * 2017-07-21 2017-11-07 京东方科技集团股份有限公司 Earphone control device, earphone and headset control method
CN107948801A (en) * 2017-12-21 2018-04-20 广东小天才科技有限公司 Earphone control method and earphone
CN109606260A (en) * 2018-12-26 2019-04-12 北京蓦然认知科技有限公司 A kind of method and device of the outer auditory tone cues of vehicle
CN109698990A (en) * 2017-10-24 2019-04-30 蔚来汽车有限公司 The interior method for reconstructing and device of vehicle external environment sound field
CN109849784A (en) * 2019-02-27 2019-06-07 江苏大学 A kind of DAS (Driver Assistant System) based on environment voice recognition and positioning
TWI665662B (en) * 2018-03-22 2019-07-11 群邁通訊股份有限公司 Portable electronic device and sound playing method
CN111050244A (en) * 2019-12-11 2020-04-21 佳禾智能科技股份有限公司 Method for monitoring ambient sound of earphone, electronic device and computer readable storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040091262A (en) * 2003-04-21 2004-10-28 기아자동차주식회사 An apparatus and method of alarm for the other vehicle's horn
CN1897054A (en) * 2005-07-14 2007-01-17 松下电器产业株式会社 Device and method for transmitting alarm according various acoustic signals
CN1960579A (en) * 2006-11-09 2007-05-09 西南石油大学 Device inside automobile wheelhouse for monitoring horn sounds of other vehicles
CN103661188A (en) * 2012-09-17 2014-03-26 纬创资通股份有限公司 Warning device and warning method
CN104908645A (en) * 2015-06-08 2015-09-16 上海斐讯数据通信技术有限公司 Auxiliary vehicle driving system and working method thereof
CN105205955A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Method and device for sending out warning signal
CN106114363A (en) * 2015-12-22 2016-11-16 西华大学 Response instruction system in vehicle whistle car
CN106412188A (en) * 2016-10-13 2017-02-15 深圳市冠旭电子股份有限公司 Reminding method and apparatus
CN106791109A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of sound prompting method and mobile terminal
CN107147795A (en) * 2017-05-24 2017-09-08 上海与德科技有限公司 A kind of reminding method and mobile terminal
CN107333199A (en) * 2017-07-21 2017-11-07 京东方科技集团股份有限公司 Earphone control device, earphone and headset control method
CN109698990A (en) * 2017-10-24 2019-04-30 蔚来汽车有限公司 The interior method for reconstructing and device of vehicle external environment sound field
CN107948801A (en) * 2017-12-21 2018-04-20 广东小天才科技有限公司 Earphone control method and earphone
TWI665662B (en) * 2018-03-22 2019-07-11 群邁通訊股份有限公司 Portable electronic device and sound playing method
CN109606260A (en) * 2018-12-26 2019-04-12 北京蓦然认知科技有限公司 A kind of method and device of the outer auditory tone cues of vehicle
CN109849784A (en) * 2019-02-27 2019-06-07 江苏大学 A kind of DAS (Driver Assistant System) based on environment voice recognition and positioning
CN111050244A (en) * 2019-12-11 2020-04-21 佳禾智能科技股份有限公司 Method for monitoring ambient sound of earphone, electronic device and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114242072A (en) * 2021-12-21 2022-03-25 上海帝图信息科技有限公司 Voice recognition system for intelligent robot
CN114537271A (en) * 2022-02-09 2022-05-27 广州小鹏汽车科技有限公司 Control method, vehicle, and storage medium
CN115101078A (en) * 2022-06-23 2022-09-23 浙江吉利控股集团有限公司 Voiceprint capturing and displaying system, vehicle with voiceprint capturing and displaying system, control method and storage medium
CN115880925A (en) * 2022-11-30 2023-03-31 东风汽车有限公司东风日产乘用车公司 Tire puncture auxiliary identification method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112995844A (en) Sound playing method and sound playing device
JP3913771B2 (en) Voice identification device, voice identification method, and program
CN110691299B (en) Audio processing system, method, apparatus, device and storage medium
US10137902B2 (en) Adaptive interactive voice system
CN104658548B (en) Alerting vehicle occupants to external events and masking in-vehicle conversations with external sounds
CN110310618B (en) Vehicle running environment sound processing method and device and vehicle
CN107179119B (en) Method and apparatus for providing sound detection information and vehicle including the same
US11904772B2 (en) Acoustic vehicle alerting system and method
WO2012097150A1 (en) Automotive sound recognition system for enhanced situation awareness
CN102211583A (en) Infotainment entertainment system control
CN110366852B (en) Information processing apparatus, information processing method, and recording medium
US11626096B2 (en) Vehicle and control method thereof
US20230419944A1 (en) In-cabin audio filtering
CN114954226A (en) Intelligent control method and system for vehicle whistling
CN112750275B (en) Riding safety reminding method and device, electronic equipment and storage medium
CN115214541A (en) Vehicle control method, vehicle, and computer-readable storage medium
CN111806432B (en) Vehicle avoiding method and device, vehicle and storage medium
CN114898524A (en) Control system and method for voice interaction between vehicle owner and pedestrian
CN114763097A (en) Intelligent warning control method and system for vehicle exterior whistling
CN111993997A (en) Pedestrian avoidance prompting method, device, equipment and storage medium based on voice
KR101725676B1 (en) Sound signal generating method, and apparatus performing the same, and sound signal receiving method and apparatus performing the same
CN118494338A (en) Method for sharing vehicle external loudspeaker by vehicle cross-domain, vehicle, equipment and medium
KR100398248B1 (en) an alarm device to approach of a rear vehicle
JPH0737182Y2 (en) Alarm sound detection system
CN117622186A (en) Autonomous interaction control method for vehicle and vehicle

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

Application publication date: 20210618