CN116597798A - Vehicle-mounted atmosphere sound synthesis method and device, electronic equipment and storage medium - Google Patents

Vehicle-mounted atmosphere sound synthesis method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116597798A
CN116597798A CN202310511420.5A CN202310511420A CN116597798A CN 116597798 A CN116597798 A CN 116597798A CN 202310511420 A CN202310511420 A CN 202310511420A CN 116597798 A CN116597798 A CN 116597798A
Authority
CN
China
Prior art keywords
sound
atmosphere
sound signal
audio
vehicle
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
CN202310511420.5A
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.)
Xinghe Zhilian Automobile Technology Co Ltd
Original Assignee
Xinghe Zhilian Automobile Technology 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 Xinghe Zhilian Automobile Technology Co Ltd filed Critical Xinghe Zhilian Automobile Technology Co Ltd
Priority to CN202310511420.5A priority Critical patent/CN116597798A/en
Publication of CN116597798A publication Critical patent/CN116597798A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • G10H1/0025Automatic or semi-automatic music composition, e.g. producing random music, applying rules from music theory or modifying a musical piece
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/36Accompaniment arrangements
    • G10H1/38Chord
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/36Accompaniment arrangements
    • G10H1/40Rhythm
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/101Music Composition or musical creation; Tools or processes therefor
    • G10H2210/111Automatic composing, i.e. using predefined musical rules
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/375Tempo or beat alterations; Music timing control
    • G10H2210/391Automatic tempo adjustment, correction or control
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/571Chords; Chord sequences
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/571Chords; Chord sequences
    • G10H2210/616Chord seventh, major or minor
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2250/00Aspects of algorithms or signal processing methods without intrinsic musical character, yet specifically adapted for or used in electrophonic musical processing
    • G10H2250/295Noise generation, its use, control or rejection for music processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The embodiment of the application provides a vehicle-mounted atmosphere sound synthesizing method, device, electronic equipment and storage medium, wherein the method, device, electronic equipment and storage medium are used for acquiring sound frequencies of all sound signals by collecting surrounding environment sounds of a vehicle, and determining the corresponding sound frequency of the sound signal with larger loudness or the sound signal with longest duration as atmosphere base audio according to a preset base audio screening rule and actual requirements of a user; and determining odd harmonics of the basic audio as atmosphere and harmony audio according to a preset harmony screening rule, presetting an atmosphere beat speed, and generating vehicle-mounted atmosphere sound according to the preset atmosphere beat speed, the atmosphere and harmony audio and the atmosphere basic audio. According to the embodiment of the application, the vehicle-mounted atmosphere sound is generated by collecting the environment sound, and an external information source and a communication network are not needed. Meanwhile, the environmental noise is used as a part of atmosphere sound, so that the user can not generate unpleasant emotion while the noise is reduced, and the personalized requirements of the user are met by the diversified harmony generation mode.

Description

