CN115973032A - Music visualization method and device, computer readable storage medium and vehicle - Google Patents

Music visualization method and device, computer readable storage medium and vehicle Download PDF

Info

Publication number
CN115973032A
CN115973032A CN202310020191.7A CN202310020191A CN115973032A CN 115973032 A CN115973032 A CN 115973032A CN 202310020191 A CN202310020191 A CN 202310020191A CN 115973032 A CN115973032 A CN 115973032A
Authority
CN
China
Prior art keywords
frequency
amplitude
music
lamp
controlling
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
CN202310020191.7A
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.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent 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 Zhejiang Geely Holding Group Co Ltd, Zhejiang Zeekr Intelligent Technology Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202310020191.7A priority Critical patent/CN115973032A/en
Publication of CN115973032A publication Critical patent/CN115973032A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a music visualization method, a music visualization device, a computer readable storage medium and a vehicle, wherein the method comprises the following steps: acquiring at least one frequency corresponding to an audio signal within a preset time before the current moment; determining a frequency interval where each frequency is located, and determining an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency; wherein the frequency intervals comprise a plurality of frequency intervals, each frequency interval having a corresponding amplitude; and controlling the atmosphere lamp according to each frequency and the amplitude corresponding to each frequency. From this, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp, make the visual presentation effect of on-vehicle music better, build out more and dazzle music atmosphere sense, thereby improve user experience.

Description

