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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com