Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Real-time sound mixing method and device thereof

A sound mixing and sound mixer technology, which is applied in speech analysis, instruments, electro-acoustic musical instruments, etc., can solve problems such as poor user experience and difficult implementation

Pending Publication Date: 2021-11-16
广州大彩光电科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in embedded devices, this kind of mixing processing is often difficult to implement due to the limitation of hardware resources.
In order to solve this problem, in the past, multiple separate audio output devices were used to realize this function, but this method increased the complexity of the system and the cost of use, and the user experience was also poor.

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
  • Real-time sound mixing method and device thereof
  • Real-time sound mixing method and device thereof
  • Real-time sound mixing method and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] Please see figure 1 , figure 1 A schematic flowchart of a real-time sound mixing method is provided for the embodiment of the present application. Wherein, the real-time sound mixing method includes:

[0054] S101. Acquire multiple channel data lengths and multiple channel data offsets corresponding to multiple audio channels; the multiple channel data lengths and multiple channel data offsets correspond to each other.

[0055] In this embodiment, audio data is stored in the audio channel.

[0056] In this embodiment, the channel data length is the total length of the above audio data.

[0057] In this embodiment, the channel data offset is the data length of the audio data that has been output.

[0058] S102. Perform calculation according to the data lengths of the multiple channels and the data offsets of the multiple channels to obtain the unmixed lengths of the multiple channel data corresponding to the multiple audio channels.

[0059] In this embodiment, the ...

Embodiment 2

[0073] Please see figure 2 , figure 2 It is a schematic flowchart of a real-time sound mixing method provided by the embodiment of the present application. Such as figure 2 As shown, wherein, the real-time sound mixing method includes:

[0074] S201. Determine whether the mixer waiting counter is equal to the audio channel counter, if yes, perform steps S202-S207; if not, end the process.

[0075] As an optional implementation manner, before step S201, the method further includes:

[0076] Get raw audio data;

[0077] Determine whether the original audio data conforms to the PCM format;

[0078] When the original audio data does not conform to the PCM format, the original audio data is decoded to obtain the PCM audio data;

[0079] When the bit width, sampling frequency and channel of the PCM audio data are all the same as the preset values, the PCM audio data is placed into the audio channel.

[0080] In this embodiment, the audio data may be audio and video data. ...

Embodiment approach

[0091] As an optional implementation, the method may also include:

[0092] If the mixer wait counter is not equal to the audio channel counter, enter wait.

[0093] S202. Acquire multiple channel data lengths and multiple channel data offsets corresponding to multiple audio channels; the multiple channel data lengths and multiple channel data offsets correspond to each other.

[0094] S203. Perform calculation according to the data lengths of the multiple channels and the data offsets of the multiple channels to obtain the unmixed lengths of the multiple channel data corresponding to the multiple audio channels.

[0095] S204. Determine the channel data corresponding to the minimum channel data unmixed length among the multiple channel data unmixed lengths as the minimum length data.

[0096] S205. Based on the minimum length data, perform audio mixing processing on the multiple channel data in the multiple audio channels and record corresponding offsets to obtain a mixing r...

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 a real-time sound mixing method and a device thereof, and relates to the technical field of audio processing, and the real-time sound mixing method comprises the steps: obtaining a plurality of channel data lengths and a plurality of channel data offsets corresponding to a plurality of audio channels; wherein the plurality of channel data lengths and the plurality of channel data offsets are in one-to-one correspondence; performing calculation according to the multiple channel data lengths and the multiple channel data offsets to obtain multiple channel data unmixed lengths corresponding to the multiple audio channels; determining the channel data corresponding to the minimum channel data unmixed sound length in the multiple channel data unmixed sound lengths as the minimum length data; and by taking the minimum length data as a reference, carrying out sound mixing processing on a plurality of channel data in the plurality of audio channels and recording a corresponding offset to obtain a sound mixing result. Therefore, by implementing the implementation mode, the system complexity and the use cost can be reduced, and the use experience can be better.

Description

technical field [0001] The present application relates to the technical field of audio processing, and in particular, to a real-time sound mixing method and device. Background technique [0002] Currently, there are many audio devices on the market that perform audio mixing processing on multiple audio sources. However, in embedded devices, this kind of audio mixing processing is often difficult to implement due to the limitation of hardware resources. In order to solve this problem, previous attempts have been made to realize this function by means of multiple independent audio output devices, but this method increases the system complexity and use cost, and the use experience is also poor. Contents of the invention [0003] The purpose of the embodiments of the present application is to provide a real-time sound mixing method and device, which can reduce system complexity and use cost, and can make use experience better. [0004] The first aspect of the embodiment of t...

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
IPC IPC(8): G10L19/008G10H1/00
CPCG10L19/008G10H1/0033
Inventor 刘进李勇
Owner 广州大彩光电科技有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More