Vehicle-mounted atmosphere sound synthesis method and device, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of vehicles, in particular to a vehicle-mounted atmosphere sound synthesis method, a vehicle-mounted atmosphere sound synthesis device, electronic equipment and a storage medium.
Background
In recent years, with further upgrades of car cabins, cabins become important living spaces for users. More and more software applications enter the vehicle-mounted terminal, and the vehicle cabin application software also meets more requirements of users. The intelligent cabin is used as a third space for a vehicle user, the leisure time of the user in the vehicle is more, and the requirement of atmosphere sound in the vehicle also becomes an important selling point for vehicle-mounted application.
At present, the playing of atmosphere sound in a vehicle is realized by accessing an external music atmosphere sound source. However, this approach has some drawbacks such as high access costs for the source, reliance on the source side for atmosphere creation, the need for networking updates, etc. In addition, in-car air conditioner, engine noise, outside environment sound etc. can all reduce the effect of atmosphere sound itself, influence user's use experience.
Disclosure of Invention
The application provides a vehicle-mounted atmosphere sound synthesizing method, device, electronic equipment and storage medium.
In a first aspect, the present application provides a method for synthesizing vehicle-mounted atmosphere sound, including the following steps:
collecting surrounding environmental sounds of a vehicle, wherein the surrounding sounds comprise sound signals with different frequencies;
acquiring sound frequencies of all the sound signals, and determining atmosphere basic audio according to preset basic audio screening rules;
determining atmosphere and harmony audios according to preset harmony screening rules;
and presetting an atmosphere beat speed, and generating the vehicle-mounted atmosphere sound according to the preset atmosphere beat speed, the atmosphere sound frequency and the atmosphere basic audio frequency.
Further, determining the atmosphere basic audio, specifically comprising the following steps:
acquiring a first sound signal, wherein the first sound signal is the sound signal with the largest loudness in all the sound signals;
and if the difference between the loudness of the first sound signal and the loudness of the second-level loudness exceeds a preset threshold, determining the sound frequency of the first sound signal as the basic audio.
Further, determining an atmosphere base audio, further comprising the method steps of:
if the difference between the loudness of the first sound signal and the loudness of the second-level sound signal does not exceed a preset threshold value, obtaining a second sound signal, wherein the second sound signal is the sound signal with the longest duration in all the sound signals;
the sound frequency of the second sound signal is determined to be the base audio.
Further, determining atmosphere and sound frequency, specifically comprising the following method steps:
acquiring the atmosphere basic audio, and generating odd harmonics according to the sound frequency of the atmosphere audio;
and confirming the odd harmonics as the atmosphere and the sound frequency.
Further, determining atmosphere and sound frequency, specifically comprising the following method steps:
the atmosphere and acoustic audio includes a bright acoustic mode and a dim acoustic mode;
generating a bright mode or a dim and harmony mode in response to an active selection operation of a user, wherein an audio ratio of each sound signal in the bright and harmony mode is a; (a+1) the audio ratio of each sound signal in the dim and sound mode is a: (a+2): (a+ 5+x), wherein a and x are preset parameters.
In a second aspect, the present application provides a vehicle-mounted atmosphere sound synthesizing apparatus, including:
the sound collection module is used for collecting surrounding sound of the vehicle, wherein the surrounding sound comprises sound signals with different frequencies;
the basic audio generation module is used for acquiring the sound frequencies of all the sound signals and determining atmosphere basic audio according to preset basic audio screening rules;
the harmony generation module is used for determining atmosphere harmony audios according to preset harmony screening rules;
and the atmosphere sound generation module is used for presetting an atmosphere beat speed and generating the vehicle-mounted atmosphere sound according to the preset atmosphere beat speed, the atmosphere sound frequency and the atmosphere basic frequency.
Further, the basic audio generation module further includes:
the first sound signal acquisition unit is used for acquiring a first sound signal, wherein the first sound signal is the sound signal with the largest loudness in all the sound signals;
and the first basic audio determining unit is used for determining the sound frequency of the first sound signal as the basic audio if the difference value between the loudness of the first sound signal and the loudness of the second sound signal exceeds a preset threshold value.
Further, the basic audio generation module further includes:
a second sound signal obtaining unit, configured to obtain a second sound signal if a difference between a loudness of the first sound signal and a loudness of the second sound signal of the second-level loudness does not exceed a preset threshold, where the second sound signal is the sound signal with the longest duration in all the sound signals;
and a second base audio determining unit configured to determine the sound frequency of the second sound signal as the base audio.
In a third aspect, the present application provides an electronic device comprising:
at least one memory and at least one processor;
the memory is used for storing one or more programs;
the one or more programs, when executed by the at least one processor, cause the at least one processor to implement the steps of a method of synthesizing vehicular atmosphere sounds as described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of a method for synthesizing an in-vehicle atmosphere sound according to the first aspect.
According to the application, the sound frequencies of all the sound signals are obtained by collecting the surrounding sound of the vehicle, and the corresponding sound frequency of the sound signal with larger loudness or the sound signal with longest duration is determined to be the atmosphere basic audio according to the preset basic audio screening rule and the actual requirement of a user; and determining odd harmonics of the basic audio as atmosphere and harmony audio according to a preset harmony screening rule, presetting an atmosphere beat speed, and generating vehicle-mounted atmosphere sound according to the preset atmosphere beat speed, the atmosphere and harmony audio and the atmosphere basic audio. According to the embodiment of the application, the vehicle-mounted atmosphere sound is generated by collecting the environment sound, and an external information source and a communication network are not needed. Meanwhile, the environmental noise is used as a part of atmosphere sound, so that the user can not generate unpleasant emotion while the noise is reduced, and the personalized requirements of the user are met by the diversified harmony generation mode.
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Drawings
FIG. 1 is a flow chart of steps of a method for synthesizing an in-vehicle ambient sound provided in an exemplary embodiment;
FIG. 2 is a block diagram of an apparatus for synthesizing vehicle-mounted ambient sounds provided in an exemplary embodiment;
fig. 3 is a schematic diagram of an electronic device provided in an exemplary embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the application, are intended to be within the scope of the embodiments of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of embodiments of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application as detailed in the accompanying claims. In the description of the present application, it should be understood that the terms "first," "second," "third," and the like are used merely to distinguish between similar objects and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
In the existing noise reduction technology, inverse noise reduction is a common technical means. The inverse noise reduction is based on the destructive interference principle of sound waves. When the parameters of frequency, amplitude, phase and the like of the two sound waves are the same, but the directions are opposite, destructive interference occurs, namely the energy of the two sound waves is mutually counteracted, so that the effect of noise reduction is achieved. Specifically, the anti-phase noise reduction achieves the effect of noise reduction by placing a sound source opposite to noise near the noise source so that sound waves emitted by the two sound sources meet and destructively interfere.
However, for a running vehicle, the noise reduction technology can affect driving safety to a certain extent, because during the driving process of the driver, some noises are helpful for the real-time judgment of the driver on road conditions, and once the noises are reduced to the extent that the driver cannot perceive through inverse noise reduction, the driving safety of the vehicle is threatened.
Based on the above conception and background technology, as shown in fig. 1, the embodiment of the application provides a method for synthesizing vehicle-mounted atmosphere sound, which specifically comprises the following steps:
s201: ambient sounds around the vehicle are collected, the ambient sounds containing sound signals of different frequencies.
In the embodiment of the application, the sound collecting device is used for obtaining the ambient sound around the vehicle, and the sound signals forming the ambient sound comprise but are not limited to the internal noise, whistling sound and other noise caused by urban life when the vehicle runs due to the complex sound sources in the external environment. The sound collection equipment is connected with the terminal equipment through signals, and the terminal equipment analyzes and processes the received environmental sound. In some other examples, the terminal device may be an in-vehicle terminal device, or may be an electronic terminal device with data receiving, data processing, and data transmitting functions, such as a PC, a smart phone, a tablet computer, and a portable computer. The sound collecting device is generally an electronic device with sound collecting function, such as an audio recording device, and may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
S202: and acquiring sound frequencies of all the sound signals, and determining atmosphere basic audio according to a preset basic audio screening rule.
The environmental sound frequency is high, and the rhythm is chaotic. The synthesis of atmosphere sound requires basic audio frequency, and in order to achieve the purpose of noise reduction, etc., the sound frequency of the sound signal in the environment needs to be screened according to a specific rule.
In a preferred embodiment, if a sound signal with a loudness significantly higher than that of other sound signals exists in the environmental sound, selecting the sound frequency of the sound signal with the maximum loudness as the base audio, and acquiring a first sound signal, wherein the first sound signal is the sound signal with the maximum loudness in all the sound signals; and if the difference between the loudness of the first sound signal and the loudness of the second-level loudness exceeds a preset threshold, determining the sound frequency of the first sound signal as the basic audio.
In a preferred embodiment, if no sound signal of greater loudness is present in the ambient sound, the sound signal with the highest frequency of occurrence, i.e. the longest duration, is selected as the base audio. Specifically, if the difference between the loudness of the first sound signal and the loudness of the second sound signal does not exceed a preset threshold, obtaining a second sound signal, where the second sound signal is the sound signal with the longest duration in all the sound signals; the sound frequency of the second sound signal is determined to be the base audio.
In some other examples, environmental sounds with specific frequencies can be screened as basic audio according to actual requirements.
S203: and presetting an atmosphere beat speed, and generating the vehicle-mounted atmosphere sound according to the preset atmosphere beat speed, the atmosphere sound frequency and the atmosphere basic audio frequency.
The synthesis of atmosphere sounds includes basic audio, harmony and beats. The beat can be adjusted according to the needs of the user, and can also be preset, for example, a slower beat speed can be selected when the user needs to relax; and a faster beat rate may be selected when the user needs to be in a mood.
The generation of the harmony can depend on the determined atmosphere basic audio frequency, and can also set specific frequency for screening.
In a preferred embodiment, the atmosphere and the acoustic audio are determined, comprising in particular the following method steps: acquiring the atmosphere basic audio, and generating odd harmonics according to the sound frequency of the atmosphere audio; and confirming the odd harmonics as the atmosphere and the sound frequency.
In a preferred embodiment, the atmosphere and acoustic audio include bright and dim acoustic modes; generating a bright mode or a dim and harmony mode in response to an active selection operation of a user, wherein an audio ratio of each sound signal in the bright and harmony mode is a; (a+1) the audio ratio of each sound signal in the dim and sound mode is a: (a+2): (a+ 5+x), wherein a and x are preset parameters and are integers other than 0.
In particular, according to the harmony principle, sound frequencies having an odd ratio to the frequency of the base audio can form chords with the base audio, thereby enhancing the feeling of harmony. By adding two sounds of different frequencies and at a certain integer ratio to the base audio, a different sensation can be created. Meanwhile, according to the harmony principle, when the ratio of the middle of low, middle and high frequencies in the audio is the adjacent ratio, a bright feeling (big harmony chord) is generated; conversely, if the ratio of low to medium to high frequencies in the audio varies, for example, between 10:12 and 12:15, such a discontinuous frequency ratio may result in a soft or dull feel.
In a specific application scenario, 220Hz sound is collected and screened out as a base sound by ambient sound. Then on the basis of 220Hz, his odd harmonics 660Hz can be matched. When odd harmonics are matched, the direct matching of two tones is synergistic. In some other examples, the 5 th harmonic of 1100Hz may be collocated. Preferably, a plurality of harmonious tones can be matched together to form a chord which gives people a comfortable listening feeling.
In one other example, the dim and harmony mode may also set the high, medium and low audio ratio to a: (a+x): (a+x+ (x-y)), wherein a, x, y are preset parameters and are integers other than 0.
According to the embodiment of the application, the sound frequencies of all the sound signals are obtained by collecting the surrounding environment sounds of the vehicle, and the corresponding sound frequency of the sound signal with larger loudness or the sound signal with longest duration is determined to be the atmosphere base audio according to the preset base audio screening rule and the actual requirement of a user; and determining odd harmonics of the basic audio as atmosphere and harmony audio according to a preset harmony screening rule, presetting an atmosphere beat speed, and generating vehicle-mounted atmosphere sound according to the preset atmosphere beat speed, the atmosphere and harmony audio and the atmosphere basic audio. According to the embodiment of the application, the vehicle-mounted atmosphere sound is generated by collecting the environment sound, and an external information source and a communication network are not needed. Meanwhile, the environmental noise is used as a part of atmosphere sound, so that the user can not generate unpleasant emotion while the noise is reduced, and the personalized requirements of the user are met by the diversified harmony generation mode.
The embodiment of the application also provides a vehicle-mounted atmosphere sound synthesizing device 300, as shown in fig. 2, comprising:
the sound collection module 301 is configured to collect environmental sounds around the vehicle, where the environmental sounds include sound signals with different frequencies;
the basic audio generation module 302 is configured to obtain sound frequencies of all the sound signals, and determine an atmosphere basic audio according to a preset basic audio screening rule;
the harmony generation module 303 is configured to determine atmosphere harmony audio according to a preset harmony screening rule;
and the atmosphere sound generation module 304 is configured to preset an atmosphere beat speed, and generate the vehicle-mounted atmosphere sound according to the preset atmosphere beat speed, the atmosphere sound frequency and the atmosphere basic frequency.
In one illustrative example, the base audio generation module 302 further includes:
the first sound signal acquisition unit is used for acquiring a first sound signal, wherein the first sound signal is the sound signal with the largest loudness in all the sound signals;
and the first basic audio determining unit is used for determining the sound frequency of the first sound signal as the basic audio if the difference value between the loudness of the first sound signal and the loudness of the second sound signal exceeds a preset threshold value.
In one illustrative example, the base audio generation module 302 further includes:
a second sound signal obtaining unit, configured to obtain a second sound signal if a difference between a loudness of the first sound signal and a loudness of the second sound signal of the second-level loudness does not exceed a preset threshold, where the second sound signal is the sound signal with the longest duration in all the sound signals;
and a second base audio determining unit configured to determine the sound frequency of the second sound signal as the base audio.
It should be noted that, the apparatus for synthesizing a vehicle-mounted atmosphere sound provided in the foregoing embodiment and the method for synthesizing a vehicle-mounted atmosphere sound belong to the same concept, and detailed implementation processes of the apparatus are shown in method embodiments, which are not described herein again.
As shown in fig. 3, fig. 3 is a block diagram illustrating a structure of an electronic device according to an exemplary embodiment of the present application.
The electronic device includes a processor 910 and a memory 920. The number of processors 910 in the main control chip may be one or more, and one processor 910 is illustrated in fig. 3. The number of memories 920 in the main control chip may be one or more, and one memory 920 is illustrated in fig. 3.
The memory 920 is used as a computer readable storage medium, and may be used to store a software program, a computer executable program, and a module, which are a program for a vehicle-mounted atmosphere sound synthesizing method according to any embodiment of the present application, and a program instruction/module corresponding to a vehicle-mounted atmosphere sound synthesizing method according to any embodiment of the present application. Memory 920 may include primarily a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for functionality; the storage data area may store data created according to the use of the device, etc. In addition, memory 920 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 920 may further include memory located remotely from processor 910, which may be connected to the device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 910 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the memory 920, that is, implements a method for synthesizing an in-vehicle atmosphere sound according to any of the above embodiments.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements a method for synthesizing vehicle-mounted atmosphere sounds according to any one of the above embodiments.
The present application may take the form of a computer program product embodied on one or more storage media (including, but not limited to, magnetic disk storage, CD-ROM, optical storage, etc.) having program code embodied therein. Computer-readable storage media include both non-transitory and non-transitory, removable and non-removable media, and information storage may be implemented by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to: phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by the computing device.
It is to be understood that the embodiments of the application are not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be made without departing from the scope thereof. The scope of embodiments of the application is limited only by the appended claims.
The above examples merely represent a few implementations of the present examples, which are described in more detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that various modifications and improvements can be made to the present application without departing from the spirit of the embodiments of the application.

