CN115454374A - Method, device, processor and computer storage medium for realizing configurable processing of automobile rapid alarm and alarm audio - Google Patents

Method, device, processor and computer storage medium for realizing configurable processing of automobile rapid alarm and alarm audio Download PDF

Info

Publication number
CN115454374A
CN115454374A CN202211155555.4A CN202211155555A CN115454374A CN 115454374 A CN115454374 A CN 115454374A CN 202211155555 A CN202211155555 A CN 202211155555A CN 115454374 A CN115454374 A CN 115454374A
Authority
CN
China
Prior art keywords
audio
alarm
processing
processor
data
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
CN202211155555.4A
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.)
Dongfeng Electronic Technology Co ltd
Original Assignee
Dongfeng Electronic 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 Dongfeng Electronic Technology Co ltd filed Critical Dongfeng Electronic Technology Co ltd
Priority to CN202211155555.4A priority Critical patent/CN115454374A/en
Publication of CN115454374A publication Critical patent/CN115454374A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60KARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
    • B60K35/00Instruments specially adapted for vehicles; Arrangement of instruments in or on vehicles
    • B60K35/20Output arrangements, i.e. from vehicle to user, associated with vehicle functions or specially adapted therefor
    • B60K35/26Output arrangements, i.e. from vehicle to user, associated with vehicle functions or specially adapted therefor using acoustic output
    • B60K35/265Voice
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q9/00Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Software Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The invention relates to a method for realizing automobile rapid alarm and configurable processing of alarm audio, wherein the method comprises the following steps: (1) Triggering an alarm signal, and carrying out configuration processing for online making of an alarm audio data stream; (2) Reading alarm audio configuration information of the alarm signal, and performing audio caching and analysis processing; (3) And starting a thread to perform sound logic processing based on the acquired analysis audio data, and performing audio playing by using sound card equipment. The invention also relates to a corresponding device, a processor and a computer readable storage medium thereof. The method, the device, the processor and the computer readable storage medium for realizing the configurable processing of the automobile rapid alarm and the alarm audio frequency abandon the traditional scheme of reading an audio file to play sound, the alarm audio frequency does not need to be stored on Flash in a file form, a Flash chip can be selected to be smaller in the automobile instrument development process, and the cost is greatly reduced.

Description