Music visualization method and device, computer readable storage medium and vehicle
Technical Field
The invention relates to the technical field of intelligent automobiles, in particular to a music visualization method and device, a computer readable storage medium and a vehicle.
Background
With the development of automobile intellectualization, functions which can be provided in the automobile are more and more abundant, and the atmosphere lamp is also widely applied to the automobile. At present, functions of simply changing colors and brightness of atmosphere lamps along with music and the like can be realized when vehicle-mounted music is played. However, such functions are relatively single, the visual presentation effect of the vehicle-mounted music is poor, and a more cool music atmosphere cannot be created.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, a first objective of the present invention is to provide a music visualization method, wherein a frequency range of an audio signal is relatively large, frequencies located in the same frequency interval have some same frequency characteristics, frequencies located in different frequency intervals have different frequency characteristics, and music with different frequency characteristics brings different audiences of people, so that by converting different frequencies into corresponding frequency intervals and obtaining an amplitude corresponding to each frequency according to the amplitude corresponding to the frequency interval, the obtained amplitude corresponding to each frequency can well reflect the frequency characteristics of different frequency intervals. Simultaneously, control the atmosphere lamp according to every frequency and the amplitude that every frequency corresponds, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp well, make the visual presentation effect of on-vehicle music better, build out the music atmosphere sense that dazzles more coolly, thereby improved user experience.
A second object of the invention is to propose a computer-readable storage medium.
A third object of the invention is to propose a vehicle.
A fourth object of the invention is to propose a music visualization device.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a music visualization method, where the method includes: acquiring at least one frequency corresponding to an audio signal within a preset time before the current moment; determining a frequency interval in which each frequency is located, and determining an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency; wherein the frequency intervals comprise a plurality of frequency intervals, each frequency interval having a corresponding amplitude; and controlling the atmosphere lamp according to each frequency and the corresponding amplitude of each frequency.
The music visualization method provided by the embodiment of the invention comprises the following steps: acquiring at least one frequency corresponding to an audio signal within a preset time before the current moment; determining a frequency interval where each frequency is located, and determining an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency; wherein the frequency intervals comprise a plurality of frequency intervals, each frequency interval having a corresponding amplitude; and controlling the atmosphere lamp according to each frequency and the corresponding amplitude of each frequency. Because the frequency range of the audio signal is larger, the frequencies in the same frequency interval have the same frequency characteristics, the frequencies in different frequency intervals have different frequency characteristics, and the music bands with different frequency characteristics give different audiences to people, different frequencies can be converted into corresponding frequency intervals by the method, the amplitude corresponding to each frequency is obtained according to the amplitude corresponding to the frequency intervals, and the obtained amplitude corresponding to each frequency can well reflect the frequency characteristics of different frequency intervals. Simultaneously, control the atmosphere lamp according to the amplitude that every frequency and every frequency correspond, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp well, make the vision presentation effect of on-vehicle music better, build out and dazzled more music atmosphere sense, thereby improved user experience.
According to an embodiment of the present invention, the atmosphere lamp includes indicator lamps disposed at two ends of the lamp strip, each indicator lamp corresponds to at least one frequency interval, and the atmosphere lamp is controlled according to each frequency and an amplitude corresponding to each frequency, including: determining the amplitude corresponding to each indicator light according to the frequency interval corresponding to each indicator light, each frequency and the amplitude corresponding to each frequency; obtaining the average value of the amplitude corresponding to each indicator lamp to obtain an average amplitude; and controlling the brightness of the corresponding indicator lamp according to the average amplitude.
According to an embodiment of the present invention, the atmosphere lamp includes an indicator lamp disposed at one end of the lamp strip, the indicator lamp corresponds to at least one frequency interval, and the atmosphere lamp is controlled according to each frequency and an amplitude corresponding to each frequency, including: determining the amplitude corresponding to the indicator light according to the frequency interval corresponding to the indicator light, each frequency and the amplitude corresponding to each frequency; obtaining an average value of the amplitude values corresponding to the indicator lamps to obtain an average amplitude value; and controlling the brightness of the indicator lamp according to the average amplitude.
According to an embodiment of the present invention, the atmosphere lamp is a dynamic atmosphere lamp, the dynamic atmosphere lamp has a plurality of regions, the plurality of regions are in one-to-one correspondence with a plurality of frequency intervals, and the atmosphere lamp is controlled according to each frequency and an amplitude corresponding to each frequency, including: determining a region corresponding to each frequency; and controlling the brightness of the corresponding area according to the amplitude corresponding to each frequency.
According to an embodiment of the invention, each region corresponds to at least one color value, and the atmosphere lamp is controlled according to each frequency and the amplitude corresponding to each frequency, further comprising: determining a region corresponding to each frequency; determining the color value of the corresponding area according to the amplitude corresponding to each frequency; and controlling the color of the corresponding area according to the color value.
According to an embodiment of the invention, the method further comprises: and controlling the display screen according to each frequency and the amplitude corresponding to each frequency.
According to an embodiment of the present invention, a display screen includes a plurality of regions, the plurality of regions are in one-to-one correspondence with a plurality of frequency intervals, each region includes at least one sub-region, and the control of the display screen according to each frequency and a magnitude corresponding to each frequency includes: determining a region corresponding to each frequency; and lightening the sub-regions of the corresponding regions according to the amplitude corresponding to each frequency, wherein the amplitude is positively correlated with the lightening number of the sub-regions.
To achieve the above object, a second embodiment of the present invention provides a computer-readable storage medium, on which a program is stored, which when executed by a processor implements the music visualization method of the first embodiment.
In the computer-readable storage medium, since the frequency range of the audio signal is relatively large, the frequencies located in the same frequency interval have some same frequency characteristics, the frequencies located in different frequency intervals have different frequency characteristics, and the audibility of music bands with different frequency characteristics to people is also different, the amplitude corresponding to each frequency is obtained according to the amplitude corresponding to the frequency interval by converting the different frequencies into the corresponding frequency interval, so that the obtained amplitude corresponding to each frequency can well reflect the frequency characteristics of the different frequency intervals. Simultaneously, control the atmosphere lamp according to the amplitude that every frequency and every frequency correspond, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp well, make the vision presentation effect of on-vehicle music better, build out and dazzled more music atmosphere sense, thereby improved user experience.
In order to achieve the above object, a third aspect of the present invention provides a vehicle, including: the music visualization method includes a memory, a processor and a program stored in the memory and capable of running on the processor, and when the processor executes the program, the music visualization method is implemented.
In the vehicle, because the frequency range of the audio signal is relatively large, the frequencies in the same frequency interval have the same frequency characteristics, the frequencies in different frequency intervals have different frequency characteristics, and music with different frequency characteristics brings different audiences to people, the amplitude corresponding to each frequency is obtained according to the amplitude corresponding to the frequency interval by converting the different frequencies in the corresponding frequency interval, and the obtained amplitude corresponding to each frequency can well reflect the frequency characteristics of the different frequency intervals. Simultaneously, control the atmosphere lamp according to the amplitude that every frequency and every frequency correspond, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp well, make the vision presentation effect of on-vehicle music better, build out and dazzled more music atmosphere sense, thereby improved user experience.
In order to achieve the above object, a fourth aspect of the present invention provides a music visualization apparatus, including: the acquisition module is used for acquiring at least one frequency corresponding to the audio signal within preset time before the current moment; the determining module is used for determining a frequency interval where each frequency is located and determining an amplitude value corresponding to the frequency interval so as to obtain an amplitude value corresponding to each frequency; wherein, the frequency interval includes a plurality of, each frequency interval has corresponding amplitude; and the control module is used for controlling the atmosphere lamp according to each frequency and the amplitude corresponding to each frequency.
According to the music visualization device, at least one frequency corresponding to an audio signal within a preset time before the current moment is obtained through the obtaining module; determining a frequency interval in which each frequency is located through a determining module, and determining an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency; wherein, the frequency interval includes a plurality of, each frequency interval has corresponding amplitude; and controlling the atmosphere lamp through the control module according to each frequency and the amplitude corresponding to each frequency. Because the frequency range of the audio signal is relatively large, the frequencies in the same frequency interval have the same frequency characteristics, the frequencies in different frequency intervals have different frequency characteristics, and the music bands with different frequency characteristics give different audiences to people, the amplitude corresponding to each frequency is obtained by converting different frequencies in the corresponding frequency interval and obtaining the amplitude corresponding to each frequency according to the amplitude corresponding to the frequency interval, and thus the obtained amplitude corresponding to each frequency can well reflect the frequency characteristics of different frequency intervals. Simultaneously, control the atmosphere lamp according to every frequency and the amplitude that every frequency corresponds, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp well, make the visual presentation effect of on-vehicle music better, build out the music atmosphere sense that dazzles more coolly, thereby improved user experience.
According to one embodiment of the invention, the atmosphere lamp comprises indicating lamps arranged at two ends of the lamp strip, each indicating lamp corresponds to at least one frequency interval, and the control module is specifically used for determining the amplitude corresponding to each indicating lamp according to the frequency interval corresponding to each indicating lamp, each frequency and the amplitude corresponding to each frequency; obtaining the average value of the amplitude corresponding to each indicator lamp to obtain an average amplitude; and controlling the brightness of the corresponding indicator light according to the average amplitude value.
According to one embodiment of the invention, the atmosphere lamp comprises an indicator lamp arranged at one end of the lamp strip, the indicator lamp corresponds to at least one frequency interval, and the control module is specifically used for determining the amplitude corresponding to the indicator lamp according to the frequency interval corresponding to the indicator lamp, each frequency and the amplitude corresponding to each frequency; obtaining an average value of the amplitude values corresponding to the indicator lamps to obtain an average amplitude value; and controlling the brightness of the indicator light according to the average amplitude.
According to one embodiment of the invention, the atmosphere lamp is a dynamic atmosphere lamp, the dynamic atmosphere lamp is provided with a plurality of areas, the plurality of areas correspond to a plurality of frequency intervals one by one, and the control module is specifically used for determining the area corresponding to each frequency; and controlling the brightness of the corresponding area according to the amplitude corresponding to each frequency.
According to an embodiment of the present invention, each region corresponds to at least one color value, and the control module is further configured to determine a region corresponding to each frequency; determining the color value of the corresponding area according to the amplitude value corresponding to each frequency; and controlling the color of the corresponding area according to the color value.
According to an embodiment of the present invention, the control module is further configured to control the display screen according to each frequency and the amplitude corresponding to each frequency.
According to one embodiment of the invention, the display screen comprises a plurality of areas, the areas correspond to a plurality of frequency intervals one by one, each area comprises at least one sub-area, and the control module is specifically used for determining the area corresponding to each frequency; and lightening the sub-regions of the corresponding regions according to the amplitude corresponding to each frequency, wherein the amplitude is positively correlated with the lightening number of the sub-regions.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a schematic flowchart of a first embodiment of a music visualization method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a second embodiment of a music visualization method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an atmosphere lamp according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another atmosphere lamp provided in an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another atmosphere lamp according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating a display effect of a display screen according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an onboard system according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of a third embodiment of a music visualization method according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a music visualization apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a vehicle according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative and intended to explain the present invention and should not be construed as limiting the present invention.
A music visualization method, an apparatus, a computer-readable storage medium, and a vehicle according to an embodiment of the present invention are described below with reference to the accompanying drawings.
In this application, referring to fig. 1, fig. 1 is a schematic flowchart of a first embodiment of a music visualization method according to an embodiment of the present invention, and an execution subject of the embodiment of the present invention may be any device with processing capability, which is provided in an in-vehicle system, for example, an ambience light controller. The music visualization method provided by the embodiment may include the following steps:
s101, acquiring at least one frequency corresponding to the audio signal in the preset time before the current moment.
The audio signal within the preset time before the current moment is an audio signal between a playing position of the preset time before the current playing position and the current playing position. For example, if the total duration of the sound source file is 4 minutes and 30 seconds, the current playing position is the 3 rd minute of the sound source file, and the playing position of the preset time before the current playing position is the 2 nd minute of the sound source file, the audio signal in the preset time before the current time is the audio signal from the 2 nd minute of the sound source file to the 3 rd minute of the sound source file.
S102, determining a frequency interval where each frequency is located, and determining an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency.
The frequency interval may include a plurality of frequency intervals, and each frequency interval may have a corresponding amplitude. For example, the frequency bins may include 10, each frequency bin corresponding to an amplitude in the range of 0-15. For example, the frequency interval may be 60Hz-250Hz, which is a low-frequency structure of music, including fundamental tones of rhythm parts. The present embodiment does not specifically limit the division and number of the frequency intervals and the corresponding amplitude of each frequency interval. For example, the amplitude corresponding to each frequency may be determined according to the correspondence relationship between the frequency intervals and the amplitudes shown in table 1 below.
TABLE 1
Figure BDA0004037429600000051
Figure BDA0004037429600000061
For example, when the frequencies corresponding to the audio signals within the preset time before the current time are 50Hz, 150Hz, 320Hz, 640Hz, 2000Hz, 4205Hz, 6000Hz, 8500Hz, 13050Hz, and 19000Hz, it can be known from the correspondence between the frequency interval and the amplitude shown in table 1 that the frequency interval where 50Hz is located is 0-100hz, and the amplitude corresponding to 50hz is 6; the frequency interval of 150Hz is 100Hz-300Hz, and the amplitude corresponding to 150Hz is 14; the frequency interval of 320Hz is 300Hz-600Hz, and the amplitude corresponding to 320Hz is 10; the frequency interval of 640Hz is 600Hz-1kHz, and the amplitude corresponding to 640Hz is 3; the frequency interval of 2000Hz is 1kHz-3kHz, and the amplitude corresponding to 2000Hz is 5; the frequency interval of 4205Hz is 3kHz-5kHz, the amplitude value corresponding to 4205Hz is 14; the frequency interval of 6000Hz is 5kHz-8kHz, and the amplitude value corresponding to 6000Hz is 11; the frequency interval of 8500Hz is 8kHz-12kHz, and the amplitude corresponding to 8500Hz is 8;13050Hz frequency interval is 12 kHz-169hz, 13050Hz corresponding amplitude is 6; the frequency interval of 19000Hz is 16kHz-20kHz, and the amplitude corresponding to 19000Hz is 3.
S103, controlling the atmosphere lamp according to each frequency and the amplitude corresponding to each frequency.
Specifically, the brightness, color, frequency, lighting time, and the like of the atmosphere lamp may be controlled according to each frequency and the amplitude corresponding to each frequency.
The music visualization method provided by the embodiment of the invention comprises the following steps: acquiring at least one frequency corresponding to an audio signal within a preset time before the current moment; determining a frequency interval in which each frequency is located, and determining an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency; wherein the frequency intervals comprise a plurality of frequency intervals, each frequency interval having a corresponding amplitude; and controlling the atmosphere lamp according to each frequency and the amplitude corresponding to each frequency. Because the frequency range of the audio signal is large, the frequencies in the same frequency interval have some same frequency characteristics, the frequencies in different frequency intervals have different frequency characteristics, and the music bands with different frequency characteristics give different audiences to people, different frequencies can be converted into corresponding frequency intervals by the method, and the amplitude corresponding to each frequency is obtained according to the amplitude corresponding to the frequency intervals, so that the obtained amplitude corresponding to each frequency can well reflect the frequency characteristics of different frequency intervals. Simultaneously, control the atmosphere lamp according to the amplitude that every frequency and every frequency correspond, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp well, make the vision presentation effect of on-vehicle music better, build out and dazzled more music atmosphere sense, thereby improved user experience.
Fig. 2 is a schematic flow diagram of a second embodiment of a music visualization method according to an embodiment of the present invention, which illustrates an atmosphere lamp including indicator lamps disposed at two ends of a lamp strip in this embodiment, and referring to fig. 2, the music visualization method according to this embodiment may include the following steps:
s201, acquiring at least one frequency corresponding to the audio signal within a preset time before the current moment.
S202, determining a frequency interval where each frequency is located, and determining an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency.
Wherein the frequency interval may comprise a plurality of frequency intervals, each frequency interval having a respective amplitude.
For a specific implementation manner of the foregoing S201 and S202, reference may be made to the relevant description of S101 and S102 in the foregoing first embodiment.
S203, determining the amplitude corresponding to each indicator light according to the frequency interval corresponding to each indicator light, each frequency and the amplitude corresponding to each frequency.
Wherein, the atmosphere lamp can be the atmosphere lamp area of light guide including setting up pilot lamp A and the pilot lamp B at the lamp area both ends between pilot lamp A and the pilot lamp B, and every pilot lamp can correspond at least one frequency interval. For example, the ambience lamp may correspond to 10 frequency bins, the indicator lamp a may correspond to 4 frequency bins in the left portion of the ambience lamp, and the indicator lamp B may correspond to the remaining 6 frequency bins; indicator light a may correspond to the 5 frequency bins in the left portion of the ambience light and indicator light B may correspond to the remaining 5 frequency bins. For another example, the atmosphere lamp may also correspond to 20 frequency intervals, the indicator lamp a may correspond to 10 frequency intervals on the left portion of the atmosphere lamp, and the indicator lamp B may correspond to the remaining 10 frequency intervals; indicator light a may correspond to the 12 frequency bins in the left portion of the atmosphere light and indicator light B may correspond to the remaining 8 frequency bins. The number of frequency intervals corresponding to the indicator light A, B is not specifically limited in this embodiment.
In this embodiment, fig. 3 is a schematic structural diagram of an atmosphere lamp according to an embodiment of the present invention, as shown in fig. 3, the atmosphere lamp may include an indicator lamp a and an indicator lamp B disposed at two ends of a lamp strip, the atmosphere lamp corresponds to 10 frequency ranges, and the description will be made by taking 5 frequency ranges where the indicator lamp a corresponds to a left portion of the atmosphere lamp and 5 frequency ranges where the indicator lamp B corresponds to a right portion of the atmosphere lamp as an example. In specific implementation, each 10 frequencies can be sequentially divided into one group according to a time sequence by using a plurality of acquired frequencies corresponding to the audio signal within a preset time before the current time, for each group of frequencies, the indicator light a can correspond to a frequency interval in which the first 5 frequencies in each group are located, and the indicator light B can correspond to a frequency interval in which the last 5 frequencies in each group are located; for each group of frequencies, the amplitude corresponding to the first 5 frequencies in each group may be determined as the amplitude corresponding to indicator light a, and the amplitude corresponding to the last 5 frequencies in each group may be determined as the amplitude corresponding to indicator light B. For example, the first 5 frequencies in the first group correspond to amplitudes of 6, 10, 5, 14 and 8, and the last 5 frequencies in the first group correspond to amplitudes of 14, 3, 10, 8 and 6, respectively, where the amplitude corresponding to indicator light a may be 6, 10, 5, 14 and 8, and the amplitude corresponding to indicator light B may be 14, 3, 10, 8 and 6.
S204, obtaining the average value of the corresponding amplitude of each indicator lamp to obtain the average amplitude.
Specifically, the average amplitude value corresponding to the indicator light a is calculated according to the average value of the amplitude values corresponding to the indicator light a, for example, the average value of the amplitude values 6, 11, 5, 14, and 8 corresponding to the indicator light a is calculated to be 8.8, and 8.8 is taken as the average amplitude value corresponding to the indicator light a. And calculating to obtain an average amplitude corresponding to the indicator light B according to the average value of the amplitudes corresponding to the indicator light B, for example, calculating the average value of the amplitudes 14, 3, 10, 3 and 6 corresponding to the indicator light B to be 7.2, and taking 7.2 as the average amplitude corresponding to the indicator light B.
And S205, controlling the brightness of the corresponding indicator lamp according to the average amplitude.
Specifically, the brightness of the indicator light a is controlled according to the average amplitude value corresponding to the indicator light a, and the brightness of the indicator light B is controlled according to the average amplitude value corresponding to the indicator light B.
According to the music visualization method provided by the embodiment of the invention, the amplitude corresponding to each indicator light is determined according to the frequency interval corresponding to each indicator light, each frequency and the amplitude corresponding to each frequency; obtaining the average value of the amplitude corresponding to each indicator lamp to obtain an average amplitude; the brightness of the corresponding indicator lamp is controlled according to the average amplitude, the effect that the brightness of the double-lamp atmosphere lamp moves along with music rhythm can be achieved, and a cool music atmosphere is created, so that user experience is improved.
In some embodiments, any amplitude value corresponding to the indicator light a or an average amplitude value corresponding to any number of amplitude values may also be determined as the average amplitude value corresponding to the indicator light a, and the brightness of the indicator light a may be controlled according to the average amplitude value corresponding to the indicator light a. For example, assuming that the amplitude value corresponding to the indicator light a is 6, 10, 5, 14 and 8, the amplitude value 6 may be directly determined as the average amplitude value corresponding to the indicator light a, and the brightness of the indicator light a is controlled according to the amplitude value 6; or, an average amplitude 9 among the amplitude 5, the amplitude 14 and the amplitude 8 may be determined as an average amplitude corresponding to the indicator light a, and the brightness of the indicator light a may be controlled according to the average amplitude 9. Similarly, the brightness of the indicator light B may also be controlled according to the above manner, which is not described herein again.
In some embodiments, the atmosphere lamp may also include an indicator lamp C disposed at one end of the light strip, where the indicator lamp C corresponds to at least one frequency range. In this case, the controlling the ambience lamp according to each frequency and the amplitude corresponding to each frequency may include: determining the amplitude corresponding to the indicator light according to the frequency interval corresponding to the indicator light, each frequency and the amplitude corresponding to each frequency; obtaining the average value of the corresponding amplitude values of the indicator lamps to obtain an average amplitude value; and controlling the brightness of the indicator light according to the average amplitude.
For example, the indicator light C may correspond to 10 frequency intervals, or the indicator light C may correspond to 15 frequency intervals. In this embodiment, the number of frequency intervals corresponding to the indicator light C is not specifically limited.
In this embodiment, fig. 4 is a schematic structural diagram of another atmosphere lamp provided in the embodiment of the present invention, and as shown in fig. 4, an indicator lamp C may be disposed on the left side of the atmosphere lamp, and the example that the indicator lamp C corresponds to 5 frequency intervals is taken as an example for description. In specific implementation, each 5 frequencies can be sequentially divided into one group according to a time sequence by using a plurality of frequencies corresponding to the audio signal within a preset time before the obtained current time, and for each group of frequencies, the indicator light C can correspond to a frequency interval in which the 5 frequencies in each group are located; for each set of frequencies, the amplitude corresponding to 5 frequencies in each set may be determined as the amplitude corresponding to the indicator light C. For example, 5 frequencies in the first group correspond to amplitudes of 14, 10, 5, 14 and 3, and the indicator light C may correspond to amplitudes of 14, 10, 5, 14 and 3. The average of the amplitudes 14, 10, 5, 14 and 3 for the indicator light C is calculated to be 9.2, and 9.2 is taken as the average amplitude for the indicator light C. Controlling the brightness of the indicator light C according to the average amplitude corresponding to the indicator light C,
in this embodiment, can realize the luminance of single lamp head atmosphere lamp along with the effect of music rhythm, build out the music atmosphere sense of dazzling more to user experience has been improved.
In some embodiments, any amplitude value corresponding to the indicator light C or an average amplitude value of any corresponding amplitude values may also be determined as the average amplitude value corresponding to the indicator light C, and the brightness of the indicator light C may be controlled according to the average amplitude value corresponding to the indicator light C. For example, assuming that the amplitude values corresponding to the indicator light C are 14, 10, 5, 14 and 3, the amplitude value 10 may be directly determined as the average amplitude value corresponding to the indicator light C, and the brightness of the indicator light C is controlled according to the amplitude value 10; or, the average amplitude 9 among the amplitude 14, the amplitude 10, and the amplitude 3 may be determined as the average amplitude corresponding to the indicator light C, and the brightness of the indicator light C may be controlled according to the average amplitude 9.
In some embodiments, the atmosphere lamp may be a dynamic atmosphere lamp, and the dynamic atmosphere lamp may have a plurality of regions, and the plurality of regions may correspond to the plurality of frequency intervals one to one. In this case, the controlling the ambience lamp according to each frequency and the amplitude corresponding to each frequency may include: determining a region corresponding to each frequency; and controlling the brightness of the corresponding area according to the amplitude corresponding to each frequency.
For example, the ambience lamp may be divided into 10 segments, or may be divided into 25 segments, each of which may correspond to a frequency interval. Fig. 5 is a schematic structural diagram of another atmosphere lamp according to an embodiment of the present invention, and as shown in fig. 5, the atmosphere lamp may have 10 regions for illustration. In specific implementation, each 10 frequencies may be sequentially divided into a group according to a time sequence by using a plurality of frequencies corresponding to the audio signal within a preset time before the current time, so that the first frequency in each group corresponds to a first region of the ambience lamp (a left-to-right sequence), the second frequency in each group corresponds to a second region of the ambience lamp, … …, and the tenth frequency in each group corresponds to a tenth region of the ambience lamp. And controlling the brightness of the corresponding region according to the amplitude corresponding to each frequency. For example, if the amplitude corresponding to each frequency is larger, the brightness of the corresponding region is set to be higher. Assuming that the amplitudes corresponding to the 10 frequencies in the first group are 14, 10, 5, 10, 11, 8, 6, 11, 5 and 3, respectively, the brightness of the regions corresponding to the 10 frequencies can be set to be 28, 20, 10, 20, 22, 16, 12, 22, 10 and 6, respectively. Since the amplitude corresponding to the first frequency in the first group is the largest and the amplitude corresponding to the last frequency is the smallest, the brightness of the area corresponding to the first frequency is the highest at this time, and the brightness of the area corresponding to the last frequency is the lowest at this time.
In this embodiment, can realize the luminance of dynamic atmosphere lamp along with the effect of music rhythm, build out the music atmosphere sense of dazzling more to user experience has been improved.
In some embodiments, when the atmosphere lamp is a dynamic atmosphere lamp, and the dynamic atmosphere lamp has a plurality of regions, and the plurality of regions correspond to a plurality of frequency intervals on a one-to-one basis, the controlling the atmosphere lamp according to each frequency and the amplitude corresponding to each frequency may further include: determining a region corresponding to each frequency; determining the color value of the corresponding area according to the amplitude value corresponding to each frequency; and controlling the color of the corresponding area according to the color value.
In specific implementation, each 10 frequencies may be sequentially divided into a group according to a time sequence by using a plurality of frequencies corresponding to the audio signal within a preset time before the current time, so that the first frequency in each group corresponds to a first region of the ambience lamp (a left-to-right sequence), the second frequency in each group corresponds to a second region of the ambience lamp, … …, and the tenth frequency in each group corresponds to a tenth region of the ambience lamp. Determining the color value of the corresponding area according to the preset corresponding relation between the amplitude value and the color value and the amplitude value corresponding to each frequency; and controlling the color of the corresponding area according to the color value.
For example, the preset corresponding relationship between the amplitude and the color value is described below, the amplitude corresponding to each frequency interval may be in a range of 0 to 15, and a corresponding color value may be set in advance for each amplitude, for example, the color value corresponding to the amplitude 0 to 15 is 0 to 15. In addition, the color corresponding to each color value may also be preset, for example, red, purple, and a transition color therebetween may be divided into 16 segments, each segment may extract a specific color value, the color value 0 may correspond to purple, the color value 15 may correspond to red, and the colors corresponding to the color values 1 to 14 may be transition colors between red and purple. In a specific implementation, the colors corresponding to the color values 1 to 14 may be other colors, and this embodiment is not limited in particular.
For example, assuming that the first frequency in the first group corresponds to the first region of the ambience lamp, and the amplitude value corresponding to the first frequency in the first group is 15, and the color value corresponding to the amplitude value 15 is 15 according to the preset correspondence between the amplitude value and the color value, the color value corresponding to the first region of the ambience lamp corresponding to the first frequency in the first group is 15, and the color corresponding to the color value 15 is red according to the preset correspondence between the color value and the color, the first region of the ambience lamp corresponding to the first frequency in the first group may be set to be red.
In this embodiment, can realize the effect of the colour of dynamic atmosphere lamp with the music rhythm, build out the music atmosphere sense of dazzling more to user experience has been improved.
In some embodiments, the method may further include: and controlling the display screen according to each frequency and the amplitude corresponding to each frequency.
Specifically, the display effect of the display screen can be controlled according to each frequency and the amplitude corresponding to each frequency. The display effect of the display screen may be brightness, color, screen lightening time, display area, and the like of the display screen. The display screen can be a screen such as a center control screen.
In this embodiment, can control the display screen according to the amplitude that every frequency and every frequency correspond, realized the linkage of atmosphere lamp and display screen to build more cool music atmosphere.
In some embodiments, the controlling the display screen according to each frequency and the amplitude corresponding to each frequency may include: determining a region corresponding to each frequency; and lightening the sub-regions of the corresponding regions according to the amplitude corresponding to each frequency, wherein the amplitude is positively correlated with the lightening number of the sub-regions.
Specifically, as shown in fig. 6, fig. 6 is a schematic diagram of a display effect of a display screen according to an embodiment of the present invention, where the display screen may include 10 regions, the 10 regions respectively correspond to 10 frequency intervals one to one, and each region may include 15 sub-regions.
Specifically, each 10 frequencies may be sequentially divided into a group according to a time sequence by using a plurality of frequencies corresponding to the acquired audio signal within a preset time before the current time, a first frequency in each group corresponds to a first region of the display screen (in a left-to-right sequence), a second frequency in each group corresponds to a second region of the display screen, … …, and a tenth frequency in each group corresponds to a tenth region of the display screen.
For example, assuming that the amplitudes corresponding to the 10 frequencies in the first group are 1, 3, 4, 3, 1, 2, 3, 2 and 1, respectively, then as shown in fig. 6 (the slash in fig. 6 indicates that the sub-region is illuminated), 1, 3, 4, 3, 1, 2, 3, 2 and 1 sub-region may be illuminated in the first to tenth regions of the display screen, respectively.
In this embodiment, can light the subregion of corresponding region according to the amplitude that every frequency corresponds, realized the linkage of atmosphere lamp and display screen to build more cool music atmosphere.
As a specific example, fig. 7 is a schematic structural diagram of a vehicle-mounted system according to an embodiment of the present invention, and as shown in fig. 7, the vehicle-mounted system 70 may include a display screen 710, a main controller 720, a vehicle body controller 730, an ambience lamp controller 740, an ambience lamp 750, a power amplifier 760 and a speaker 770. The following music visualization method shown in fig. 8 can be implemented by applying the vehicle-mounted system 70, where fig. 8 is a schematic flow diagram of a third embodiment of the music visualization method provided in the embodiment of the present invention, as shown in fig. 8, the music visualization method provided in this embodiment may include the following steps:
s801, the main controller obtains a sound source file, obtains each frequency and an amplitude corresponding to each frequency in the sound source file, sends each frequency and the amplitude corresponding to each frequency to the automobile body controller, and synchronously drives the display screen to be linked with music according to each frequency and the amplitude corresponding to each frequency.
Specifically, the main controller may determine a frequency interval in which each frequency in the sound source file is located and an amplitude corresponding to the frequency interval, so as to obtain an amplitude corresponding to each frequency.
Specifically, the main controller may transmit each frequency and an amplitude value corresponding to each frequency to the body controller through a FlexRay (a network communication protocol inside the automobile) bus.
Specifically, when the screen saver function is activated, the main controller can synchronously drive the display screen to be linked with the music according to each frequency and the amplitude corresponding to each frequency.
S802, the vehicle body controller sends each frequency and the amplitude corresponding to each frequency to the atmosphere lamp controller.
Specifically, the vehicle body Controller may send each frequency and the amplitude corresponding to each frequency to the ambience lamp Controller through a CAN (Controller Area Network) bus.
And S803, the atmosphere lamp controller receives each frequency and the amplitude corresponding to each frequency, and controls the atmosphere lamp according to the music show rhythm rule.
Wherein, above-mentioned music show rhythm rule can be for above-mentioned atmosphere lamp including setting up at the pilot lamp at lamp area both ends, atmosphere lamp including setting up when the pilot lamp or the atmosphere lamp of lamp area one end are dynamic atmosphere lamp, corresponding atmosphere lamp control method.
In this embodiment, can show the different frequency characteristics of on-vehicle music through control double lamp holder, single lamp holder or dynamic control atmosphere lamp for the visual presentation effect of on-vehicle music is better, has built out the music atmosphere sense that dazzles more coolly, thereby has improved user experience.
Fig. 9 is a schematic structural diagram of a music visualization apparatus according to an embodiment of the present invention, and as shown in fig. 9, the music visualization apparatus 90 may include: an obtaining module 910, a determining module 920 and a controlling module 930.
The obtaining module 910 may be configured to obtain at least one frequency corresponding to an audio signal within a preset time before a current time; the determining module 920 may be configured to determine a frequency interval in which each frequency is located, and determine an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency; wherein the frequency intervals comprise a plurality of frequency intervals, each frequency interval having a corresponding amplitude; the control module 930 may be configured to control the ambience lamp according to each frequency and the corresponding amplitude of each frequency.
According to the music visualization device provided by the embodiment of the invention, at least one frequency corresponding to an audio signal in a preset time before the current moment is acquired through the acquisition module; determining a frequency interval in which each frequency is located through a determining module, and determining an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency; wherein, the frequency interval includes a plurality of, each frequency interval has corresponding amplitude; and controlling the atmosphere lamp through a control module according to each frequency and the amplitude corresponding to each frequency. Because the frequency range of the audio signal is large, the frequencies in the same frequency interval have some same frequency characteristics, the frequencies in different frequency intervals have different frequency characteristics, and the music bands with different frequency characteristics give different audiences to people, the amplitude corresponding to each frequency is obtained according to the amplitude corresponding to the frequency interval by converting different frequencies in the corresponding frequency interval, so that the obtained amplitude corresponding to each frequency can well reflect the frequency characteristics of different frequency intervals. Simultaneously, control the atmosphere lamp according to every frequency and the amplitude that every frequency corresponds, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp well, make the visual presentation effect of on-vehicle music better, build out the music atmosphere sense that dazzles more coolly, thereby improved user experience.
According to an embodiment of the present invention, the atmosphere lamps may include indicator lamps disposed at two ends of the light strip, each indicator lamp may correspond to at least one frequency interval, and the control module 930 may be specifically configured to determine an amplitude corresponding to each indicator lamp according to the frequency interval corresponding to each indicator lamp, each frequency and an amplitude corresponding to each frequency; obtaining the average value of the amplitude corresponding to each indicator lamp to obtain an average amplitude; and controlling the brightness of the corresponding indicator light according to the average amplitude value.
According to an embodiment of the present invention, the atmosphere lamp may include an indicator lamp disposed at one end of the light strip, the indicator lamp may correspond to at least one frequency interval, and the control module 930 may be specifically configured to determine an amplitude corresponding to the indicator lamp according to the frequency interval corresponding to the indicator lamp, each frequency, and an amplitude corresponding to each frequency; obtaining an average value of the amplitude values corresponding to the indicator lamps to obtain an average amplitude value; and controlling the brightness of the indicator light according to the average amplitude.
According to an embodiment of the present invention, the atmosphere lamp may be a dynamic atmosphere lamp, the dynamic atmosphere lamp may have a plurality of regions, the plurality of regions correspond to a plurality of frequency intervals one by one, and the control module 930 may be specifically configured to determine a region corresponding to each frequency; and controlling the brightness of the corresponding area according to the amplitude corresponding to each frequency.
According to an embodiment of the present invention, each region corresponds to at least one color value, and the control module 930 may be further configured to determine a region corresponding to each frequency; determining the color value of the corresponding area according to the amplitude value corresponding to each frequency; and controlling the color of the corresponding area according to the color value.
According to an embodiment of the present invention, the control module 930 may be further configured to control the display screen according to each frequency and the amplitude corresponding to each frequency.
According to an embodiment of the present invention, the display screen may include a plurality of regions, where the plurality of regions correspond to a plurality of frequency intervals in a one-to-one manner, and each region includes at least one sub-region, and the control module 930 may be specifically configured to determine a region corresponding to each frequency; and lightening the sub-regions of the corresponding regions according to the amplitude corresponding to each frequency, wherein the amplitude is positively correlated with the lightening number of the sub-regions.
In addition, corresponding to the music visualization method provided in the foregoing embodiment, an embodiment of the present invention further provides a vehicle, as shown in fig. 10, where the vehicle 100 may include: the memory 1010, the processor 1020, and a program stored in the memory 1010 and executable on the processor 1020, when the processor 1020 executes the program, implement all the steps of the music visualization method provided by the embodiment of the present invention.
In the vehicle, because the frequency range of the audio signal is relatively large, the frequencies in the same frequency interval have the same frequency characteristics, the frequencies in different frequency intervals have different frequency characteristics, and music with different frequency characteristics brings different audiences to people, the amplitude corresponding to each frequency is obtained according to the amplitude corresponding to the frequency interval by converting the different frequencies in the corresponding frequency interval, and the obtained amplitude corresponding to each frequency can well reflect the frequency characteristics of the different frequency intervals. Simultaneously, control the atmosphere lamp according to every frequency and the amplitude that every frequency corresponds, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp well, make the visual presentation effect of on-vehicle music better, build out the music atmosphere sense that dazzles more coolly, thereby improved user experience.
In addition, corresponding to the music visualization method provided in the foregoing embodiment, an embodiment of the present invention further provides a computer-readable storage medium, on which a program is stored, where the program, when executed by a processor, implements all steps of the music visualization method according to the embodiment of the present invention.
In the computer-readable storage medium, since the frequency range of the audio signal is relatively large, the frequencies in the same frequency interval have some same frequency characteristics, the frequencies in different frequency intervals have different frequency characteristics, and music bands with different frequency characteristics give different audiences to people, the amplitude corresponding to each frequency is obtained according to the amplitude corresponding to the frequency interval by converting the different frequencies in the corresponding frequency interval, so that the obtained amplitude corresponding to each frequency can well reflect the frequency characteristics of the different frequency intervals. Simultaneously, control the atmosphere lamp according to the amplitude that every frequency and every frequency correspond, can realize the linkage of atmosphere lamp and music to can show the different frequency characteristics of on-vehicle music through controlling the atmosphere lamp well, make the vision presentation effect of on-vehicle music better, build out and dazzled more music atmosphere sense, thereby improved user experience.
It should be noted that the logic and/or steps shown in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise explicitly stated or limited, the terms "mounted," "connected," "fixed," and the like are to be construed broadly, e.g., as being permanently connected, detachably connected, or integral; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Although embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are exemplary and not to be construed as limiting the present invention, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A method of music visualization, the method comprising:
acquiring at least one frequency corresponding to an audio signal within a preset time before the current moment;
determining a frequency interval where each frequency is located, and determining an amplitude corresponding to the frequency interval to obtain an amplitude corresponding to each frequency; wherein the frequency intervals comprise a plurality of frequency intervals, each frequency interval having a corresponding amplitude;
and controlling the atmosphere lamp according to each frequency and the amplitude corresponding to each frequency.
2. The method of claim 1, wherein the ambience light comprises indicator lights disposed at two ends of a light strip, each indicator light corresponding to at least one frequency interval, and wherein the controlling the ambience light according to the each frequency and the amplitude corresponding to the each frequency comprises:
determining the amplitude corresponding to each indicator light according to the frequency interval corresponding to each indicator light, each frequency and the amplitude corresponding to each frequency;
obtaining an average value of the amplitude corresponding to each indicator lamp to obtain an average amplitude;
and controlling the brightness of the corresponding indicator lamp according to the average amplitude.
3. The method of claim 1, wherein the ambience light comprises an indicator light disposed at an end of a light strip, the indicator light corresponding to at least one frequency interval, and wherein the controlling the ambience light based on the each frequency and the amplitude corresponding to the each frequency comprises:
determining the amplitude corresponding to the indicator light according to the frequency interval corresponding to the indicator light, each frequency and the amplitude corresponding to each frequency;
obtaining an average value of the amplitude values corresponding to the indicator lamps to obtain an average amplitude value;
and controlling the brightness of the indicator light according to the average amplitude.
4. The method of claim 1, wherein the ambience lamp is a dynamic ambience lamp having a plurality of regions with one-to-one correspondence to a plurality of frequency bins, the controlling the ambience lamp based on the amplitude of each of the frequencies and the corresponding frequency comprises:
determining a region corresponding to each frequency;
and controlling the brightness of the corresponding region according to the amplitude corresponding to each frequency.
5. The method of claim 4, wherein each region corresponds to at least one color value, and wherein controlling the ambience light according to the each frequency and the corresponding magnitude of the each frequency further comprises:
determining a region corresponding to each frequency;
determining the color value of the corresponding area according to the amplitude corresponding to each frequency;
and controlling the color of the corresponding area according to the color value.
6. The method according to any one of claims 1-5, further comprising:
and controlling the display screen according to each frequency and the amplitude corresponding to each frequency.
7. The method of claim 6, wherein the display screen comprises a plurality of regions, the plurality of regions are in one-to-one correspondence with a plurality of frequency intervals, each region comprises at least one sub-region, and the controlling the display screen according to the each frequency and the amplitude corresponding to the each frequency comprises:
determining a region corresponding to each frequency;
and lightening the sub-regions of the corresponding regions according to the amplitude corresponding to each frequency, wherein the amplitude is positively correlated with the lightening number of the sub-regions.
8. A computer-readable storage medium, characterized in that a program is stored thereon, which program, when being executed by a processor, carries out a music visualization method according to any one of claims 1 to 7.
9. A vehicle, characterized by comprising: memory, a processor and a program stored on the memory and executable on the processor, the processor implementing the music visualization method according to any of claims 1-7 when executing the program.
10. A music visualization device, the device comprising:
the acquisition module is used for acquiring at least one frequency corresponding to the audio signal within preset time before the current moment;
the determining module is used for determining a frequency interval where each frequency is located and determining an amplitude value corresponding to the frequency interval to obtain an amplitude value corresponding to each frequency; wherein, the frequency interval includes a plurality of, each frequency interval has corresponding amplitude;
and the control module is used for controlling the atmosphere lamp according to each frequency and the amplitude corresponding to each frequency.
CN202310020191.7A 2023-01-04 2023-01-04 Music visualization method and device, computer readable storage medium and vehicle Pending CN115973032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310020191.7A CN115973032A (en) 2023-01-04 2023-01-04 Music visualization method and device, computer readable storage medium and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310020191.7A CN115973032A (en) 2023-01-04 2023-01-04 Music visualization method and device, computer readable storage medium and vehicle

