Audio file output method and device

An audio file and output method technology, applied in the direction of sound input/output, data processing input/output process, record carrier components, etc., can solve the problem of audio not being output in time, and achieve the effect of improving product competitiveness

Pending Publication Date: 2021-06-29
FORYOU GENERAL ELECTRONICS
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This makes many audios that are more important but not the highest priority not be output in time, especially when this happens to important electronic terminals such as instruments, it will often have serious consequences

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Audio file output method and device
  • Audio file output method and device
  • Audio file output method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] like figure 2 As shown, this embodiment provides an audio file output method, including:

[0049] Step 10: Receive a multi-cycle audio file.

[0050] Step 20: Send the data of each small period of the multi-period audio file to the audio file input channel in sequence.

[0051] In this embodiment, sending sequentially means that only one small-period audio file is sent each time. After the current small-period audio file is played, the next small-period audio file is sent, and so on.

[0052] Step 30: Start the countdown when the audio file of the current small period is played.

[0053] In this embodiment, the duration of the countdown is the duration of no audio in the current small period, for example figure 1 in t2 (600ms).

[0054] Step 40: When a single-cycle audio file with the same priority exists in the play queue, obtain the playback duration of the single-cycle audio file.

[0055] Step 50: Determine whether the sounding time of the single-cycle audio f...

Embodiment 2

[0059] Different from Embodiment 1, in this embodiment, before step 1, it further includes:

[0060] Step 01. Perform priority classification on audio files.

[0061] For example, audio file A is prioritized as the highest priority level 1, and audio file B is prioritized as the lowest priority level 5.

[0062] Step 02: Configure the number of input channels of the audio file according to the audio file priority.

[0063] The audio file has the same number of input channels as the audio file has the same priority category. Audio files of the same priority use the same audio file channel.

[0064]For example, this embodiment defines the highest priority level 1 and the lowest priority level 5, and configures five input channels of audio files.

Embodiment 3

[0066] Different from Embodiment 2, in this embodiment, after step 10, it further includes:

[0067] Step 11. Allocate the corresponding audio file input channel according to the priority of the multi-cycle audio file.

[0068] Step 12: Determine whether the audio input channel with a higher priority than the multi-period audio file is idle, if yes, go to the next step, otherwise, repeat this step.

[0069] In this embodiment, the step 12 includes:

[0070] Step 12a: Mix the audio input channel of the multi-cycle audio file with an audio input channel with a higher priority than the multi-cycle audio file to obtain a mixed audio file.

[0071] Step 12b, judging whether the mixed audio file is the same as the multi-period audio file, if yes, it is determined that the audio input channel with a higher priority than the multi-period audio file is in an idle state, otherwise it is determined as a non-idle state.

[0072] In this embodiment, the mixing and judging operations are ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an audio file output method and device. The method comprises the following steps: step 10, receiving a multi-cycle audio file; step 20, sequentially sending the data of each small period of the multi-period audio file to an audio file input channel; step 30, after the audio file in the current small period is played, starting countdown; step 40, when the single-cycle audio files with the same priority exist in the playing queue, obtaining the playing duration of the single-cycle audio files; step 50, judging whether the sounding time of the single-cycle audio file is less than the countdown remaining time, if so, playing the single-cycle audio file, and otherwise, entering the next step; and step 60, judging whether the multi-cycle audio file is completely played or not, if so, ending playing, and otherwise, returning to the step 2. According to the invention, the single-cycle audio files with the same priority can be output in time, and the product competitiveness is improved.

Description

technical field [0001] The present invention relates to the technical field of audio, and in particular, to an audio file output method and device. Background technique [0002] At present, there is usually only one audio output channel of an electronic terminal. When the system has multiple audio outputs to be output, the system needs to determine whether there is an audio output with a higher priority than the currently playing audio among these audio output requirements. The currently output audio needs to be interrupted. If it does not exist, the requested audio can only be output after the current audio is all played. [0003] However, in some electronic terminal products, there are audio files in various formats, including multi-period audio files. The signal period of these audio files is not a single fixed period, but contains multiple different small periods. The small period makes up the full period of this multi-period audio file; it also includes single-period a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/16G11B27/10
CPCG06F3/165G11B27/102
Inventor 卜俊吉
Owner FORYOU GENERAL ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products