Method, device, processor and computer storage medium for realizing configurable processing of automobile rapid alarm and alarm audio
Technical Field
The invention relates to the technical field of automobile electronics, in particular to the technical field of audio processing and an embedded Linux system, and specifically relates to a method, a device, a processor and a computer readable storage medium for realizing automobile rapid alarm and alarm audio configurable processing.
Background
Conventional automotive systems typically suffer from two significant problems with alarm handling:
firstly, most instruments in the market acquire the alarm source in a file acquisition mode, the file storage undoubtedly occupies Flash storage resources, the traditional alarm source file requires that tone quality is lossless, but the occupied disk space is large, and the diversity of the alarm audio cannot be met due to the limited Flash storage space. If the tone quality is selected to be reduced to reduce the occupation of the flash memory, the alarm audio frequency is distorted to a certain degree.
Secondly, the traditional steps of reading and analyzing the alarm audio at the instrument end, inputting a sound card and the like are carried out, and the reading and the analysis of the alarm audio file by the system are a process which consumes system resources, so that the timeliness of the alarm audio is seriously influenced, and the synchronism of the alarm audio and an alarm indicator lamp is seriously influenced.
Therefore, a technical scheme capable of solving the problems of Flash storage occupation and asynchronous alarm audio and alarm indicator lamps brought by the traditional alarm audio processing scheme in the market is urgently needed.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method, a device, a processor and a computer readable storage medium thereof for realizing the configurable processing of the automobile quick alarm and the alarm audio, which can meet the requirements of diversity and personalized configuration.
In order to achieve the above objects, the method, the device, the processor and the computer readable storage medium for implementing configurable processing of the automobile rapid alarm and the alarm audio of the invention are as follows:
the method for realizing the configurable processing of the rapid alarm and the alarm audio of the automobile is mainly characterized by comprising the following steps of:
(1) Triggering an alarm signal, and carrying out configuration processing for online making of an alarm audio data stream;
(2) Reading alarm audio configuration information of the alarm signal, and performing audio caching and analysis processing;
(3) And starting a thread to perform sound logic processing based on the acquired analysis audio data, and performing audio playing by using sound card equipment.
Preferably, the step (1) specifically comprises the following steps:
(1.1) triggering an alarm signal, and searching an audio configuration list according to a configuration table provided by a user;
and (1.2) carrying out configuration processing on the coding format, the number of sound channels, the sampling frequency, the sampling size and the audio data size of the current alarm signal.
Preferably, the step (1.2) specifically includes:
the alarm signal is set to be in wav audio format, the number of channels is set to be two channels, the sampling frequency is set to be 40kHz, and the sampling size and the audio data are generated according to the actual use scene of a user.
Preferably, after the alarm signal configuration is completed, the alarm signal sets the buffer in the RAM space for subsequent logic processing, and a playable audio clip exists in the ARM space.
Preferably, the step (2) specifically comprises the following steps:
(2.1) reading data configuration information of the alarm signal;
(2.2) generating a resolvable playing audio buffer cache based on the quantization segment of the alarm signal, the set sampling frequency and the quantization digit;
and (2.3) reading the header file, the audio format and the data content which exist in the RAM space in the playing audio buffer cache, and analyzing and processing the data.
Preferably, the step (3) specifically comprises the following steps:
(3.1) receiving the parsed audio data;
(3.2) the system identifies audio key information in the configuration table according to the configuration table provided by the user;
(3.3) inputting the audio key information into a buffer container to obtain complete data of a section of audio;
(3.4) adding the acquired complete audio data with the sampling rate, the number of sampling point bytes and the number of sound channels preset by the system to obtain a complete audio data stream of the alarm audio;
and (3.5) finally, filling the acquired complete data stream of the alarm audio frequency into sound card equipment for external processing.
Preferably, the step (3.5) further comprises:
after the acquired complete data stream of the alarm audio is filled into the sound card device, time and data byte length of the audio file are required to be shifted, audio data are read sequentially, and audio logic is processed through a thread to ensure that queue sorting playing is performed according to priority.
The device for realizing the configurable processing of the rapid alarm and the alarm audio of the automobile is mainly characterized by comprising the following components:
a processor configured to execute computer-executable instructions;
and the memory stores one or more computer executable instructions, and when the computer executable instructions are executed by the processor, the steps of the automobile rapid alarm and alarm audio configurable processing method are realized.
The processor for realizing the configurable processing of the automobile rapid alarm and the alarm audio is mainly characterized in that the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the steps of the method for realizing the configurable processing of the automobile rapid alarm and the alarm audio are realized.
The computer readable storage medium is mainly characterized in that a computer program is stored thereon, and the computer program can be executed by a processor to realize the steps of the automobile rapid alarm and alarm audio configurable processing method.
By adopting the method, the device, the processor and the computer-readable storage medium for realizing the configurable processing of the automobile rapid alarm and the alarm audio, the traditional scheme of reading an audio file to play sound is abandoned, the alarm audio is not required to be stored on Flash in a file form, and a Flash chip can be selected to be smaller in the development process of an automobile instrument, so that the cost is greatly reduced; meanwhile, the alarm audio does not need to be customized specially by a company any more, and stands at the angles of developers and customers, so that the audio sound can be configured more flexibly, the diversity and personalized configuration are greatly met, and the development period is further shortened; 3 for the automobile instrument upgrade, the light weight of the software upgrade package is brought by the non-audio file local storage, and the upgrade and the flash speed are accelerated in the processes of diagnostic instrument upgrade, USB flash disk upgrade, OTA upgrade and factory software programming. Before this scheme is not used, the size of the USB flash disk upgrade package is 15M, and becomes 10M after use.
Meanwhile, before the technical scheme is not used, the difference between each alarm audio sound and the alarm lamp picture is 120ms on average, and after the scheme is used, the difference is effectively reduced to within 30ms, and finally the rapid alarm and sound picture synchronization of the alarm signal are realized; compared with the traditional scheme, in order to save Flash storage resources, the quality of the audio is compressed, so that distortion is caused when the audio is played, and after the scheme is used, the quality of sound is saturated to the maximum extent and is consistent with the audio quality required by a client.
Drawings
Fig. 1 is a schematic diagram of a conventional alarm audio parsing and triggering manner.
Fig. 2 is a schematic diagram of the new alarm audio synthesis and triggering mode of the present invention.
Fig. 3 is a system block diagram of the alarm audio of the present invention.
FIG. 4 is a flow chart of the generation and playing of the alarm audio according to the present invention.
Detailed Description
In order that the technical contents of the present invention can be more clearly described, the present invention will be further described with reference to specific embodiments.
Before describing in detail embodiments that are in accordance with the present invention, it should be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The traditional alarm process is shown in fig. 1, a dotted line frame shows a traditional alarm audio analysis mode, and when an alarm signal appears, the instrument end starts to read and analyze the alarm audio, input a sound card and other steps. In order to save the steps of audio reading, analysis and other resource consumption, the method shown in fig. 2 is improved, the traditional idea of playing an alarm sound after analyzing an audio file is abandoned, and an alarm prompt tone required by a client is configured in real time and loaded.
Referring to fig. 2 to 4, the method for implementing configurable processing of the fast alarm and the alarm audio of the automobile includes the following steps:
(1) Triggering an alarm signal, and carrying out configuration processing for online making of an alarm audio data stream;
(2) Reading alarm audio configuration information of the alarm signal, and performing audio caching and analysis processing;
(3) And starting a thread to perform sound logic processing based on the acquired analysis audio data, and performing audio playing by using sound card equipment.
As a preferred embodiment of the present invention, the step (1) specifically comprises the following steps:
(1.1) triggering an alarm signal, and searching an audio configuration list according to a configuration table provided by a user;
and (1.2) carrying out configuration processing on the encoding format, the number of sound channels, the sampling frequency, the sampling size and the audio data size of the current alarm signal.
As a preferred embodiment of the present invention, the step (1.2) specifically comprises:
the alarm signal is set to be in wav audio format, the number of channels is set to be two channels, the sampling frequency is set to be 40kHz, and the sampling size and the audio data are generated according to the actual use scene of a user.
In practical applications, as shown in fig. 2, when the alarm signal a is triggered, the method finds the audio configuration list MESSAGE _ a according to the configuration table provided by the client, and includes:
coding format, number of channels, sampling frequency, sampling size, audio data size. On the technical scheme, the encoding format is set, because an entity file of the alarm audio does not exist, the memory consumption caused by high-quality audio does not need to be considered too much, and some high-quality audio formats such as wav and the like can be set according to the configuration supported by hardware; on the setting of sampling frequency, the sound high fidelity frequency can be used for sampling, and the scheme is set to be 40kHz; in the setting of the number of the sound channels, the tone quality and the tone color of the double sound channels are set to be closer to the requirements of customers according to the hardware configuration; the sampling size and the audio data are generated according to the actual use scene to be read. After the configuration items of the alarm audio are set, audio buffering processing can be performed according to the requirements of fig. 3.
As a preferred embodiment of the present invention, after the alarm signal configuration is completed, the alarm signal sets the buffer in the RAM space for subsequent logic processing, and a playable audio clip exists in the ARM space.
As a preferred embodiment of the present invention, the step (2) specifically comprises the following steps:
(2.1) reading data configuration information of the alarm signal;
(2.2) generating a resolvable playing audio buffer cache based on the quantization segment of the alarm signal, the set sampling frequency and the quantization digit;
and (2.3) reading the header file, the audio format and the data content which are already in the RAM space in the playing audio buffer cache, and carrying out data analysis processing.
In practical application, as shown in fig. 3, after setting the ALARM audio information, the ALARM audio information is cached in the RAM, and is logically processed according to the requirements of the client on response time and response times, when the ALARM signal a is triggered, the ALARM audio parameter MESSAGE _ a is set, at this time, a playable audio clip exists in the ARM space, and is processed according to the ALARM duration ALARM _ time and the ALARM times ARLAM _ count of the ALARM signal a, and the whole process is shown in the ALARM audio manufacturing process of fig. 4.
As a preferred embodiment of the present invention, the step (3) specifically comprises the following steps:
(3.1) receiving the parsed audio data;
(3.2) the system identifies audio key information in the configuration table according to the configuration table provided by the user;
(3.3) inputting the audio key information into a buffer container to obtain complete data of a section of audio;
(3.4) adding the acquired complete audio data with the sampling rate, the number of sampling point bytes and the number of sound channels preset by the system to obtain a complete audio data stream of the alarm audio;
and (3.5) finally, filling the acquired complete data stream of the alarm audio frequency into sound card equipment for external playing processing.
As a preferred embodiment of the present invention, the step (3.5) further comprises:
after the acquired data stream of the complete alarm audio is filled in the sound card device, time and data byte length of an audio file are required to be shifted, audio data are read sequentially, and audio logic is processed through a thread to ensure that queue sorting playing is performed according to priority.
Referring to fig. 4, after the program identifies the key audio information in the configuration table, the key information in the program is input into the buffer container to obtain complete audio data, and then complete audio data is added according to the preset sampling rate, the number of sampling points bytes, and the number of channels, so as to finally obtain a data stream of the complete alarm audio. When sound is processed to be played externally, the processed data stream is filled into sound card equipment, at the moment, time and data byte length of an audio file need to be shifted, audio data are read sequentially, then audio logic is processed through threads, queue sequencing playing is carried out according to the traditional priority, and the fact that the logical processing of a main process is not affected by alarm audio is guaranteed. Finally, the audio file is ensured not to be occupied all the time in Flash, and the system overhead is effectively reduced through online configuration and loading.
In one embodiment of the invention:
1. the customer requires the ADAS module alarm signal to quickly respond at the instrument end and ensures the synchronization of sound and alarm indicator light, and a new alarm audio frequency synthesis and triggering mode shown in figure 2 is introduced into the software architecture;
2. in the software summary design and detailed design review stage, a targeted review is performed by comparing the flowchart shown in fig. 2 in the technical scheme, so that the software is correctly introduced into the project;
3. and configuring basic parameters of alarm audio frequency of the event according to the alarm requirement of the liquid crystal display. Designing a system for realizing sound reminding and alarm picture reminding of a liquid crystal display;
4. and transplanting the strategy at the liquid crystal instrument end, entering a software testing stage, and performing targeted test on the fault tolerance and timeliness of the alarm signal by a professional testing team.
The device for realizing the configurable processing of the rapid alarm and the alarm audio of the automobile comprises:
a processor configured to execute computer-executable instructions;
and the memory stores one or more computer executable instructions, and when the computer executable instructions are executed by the processor, the steps of the automobile rapid alarm and alarm audio configurable processing method are realized.
The processor for realizing the configurable processing of the automobile rapid alarm and the alarm audio is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the steps of the method for realizing the configurable processing of the automobile rapid alarm and the alarm audio are realized.
The computer readable storage medium has a computer program stored thereon, and the computer program can be executed by a processor to implement the steps of the method for configurable processing of the automobile quick alarm and alarm audio.
In practical application, the alarm audio can be configured in diversity and flexibility according to the configuration table, and after the audio file is not stored in Flash, the processing speed of the alarm audio is better, meanwhile, the alarm audio can realize distortion-free and high-quality output, and the alarm audio and the alarm picture can be synchronized in real time.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
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 a memory and executed by a suitable instruction execution device.
It will be understood by those skilled in the art that all or part of the steps carried out in the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and the program, when executed, may comprise one or a combination of the steps of the method embodiments.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of terms "an embodiment," "some embodiments," "an example," "a specific example," or "an embodiment," 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.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, 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.
By adopting the method, the device, the processor and the computer-readable storage medium for realizing the configurable processing of the automobile rapid alarm and the alarm audio, the traditional scheme of reading an audio file to play sound is abandoned, the alarm audio is not required to be stored on Flash in a file form, and a Flash chip can be selected to be smaller in the development process of an automobile instrument, so that the cost is greatly reduced; meanwhile, the alarm audio does not need to be customized specially by a company any more, and stands at the angles of developers and customers, so that the audio sound can be configured more flexibly, the diversity and personalized configuration are greatly met, and the development period is further shortened; 3 for the instrument upgrade of the automobile, the light weight of the software upgrade package is brought by the local storage without audio files, and the upgrade and the flash speed are accelerated in the processes of diagnostic instrument upgrade, USB flash disk upgrade, OTA upgrade and factory software programming. Before this scheme is not used, the size of the USB flash disk upgrade package is 15M, and becomes 10M after use.
Meanwhile, before the technical scheme is not used, the difference between each alarm audio sound and the alarm lamp picture is 120ms on average, and after the scheme is used, the difference is effectively reduced to within 30ms, and finally the rapid alarm and sound-picture synchronization of the alarm signal are realized; compared with the traditional scheme, in order to save Flash storage resources, the quality of the audio is compressed, so that distortion is caused when the audio is played, and after the scheme is used, the quality of sound is saturated to the maximum extent and is consistent with the audio quality required by a client.
In this specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.

