Scalable voice scene media server
By ranking and grouping audio streams in the media server, combined with weighting functions and perceptual salience metadata, bandwidth management and scalability issues in multi-party communications are solved, and high-quality audio streaming transmission and scene perception effects are achieved.
Patent Information
- Application Number
- CN202080035165.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-03-19
- Filing Date
- 2020-04-03
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-04-03
AI Technical Summary
Existing video and audio teleconferencing systems struggle to achieve effective bandwidth management and scalability when managing multi-party communications, especially when handling multiple clients, resulting in increased server load and discontinuous audio scene perception.
By ranking multiple audio streams in the media server, grouping and forwarding the highest-ranked streams, discarding the lowest-ranked streams, and utilizing weighting functions and perceptual salience metadata to optimize the processing and transmission of audio streams, ensuring that the client receives Audio streaming is of high quality and continuous scene awareness.
It achieves high-quality audio streaming transmission in multi-party communication scenarios, reduces server processing load, improves bandwidth management efficiency, ensures the continuity and perception of audio scenes, and reduces costs and delays.
Smart Images

Figure CN113812136B_ABST
Abstract
Description
[0001] CROSS REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of priority to U.S. Provisional Patent Application No. 62 / 991,645 filed on March 19, 2020, U.S. Provisional Patent Application No. 62 / 840,857 filed on April 30, 2019, European Patent Application No. 19186491.7 filed on July 16, 2019, and International Application No. PCT / CN2020 / 076047 filed on February 20, 2020 (which claims the benefit of International Application No. PCT / CN2019 / 081317 filed on April 3, 2019), all of which are hereby incorporated by reference in their entirety. Technical Field
[0003] The present application relates generally to multi-party communications. More specifically, the present application relates to a scalable voice scene media server and method for, among other things, audio and voice communications. Background Art
[0004] Video and audio conference call systems can allow multiple parties to interact remotely for conferences. Typically, existing designs of central media servers for voice-over audio conferences use some strategy or a combination of strategies in one of two forms.
[0005] In one form, by forwarding all incoming audio streams to all participants who will listen to them in the conference, the server can avoid all processing load and give the client more rendering flexibility. However, this approach cannot scale and manage downstream bandwidth.
[0006] In another form, the server may be able to minimize and have a fixed downstream bandwidth regardless of the number of clients in the conference by mixing the incoming streams into a specific mix or spatial audio scene as will be received by each endpoint, and sending only that mix. However, this approach requires a lot of processing and audio decoding, mixing, and re-encoding on the server, which will incur costs and additional processing delays. Even with such systems attempting to reduce and reuse various processing and mixing operations, this still remains a large load. Once mixed, the likelihood that the client will significantly change the perceived audio scene to a different scene than that provided by the server (e.g., implementing head tracking) is limited.
[0007] The system may involve some combination of the previous two forms, alternating between using forwarding for situations where only a few speakers are active and using mixing for situations where many speakers are active. However, such systems may have disadvantages, such as not being able to provide sufficient increases in efficiency, scalability, or bandwidth management.
[0008] Therefore, there is a need for systems and methods that manage the peak and average data bit rates sent to the client without having to perform intensive audio mixing on the server. In addition, there is a need for systems and methods that have the ability to individually reproduce the spatial position of each stream into a plausible and perceived continuous scene regardless of any mixing or culling operations occurring on the server. Summary of the invention
[0009] Various aspects of the present invention relate to circuits, systems and methods for scalable multi-party communications including voice communications.
[0010] In one exemplary aspect of the present invention, a communication system is provided, comprising a media server configured to receive a plurality of audio streams from a corresponding plurality of client devices, the media server including a circuit system configured to: rank the plurality of audio streams based on a predetermined metric; group a first portion of the plurality of audio streams into a first group, the first portion of the plurality of audio streams being the N highest ranked audio streams; group a second portion of the plurality of audio streams into a second group, the second portion of the plurality of audio streams being the M lowest ranked audio streams; forward corresponding audio streams of the first group to a receiver device; and discard corresponding audio streams of the second group, wherein N and M are independent integers.
[0011] In another exemplary aspect of the present invention, a communication method is provided, comprising: receiving a plurality of audio streams from a corresponding plurality of client devices; ranking the plurality of audio streams based on a predetermined metric; grouping a first portion of the plurality of audio streams into a first group, the first portion of the plurality of audio streams being the N highest ranked audio streams; grouping a second portion of the plurality of audio streams into a second group, the second portion of the plurality of audio streams being the M lowest ranked audio streams; forwarding corresponding audio streams of the first group to a receiver device; and discarding corresponding audio streams of the second group, wherein N and M are independent integers.
[0012] In another exemplary aspect of the present invention, a non-transitory computer-readable medium is provided that stores instructions that, when executed by a processor of a media server, cause the media server to perform operations including: receiving a plurality of audio streams from a corresponding plurality of client devices; ranking the plurality of audio streams based on a predetermined metric; grouping a first portion of the plurality of audio streams into a first group, the first portion of the plurality of audio streams being the N highest ranked audio streams; grouping a second portion of the plurality of audio streams into a second group, the second portion of the plurality of audio streams being the M lowest ranked audio streams; forwarding corresponding audio streams of the first group to a receiver device; and discarding corresponding audio streams of the second group, wherein N and M are independent integers.
[0013] In this way, various aspects of the present invention provide improvements at least in the field of telecommunication technology.
[0014] The present invention may be embodied in various forms, including hardware or circuits controlled by computer-implemented methods, computer program products, computer systems and networks, user interfaces and application programming interfaces; as well as hardware-implemented methods, signal processing circuits, memory arrays, application specific integrated circuits, field programmable gate arrays, etc. The foregoing summary is intended only to give a general idea of the various aspects of the invention and is not intended to limit the scope of the invention in any way. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] These and other more detailed and specific features of various embodiments are more fully disclosed in the following description with reference to the accompanying drawings, in which:
[0016] Figures 1A to 1C An exemplary communication system according to various aspects of the present invention is respectively illustrated;
[0017] Figure 2 illustrates a plot of exemplary voice activity data according to various aspects of the present invention;
[0018] Figures 3A to 3C respectively illustrate exemplary weighting functions according to various aspects of the present invention;
[0019] Figure 4 Another exemplary communication system according to various aspects of the present invention is illustrated;
[0020] Figure 5 illustrates a flow chart of an exemplary communication method according to various aspects of the present invention; and
[0021] Fig. 6A The flowchart of another exemplary communication method according to various aspects of the present invention is illustrated;
[0022] Figure 6B illustrates a flow chart of another exemplary communication method according to various aspects of the present invention; and
[0023] Figure 7 The diagram illustrates a flow of another exemplary communication method according to various aspects of the present invention. DETAILED DESCRIPTION
[0024] In the following description, numerous details such as circuit configuration, timing, operation, etc. are set forth to provide an understanding of one or more aspects of the present invention. It will be apparent to those skilled in the art that these specific details are merely exemplary and are not intended to limit the scope of the present application.
[0025] Furthermore, while the present invention focuses primarily on examples where various circuits are used in voice communications, it will be understood that this is only one example of an implementation. It will be further understood that the disclosed systems and methods may be used in any device where it is desired to create pervasive audio connectivity for various sound sources and destinations; for example, global communications, the Internet of Things, virtual and augmented reality systems, alternative and mixed reality systems, broader collaboration, community growth and support, etc. Furthermore, the disclosed systems and methods may be applicable to audio-only applications as well as combinations of audio and other sensory modalities.
[0026] Overview
[0027] Various aspects of the present invention provide a system in which it is possible to create a high quality and in some cases indistinguishable impression of a scene with many simultaneous speakers while transmitting only a subset of the actual audio streams at any point in time. Thus, various aspects of the present invention exploit various aspects of the neurological, neurophysiological, and perceptual factors in human hearing to create the illusion of a complete complex speech scene without the need for exhaustive data transmission or mixing.
[0028] Humans tend to group audio components across time and frequency into smaller groups of perceptual objects when possible. That is, humans tend to analyze auditory scenes in terms of stream perception, where similarities in space, spectrum, temporal behavior, texture, pitch, pitch shift, etc., cause objects to blend together. Furthermore, humans are able to perceive continuity of elements across the auditory stream, even when such continuity may not exist in the stimulus.
[0029] Phoneme restoration is a factor in the illusion of continuity and its degree of association with the complete perception of advanced brain functions and auditory scenes. For example, when a listener is listening to a single speaker and a syllable is covered or removed from the audio and properly masked, the listener will perceive the sound of the removal. For meaningful language, the perceived sound will be the most meaningful sound for the sentence. Here, "masking" does not refer to the neglect of audio content, but to covering a specific sound with another sound or noise. In this way, the human brain processes silence (silence) in a different way from the lack of meaningful audio signals (no content, but noise fills the gap). When masked, the context of the missing information can be provided by the information that starts and causes the auditory event (in some cases, a few hours before the event) and the audio after the event. This phenomenon can be so strong that the listener believes that he or she hears (or remembers hearing) the missing sound at the point where it did not exist in the sentence. For example, listeners exposed to the audio streams "**wheels on the cart" and "**meal on the table" (where ** indicates syllables removed and masked from the streams) reported hearing "wheels" and "meal," respectively, even though the audio was identical until the final word of the streams.
[0030] Thus, in cases where there is missing content that is appropriately masked from or filled in by the speech, the listener can be robust or even strive to create sounds that will be suitable to cover the loss. Although the above description is provided with reference to a single speaker, the concepts can be extended to situations where loss or conflict occurs where speech is superimposed on speech and the missing component is masked by the presence of another speech.
[0031] Change blindness is another factor in the illusion of continuity. Change blindness is the concept whereby listeners are less likely to hear distortions, alterations, missing segments, and general manipulations of sounds in time, frequency, or space when there is a lot of activity or changes in the auditory scene. This is a subset of general perceptual science, where research is often concerned with visual information; however, the resulting attentional biases and perceptual errors are similar in most senses.
[0032] Change blindness is similar and related to the concept of inattention bias. The two concepts are slightly different because inattention blindness comes from active and selective attention away from things that may be changing or wrong, while change blindness comes from situations where there are many events or a lot of activity happening and therefore changes are more easily hidden.
[0033] The above can be summarized as the effects of limited perceptual ability or effort that can be used to tend to track objects (streaming) and activities (changing). In fact, most of the sounds that humans think they hear are actually hallucinations or remembered sound constructions that match the listener's current situation and auditory input in a plausible way. When processing the content of layered voice superposition voices, these perceptual observations can be used to minimize the amount of information required to be transmitted to individual listeners in a communication system to thereby recreate a spatial scene composed of multiple voices.
[0034] Communication System
[0035] Figures 1A to 1C Various examples of communication systems 100a, 100b, or 100c according to various aspects of the present invention are illustrated. The systems may be collectively referred to as communication systems 100 without distinguishing a particular type.
[0036] Figure 1A The diagram illustrates a centralized communication system 100a in which a central media server 101 receives audio streams from a plurality of client devices 102 (only one of which is labeled for clarity of illustration). The media server 101 further creates a set of output streams for at least a portion of the client devices 102. For sufficiently large systems, a single media server 101 may not be able to manage all incoming audio streams.
[0037] Figure 1BIllustrated is a nested communication system 100b in which a central media server 101 receives audio streams from multiple client devices 102 via multiple intermediate servers 103. The intermediate servers 103 may forward the audio streams from the multiple client devices 102 with or without processing and / or forward output streams to various subsets of the client devices.
[0038] Figure 1C The diagram illustrates a shared communication system 100c in which a plurality of media servers 101 receive audio streams from a plurality of client devices 102, and in which respective ones of the plurality of media servers 101 communicate with each other. Figure 1C Although not specifically illustrated in the figure, the shared communication system 100c may further include an intermediate server, which depends on the scale of the shared communication system 100c.
[0039] In the communication system 100, where a particular client device 102 provides an audio stream but does not receive an output stream, the communication link is illustrated by a unidirectional arrow and may be referred to as simplex communication. Where a particular client 102 provides an audio stream and also receives an output stream, the communication link is illustrated by a bidirectional arrow and may be referred to as duplex communication. Although not explicitly illustrated, the present invention is also applicable to configurations where a particular client device 102 receives an output stream but does not provide an audio stream.
[0040] Furthermore, in the communication system 100, the various communication links may be wired (e.g., via conductive wires and / or optical fibers), wireless (e.g., via Wi-Fi, Bluetooth, near field communication (NFC), etc.), or a combination of wired and wireless (e.g., between a microphone and a processor of the client device 102, wired; and between the client device 102 and the media server 101, wireless). Figures 1A to 1C A particular number of client devices 102 is illustrated (both generally and for each media server 101 and / or intermediate server 103), but the disclosure is not so limited and may be applicable to any number of client devices 102 in any arrangement.
[0041] In the communication system 100, the audio data representing the speech may include a series of speech frames. For the purpose of illustration, an example in which the speech frames have low noise or are appropriately processed to remove noise is described here. Then two characteristics of each frame may be considered: the root mean square (RMS) energy of the frame, and the spectral peak or maximum value of the frame. In this case, considering the energy in a set of frequency bands with a constant bandwidth to frequency ratio will result in a logarithmic spacing of the frequency bands. Over most of the spectrum, this reflects the properties of the perceptual bands, such as equivalent straight line bandwidth (ERB), Bark scale (Bark Scale) or Mel spacing (melspacing). Since bandwidth increases linearly with frequency, constant energy per unit frequency or white noise will have a monotonically increasing power spectrum on this scale.
[0042] Figure 2 The scatter plot 201 and bar graph 202 of exemplary voice activity data according to various aspects of the present invention are illustrated. Specifically, Figure 2 The diagram illustrates speech activity data for a set of sample phrases representing standard speech activity ("Harvard sentences"). Scatter plot 201 shows the RMS level of a frame in decibels (dB) as a function of frequency in Hertz (Hz). More specifically, scatter plot 201 shows a 20 millisecond (ms) frame of a Harvard sentence with a 1 / 3 octave mix. Bar graph 202 shows the data from scatter plot 201 as counts of frequency bands, and only frames with energy above the noise floor (approximately -60 dB) are considered. Figure 2 As illustrated in , the horizontal axis is on a logarithmic scale, while the vertical axis is on a linear scale (even though dB itself represents a logarithmic value).
[0043] like Figure 2 As can be seen in the above figure, there are a large number of high energy frames at low frequencies (<500Hz). The number of higher frequency (>2kHz) content frames is smaller, but important for intelligibility and sound localization. Therefore, if the mixing or elimination mechanism does not take into account this frequency difference, important frames for managing spatial presence, intelligibility, and overall spectrum may be lost. This is consistent with the idea that speech is a series of phonemes and that phonemes with peaks at higher frequencies are essentially unvoiced and / or fricative.
[0044] In the case of two or more speech frames overlapping, the possibility of high energy frames existing at any time increases. In the case where a server such as the media server 100 described above selects only a subgroup of active voice frames for output at any time, the output mix will likely be dominated by lower frequency frames. Depending on the selected subgroup, various situations may occur. For example, the overall spectrum of the mix may be dominated by low-frequency energy and therefore sound perceptually dull or less crisp. In some cases, this may even sound to the listener as if the system is losing bandwidth. In addition, high-frequency components (e.g., in fricatives or unvoiced sounds) that are important for intelligibility may be lost and reduced from the mix. In addition, for the case of spatially reproducing a stream of a reduced group at the client, the transient or broadband content lost may cause a reduction in spatial presence and rich immersive audio.
[0045] Perceived Salience
[0046] In order to avoid the above situation, a weighting or other prioritization scheme is introduced and applied to speech frames. The prioritization scheme may be based on one or more of weighted energy, structural features or verbosity, including a combination thereof, and thereby provides a basis for determining the perceptual prominence of a given frame. Weighted energy refers to a spectral tilt or weighting function introduced into the frame energy calculation in order to emphasize higher frequencies. Structural features refer to considerations of the structure and / or semantic relevance of the frame, and include considerations of timing, wherein the start frame is given a higher priority and / or speech marker, wherein the priority is skewed to emphasize frames that will have higher spectral frequency content and lower energy. Verbosity refers to a situation in which the weighting is offset, biased, or directly derived based on the amount of recent activity or the verbosity of a given stream, noting that streams containing more recent activity may have higher semantic importance and are therefore more likely to become the focus of perceptual attention.
[0047] As a basis for weighting, consider Figure 2 201 is illustrated in FIG. A typical RMS calculation of this form will be performed using the power sum in the time samples or frequency bin samples from the block domain transform. In the case of a system using a frequency domain transform, the frequency bin of the transform may be used. Here, the difference between the RMS and total power calculations corresponds to the normalization performed by the block size and the square root operation. Where the values are expressed in dB, the simplest approach from an interpretation perspective is to refer to the average (per sample) or total (per frame) energy of the audio, albeit with a square root operation, without loss of generality. Furthermore, without loss of generality, the weighting may be explained with reference to only a single channel. For n sample frames, the frame power P may be expressed according to the following expression (1):
[0048]
[0049] In expression (1), x(t) (t=0, ..., n-1) is the audio frequency; w t is a window function, such as sin(π(t+.5) / n); and X(k) can be expressed according to the following expression (2):
[0050]
[0051] The power P may be calculated from the decoded audio samples in the frame, or it may be present directly in the encoded audio stream. Furthermore, the power P may be extracted from various aspects of the audio coding frame, such as an exponent in a frequency domain transform, or from line spectrum pairs or frequency envelopes in an autoregressive mode based codec. In some cases, the energy calculated for a frame may include some processing, such as removing very low (e.g., <100 Hz) frequencies that are typically dominated by noise.
[0052] The scatter plot 201 has two cluster properties. In order to emphasize the point cluster on the right, a frequency domain weighting function H(k) is introduced. By the weighting function H(k), the above expression (1) becomes the following expression (3):
[0053]
[0054] In Expression (3), the weighting function H(k) is represented by the following Expression (4):
[0055]
[0056] In the above, h(t) is the time domain impulse response. The frequency weighting coefficient is represented by H k , the power P becomes the following expression (5):
[0057]
[0058] Figures 3A to 3C Exemplary weighting functions 301a, 301b, and 301c are illustrated, and for reference, scatter plot 201 is reproduced. Where it is not relevant to distinguish a particular function, the functions may be collectively referred to as weighting functions 301. For convenience, weighting functions 301 will be described by frequency weighting coefficients in Hz, noting that the relationship between k and f is determined by the block size and sampling frequency (e.g., k = (n×f) / (F s ×n)). Figure 3A The diagram has a specific form H(f)=((2000+f) / 6000) 8 The power weighting function 301a of . This function de-emphasizes content below 1000 Hz and emphasizes content with energy at 4000 Hz and above. This method ensures that the RMS calculation does not lose lower energy speech frames with high information content.
[0059] The weighting function H(k) is not limited to a power function. For example, Figure 3B and 3C Stepwise linear weighting functions 301b and 301c are illustrated respectively. Figure 3B The stepwise linear weighting function 301b applies a weight of -30 dB to content below 1000 Hz, a weight of 20 dB to content above 5000 Hz, and linearly increases the weights in between. Figure 3B The stepwise linear weighting function 301b of 301dB applies a weight of -30dB to content below 1000Hz, a weight of 10dB to content above 2500Hz, and increases the weight linearly in between. When implemented, the stepwise linear weighting function 301b will apply emphasis to sibilants in speech. The stepwise linear weighting function 301c will apply emphasis to fricatives and key transients. Both the stepwise linear weighting function 301b and the stepwise linear weighting function 301c will de-emphasize voiced sounds and plosives.
[0060] In any case, weighting function 301 has the effect of ensuring that clusters on the right side of scatter plot 201 score higher and take precedence over more frequent and higher broadband energy frames on the left side of scatter plot 201. Thus, the prioritization scheme based on weighting function 301 retains frames that are most relevant to leaving an impression of high frequency content and speech, intelligibility, and spatial cues associated with these fricatives and transients. Thus, weighting function 301 corrects for the deviation of frames away from perceptual salience by de-emphasizing content with frequencies below 1000 Hz and de-emphasizing content with frequencies above 4000 Hz. In this way, weighting function 301 is not limited to Figures 3A to 3C The exact form illustrated in .
[0061] The calculation of the perceptual salience (that is, the application of the weighting function 301 to the audio data) is preferably performed by a client device, such as the plurality of client devices 102 described above. Thus, the plurality of audio streams uploaded by the corresponding plurality of client devices may include both audio data indicating the content of the audio streams and metadata indicating the weighting and / or perceptual salience of the content of the audio streams.
[0062] In addition to the above weighting functions, the calculation of perceptual saliency may also include instantaneous band-wise signal-to-noise ratio (SNR), onset detection, other event detection, phoneme weighting, redundancy, or a combination thereof.
[0063] The instantaneous zonal SNR is based on the idea of performing noise estimation and power estimation on a frame-by-frame basis across a set of perceptually spaced (e.g., logarithmically spaced) frequency bands. In principle, the energy in a frame is weighted by a weighting matrix W b,k Split from a set of n transformed frequency bins into a set of B perceptual bands. This can be expressed according to the following expression (6):
[0064]
[0065] By tracking the nearest stationary noise minimum in the signal or some form of estimate, it is possible to examine the ratio of signal to background present. This provides a measure where activity in each perceptual band b is of equal importance, regardless of the absolute power in that band or the level of background noise in that band. This can be expressed according to the following expressions (7) and (8):
[0066]
[0067] N b =min(P b | t=0 , P b | t=-1 , P b | t=-2 ...) (8)
[0068] In the above, S represents the signal activity value based on the perception band, and N b represents the nearest stationary noise in the signal.
[0069] Onset detection is based on analysis of the previous frame so that when the energy in the current frame (after adjustment for stationary noise) is significantly higher than the previous frame, a positive difference is scored to express activity. This can be included in N in expression (8) above b The representation includes the average value P of the last few frames. b Substituting expression (8). In this way, the signal activity S will be biased to count only the most recently initiated or energy increasing bands.
[0070] Other forms of event detection may be based on classification of speech activity. In this classification, additional features related to spectral shape and / or statistical parameter mean and variance may be extracted from the basic features. In one example, a classifier may create a decision boundary based on the lifting of features. The classifier may additionally or alternatively be based on spectral flux, which is a measure of the extent to which a frame alternates between low-frequency and high-frequency spectral peaks over time. In this way, spectral flux adds emphasis to frames that a listener tends to notice, whereas these frames would be lost due to another energy measure.
[0071] Additionally or alternatively, a client device such as the client device 102 described above may be equipped with the ability to perform speech analysis, which may provide an instantaneous estimate of which phonemes are present at the input. In one such example, the client device may weight the phonemes based on their entropy, giving higher scores to phonemes that occur less frequently or are of shorter duration. This will provide a shift in speech selection to more prominent frames to preserve high frequency content and spatialization.
[0072] The selection of streams may also be biased towards retaining those streams that have been recently active (or lengthy). The length deviation can be measured based on the increase in length of a given stream during a period in which it is active and other streams are not active. A non-limiting example of an algorithm for determining length V outputs a value between 0 and 1, saturating at either extreme for normalization purposes. Higher values indicate that the endpoint is more active, and therefore more likely or suitable to persist as the most recently active sound field in the output mix. The length can be modified at each frame or instant in time according to a set of parameters; however, the present invention does not particularly limit which parameters can be selected or included. Typically, when an endpoint is active, the length V will increase, and if it is the only active endpoint at a given time, the length may increase faster. In the absence of activity, it is possible to maintain the level of the length V or to decay and link the decay to the fade-out of the associated sound field.
[0073] In one example, according to the above expression, the bias or emphasis due to a high value of the redundancy V is equivalent to 6 dB of greater power or weighted perceptual prominence (P). This can be represented by the following expression (9):
[0074] P(db)=10log 10 (P)+6V (9)
[0075] In expression (9), the scaling of the redundancy V is exemplary and non-limiting. Instead of the scaling of 6 above, the scaling may be any value between 3 dB and 10 dB.
[0076] Any combination of the above calculations may be performed in a client device, in an intermediate server, or in a media server. Furthermore, a combination of devices may be used to perform the combination. In one example, the calculation of perceptual salience prior to any verbosity transition may be performed at the client device, and further transitions may be performed at the server. The weighting may be further encoded into a series of bits; for example, the weighting may be encoded as P = -35 + 5x with a 3-bit binary code x ranging from (000) to (111). This encoding may facilitate the media server to rank the packets, as will be described in more detail below.
[0077] It is possible to obtain any of the above data, such as the frame RMS, without analyzing the entire frame. For example, in the frequency domain, only the envelope may be used to extract the frame RMS. In a speech encoder, information may be derived from the excitation vector and linear predictive coding (LPC) parameters.
[0078] The weighting scheme described above is primarily targeted at voice packets. In situations where voice-based weighting provides higher sensitivity than desired (e.g., certain situations of noise for non-voice audio), it may be possible to apply a weighting scheme only where the device performing the weighting is confident that the signal contains voice activity.
[0079] Mixing and stream selection
[0080] A server device, such as the media server 101 described above, receives and processes multiple audio streams uploaded by a corresponding plurality of client devices. This processing includes selecting a subset of the audio streams to be instantaneously forwarded and / or mixed at the server device. Based on the principles described above, it is possible to create a convincing and sometimes perceptually indistinguishable stream reproduction by using only a subset of potentially active streams.
[0081] Figure 4 An exemplary communication system 400 in accordance with various aspects of the present invention that may implement such processing is illustrated. Communication system 400 may be the same or similar to communication system 100 described above. Communication system 400 includes a server device 410 that may be the same or similar to media server 101, and a plurality of client devices 420 that may be the same or similar to client device 102.
[0082] Each of the client devices 420 provides an audio stream including audio data 421 and metadata 422 to the server device 410. Figure 4 The audio data 421 and metadata 422 are illustrated using different arrows, but in practice, an audio stream may include the audio data 421 and metadata 422 encoded into a single data stream. The metadata 422 may include data indicating weighting and / or perceptual salience, data indicating spatial position in a scene, and / or other data. Furthermore, some data may then be included in the audio data 421 and other data in the metadata 422. In one non-limiting example, the audio data 421 includes data indicating weighting and / or perceptual salience, while the metadata 422 includes spatial position data.
[0083] The server device 410 includes an audio stream server / router 430, a mixer 470, and a processing and / or multiplexing unit 480. In the case where spatial rendering is performed, the server device 410 may include a spatial calculator 440, a global scene information unit 450, and a control server 460. The audio stream server / router 430 receives audio data 421 from a plurality of client devices 420 and classifies the data into a plurality of groups 431 to 433. The classification may be based on data included in the audio data 421, the metadata 422, or both. In addition, although Figure 4Three groups 431-433 are illustrated, but the invention is not limited thereto. In some aspects of the invention, only two groups (or four or more groups) may be provided. The audio stream server / router 430 may perform the classification by first ranking the plurality of audio streams based on a predetermined metric (e.g., weighting or perceptual salience as described above) and grouping the audio streams based on the ranking of the audio streams.
[0084] In one exemplary aspect of the invention, an audio stream server / router 430 receives L audio streams from L client devices 420, groups the N highest ranked audio streams into a first group 431, groups the M lowest ranked audio streams into a third group 433, and groups the audio streams with intermediate rankings into a second group 432. In the above, L, M, and N are independent integers such that L ≥ M + N. The audio streams of the first group 431 may be forwarded as output streams 490 to one or more receiver devices via a processing and / or multiplexing unit 480; and the audio streams of the third group 433 may be discarded or ignored. In some aspects of the invention, the audio content of the audio streams of the second group 432 is mixed into one of the audio streams of the first group 431, thereby being forwarded as part of the output stream 490. For example, the second group 432 may be mixed into the lowest ranked stream of the first group 431. The number of streams in each group is not particularly limited. In some cases, first group 431 may include only a single stream; in other cases, first group 431 may include multiple streams. The receiver device may be any one or more of plurality of client devices 420 and / or an additional device separate from plurality of client devices 420.
[0085] In some examples, N or M may be zero. That is, at a given point in time, any of the input audio streams may not include highlight content, in which case the first group 431 will be empty (N=0). This may occur, for example, when the audio streams corresponding to all client devices 420 include relevant audio content or voice data that should be forwarded as part of the output stream 490. Furthermore, at a given point in time, all input audio streams may include highlight content, in which case the third group 433 will be empty (M=0). This may occur, for example, when the audio streams corresponding to all client devices 420 are silent or include only non-voice data.
[0086] The server device 410 may receive all audio streams from multiple client devices 420 and perform an instantaneous inspection of the received streams in each audio codec frame, thereby determining the streams that are relevant to the receiver device. The groups may be updated at the audio frame rate or at a rate slower than the audio frame rate. In addition, in the case where there are multiple receiver devices, the server device 410 (e.g., through the control server 460) may calculate the groups 431-433 independently for each receiver device. The information from the spatial calculator unit 430 may be provided to the processing and / or multiplexing unit 480 for inclusion in the output stream 490.
[0087] Respective ones of the client devices 420 acting as receiver devices may have multiple instances of a codec to accommodate possible incoming streams. However, in this case, the client devices 420 need not have codecs covering all potential sources, but may include a number of codecs sufficient to ensure relative continuity of decoded audio and spatial reproduction in the event or when a stream is stopped and started by momentarily selecting a stream for transmission at the server device 410. A stream that is suddenly stopped may require one to two frames to run through the codec to fade out or return to a neutral state.
[0088] In the case of frequency domain codecs, this amounts to flushing the decoded frame buffer with faded-out parts of the overlapping windows. In the case of model-based or deep neural network (DNN) codecs, this could be a short extrapolation of the current and recent flow model traces, plus appropriate fade-outs.
[0089] Figure 5 Graphical illustrations are used to determine e.g. Figure 4 An exemplary algorithm for the groups 431 to 433, etc. illustrated in FIG. Figure 5 The diagram illustrates an exemplary algorithm by which the N most prominent streams are forwarded to a client device. At step S510, for example Figure 4 A server device such as the server device 410 of FIG. 5 receives a number of packets L. At step S520, the server device classifies the received packets according to the selected metric. Step S520 may include first ranking the plurality of packets based on a predetermined metric such as weighting or perceptual prominence as described above, and grouping the audio streams based on the ranking of the audio streams such that the N most prominent streams are grouped into a first group. At step S530, the packets of the first group are forwarded to the receiver device and the remaining packets are discarded or ignored.
[0090] Fig. 6A The diagram illustrates an exemplary algorithm by which the N most prominent streams are forwarded to a client device and audio from intermediate prominent streams is included as a mix. At step S610, for example Figure 4A server device such as server device 410 of receives a number of packets L. At step S620, the server device classifies the received packets according to the selected metric. Step S620 may include first ranking the plurality of packets based on a predetermined metric such as weighted or perceptual prominence described above, and grouping the audio streams based on the ranking of the audio streams, such that the N most prominent streams are grouped into a first group, the intermediately prominent streams are grouped into a second group, and the M least prominent streams are grouped into a third group. At step S630, audio from the intermediately prominent streams (that is, streams that are neither the N most prominent nor the M least prominent) is mixed into the least prominent packets of the first group. In the case where the total number of packets is L, the number of the most prominent packets is N, and the number of the least prominent packets is M, the intermediately prominent streams may be represented as group [N+1, LM-1] and the least prominent packets of the first group may be represented as packet N. At step S640, packets including the first group of audio from the second group as a mix are forwarded to the receiver device and the remaining M packets are discarded or ignored.
[0091] As described above, although N and M are not particularly limited, in some aspects of the present invention, N may be equal to 2 or 3.
[0092] There are situations where the streams forwarded from the server need to fit within the maximum overall bit rate. In these situations, a decision must be made on how to allocate bits between the streams. The preferred approach is to allocate more bits to more prominent streams. Figure 6B The diagram illustrates an exemplary algorithm for allocating bits between individual flows when the total N forwarded flows must be limited to a fixed predetermined maximum bit rate. In this case, the allocation of bits to each flow is ordered according to a salience metric (e.g., based on weighted energy) so that each flow with lower salience receives an equal or lower number of bits than the number of bits allocated to the higher salience flow. For example, if a total 'bit bucket' of 48 kbps is specified and there are three flows, then 24 Kbps may be allocated to the first flow and 12 Kbps to the second and third flows. In this case, 24 kbps would be allocated to the flow with the highest salience, and 12 Kbps would each be allocated to the packets with the lowest salience. At step S650, for example Figure 4A server device, such as server device 410 of FIG. 4 , receives a number of packets L. At step S660, the server device classifies the received packets according to the selected metric. Step S660 may include first ranking the plurality of packets based on a predetermined metric, such as the weighted or other perceptual prominence metric described above, and grouping the audio streams based on the ranking of the audio streams, such that the N most prominent streams are grouped into a first group, the intermediate prominent streams are grouped into a second group, and the M least prominent streams are grouped into a third group. At step S670, the server device allocates bits to each of the N streams in order of prominence such that the maximum bit rate is not exceeded in total. At step S680, packets of the first group including audio from the second group as a mix are forwarded to the receiver device and the remaining M packets are discarded or ignored.
[0093] As described above, although N and M are not particularly limited, in some aspects of the present invention, N may be equal to 2 or 3.
[0094] Figure 7 Another exemplary algorithm for allocating bits between individual flows when the total N forwarded flows must be limited to a fixed predetermined maximum bit rate is illustrated. In this algorithm, flows below a threshold are mixed into the highest salience packet and then bits are allocated to each flow in salience order, with less salience flows receiving an equal or lower number of bits than more salience flows. At step S710, for example Figure 4 A server device such as server device 410 of FIG. 4 receives a number of packets L. At step S720, the server device classifies the received packets according to the selected metric. Step S720 may include first ranking the plurality of packets based on a predetermined metric such as weighted or perceptual prominence described above, and grouping the audio streams based on the ranking of the audio streams, such that the N most prominent streams are grouped into a first group, the intermediately prominent streams are grouped into a second group, and the M least prominent streams are grouped into a third group. At step S730, audio from intermediately prominent streams (that is, streams that are neither the N most prominent nor the M least prominent) is mixed into packet 1 corresponding to the most prominent stream. At step S7400, the server device allocates bits to each of the N streams in order of prominence so that the total does not exceed the maximum bit rate. At step S750, packets of the first group including audio from the second group as a mix are forwarded to the receiver device and the remaining M packets are discarded or ignored.
[0095] As described above, although N and M are not particularly limited, in some aspects of the present invention, N may be equal to 2 or 3.
[0096] application
[0097] With respect to the processes, systems, methods, heuristics, etc. described herein, it should be understood that although the steps of such processes, etc. have been described as occurring according to a certain ordered sequence, such processes may be practiced with the described steps performed in an order different from that described herein. It should be further understood that certain steps may be performed simultaneously, other steps may be added, or certain steps described herein may be omitted. In other words, the descriptions of the processes herein are provided for the purpose of illustrating certain embodiments and should in no way be construed as limiting the claims.
[0098] The above examples have been described primarily with respect to the management and reproduction of speech scenes; however, the present invention should not be construed as being applicable only to or specific to speech content. The concepts described in this invention are generally extendable to any signal of a highly transient nature, containing semantic and potentially interactive information content. The above description of human perception of speech and speech-like sounds is provided as an example, not a limitation on the use of the system.
[0099] Furthermore, while the present invention generally refers to aspects of spatial information with respect to the reorganization and reproduction of audio at a terminal client, the present invention can be extended to situations where there is an audio stream with explicit information about its given position in the stream, identifiers and client information or a decision about where to present the stream, or some combination of the two. The information can be further combined with additional scene control information from other audio control systems. In this way, spatial application representations also cover a superset of monophonic, where most of the direction and / or distance information intended to control reproduction may be ignored or absent. In the case of reproducing a scene using spatial audio technology to create a spatial image for the user, audio can be delivered in many different ways. For example, an audio stream can be delivered through headphones (binaural) and simulate the acoustic propagation and spatial acoustics that would occur if the sound actually appeared near the user; alternatively, the output of several speaker positions around the listener can be controlled to produce an approximate or perceived effective sound field sense.
[0100] The present invention relates to a set of audio streams, each coming from a specific source that may have activity independent of other sources. However, each of these audio streams need not represent only one audio channel. The audio streams themselves may have spatial audio characteristics partially encoded therein; for example, the streams may be binaural audio or some form of multi-channel spatial audio. Furthermore, within a given stream, there may be additional layers and hierarchical approaches to represent fidelity in both signal accuracy (e.g., bit rate) and spatial accuracy (e.g., layers or channels).
[0101] In various implementations, the techniques disclosed in this specification are applicable to, but not limited to, audio encoding of multi-channel audio, where the communication system may be an audio coding system, the media server may be an audio encoder, and the client may be an audio source.
[0102] Various aspects of the present invention may be understood from the following example embodiments (EEE):
[0103] Examples of the embodiments 1. A communication system comprising:
[0104] A media server configured to receive a plurality of audio streams from a corresponding plurality of client devices, the media server comprising circuitry configured to:
[0105] ranking the plurality of audio streams based on a predetermined metric,
[0106] grouping a first portion of the plurality of audio streams into a first group, the first portion of the plurality of audio streams being the N highest ranked audio streams,
[0107] grouping a second portion of the plurality of audio streams into a second group, the second portion of the plurality of audio streams being the M lowest ranked audio streams,
[0108] forwarding the corresponding audio streams of the first group to a receiver device, and
[0109] discarding the corresponding audio stream of the second group,
[0110] Where N and M are independent integers.
[0111] Enumerated Example Embodiment 2. The communication system of Enumerated Example Embodiment 1, the circuit system further configured to:
[0112] grouping a third portion of the plurality of audio streams into a third group, the third portion of the plurality of audio streams being the audio streams ranked between the first portion and the second portion, and
[0113] The audio content of the third group is mixed into one of the audio streams of the first group.
[0114] Enumerated Example Embodiment 3. The communication system of Enumerated Example Embodiment 1 or 2, wherein respective ones of the plurality of audio streams include audio data and metadata, the metadata including data indicative of weighting.
[0115] Enumerated Example Embodiment 4. The communication system of Enumerated Example Embodiment 3, wherein the weighting is based on perceptual salience.
[0116] Enumerated Example Embodiment 5. The communication system of Enumerated Example Embodiment 4, wherein each stream is allocated a number of bits, wherein higher prominence streams receive equal or higher bits than lower prominence streams.
[0117] Enumerated example embodiment 6. The communication system of any of enumerated example embodiments 3 to 5, wherein the metadata further includes data indicating a spatial location in a scene.
[0118] Enumerated Example Embodiment 7. The communication system of any of Enumerated Example Embodiments 3-6, wherein the weighting de-emphasizes content having frequencies below 1000 Hz and emphasizes content having frequencies above 4000 Hz.
[0119] Enumerated Example Embodiment 8. The communication system of any of Enumerated Example Embodiments 1-7, wherein the receiver device is one of the plurality of client devices.
[0120] Enumerated Example Embodiment 9. A communication method comprising:
[0121] receiving a plurality of audio streams from a corresponding plurality of client devices;
[0122] ranking the plurality of audio streams based on a predetermined metric;
[0123] grouping a first portion of the plurality of audio streams into a first group, the first portion of the plurality of audio streams being the N highest ranked audio streams;
[0124] grouping a second portion of the plurality of audio streams into a second group, the second portion of the plurality of audio streams being the M lowest ranked audio streams;
[0125] forwarding the corresponding audio streams of the first group to a receiver device; and
[0126] discarding the corresponding audio stream of the second group,
[0127] Where N and M are independent integers.
[0128] Enumerated example embodiment 10. The communication method according to enumerated example embodiment 9 further comprises:
[0129] grouping a third portion of the plurality of audio streams into a third group, the third portion of the plurality of audio streams being the audio streams ranked between the first portion and the second portion, and
[0130] The audio content of the third group is mixed into one of the audio streams of the first group.
[0131] Enumerated Example Embodiment 11. The communication method of Enumerated Example Embodiment 9 or 10, wherein respective ones of the plurality of audio streams include audio data and metadata, the metadata including data indicative of weighting.
[0132] Enumerated Example Embodiment 12. The communication method of Enumerated Example Embodiment 11, wherein the weighting is based on perceptual salience.
[0133] Enumerated Example Embodiment 13. The communication method of Enumerated Example Embodiment 12, wherein each stream is allocated a number of bits, wherein higher prominence streams receive equal or higher bits than lower prominence streams.
[0134] Enumerated example embodiment 14. The communication method of any of enumerated example embodiments 11-13, wherein the metadata further includes data indicating a spatial location in a scene.
[0135] Enumerated Example Embodiment 15. The communication method of any of Enumerated Example Embodiments 11-14, wherein the weighting de-emphasizes content having frequencies below 1000 Hz and emphasizes content having frequencies above 4000 Hz.
[0136] Enumerated Example Embodiment 16. The communication method of any of Enumerated Example Embodiments 9-15, wherein the receiver device is one of the plurality of client devices.
[0137] Enumerated Example Embodiment 17. A non-transitory computer-readable medium storing instructions that, when executed by a processor of a media server, cause the media server to perform operations comprising:
[0138] receiving a plurality of audio streams from a corresponding plurality of client devices;
[0139] ranking the plurality of audio streams based on a predetermined metric;
[0140] grouping a first portion of the plurality of audio streams into a first group, the first portion of the plurality of audio streams being the N highest ranked audio streams;
[0141] grouping a second portion of the plurality of audio streams into a second group, the second portion of the plurality of audio streams being the M lowest ranked audio streams;
[0142] forwarding the corresponding audio streams of the first group to a receiver device; and
[0143] discarding the corresponding audio stream of the second group,
[0144] Where N and M are independent integers.
[0145] Enumerated Example Embodiment 18. The non-transitory computer readable medium of Enumerated Example Embodiment 17, further comprising:
[0146] grouping a third portion of the plurality of audio streams into a third group, the third portion of the plurality of audio streams being the audio streams ranked between the first portion and the second portion, and
[0147] The audio content of the third group is mixed into one of the audio streams of the first group.
[0148] Enumerated Example Embodiment 19. The non-transitory computer-readable medium of Enumerated Example Embodiment 17 or 18, wherein respective ones of the plurality of audio streams include audio data and metadata, the metadata including data indicative of weighting.
[0149] Enumerated Example Embodiment 20. The non-transitory computer-readable medium of Enumerated Example Embodiment 19, wherein the weighting is based on perceptual salience.
[0150] Enumerated Example Embodiment 21. The non-transitory computer readable medium of Enumerated Example Embodiment 20, wherein each stream is allocated a number of bits, wherein higher prominence streams receive equal or higher bits than lower prominence streams.
[0151] Enumerated example embodiment 22. The non-transitory computer-readable medium of any of enumerated example embodiments 19-21, wherein the metadata further includes data indicating a spatial location in a scene.
[0152] Enumerated example embodiment 23. The non-transitory computer readable medium of any of enumerated example embodiments 19-22, wherein the weighting de-emphasizes content having frequencies below 1000 Hz and emphasizes content having frequencies above 4000 Hz.
Claims
1. A communication system, comprising: A media server configured to receive a plurality of audio streams from a corresponding plurality of client devices, the media server comprising circuitry configured to: ranking the plurality of audio streams based on a predetermined metric; wherein the metric of an audio stream comprises a weighted energy of a frame of the audio stream; wherein the weighted energy of the frame of the audio stream is determined using a weighting function that de-emphasizes spectral frequency content having frequencies below 1000 Hz and emphasizes spectral frequency content having frequencies above 4000 Hz, grouping a first portion of the plurality of audio streams into a first group, the first portion of the plurality of audio streams being the N highest ranked audio streams, grouping a second portion of the plurality of audio streams into a second group, the second portion of the plurality of audio streams being the M lowest ranked audio streams, forwarding the corresponding audio streams of the first group to a receiver device, and discarding the corresponding audio stream of the second group, Where N and M are independent integers.
2. The communication system of claim 1, wherein the circuit system is further configured to: grouping a third portion of the plurality of audio streams into a third group, the third portion of the plurality of audio streams being the audio streams ranked between the first portion and the second portion, and The audio content of the third group is mixed into one of the audio streams of the first group.
3. A communication system according to claim 1 or 2, wherein a respective one of the plurality of audio streams comprises audio data and metadata, the metadata of an audio stream comprising data indicative of the weighted energies of frames of the audio stream.
4. The communication system according to claim 1 or 2, wherein each flow to be forwarded by the server is allocated a number of bits, wherein a first flow receives equal to or higher bits than a second flow, and the first flow is ranked higher than the second flow.
5. The communication system of claim 3, wherein the metadata of the audio stream further comprises data indicating a spatial position in a scene.
6. The communication system of claim 1 or 2, wherein the receiver device is one of the plurality of client devices.
7. A communication method, comprising: receiving a plurality of audio streams from a corresponding plurality of client devices; ranking the plurality of audio streams based on a predetermined metric; wherein the metric of an audio stream comprises a weighted energy of frames of the audio stream; wherein the weighted energy of the frame of the audio stream is determined using a weighting function that de-emphasizes spectral frequency content having frequencies below 1000 Hz and emphasizes spectral frequency content having frequencies above 4000 Hz; grouping a first portion of the plurality of audio streams into a first group, the first portion of the plurality of audio streams being the N highest ranked audio streams; grouping a second portion of the plurality of audio streams into a second group, the second portion of the plurality of audio streams being the M lowest ranked audio streams; forwarding corresponding audio streams of said first group to a receiver device; and discarding the corresponding audio stream of the second group, Where N and M are independent integers.
8. The communication method according to claim 7, further comprising: grouping a third portion of the plurality of audio streams into a third group, the third portion of the plurality of audio streams being the audio streams ranked between the first portion and the second portion, and The audio content of the third group is mixed into one of the audio streams of the first group.
9. The communication method of claim 7 or 8, wherein a respective one of the plurality of audio streams comprises audio data and metadata, the metadata of an audio stream comprising data indicative of the weighted energies of frames of the audio stream.
10. The communication method according to claim 7 or 8, wherein each stream is allocated a number of bits, wherein a first stream receives equal to or higher bits than a second stream, and the first stream is ranked higher than the second stream.
11. The communication method of claim 9, wherein the metadata of the audio stream further comprises data indicating a spatial position in a scene.
12. The communication method of claim 7 or 8, wherein the receiver device is one of the plurality of client devices.
13. A non-transitory computer-readable medium storing instructions that, when executed by a processor of a media server, cause the media server to perform operations comprising: receiving a plurality of audio streams from a corresponding plurality of client devices; ranking the plurality of audio streams based on a predetermined metric; wherein the metric of an audio stream comprises a weighted energy of frames of the audio stream; wherein the weighted energy of the frame of the audio stream is determined using a weighting function that de-emphasizes spectral frequency content having frequencies below 1000 Hz and emphasizes spectral frequency content having frequencies above 4000 Hz; grouping a first portion of the plurality of audio streams into a first group, the first portion of the plurality of audio streams being the N highest ranked audio streams; grouping a second portion of the plurality of audio streams into a second group, the second portion of the plurality of audio streams being the M lowest ranked audio streams; forwarding corresponding audio streams of said first group to a receiver device; and discarding the corresponding audio stream of the second group, Where N and M are independent integers.
14. The non-transitory computer-readable medium of claim 13, further comprising: grouping a third portion of the plurality of audio streams into a third group, the third portion of the plurality of audio streams being the audio streams ranked between the first portion and the second portion, and The audio content of the third group is mixed into one of the audio streams of the first group.
15. The non-transitory computer-readable medium of claim 13 or 14, wherein a respective one of the plurality of audio streams comprises audio data and metadata, the metadata for an audio stream comprising data indicative of the weighted energies of frames of the audio stream.
16. The non-transitory computer-readable medium of claim 13 or 14, wherein each stream is allocated a number of bits, wherein a first stream receives equal or higher bits than a second stream, and the first stream is ranked higher than the second stream.
17. The non-transitory computer-readable medium of claim 15, wherein the metadata of an audio stream further comprises data indicating a spatial location in a scene.
