CN113257287A - Audio file visualization method and device, storage medium and electronic equipment - Google Patents
Audio file visualization method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN113257287A CN113257287A CN202110462241.8A CN202110462241A CN113257287A CN 113257287 A CN113257287 A CN 113257287A CN 202110462241 A CN202110462241 A CN 202110462241A CN 113257287 A CN113257287 A CN 113257287A
- Authority
- CN
- China
- Prior art keywords
- audio
- audio file
- target audio
- target
- playing time
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10009—Improvement or modification of read or write signals
- G11B20/10018—Improvement or modification of read or write signals analog processing for digital recording or reproduction
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present disclosure relates to an audio file visualization method, apparatus, storage medium, and electronic device, the audio file visualization method obtains a target audio file; acquiring the total playing time corresponding to the target audio file; under the condition that the total playing time length is determined to be greater than or equal to a preset time length threshold value, dividing the target audio file into a plurality of audio segments according to the total playing time length; the oscillogram corresponding to each audio clip is generated and displayed, so that the oscillogram corresponding to the audio file can be generated and displayed in a segmented mode, the phenomenon that the memory of a browser is full due to the fact that the audio file is too large in the process of generating the audio file, and then the visual program is broken down or even is flashed back can be effectively avoided, and user experience can be effectively improved.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an audio file visualization method and apparatus, a storage medium, and an electronic device.
Background
In a voice annotation process, in order to facilitate annotation, it is generally required to visualize a related audio file, that is, to display a waveform diagram of the audio file on a front-end webpage, and a current method for generating a waveform diagram of an audio file generally installs an audio visualization plug-in (e.g., waveform surfer. js) in a browser, and displays the waveform diagram of the audio file through the audio visualization plug-in.
However, the inventor found that when the audio visual plug-in is used to display the waveform of the audio file, if the memory occupied by the audio file is large, the memory of the browser is easily full in the generation process of the waveform map, so that the browser is crashed or even flashed back.
Disclosure of Invention
The invention aims to provide an audio file visualization method and device, a storage medium and electronic equipment.
In order to achieve the above object, a first aspect of the present disclosure provides an audio file visualization method, the method including:
acquiring a target audio file;
acquiring the total playing time corresponding to the target audio file;
under the condition that the total playing time length is determined to be greater than or equal to a preset time length threshold value, dividing the target audio file into a plurality of audio segments according to the total playing time length;
and generating a waveform diagram corresponding to each audio clip, and displaying the waveform diagrams.
Optionally, the dividing the target audio file into a plurality of audio segments according to the total playing duration includes:
and dividing the target audio file into a plurality of audio clips according to the total playing time length and preset audio clip time length.
Optionally, the generating a waveform diagram corresponding to each audio segment and displaying the waveform diagrams includes:
under the condition that the target audio file is determined to be in a playing state, acquiring current playing time;
and under the condition that the current playing time is determined to belong to a target audio clip, generating a waveform diagram corresponding to the target audio clip, and displaying the waveform diagram corresponding to the target audio clip, wherein the target audio clip is any one of the audio clips.
Optionally, the generating a waveform diagram corresponding to the target audio segment includes:
acquiring a binary data stream corresponding to the target audio clip;
decoding the binary data stream to obtain audio track data corresponding to the binary data stream;
and generating a waveform diagram corresponding to the target audio clip according to the audio track data.
In a second aspect of the present disclosure there is provided an audio file visualization apparatus, the apparatus comprising:
the first acquisition module is used for acquiring a target audio file;
the second acquisition module is used for acquiring the total playing time corresponding to the target audio file;
the dividing module is used for dividing the target audio file into a plurality of audio segments according to the total playing time length under the condition that the total playing time length is determined to be greater than or equal to a preset time length threshold value;
and the generating module is used for generating a waveform diagram corresponding to each audio clip and displaying the waveform diagrams.
Optionally, the dividing module is configured to:
and dividing the target audio file into a plurality of audio clips according to the total playing time length and preset audio clip time length.
Optionally, the generating module is configured to:
under the condition that the target audio file is determined to be in a playing state, acquiring current playing time;
and under the condition that the current playing time is determined to belong to a target audio clip, generating a waveform diagram corresponding to the target audio clip, and displaying the waveform diagram corresponding to the target audio clip, wherein the target audio clip is any one of the audio clips.
Optionally, the generating module is configured to:
acquiring a binary data stream corresponding to the target audio clip;
decoding the binary data stream to obtain audio track data corresponding to the binary data stream;
and generating a waveform diagram corresponding to the target audio clip according to the audio track data.
In a third aspect of the present disclosure there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method as set forth in the first aspect above.
In a fourth aspect of the present disclosure, there is provided an electronic device comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of the first aspect above.
According to the technical scheme, the target audio file is obtained; acquiring the total playing time corresponding to the target audio file; under the condition that the total playing time length is determined to be greater than or equal to a preset time length threshold value, dividing the target audio file into a plurality of audio segments according to the total playing time length; and generating a waveform diagram corresponding to each audio clip, and displaying the waveform diagrams. Therefore, the generation of the segments and the display of the oscillogram corresponding to the audio file can be realized, the phenomenon that the memory of the browser is full due to the fact that the audio file is too large in the process of generating the audio file, and then the visual program is crashed or even is flashed back can be effectively avoided, and the user experience can be effectively improved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a method of audio file visualization in accordance with an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method of audio file visualization in accordance with another exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating a method of audio file visualization in accordance with the embodiment shown in FIG. 2;
fig. 4 is a block diagram of an audio file visualization apparatus shown in yet another exemplary embodiment of the present disclosure;
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Before describing the embodiments of the present disclosure in detail, the following description is first made on specific scenarios of the present disclosure, and the present disclosure may be applied to a scenario where voice annotation requires audio file visualization, where the audio file visualization referred to in the present disclosure refers to generating and displaying a waveform diagram of an audio file, and a current method for generating a waveform diagram of an audio file generally installs a waveform of the audio file in a browser, and displays the waveform diagram of the audio file through the waveform of the audio file.
Js shows the principle of the waveform diagram of an audio file: the method comprises the steps of acquiring a binary data stream corresponding to an audio file by using a browser bottom API (Application Programming Interface), decoding the acquired audio file to obtain a data form which can be identified and processed by a browser, and then generating and displaying a complete visual oscillogram of the audio file by using canvs according to the decoded data. However, the inventor found that when the audio visual plug-in is used to display the waveform of the audio file, if the memory occupied by the audio file is large, the browser memory is easily full during the processes of decoding the audio file and drawing the waveform diagram by canvs, so that the browser is crashed or even flashed back.
In order to solve the technical problem, the present disclosure provides an audio file visualization method, an apparatus, a storage medium, and an electronic device, where the audio file visualization method divides a target audio file into a plurality of audio segments according to a total playing duration when it is determined that the total playing duration is greater than or equal to a preset duration threshold; the oscillogram corresponding to each audio clip is generated and displayed, so that the oscillogram corresponding to the audio file can be generated and displayed in a segmented mode, the phenomenon that the memory of a browser is full due to the fact that the audio file is too large in the process of generating the audio file, and then the visual program is broken down or even is flashed back can be effectively avoided, and user experience can be effectively improved.
The technical scheme of the disclosure is described in detail by combining specific embodiments.
Fig. 1 is a flowchart illustrating an audio file visualization method according to an exemplary embodiment of the present disclosure, and referring to fig. 1, the audio file visualization method may include the following steps:
The target audio file may be an audio file, or an audio portion in an audio-video file.
In this step, the target audio file may be a binary data stream in an arraybuffer interface, where arraybuffer is a general original binary data buffer interface with a fixed length.
And 102, acquiring the total playing time corresponding to the target audio file.
And 103, under the condition that the total playing time length is determined to be greater than or equal to a preset time length threshold, dividing the target audio file into a plurality of audio segments according to the total playing time length.
In this step, under the condition that it is determined that the total playing time is less than the preset time threshold, audio segments may not be divided for the target audio file. Under the condition that the total playing time length is determined to be greater than or equal to the preset time length threshold, the target audio file can be divided into a plurality of audio segments according to the total playing time length and the preset audio segment time length.
When the target audio file is divided into a plurality of audio segments according to the preset audio segment duration, a quotient value and a remainder obtained by dividing the total playing duration by the preset audio segment duration can be obtained, and audio segment division is carried out according to the quotient value and the remainder.
In one possible implementation, if the remainder is determined to be zero, dividing the target audio file into a number of audio segments corresponding to the quotient according to the playing sequence, where the playing duration corresponding to each audio segment is the preset audio segment duration; if the remainder is determined to be nonzero, determining whether the remainder is less than half of the preset audio clip duration, and if the remainder is determined to be less than half of the preset audio clip duration, dividing the target audio file into the quotient-value audio clips, wherein the audio data corresponding to the target duration at the tail of the target audio file is determined to be the last audio clip, and the target duration is the sum of the preset audio clip duration and the remainder.
In addition, under the condition that the remainder is determined to be greater than or equal to half of the duration of the preset audio clip, the target audio file is divided into a target number of audio clips, wherein the target number is obtained by adding one to the quotient, the audio data corresponding to the target duration at the end of the target audio file is determined as one audio clip, and the target duration is the duration corresponding to the remainder.
Illustratively, when the total playing time length is 50 minutes, the preset time length threshold is 20 minutes, and the preset audio segment time length is 6 minutes, the audio data of every 6 minutes in the target audio file from the playing start time is taken as an audio segment, and since 50 is divided by 6, the quotient is 8, and the remainder is 2, the audio data of 8 minutes at the end of the playing time length in the target audio file (i.e. 42 th to 50 th minutes of the playing time) is determined as the 8 th audio segment.
And 104, generating a waveform diagram corresponding to each audio segment, and displaying the waveform diagrams.
In this step, one possible implementation manner is: under the condition that the target audio file is determined to be in a playing state, acquiring current playing time; and under the condition that the current playing time is determined to belong to a target audio clip, generating a waveform diagram corresponding to the target audio clip, and displaying the waveform diagram corresponding to the target audio clip, wherein the target audio clip is any one of a plurality of audio clips.
Wherein, the generating the oscillogram corresponding to the target audio segment includes: acquiring a binary data stream corresponding to the target audio clip; decoding the binary data stream to obtain audio track data corresponding to the binary data stream; and generating a waveform diagram corresponding to the target audio clip according to the audio track data.
According to the technical scheme, under the condition that the total playing time is determined to be greater than or equal to a preset time threshold, the target audio file is divided into a plurality of audio segments according to the total playing time; the oscillogram corresponding to each audio clip is generated and displayed, the oscillogram corresponding to the audio file can be generated and displayed in a segmented mode, the phenomenon that the memory of a browser is full due to the fact that the audio file is too large in the process of generating the audio file, and then the phenomenon that a visual program collapses or even flashes back can be avoided effectively, and therefore user experience can be effectively improved.
FIG. 2 is a flow chart illustrating a method of audio file visualization in accordance with another exemplary embodiment of the present disclosure; referring to fig. 2, the method may include the steps of:
The target audio file may be an audio file, or an audio portion in an audio-video file.
In this step, the target audio file may be a binary data stream in an arraybuffer interface, where arraybuffer is a general original binary data buffer interface with a fixed length.
Step 203, under the condition that the total playing time length is determined to be greater than or equal to the preset time length threshold, dividing the target audio file into a plurality of audio segments according to the total playing time length and the preset audio segment time length.
The quotient and remainder obtained by dividing the total playing time length by the preset audio segment time length can be obtained to divide the audio segment according to the quotient and the remainder.
In one possible implementation, if the remainder is determined to be zero, dividing the target audio file into a number of audio segments corresponding to the quotient according to the playing sequence, where the playing duration corresponding to each audio segment is the preset audio segment duration; if the remainder is determined to be nonzero, determining whether the remainder is less than half of the preset audio segment duration, and if the remainder is determined to be less than half of the preset audio segment duration, dividing the target audio file into the quotient-value audio segments, wherein the audio data corresponding to the target duration at the tail of the target audio file is determined to be an audio segment, and the target duration is the sum of the preset audio segment duration and the remainder.
In addition, under the condition that the remainder is determined to be greater than or equal to half of the duration of the preset audio clip, the target audio file is divided into a target number of audio clips, wherein the target number is obtained by adding one to the quotient, the audio data corresponding to the target duration at the end of the target audio file is determined as the last audio clip, and the target duration is the duration corresponding to the remainder.
Illustratively, when the total playing time length is 45 minutes, the preset time length threshold is 30 minutes, and the preset audio segment time length is 10 minutes, then the audio data of every 10 minutes in the target audio file from the playing start time is taken as an audio segment, since 45 is divided by 10, the quotient is 4, the remainder is 5, and the remainder is equal to half of the preset audio segment time length, the audio data of 5 minutes (i.e. 40 th to 45 th minutes of the playing time) at the end of the playing time length in the target audio file is determined as the 5 th audio segment.
Illustratively, still taking the example shown in step 203 as an example, the total playing time of the target audio file is 45 minutes, each 10 minutes is one audio clip, the target audio file is divided into 5 audio clips, and the current playing time is 25 minutes, that is, the target audio clip is the 3 rd audio clip (that is, the audio data with the playing time of 20 to 30 minutes).
Step 205, in case that it is determined that the current playing time belongs to the target audio segment, generating a waveform diagram corresponding to the target audio segment, and displaying the waveform diagram corresponding to the target audio segment.
Wherein the target audio segment is any one of the plurality of audio segments.
In this step, the embodiment of generating the waveform diagram corresponding to the target audio segment may include the following steps shown in fig. 3, where fig. 3 is a flowchart of an audio file visualization method shown in the embodiment shown in fig. 2, and as shown in fig. 3, the steps include:
For example, the binary data stream corresponding to the target audio segment may be obtained from the arraybuffer, and in a case that the target audio segment is the 3 rd audio segment, the binary data stream with the playing time of 20 to 30 minutes may be obtained from the arraybuffer.
Step 2052, decode the binary data stream to obtain the audio track data corresponding to the binary data stream.
Illustratively, the binary data stream may be decoded by calling a decodeAudioData interface of the OfflineAudioContext object to obtain audio track data corresponding to the binary data stream, and the audio track data is placed in an AudioBuffer, where the decodeAudioData and the AudioBuffer of the OfflineAudioContext object are API interfaces.
In this step, the audio track data read from the AudioBuffer may be processed to generate a waveform diagram through a canvs function, and the audio track data read from the AudioBuffer may be processed to create an audio source through a createbufferssource, so as to play the audio track data, where the createbufferssource and canvs are also API interfaces.
Illustratively, still taking the example shown in step 204 as an example, when the current playing time is 25 minutes, the target audio clip is the 3 rd audio clip, that is, the audio data corresponding to the playing time 20 to 30 minutes, and at this time, only the waveform diagram corresponding to the playing time 20 to 30 minutes is generated and displayed.
According to the technical scheme, the oscillogram corresponding to the audio file can be generated and displayed in a segmented mode, the phenomenon that the memory of the browser is full due to the fact that the audio file is too large in the process of generating the audio file, and then the visual program is broken down or even is flashed back can be effectively avoided, and therefore user experience can be effectively improved.
Fig. 4 is a block diagram of an audio file visualization apparatus shown in yet another exemplary embodiment of the present disclosure; referring to fig. 4, the apparatus may include:
a first obtaining module 401, configured to obtain a target audio file;
a second obtaining module 402, configured to obtain a total playing duration corresponding to the target audio file;
a dividing module 403, configured to divide the target audio file into a plurality of audio segments according to the total playing time length when it is determined that the total playing time length is greater than or equal to a preset time length threshold;
and a generating module 404, configured to generate a waveform map corresponding to each audio segment, and display the waveform map.
According to the technical scheme, under the condition that the total playing time is determined to be greater than or equal to a preset time threshold value through a dividing module, the target audio file is divided into a plurality of audio segments according to the total playing time; the oscillogram corresponding to each audio clip is generated through the generation module, the oscillogram is displayed, the oscillogram corresponding to the audio file can be generated and displayed in a segmented mode, the phenomenon that in the process of generating the audio file, the browser memory is full due to the fact that the audio file is too large, then the visual program is crashed or even is flashed back can be effectively avoided, and therefore user experience can be effectively improved.
Optionally, the dividing module 403 is configured to:
and dividing the target audio file into a plurality of audio clips according to the total playing time length and the preset audio clip time length.
Optionally, the generating module 404 is configured to:
under the condition that the target audio file is determined to be in a playing state, acquiring current playing time;
and under the condition that the current playing time is determined to belong to a target audio clip, generating a waveform diagram corresponding to the target audio clip, and displaying the waveform diagram corresponding to the target audio clip, wherein the target audio clip is any one of a plurality of audio clips.
Optionally, the generating module 404 is configured to:
acquiring a binary data stream corresponding to the target audio clip;
decoding the binary data stream to obtain audio track data corresponding to the binary data stream;
and generating a waveform diagram corresponding to the target audio clip according to the audio track data.
According to the technical scheme, the oscillogram corresponding to the audio file can be generated and displayed in a segmented mode, the phenomenon that the memory of the browser is full due to the fact that the audio file is too large in the process of generating the audio file, and then the visual program is broken down or even is flashed back can be effectively avoided, and therefore user experience can be effectively improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment. As shown in fig. 5, the electronic device 500 may include: a processor 501 and a memory 502. The electronic device 500 may also include one or more of a multimedia component 503, an input/output (I/O) interface 504, and a communication component 505.
The processor 501 is configured to control the overall operation of the electronic device 500, so as to complete all or part of the steps in the audio file visualization method. The memory 502 is used to store various types of data to support operation at the electronic device 500, such as instructions for any application or method operating on the electronic device 500 and application-related data, such as contact data, messaging, pictures, audio, video, and so forth. The Memory 502 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia component 503 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 502 or transmitted through the communication component 505. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 504 provides an interface between the processor 501 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 505 is used for wired or wireless communication between the electronic device 500 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding Communication component 505 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described audio file visualization method.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the audio file visualization method described above is also provided. For example, the computer readable storage medium may be the memory 502 described above comprising program instructions executable by the processor 501 of the electronic device 500 to perform the audio file visualization method described above.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.
Claims (10)
1. A method for audio file visualization, the method comprising:
acquiring a target audio file;
acquiring the total playing time corresponding to the target audio file;
under the condition that the total playing time length is determined to be greater than or equal to a preset time length threshold value, dividing the target audio file into a plurality of audio segments according to the total playing time length;
and generating a waveform diagram corresponding to each audio clip, and displaying the waveform diagrams.
2. The method of claim 1, wherein the dividing the target audio file into a plurality of audio segments according to the total playing time comprises:
and dividing the target audio file into a plurality of audio clips according to the total playing time length and preset audio clip time length.
3. The method of claim 1, wherein generating a waveform map corresponding to each of the audio segments and displaying the waveform maps comprises:
under the condition that the target audio file is determined to be in a playing state, acquiring current playing time;
and under the condition that the current playing time is determined to belong to a target audio clip, generating a waveform diagram corresponding to the target audio clip, and displaying the waveform diagram corresponding to the target audio clip, wherein the target audio clip is any one of the audio clips.
4. The method of claim 3, wherein generating the waveform map corresponding to the target audio segment comprises:
acquiring a binary data stream corresponding to the target audio clip;
decoding the binary data stream to obtain audio track data corresponding to the binary data stream;
and generating a waveform diagram corresponding to the target audio clip according to the audio track data.
5. An audio file visualization apparatus, the apparatus comprising:
the first acquisition module is used for acquiring a target audio file;
the second acquisition module is used for acquiring the total playing time corresponding to the target audio file;
the dividing module is used for dividing the target audio file into a plurality of audio segments according to the total playing time length under the condition that the total playing time length is determined to be greater than or equal to a preset time length threshold value;
and the generating module is used for generating a waveform diagram corresponding to each audio clip and displaying the waveform diagrams.
6. The apparatus of claim 5, wherein the partitioning module is configured to:
and dividing the target audio file into a plurality of audio clips according to the total playing time length and preset audio clip time length.
7. The apparatus of claim 5, wherein the generating module is configured to:
under the condition that the target audio file is determined to be in a playing state, acquiring current playing time;
and under the condition that the current playing time is determined to belong to a target audio clip, generating a waveform diagram corresponding to the target audio clip, and displaying the waveform diagram corresponding to the target audio clip, wherein the target audio clip is any one of the audio clips.
8. The apparatus of claim 7, wherein the generating module is configured to:
acquiring a binary data stream corresponding to the target audio clip;
decoding the binary data stream to obtain audio track data corresponding to the binary data stream;
and generating a waveform diagram corresponding to the target audio clip according to the audio track data.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110462241.8A CN113257287A (en) | 2021-04-27 | 2021-04-27 | Audio file visualization method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110462241.8A CN113257287A (en) | 2021-04-27 | 2021-04-27 | Audio file visualization method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113257287A true CN113257287A (en) | 2021-08-13 |
Family
ID=77222093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110462241.8A Pending CN113257287A (en) | 2021-04-27 | 2021-04-27 | Audio file visualization method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113257287A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089809A (en) * | 2021-10-09 | 2022-02-25 | 普源精电科技股份有限公司 | Waveform sequence processing device, method, electronic device, and storage medium |
CN116996810A (en) * | 2023-07-31 | 2023-11-03 | 广州星际悦动股份有限公司 | Audio processing method, device, equipment and storage medium of oral care equipment |
CN118233454A (en) * | 2024-05-09 | 2024-06-21 | 成都中科合迅科技有限公司 | File batch uploading method and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108877838A (en) * | 2018-07-17 | 2018-11-23 | 黑盒子科技(北京)有限公司 | Music special efficacy matching process and device |
CN109215659A (en) * | 2017-06-30 | 2019-01-15 | 北京国双科技有限公司 | Processing method, the device and system of voice data |
CN110516108A (en) * | 2019-09-04 | 2019-11-29 | 苏州思必驰信息科技有限公司 | The method and system of browser broadcasting audio |
CN112667192A (en) * | 2020-12-22 | 2021-04-16 | 北京小米移动软件有限公司 | Shell display state control method and device, electronic equipment and storage medium |
-
2021
- 2021-04-27 CN CN202110462241.8A patent/CN113257287A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109215659A (en) * | 2017-06-30 | 2019-01-15 | 北京国双科技有限公司 | Processing method, the device and system of voice data |
CN108877838A (en) * | 2018-07-17 | 2018-11-23 | 黑盒子科技(北京)有限公司 | Music special efficacy matching process and device |
CN110516108A (en) * | 2019-09-04 | 2019-11-29 | 苏州思必驰信息科技有限公司 | The method and system of browser broadcasting audio |
CN112667192A (en) * | 2020-12-22 | 2021-04-16 | 北京小米移动软件有限公司 | Shell display state control method and device, electronic equipment and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114089809A (en) * | 2021-10-09 | 2022-02-25 | 普源精电科技股份有限公司 | Waveform sequence processing device, method, electronic device, and storage medium |
CN114089809B (en) * | 2021-10-09 | 2024-02-23 | 普源精电科技股份有限公司 | Waveform sequence processing device, method, electronic equipment and storage medium |
CN116996810A (en) * | 2023-07-31 | 2023-11-03 | 广州星际悦动股份有限公司 | Audio processing method, device, equipment and storage medium of oral care equipment |
CN118233454A (en) * | 2024-05-09 | 2024-06-21 | 成都中科合迅科技有限公司 | File batch uploading method and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113257287A (en) | Audio file visualization method and device, storage medium and electronic equipment | |
US20220148622A1 (en) | Processing method, electronic device, and non-transitory computer-readable storage medium | |
CN107168780B (en) | Virtual reality scene loading method and equipment and virtual reality equipment | |
CN110543481B (en) | Data processing method and device, computer equipment and storage medium | |
CN113190314A (en) | Interactive content generation method and device, storage medium and electronic equipment | |
CN113377366B (en) | Control editing method, device, equipment, readable storage medium and product | |
CN110781349A (en) | Method, equipment, client device and electronic equipment for generating short video | |
CN106782576B (en) | Audio mixing method and device | |
CN106470353B (en) | Multimedia data processing method and device and electronic equipment | |
CN113507637A (en) | Media file processing method, device, equipment, readable storage medium and product | |
CN113395538B (en) | Sound effect rendering method and device, computer readable medium and electronic equipment | |
CN110415716B (en) | Audio mixing method and device, storage medium and electronic equipment | |
US9380189B2 (en) | Method of providing information configuration function in video play device and video play device | |
CN111767006B (en) | Data processing method and device | |
CN113391811A (en) | Function compiling method and device, electronic equipment and computer readable storage medium | |
CN109257688B (en) | Audio distinguishing method and device, storage medium and electronic equipment | |
CN113535105B (en) | Media file processing method, device, equipment, readable storage medium and product | |
CN108966315B (en) | Wireless network acquisition method and device and electronic equipment | |
CN114997117A (en) | Document editing method, device, terminal and non-transitory storage medium | |
CN108255486B (en) | View conversion method and device for form design and electronic equipment | |
CN104244093A (en) | Graphical interface display method and player terminal | |
CN115291759A (en) | Information processing method and device and electronic equipment | |
CN111709342B (en) | Subtitle segmentation method, device, equipment and storage medium | |
CN109889737B (en) | Method and apparatus for generating video | |
CN112153439A (en) | Interactive video processing method, device and equipment and readable 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210813 |
|
RJ01 | Rejection of invention patent application after publication |