Claims (10)

1. A method for realizing configurable processing of quick alarm and alarm audio of an automobile is characterized by comprising the following steps:
(1) Triggering an alarm signal, and carrying out configuration processing for online making of an alarm audio data stream;
(2) Reading alarm audio configuration information of the alarm signal, and performing audio caching and analysis processing;
(3) And starting a thread to perform sound logic processing based on the acquired analysis audio data, and performing audio playing by using sound card equipment.
2. The method for realizing the configurable processing of the automobile quick alarm and the alarm audio according to claim 1, wherein the step (1) specifically comprises the following steps:
(1.1) triggering an alarm signal, and searching an audio configuration list according to a configuration table provided by a user;
and (1.2) carrying out configuration processing on the encoding format, the number of sound channels, the sampling frequency, the sampling size and the audio data size of the current alarm signal.
3. The method for realizing the configurable processing of the automobile quick alarm and the alarm audio according to claim 2, wherein the step (1.2) specifically comprises the following steps:
the alarm signal is set to be in wav audio format, the number of channels is set to be two channels, the sampling frequency is set to be 40kHz, and the sampling size and the audio data are generated according to the actual use scene of a user.
4. The method as claimed in claim 3, wherein after the alarm signal is configured, the alarm signal is buffered in RAM space for subsequent logic processing, and there is a playable audio clip in ARM space.
5. The method for realizing configurable processing of the automobile rapid alarm and the alarm audio according to claim 4, wherein the step (2) specifically comprises the following steps:
(2.1) reading data configuration information of the alarm signal;
(2.2) generating a resolvable playing audio buffer cache based on the quantization segments of the alarm signals, the set sampling frequency and the quantization bits;
and (2.3) reading the header file, the audio format and the data content which are already in the RAM space in the playing audio buffer cache, and carrying out data analysis processing.
6. The method for realizing configurable processing of automobile quick alarm and alarm audio according to claim 5, wherein the step (3) specifically comprises the following steps:
(3.1) receiving the parsed audio data;
(3.2) the system identifies audio key information in the configuration table according to the configuration table provided by the user;
(3.3) inputting the audio key information into a buffer container to obtain complete data of a section of audio;
(3.4) adding the acquired complete audio data with the sampling rate, the number of sampling point bytes and the number of sound channels preset by the system to obtain a complete audio data stream of the alarm audio;
and (3.5) finally, filling the acquired complete data stream of the alarm audio frequency into sound card equipment for external playing processing.
7. The method for implementing configurable automotive rapid alert and alert audio processing according to claim 6, wherein said step (3.5) further comprises:
after the acquired data stream of the complete alarm audio is filled in the sound card device, time and data byte length of an audio file are required to be shifted, audio data are read sequentially, and audio logic is processed through a thread to ensure that queue sorting playing is performed according to priority.
8. An apparatus for implementing configurable processing of fast alarm and alarm audio of a car, the apparatus comprising:
a processor configured to execute computer-executable instructions;
a memory storing one or more computer-executable instructions that, when executed by the processor, perform the steps of the method of automotive quick alert and alert audio configurable processing of any one of claims 1 to 7.
9. A processor for implementing configurable processing of automotive fast alert and alert audio, wherein the processor is configured to execute computer-executable instructions which, when executed by the processor, implement the steps of the configurable processing method of automotive fast alert and alert audio of any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program executable by a processor to perform the steps of the method for configurable processing of automotive quick alerts and alert tones as claimed in any one of claims 1 to 7.
CN202211155555.4A 2022-09-22 2022-09-22 Method, device, processor and computer storage medium for realizing configurable processing of automobile rapid alarm and alarm audio Pending CN115454374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211155555.4A CN115454374A (en) 2022-09-22 2022-09-22 Method, device, processor and computer storage medium for realizing configurable processing of automobile rapid alarm and alarm audio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211155555.4A CN115454374A (en) 2022-09-22 2022-09-22 Method, device, processor and computer storage medium for realizing configurable processing of automobile rapid alarm and alarm audio