Claims (10)

1. The method for synthesizing the vehicle-mounted atmosphere sound is characterized by comprising the following steps of:
collecting surrounding environmental sounds of a vehicle, wherein the surrounding sounds comprise sound signals with different frequencies;
acquiring sound frequencies of all the sound signals, and determining atmosphere basic audio according to preset basic audio screening rules;
determining atmosphere and harmony audios according to preset harmony screening rules;
and presetting an atmosphere beat speed, and generating the vehicle-mounted atmosphere sound according to the preset atmosphere beat speed, the atmosphere sound frequency and the atmosphere basic audio frequency.
2. The method for synthesizing vehicle-mounted atmosphere sound according to claim 1, wherein determining the atmosphere base audio specifically comprises the following steps:
acquiring a first sound signal, wherein the first sound signal is the sound signal with the largest loudness in all the sound signals;
and if the difference between the loudness of the first sound signal and the loudness of the second-level loudness exceeds a preset threshold, determining the sound frequency of the first sound signal as the basic audio.
3. The method for synthesizing vehicle-mounted atmosphere sound according to claim 2, wherein determining the atmosphere base audio further comprises the following method steps:
if the difference between the loudness of the first sound signal and the loudness of the second-level sound signal does not exceed a preset threshold value, obtaining a second sound signal, wherein the second sound signal is the sound signal with the longest duration in all the sound signals;
the sound frequency of the second sound signal is determined to be the base audio.
4. The method for synthesizing vehicle-mounted atmosphere sounds according to claim 1, wherein the atmosphere and sound sounds are determined, and specifically comprising the following method steps:
acquiring the atmosphere basic audio, and generating odd harmonics according to the sound frequency of the atmosphere audio;
and confirming the odd harmonics as the atmosphere and the sound frequency.
5. The method for synthesizing vehicle-mounted atmosphere sound according to claim 4, wherein the atmosphere and sound frequency are determined, and the method comprises the following steps:
the atmosphere and acoustic audio includes a bright acoustic mode and a dim acoustic mode;
generating a bright mode or a dim and harmony mode in response to an active selection operation of a user, wherein an audio ratio of each sound signal in the bright and harmony mode is a; (a+1) the audio ratio of each sound signal in the dim and sound mode is a: (a+2): (a+ 5+x), wherein a and x are preset parameters.
6. An apparatus for synthesizing an on-vehicle atmosphere sound, comprising:
the sound collection module is used for collecting surrounding sound of the vehicle, wherein the surrounding sound comprises sound signals with different frequencies;
the basic audio generation module is used for acquiring the sound frequencies of all the sound signals and determining atmosphere basic audio according to preset basic audio screening rules;
the harmony generation module is used for determining atmosphere harmony audios according to preset harmony screening rules;
and the atmosphere sound generation module is used for presetting an atmosphere beat speed and generating the vehicle-mounted atmosphere sound according to the preset atmosphere beat speed, the atmosphere sound frequency and the atmosphere basic frequency.
7. The apparatus for synthesizing an in-vehicle atmosphere sound according to claim 6, wherein the basic audio generation module further comprises:
the first sound signal acquisition unit is used for acquiring a first sound signal, wherein the first sound signal is the sound signal with the largest loudness in all the sound signals;
and the first basic audio determining unit is used for determining the sound frequency of the first sound signal as the basic audio if the difference value between the loudness of the first sound signal and the loudness of the second sound signal exceeds a preset threshold value.
8. The apparatus for synthesizing an in-vehicle atmosphere sound according to claim 7, wherein the basic audio generation module further comprises:
a second sound signal obtaining unit, configured to obtain a second sound signal if a difference between a loudness of the first sound signal and a loudness of the second sound signal of the second-level loudness does not exceed a preset threshold, where the second sound signal is the sound signal with the longest duration in all the sound signals;
and a second base audio determining unit configured to determine the sound frequency of the second sound signal as the base audio.
9. An electronic device, comprising:
at least one memory and at least one processor;
the memory is used for storing one or more programs;
when the one or more programs are executed by the at least one processor, the at least one processor is caused to implement the steps of a method of synthesizing vehicular ambient sound according to any one of claims 1 to 5.
10. A computer-readable storage medium storing a computer program, characterized in that the computer program when executed by a processor realizes the steps of a vehicle-mounted atmosphere sound synthesizing method according to any one of claims 1 to 5.
CN202310511420.5A 2023-05-08 2023-05-08 Vehicle-mounted atmosphere sound synthesis method and device, electronic equipment and storage medium Pending CN116597798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310511420.5A CN116597798A (en) 2023-05-08 2023-05-08 Vehicle-mounted atmosphere sound synthesis method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310511420.5A CN116597798A (en) 2023-05-08 2023-05-08 Vehicle-mounted atmosphere sound synthesis method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116597798A true CN116597798A (en) 2023-08-15