Publications (1)

Publication Number Publication Date
CN115973032A true CN115973032A (en) 2023-04-18

Family

ID=85970040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310020191.7A Pending CN115973032A (en) 2023-01-04 2023-01-04 Music visualization method and device, computer readable storage medium and vehicle

Country Status (1)

Country Link
CN (1) CN115973032A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116489853A (en) * 2023-06-26 2023-07-25 成都赛力斯科技有限公司 Control method and device of automobile atmosphere lamp, vehicle-mounted information entertainment system and automobile
CN117241446A (en) * 2023-11-13 2023-12-15 博泰车联网(南京)有限公司 Vehicle atmosphere lamp control method, control device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116489853A (en) * 2023-06-26 2023-07-25 成都赛力斯科技有限公司 Control method and device of automobile atmosphere lamp, vehicle-mounted information entertainment system and automobile
CN116489853B (en) * 2023-06-26 2023-08-29 成都赛力斯科技有限公司 Control method and device of automobile atmosphere lamp, vehicle-mounted information entertainment system and automobile
CN117241446A (en) * 2023-11-13 2023-12-15 博泰车联网(南京)有限公司 Vehicle atmosphere lamp control method, control device, electronic equipment and storage medium
CN117241446B (en) * 2023-11-13 2024-02-27 博泰车联网(南京)有限公司 Vehicle atmosphere lamp control method, control device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN115973032A (en) Music visualization method and device, computer readable storage medium and vehicle
CN109089355B (en) Automobile light control method and system based on music signals
DE102011008201B4 (en) System for an electric drive in motor vehicles
CN108806660B (en) Active acoustic desensitization to tonal noise in vehicles
CN110371052B (en) Vehicle and brightness adjusting method and device of internal display part of vehicle
CN102205813A (en) Sound producing apparatus for vehicle
EP0742641B1 (en) On-vehicle sound control apparatus
CN112770439A (en) Control system and method of vehicle rhythm atmosphere lamp, multimedia host and storage medium
DE102017121968A1 (en) COLOR TONE ADJUSTMENT OF A VEHICLE INDICATOR BASED ON THE SURROUNDINGS
CN105291970A (en) Method for controlling an extended-range electric vehicle including an electronic sound enhancement system
CN110996477B (en) Air conditioner lamp control method, computer device and computer readable storage medium
CN111954347A (en) Control method and device of atmosphere lamp, vehicle and storage medium
CN107719227B (en) Method and system for adjusting brightness of instrument panel
CN107891815A (en) The method and apparatus of intelligent back vision mirror LED brightness Multistage Control
CN116605134A (en) Self-adaptive control method and device for light in vehicle, vehicle and storage medium
CN111361506A (en) Prompting lamp control method and system, readable storage medium and vehicle
CN110910877A (en) Household appliance control method and device and household appliance
CN113133169A (en) Vehicle and light control method and light control system thereof
CN115709679A (en) Control method for atmosphere lamp of steering wheel, related assembly and steering wheel
CN111210791B (en) Screen brightness adjusting method and device of vehicle multimedia equipment
CN115534844A (en) Vehicle-mounted atmosphere lamp music rhythm control method and system
JPH1064682A (en) Input circuit for control device of dimmer circuit
CN114001297A (en) Vehicle atmosphere lamp structure, control method, and computer storage medium
CN114001298A (en) Vehicle atmosphere lamp structure, control method, and computer storage medium
CN111688569A (en) Vehicle lamp control method and device, vehicle and storage medium

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