Publications (1)

Publication Number Publication Date
CN115454374A true CN115454374A (en) 2022-12-09

Family

ID=84307271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211155555.4A Pending CN115454374A (en) 2022-09-22 2022-09-22 Method, device, processor and computer storage medium for realizing configurable processing of automobile rapid alarm and alarm audio

Country Status (1)

Country Link
CN (1) CN115454374A (en)

Similar Documents

Publication Publication Date Title
US9407921B2 (en) Adaptive codec selection
CN110070896B (en) Image processing method, device and hardware device
JPH04248593A (en) Digital audio and method and device for simultaneously outputting midi composite music
WO2023125169A1 (en) Audio processing method and apparatus, device, and storage medium
CN101682515A (en) Method for finding out the frame size of a multimedia sequence
CN112218115B (en) Control method and device for streaming media audio and video synchronization and computer equipment
CN109815448B (en) Slide generation method and device
CN111813465A (en) Information acquisition method, device, medium and equipment
CN115454374A (en) Method, device, processor and computer storage medium for realizing configurable processing of automobile rapid alarm and alarm audio
CN111432060B (en) Method and device for testing mobile phone audio module and storage medium
CN114021016A (en) Data recommendation method, device, equipment and storage medium
CN110536077B (en) Video synthesis and playing method, device and equipment
CN105430486B (en) The method and apparatus that audio or video plays
CN116170632A (en) Sound compensation method and device
CN116233411A (en) Method, device, equipment and computer storage medium for audio and video synchronous test
CN108335706B (en) Seamless playing method of multimedia file, terminal equipment and storage medium
US7797700B2 (en) Method of executing concurrent tasks by a subsystem managed by a central processor
CN109495786B (en) Pre-configuration method and device of video processing parameter information and electronic equipment
US7470848B2 (en) Structure and method for playing MIDI messages and multi-media apparatus using the same
CN118447870A (en) Audio processing method and electronic equipment
CN117827141A (en) Vehicle-mounted audio playing method, device, equipment and storage medium
CN113220264A (en) System, method, device, processor and storage medium for realizing automobile instrument audio synthesis and real-time play control
CN113656636B (en) Single-song information processing method and terminal equipment
CN115344406A (en) Multimedia file scanning method and device and electronic equipment
JP5229993B2 (en) 1-chip electronic musical tone generator

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