Family

ID=87605596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310511420.5A Pending CN116597798A (en) 2023-05-08 2023-05-08 Vehicle-mounted atmosphere sound synthesis method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116597798A (en)

Similar Documents

Publication Publication Date Title
CN104715750B (en) Sound system including engine sound synthesizer
CN107910013B (en) Voice signal output processing method and device
CN108944749B (en) Vehicle noise reduction device and method
US10156637B2 (en) Apparatus and method for controlling noise in vehicle
CN106205593A (en) Sound method of adjustment and relevant device in a kind of car
JP2014202856A (en) Engine sound output device and engine sound output method
CN109087660A (en) Method, apparatus, equipment and computer readable storage medium for echo cancellor
CN110880313B (en) Control method and system for outputting counternoise of current environment based on noise reduction feedback
US20140244245A1 (en) Method for soundproofing an audio signal by an algorithm with a variable spectral gain and a dynamically modulatable hardness
CN109410907A (en) Noise processing method, device, equipment and the storage medium of cloud rail
CN112435682A (en) Vehicle noise reduction system, method and device, vehicle and storage medium
US11087734B1 (en) Active noise reduction method, system, and new energy vehicle
CN110970010A (en) Noise elimination method, device, storage medium and equipment
CN108694935B (en) New energy vehicle and active noise reduction method and system thereof
CN109177901B (en) Customizable electric automobile simulation sounding method
CN116597798A (en) Vehicle-mounted atmosphere sound synthesis method and device, electronic equipment and storage medium
CN114546325A (en) Audio processing method, electronic device and readable storage medium
US20220301574A1 (en) Systems, methods, apparatus, and storage medium for processing a signal
CN111128208A (en) Portable exciter
CN116982111A (en) Audio characteristic compensation method, audio identification method and related products
CN115878070B (en) Vehicle-mounted audio playing method, device, equipment and storage medium
US9911429B2 (en) Noise reduction device, noise reduction method, and noise reduction program
JP2020098230A (en) Sound reproducing device and sound reproduction method
JP2018077504A (en) Engine sound output device and engine sound output method
CN108806682A (en) The method and apparatus for obtaining Weather information

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