Stem separation systems and devices

Compact stem separation modules on user devices address the resource constraints of conventional algorithms by using reduced feature sizes and neural processing units for real-time stem separation, enabling efficient audio stem playback.

US12817576B1Active Publication Date: 2026-12-01MOISES SYSTEMS INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
US19/552739
Authority / Receiving Office
US · United States
Patent Type
Patents(United States)
Current Assignee / Owner
Priority Date
2025-08-25
Filing Date
2026-02-27
Publication Date
2026-12-01
Estimated Expiration
2046-02-27

AI Technical Summary

Technical Problem

Conventional stem separation algorithms require significant computational resources and are typically implemented in high-resource environments, making them unsuitable for resource-constrained devices.

Method used

Development of compact, lightweight stem separation modules that can be implemented on user electronic devices, utilizing condensed neural processing units and reduced feature sizes to perform stem separation in real-time or near-real-time, even in resource-constrained environments.

Benefits of technology

Enables efficient isolation and playback of audio stems directly on user devices, reducing power consumption and computational requirements while maintaining effective stem separation performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US12817576-D00000_ABST
    Figure US12817576-D00000_ABST
Patent Text Reader

Abstract

A hardware peripheral is configurable to: (i) receive at least a part of an audio signal from a first device over a first communication channel; (ii) send the part of the audio signal to the first device over one or more second communication channels; (iii) receive, over the one or more second communication channels, one or more of a plurality of audio stems of stem-separated audio, wherein the stem-separated audio is generated by processing the part of the audio signal using a stem separation module via one or more processing units residing on the first device, the plurality of audio stems corresponding to different audio sources represented in the part of the audio signal; and (iv) cause playback of the one or more of the plurality of audio stems at one or more playback components.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to U.S. Provisional Application Ser. No. 63 / 869,840, filed on Aug. 25, 2025, and entitled “STEM SEPARATION SYSTEMS AND DEVICES”, the entirety of which is incorporated herein by reference for all purposes.BACKGROUND

[0002] Audio processing involves manipulating, refining, transforming, and / or extracting information from audio signals. In the music industry, audio processing plays an important role in shaping and enhancing the quality of music. Audio processing is also performed in various other domains, such as film and television, broadcasting and radio, telecommunications, speech recognition and synthesis, gaming, and / or others.

[0003] The subject matter claimed herein is not limited to embodiments that operate only in environments such as those described above. Rather, this background is only provided to illustrate one exemplary technology area where some embodiments described herein may be practiced.BRIEF DESCRIPTION OF THE DRAWINGS

[0004] In order to describe the manner in which the above-recited and other advantages and features can be obtained, a more particular description of the subject matter briefly described above will be rendered by reference to specific embodiments which are illustrated in the appended drawings. Understanding that these drawings depict only typical embodiments and are not therefore to be considered to be limiting in scope, embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:

[0005] FIGS. 1A, 1B, 1C, and 1D show conceptual representations of example components, elements, and acts associated with device-driven stem separation in playback environments.

[0006] FIGS. 2 and 3 illustrate example flow diagrams depicting acts associated with the disclosed subject matter.

[0007] FIGS. 4A and 4B illustrate conceptual representations of example components for facilitating real-time or near-real-time stem separation, in accordance with implementations of the disclosed subject matter.

[0008] FIGS. 5, 6, and 7 illustrate example systems, components, operations, and / or data objects associated with the disclosed subject matter.

[0009] FIG. 8 depicts example components of a system that may comprise or be configurable to perform various embodiments.DETAILED DESCRIPTION

[0010] Disclosed embodiments are directed to systems and devices for facilitating stem separation.

[0011] As noted above, audio processing is performed in various domains and involves manipulating, refining, transforming, and / or extracting information from audio signals. Audio stem separation (or simply “stem separation”) is one type of audio processing that involves separating an audio track into its basic components or “stems,” which correspond to individual audio sources or types of sound represented in the audio track such as vocals, drums, bass, strings, piano / keys, melody, dialogue, effects, background music, uncategorized sound, etc. Stem separation is performed in various domains, such as music production, music education, creating karaoke tracks, forensic audio analysis, etc.

[0012] Conventional stem separation algorithms can analyze and separate individual audio stems from a single audio file, relying on pattern recognition and spectral analysis to separate sounds sources from the audio file based on unique characteristics such as frequency and amplitude. Many conventional stem separation algorithms utilize artificial intelligence (AI) techniques (e.g., utilizing deep learning and neural networks) to improve isolation of different sound sources from an audio track where different sound sources have overlapping frequencies (which can occur in the audio track simultaneously).

[0013] Conventional stem separation models are often provided as cloud services, where users are able to submit jobs defining one or more audio tracks to be processed using stem separation models that consume cloud resources. The stem-separated audio output (including individual audio stems for the input audio track(s)) is then provided to the requester (e.g., as a downloadable file).

[0014] Conventional stem separation models typically consume significant power and computational resources and are therefore implemented in high-resource environments (e.g., using graphics processing units (GPUs) residing on cloud servers).

[0015] At least some disclosed embodiments are directed to devices that are configurable to perform audio stem separation on an input audio signal while outputting a stem-separated audio signal for playback by one or more playback components. Implementation of embodiments disclosed herein can enable isolation and playback of audio stems from input audio signals (not limited to complete audio files) in resource-constrained environments, such as on user electronic devices. A device for facilitating stem separation in playback environments, as described herein, can include one or more processing units and one or more computer-readable recording media (e.g., computer memory). The processing unit(s) can include one or more central processing units, neural processing units, graphics processing units, and / or other types of processing circuities.

[0016] The device can receive an input audio signal (e.g., a digital audio signal from any source, such as a file, stream, radio, line-in, analog conversion, or other source) and identify a first set of segments from the input audio signal. The first set of segments can include one or more audio segments of the input audio signal that have one or more specified durations (e.g., with the segment(s) having an individual or aggregate duration within a range of about half second to about four seconds, in some instances, or a duration greater than four seconds or less than a half second). For instance, the device may receive the input audio signal over time (e.g., in the case of a line-in connection or radio, streaming, television broadcast, or other media playback signal transmission modalities) and may define the first set of segments as the device receives the input audio signal (e.g., defining each temporal second (or other duration) of the received audio signal as a separate set of one or more audio segments).

[0017] After a first set of audio segments is defined, the device may process the first set of audio segments using a stem separation module, which may provide a first set of stem-separated segments (the set including one or more stem-separated segments). The first set of stem-separated segments can include multiple audio stems that correspond to different audio sources represented in the first set of audio segments (e.g., vocals, bass, drums, guitars, strings, piano / keys, wind, noise, sound effects, other / remaining audio).

[0018] The stem separation module can be locally stored on the device and can comprise a condensed, compact, lightweight, embedded, or mobile stem separation module adapted for implementation in hardware / resource-constrained environments, as will be described in more detail hereinbelow. In some implementations, the stem separation module is selected from a set or library of stem separation modules stored on the device. The stem separation module can be selected based on one or more configurations, preferences, settings, or contexts for the current stem separation session. For instance, in conjunction with activating a stem separation mode for the device, a user can indicate via user input one or more of: (i) identifying information for the audio signal on which stem separation will be performed (e.g., title, artist, genre, album, year, duration, and / or other information), (ii) which audio stems are present in the input audio signal (e.g., vocals, bass, drums, guitars, strings, piano / keys, wind, and / or other stems), or (iii) which audio stem(s) from the input audio signal to isolate for playback. The device may utilize such indications to select a stem separation module to use for the particular stem separation session. For example, the device may store multiple stem separation modules that are adapted for use with certain media types (e.g., music or different genres of music, audiovisual content such as film or video game content with accompanying audio), for use with audio signals containing certain audio stems, or for outputting certain audio stems (or combinations of audio stems) for playback. The device may utilize the user indications provided via user input noted above (e.g., via lookup table or other search / selection methods) to select a stem separation module to use in a current (or future) stem separation session.

[0019] Additionally, or alternatively, the device can perform pre-processing on an initial segment of the input audio signal to determine the identifying information for the audio signal or to determine which audio stems are present in the audio signal. Such information, obtained by pre-processing an initial segment of the input audio signal, can be used to enable the device to automatically select a stem separation module (e.g., via lookup table or other search / selection methods) to use for a current (or future) stem separation session.

[0020] After processing the first set of audio segments of the input audio signal via the (selected) stem separation module to obtain the first set of stem-separated segments, the device may cause playback of at least one selected audio stem from the first set of stem-separated segments. For instance, user input, preferences, or settings may designate a desired audio stem(s) for playback (e.g., vocals, bass, drums, guitars, strings, piano / keys, wind, other / remaining audio), and the device may cause playback of a selected audio stem from the first set of stem-separated segments that corresponds to the desired audio stem(s). The device may cause playback of the selected audio stem(s) by converting the selected audio stem(s) to an analog signal and providing the analog signal to a speaker (e.g., to an on-device speaker or to a separate or off-device speaker via a line-out connection). Additionally, or alternatively, the device may send a digital representation of the selected audio stem(s) from the first set of stem-separated segments to a playback device (e.g., via a digital interface or wireless connection) to facilitate playback of the selected audio stem(s) by the playback device (where analog conversion may occur at the playback device). Playing back the selected audio stem(s) can comprise selectively refraining from playing back unselected audio stem(s) (e.g., the device may cause playback of the vocal stem(s) only while refraining from playing back other audio stems).

[0021] During playback of the selected audio stem(s) of the first set of stem-separated segments (or during processing of the first set of segments from the input audio signal by the stem separation module to obtain the first set of stem-separated segments), the device may identify a second set of segments (one or more second segments) from the input audio signal, such as by continuing to receive the input audio signal over time and defining the second set of segments as the device receives the input audio signal (e.g., defining a temporal second (or other duration) subsequent to the first temporal second (or other duration) of the received audio signal as the second set of segments).

[0022] When the second set of audio segments is defined, the device may process the second set of audio segments to obtain a second set of stem-separated segments (one or more second stem-separated segments), which can include multiple audio stems that correspond to different audio sources represented in the second set of audio segments. The second set of audio segments can be processed by the stem separation module in series with the processing of the first set of audio segments (e.g., after processing of the first set of audio segments by the stem separation module is complete, or during playback of the first set of audio segments) or at least partially in parallel with the processing of the first set of audio segments (e.g., where processing of the second set of audio segments is initiated prior to completion of processing of the first set of audio segments via the stem separation module, which may depend on the hardware capabilities of the device).

[0023] After playback of the selected audio stem(s) of the first set of stem-separated segments is complete, the device may cause playback of selected audio stem(s) of the second set of stem-separated segments (which may correspond to the same audio sources as the selected audio stem(s) of the first set of stem-separated segments). Playback of the selected audio stem(s) of the second set of stem-separated segments may be achieved in a manner similar to that described above for playback of the selected audio stem(s) of the first set of stem-separated segments.

[0024] In some instances, prior to initiation of a stem separation mode, the device can playback the input audio signal without performing stem separation thereon (e.g., by passing the input audio signal to one or more on-device or off-device playback components, which can include intermediate processing / transformations such as analog-to-digital or digital-to-analog conversion, encoding / decoding, compression / decompression, wireless or wired data transmission, etc.). During playback of the input audio signal, the device can receive user input directed to activating the stem separation mode. The user input can take on any suitable form (e.g., via user interaction with user interface hardware, such as a touchscreen, controller, button / switch / knob, microphone for voice input, image sensor for gesture input, etc.). After detecting the user input for activating the stem separation mode, the device can refrain from continuing playback of the input audio signal and can activate the stem separation mode to begin stem separation processing to facilitate playback of one or more individual audio stems of the input audio signal. In some instances, the stem separation module to be used for stem separation processing is determined based on user input and / or based on pre-processing of the input audio signal (e.g., before or after activation of the stem separation mode).

[0025] When the device operates in the stem separation mode, the acts of (i) identifying an audio segment (or set of audio segments) from an input audio signal, (ii) processing the audio segment (or set of audio segments) using the stem separation module to obtain a stem-separated segment (or set of stem-separated audio segments), and (iii) causing playback of one or more audio stems of the stem-separated segment can be performed iteratively until a stop condition is satisfied. Within each iteration, acts (i) and / or (ii) noted above can be performed for a current audio segment during processing of a previously identified audio segment or during playback of an audio stem of a previously-generated stem-separated segment. Within each iteration, act (iii) noted above can be performed after playback of an audio stem of a previously-generated stem-separated segment is complete (or during completion thereof). Act (iii) noted above can include refraining from playing back one or more remaining audio stems (e.g., to isolate or remove vocals and / or one or more types of user instruments, etc.). In some implementations, one or more audio stitching operations are performed to combine consecutively generated audio stems for playback. In some instances, the input audio signal on which stem separation is performed to facilitate playback of one or more individual audio stems is associated or synchronized to an input video signal. Playback of the video signal can be delayed to be temporally synchronized with the playback of the individual audio stem(s) facilitated via operation of the stem separation mode.

[0026] After the stop condition is satisfied, the system can deactivate the stem separation mode and can, in some instances, revert to causing playback of the input audio signal without applying stem separation thereto.

[0027] The stop condition for triggering deactivation of the stem separation mode can take on various forms. For instance, the stop condition can comprise detecting user input directed to deactivating the stem separation mode (any type of user input may be utilized). In some implementations, the stop condition can comprise performance of a predetermined number of stem separation iterations, or can comprise satisfaction of other metrics, values, or thresholds (e.g., number of times or amount of time that a stem separation module is run, number of audio segments identified or processed from the input audio signal, number or duration of separated audio stems played back or enqueued for playback, number or duration of audio tracks or media content items on which stem separation is performed, temporal amount of input audio signal processed, temporal amount of stem-separated audio signal played back, amount of time spent in the stem separation mode, and / or others).

[0028] The stop condition for deactivating the stem separation mode, or the metric / value thresholds associated therewith, can be defined based at least in part on a service level associated with the stem separation software / models stored on the device. For instance, the device may comprise a consumer electronic device (e.g., a speaker, a musical instrument, a television, a home theater system, a vehicle sound system, an amplifier or smart amplifier, a mobile electronic device, etc.), and a limited, trial, or constrained version of the stem separation software / models can be initially ported to the electronic device (e.g., at the manufacturer / developer level). For example, a manufacturer or developer can access a limited version of the stem separation software / models via a third-party software library for implementation with an electronic device produced by the manufacturer or developer (e.g., after verifying that the electronic device provides sufficient hardware support for operation of the stem separation software / models). The limited version of the stem separation software / models can constrain operation of the stem separation models by imposing one or more of the stop conditions for operation of the stem separation mode (e.g., causing deactivation of the stem separation mode after one or more thresholds are satisfied, as noted above). A full version of the stem separation software / models can be subsequently ported to the electronic device (e.g., after a trial period, after licensing, after subscription or compensation to the third party by the end user and / or manufacturer, etc.). The full version of the stem separation software / models can omit the constraints associated with the limited version. For instance, the metric, value, or threshold-based stop conditions associated with the limited version can be omitted from the full version (with the primary stop condition being user-directed deactivation of the stem separation mode). In some instances, the full version of the stem separation software / models is initially ported to the electronic device at the manufacturer / developer level, but remains in a constrained, locked, or limited state until further action by the end user or manufacturer.

[0029] Having just described some of the various high-level features and benefits of the disclosed embodiments, attention will now be directed to the Figures, which illustrate various conceptual representations, architectures, methods, and / or supporting illustrations related to the disclosed embodiments.

[0030] FIGS. 1A, 1B, 1C, and 1D show conceptual representations of example components, elements, and acts associated with device-driven stem separation in playback environments. In particular, FIG. 1A illustrates example aspects of a device 100 for facilitating stem separation in a playback environment. The device 100 can comprise a consumer electronic device, such as, by way of non-limiting example, a speaker, a television, a home theater system, a vehicle sound system, an amplifier or smart amplifier, a mobile electronic device, a hardware peripheral or external module (e.g., a dongle, adapter, plug-in, attachment, interface device, expansion device), and / or others. The device 100 can comprise, correspond to, or include one or more components of a system 800, as described hereinafter with reference to FIG. 8. The device 100 of FIG. 1A includes an input interface 102 that enables the device 100 to receive or otherwise access an input audio signal 104 (represented in FIG. 1A as a waveform). In the example of FIG. 1A, the input audio signal 104 can comprise an audio signal of a music track that is continuously provided to or accessed by the device 100 over time, such as via analog or digital broadcast or streaming (e.g., analog radio, digital radio, satellite radio, Bluetooth, Wi-Fi audio, internet or network streaming), analog or digital interface (e.g., a line-in connection such as 3.5 mm jack (AUX), RCA cables, XLR cables, TRS / TRRS cables, USB audio, HDMI, optical, coaxial), and / or other modalities. In some instances, the input audio signal 104 comprises an analog signal from an analog audio transmission (e.g., an analog audio broadcast or line-in connection), which is converted to a digital signal by the device 100.

[0031] FIG. 1A illustrates the device 100 as including an output interface 106, whereby the device 100 can cause playback of an output audio signal 108. For example, the device 100 may receive the input audio signal 104 via the input interface 102 and pass the input audio signal 104 to the output interface 106 (as indicated by the arrow extending from the input interface 102 to the output interface 106) to facilitate audio playback (producing the output audio signal 108). In some instances, the device 100 can perform one or more intermediate operations on the input audio signal 104 received at the input interface 102 to produce the output audio signal 108 (e.g., analog-to-digital or digital-to-analog conversion, encoding / decoding, compression / decompression, wireless or wired data transmission, etc.). The output interface 106 can comprise a speaker of the device 100 or a communication channel (analog or digital, and wired or wireless) between the device 100 and a separate playback device.

[0032] FIG. 1A furthermore illustrates that the device 100 can comprise stem separation module(s) 110, which may be locally stored on the device 100. The stem separation module(s) 110 can comprise one or more condensed, compact, lightweight, embedded, or mobile stem separation module adapted for implementation in hardware / resource-constrained environments. For instance, the stem separation module(s) 110 can be configured to analyze short (potentially overlapping) frames or segments of audio from the input audio signal 104 (thereby reducing the amount of data being processed at any given instant into manageable chunks). The analyzed frames or segments can be temporally adjacent, enabling formation of temporally continuous output of individual audio stems.

[0033] The segments analyzed by the stem separation module(s) 110 can be about 1 second long or within a range of about 0.5 seconds to about 4 seconds or greater (e.g., less than 8 seconds). For each frame or segment of audio identified from the input audio signal 104, the stem separation module(s) 110 can extract features relevant to the audio stems to be separated, such as temporal features / relationships, spectral features, phase information, magnitude information, learned features (e.g., determined via feature learning models), spatial audio information, and / or other sound characteristics. In some instances, the stem separation module(s) 110 can utilize a reduced feature size relative to conventional stem separation modules, such as 256-channel features, 128-channel features, 64-channel features, etc. The stem separation module(s) 110 can utilize the extracted features to predict the components for each audio stem represented in each frame / segment. The stem separation module(s) 110 can apply masking or filtering to the frame / segment (or the spectral representation thereof) to isolate each audio stem of the frame / segment. Continuous audio for each of the represented audio stems may be formed by stitching or reconstructing temporally adjacent stem-separated audio segments together (e.g., accounting for potential temporal overlap between the segments).

[0034] In some implementations, the stem separation module(s) 110 are adapted for use with certain processing units or hardware accelerators, such as neural processing units (NPUs) and central processing units (CPUs), which can have lower power and / or resource consumption levels than graphics processing units (GPUs). For example, to facilitate processing via one or more NPUs, the stem separation module(s) 110 can be configured to refrain from utilizing complex numbers, such as by refraining from conventional techniques for generating spectrograms of audio frames / segments identified from the input audio signal 104 (e.g., instead relying on time-domain information / techniques, such as direct model-based prediction in the time domain, using customized time-domain features, mapping time-domain information to a latent space for separating stems, time-domain filtering techniques, etc.). As another example, the stem separation module(s) 110 can be subjected to quantization, where model parameters are represented using lower-bit width numbers (e.g., 8-bit or 16-bit integers rather than floating point numbers), which can reduce model size and / or increase model speed. The model size of the stem separation module(s) 110 can be further reduced by reducing the quantity of model layers (e.g., four transformer layers), which can adapt the stem separation module(s) 110 for operation on memory-constrained devices (in contrast with cloud servers, where conventional stem separation models are typically used). In some implementations, the stem separation module(s) 110 is / are generated using techniques such as knowledge distillation, weight pruning, neuron pruning, quantization, parameter sharing, factorization, and / or others.

[0035] In the example of FIG. 1A, the device 100 operates with a stem separation mode in an “off” state (indicated by block 112), wherein the device 100 receives the input audio signal 104 via the input interface 102 and provides the output audio signal 108 at the output interface 106 (e.g., without utilizing the stem separation module(s) 110). While operating with the stem separation mode off, the device 100 can determine whether a start condition has been satisfied (indicated by block 114). A start condition can comprise one or more conditions for activating the stem separation mode, such as receiving a user command or detecting the presence of one or more events / states (e.g., characteristics of the input audio signal 104). When a start condition is not satisfied (indicated by the “No” arrow extending from block 114), the device 100 may continue to operate with the stem separation mode in the “off” state (indicated by block 112), which may comprise continuing audio playback without performance of stem separation. When a start condition is satisfied (indicated by the “Yes” arrow extending from block 114), the device 100 may begin operating with the stem separation mode in an “on” state (indicated by block 116).

[0036] FIG. 1B illustrates an example in which the device 100 operates with the stem separation mode in an “on” state (indicated by block 118). While operating with the stem separation mode on, the device 100 can determine whether a stop condition has been satisfied (indicated by block 120). A stop condition can comprise one or more conditions for deactivating the stem separation mode, such as receiving a user command, detecting that an allotted or permitted amount of stem separation (or operation with the stem separation mode on) has been performed, and / or other conditions as described hereinabove. When a stop condition is not satisfied (indicated by the “No” arrow extending from block 120), the device 100 may continue to operate with the stem separation mode in the “on” state (indicated by block 118). When a stop condition is satisfied (indicated by the “Yes” arrow extending from block 120), the device 100 may begin operating with the stem separation mode in the “off” state (indicated by block 122).

[0037] Pursuant to operation of the device 100 with the stem separation mode in the “on” state, the device 100 may identify a segment 124A from the input audio signal 104. For instance, as the device 100 receives the input audio signal 104 via the input interface 102 over time, the device 100 may define a temporal segment (e.g., a one-second segment, or another duration) of the received input audio signal 104 as the segment 124A. For illustrative purposes, FIG. 1B conceptually depicts the segment 124A as a portion of the input audio signal 104 that has passed through the input interface 102 (traveling from left to right). Although FIG. 1B illustrates the segment 124A as including a single temporal segment, the segment 124A may include a plurality of constituent segments that, together, form the segment 124A (e.g., constituent segments can temporally overlap).

[0038] With the stem separation mode on, the device 100 may process the segment 124A using the stem separation module(s) 110. As noted above, the stem separation module(s) 110 can include multiple stem separation modules, and the device 100 may select a particular stem separation module to use in the current stem separation session (e.g., to process segment 124A and / or subsequent segments). The stem separation module(s) 110 can include different stem separation modules tailored for different use cases (e.g., different genres of music, different stems to be separated / output, different audio sources present in the input audio signal 104, etc.). For instance, the stem separation module(s) 110 can include: one or more stem separation modules configured to identify / separate one or more or a combination of vocals stems, bass stems, drums stems, guitars stems, strings stems, piano stems, keys stems, wind stems, and / or other / remaining audio stems (e.g., musical stem separation module(s)); one or more stem separation modules configured to identify / separate one or more or a combination of dialogue stems, music stems, and / or effects stems (e.g., cinematic stem separation module(s)); one or more stem separation modules configured to identify / separate one or more or a combination of lead vocals stems, backing vocals stems, and / or other vocals stems (e.g., vocals stem separation module(s)); one or more stem separation modules configured to identify / separate one or more or a combination of rhythm guitars stems, solo guitars stems, and / or other guitars stems (e.g., guitar parts stem separation module(s)); one or more stem separation modules configured to identify / separate one or more or a combination of kick drum stems, snare drum stems, toms stems, hi-hat stems, cymbals stems, and / or other drum stems (e.g., drum stem separation module(s)); and / or one or more stem separation modules configured to identify / separate one or more or a combination of acoustic guitar stems, electric guitar stems, and / or other guitar stems (e.g., guitar stem separation module(s)).

[0039] The device 100 may select a particular stem separation module from the stem separation module(s) 110 for the current stem separation session based on user input, such as user input selecting a stem separation module from a listing of the available stem separation module(s) 110 or user input indicating identifying information for the audio signal on which stem separation will be performed, which audio stems are present in the input audio signal, which audio stem(s) from the input audio signal to isolate for playback, and / or other information. In some implementations, the device 100 may select a particular stem separation module from the stem separation module(s) 110 for the current stem separation session based on pre-processing of an initial segment of the input audio signal 104. Such pre-processing can utilize, for instance, a classification module (e.g., SVMs, neural networks, random forests, and / or others) trained to classify segments of input audio (and / or features extracted therefrom) to provide one or more labels indicating the audio sources present in the input audio. The labels may be used to select the particular stem separation module for the current stem separation session.

[0040] FIG. 1B conceptually depicts the stem separation module(s) 110 receiving and processing the segment 124A to generate a stem-separated segment 136A (which can comprise multiple constituent stem-separated segments, such as where the segment 124A includes multiple constituent segments). The stem-separated segment 136A can include the audio stems associated with different audio sources represented in the segment 124A processed by the stem separation module(s) 110. For instance, FIG. 1B illustrates the stem-separated segment 136A as including a vocals stem 126A, a drums stem 128A, a bass stem 130A, a guitar stem 132A, and an other stem 134A (representing remaining audio that is not part of the other stems). Each audio stem of the stem-separated segment 136A of FIG. 1B is illustrated adjacent to a waveform representing the separated audio content. One will appreciate, in view of the present disclosure, that the stems of the stem-separated segment 136A of FIG. 1B are provided by way of example only and are not limiting of the disclosed principles (e.g., a stem-separated segment 136A can include additional, fewer, or alternative audio stems).

[0041] FIG. 1B illustrates an arrow extending from the vocals stem 126A toward the output interface 106 of the device 100, indicating that the vocals stem 126A is queued by the device 100 for playback. The vocals stem 126A can be selected for playback based on user-defined settings / selections (e.g., the user selecting a stem separation mode wherein only vocals from the input audio signal 104 are played back). Although FIG. 1B only depicts a single audio stem from the stem-separated segment 136A as being queued for playback, multiple and / or other audio stems of the stem-separated segment 136A may be played back (or omitted from playback) in accordance with the present disclosure.

[0042] FIG. 1C conceptually depicts playback of the vocals stem 126A from FIG. 1B by illustrating the vocals stem 126A as having passed through the output interface 106 (traveling from the left to the right). The device 100 can cause playback of the vocals stem 126A in various ways, such as by providing or transmitting a stem-separated audio signal (digital or analog) based on the vocals stem 126A to one or more speakers of the device 100 or to one or more off-device playback components / devices. The device 100 may selectively refrain from causing playback of the remaining audio stems of the stem-separated segment 136A (e.g., in the example of FIG. 1B, the drums stem 128A, the bass stem 130A, the guitar stem 132A, and the other stem 134A).

[0043] FIG. 1C also conceptually depicts reception of the input audio signal 104 by the device 100 at the input interface 102 as having temporally progressed (e.g., with the input audio signal 104 having moved further to the right with a greater portion of the input audio signal 104 as having passed the input interface 102 from the left to the right). FIG. 1C depicts the segment 124A that was processed by the stem separation module(s) 110 as described above with reference to FIG. 1B, resulting in playback of the vocals stem 126A as shown in FIG. 1C. FIG. 1C also depicts another segment 124B identified from the input audio signal 104, which may be identified by the device 100 in a manner similar to that described hereinabove for identification of the segment 124A. The segment 124B may be identified during processing of the segment 124A by the stem separation module(s) 110 and / or during playback of the vocals stem 126A. Similar to segment 124A, segment 124B can comprise a single segment or multiple constituent segments. Segment 124B and segment 124A can be temporally adjacent and can be at least partially temporally overlapping.

[0044] In the example of FIG. 1C, processing of the segment 124B by the stem separation module(s) 110 is initiated, as indicated by the arrow extending from the segment 124B to the stem separation module(s) 110 in FIG. 1C. Processing of the segment 124B by the stem separation module(s) 110 can be initiated during processing of segment 124A by the stem separation module(s) 110 and / or during playback of the vocals stem 126A. The stem separation module(s) 110 can, in some implementations, include multiple instances of the same stem separation module to permit simultaneous, parallel, or at least partially temporally overlapping processing of different segments (e.g., segments 124A and 124B) of an input audio signal (e.g., input audio signal 104). By processing the segment 124B, the stem separation module(s) 110 may generate an additional stem-separated segment 136B that also includes audio stems associated with various audio sources represented in the segment 124B, including a vocals stem 126B, a drums stem 128B, a bass stem 130B, a guitar stem 132B, and an other stem 134B.

[0045] FIG. 1C illustrates an arrow extending from the vocals stem 126B toward the output interface 106 of the device 100, indicating that the vocals stem 126B is queued by the device 100 for playback. The audio stems that become queued for playback over consecutive timepoints can correspond to the same audio source from the input audio signal 104 (e.g., vocals, in the example of FIGS. 1B, 1C, and 1D). FIG. 1D conceptually depicts playback of the vocals stem 126B from FIG. 1C by illustrating the vocals stem 126B as having passed through the output interface 106 (traveling form the left to the right). The vocals stem 126B may be played back after playback of the vocals stem 126A (or as a transition out of playback of the vocals stem 126A). Various stitching or reconstruction processes may be performed on the vocals stem 126A and the vocals stem 126B to facilitate a smooth transition and continuous playback across the two stems.

[0046] FIG. 1D also illustrates identification of another segment 124C from the input audio signal 104 and processing of the segment 124C by the stem separation module(s) 110 to obtain another stem-separated segment 136C associated with multiple audio stems (i.e., a vocals stem 126C, a drums stem 128C, a bass stem 130C, a guitar stem 132C, and an other stem 134C), which may be performed during processing of the segment 124B by the stem separation module(s) 110 or during playback of the vocals stem 126B (or any preceding stem, such as vocals stem 126A).

[0047] While the stem separation mode is on (indicated by block 118), the device 100 can continue to iteratively identify segments from the input audio signal 104, process the identified audio segments using the stem separation module(s) 110 to obtain stem-separated segments, and cause playback of one or more audio stems from the stem-separated segments until the stop condition is satisfied (indicated by the “Yes” extending from block 120). For a given iteration of generating one or more stem-separated segments, the steps of identifying audio segment(s) from the input audio signal 104 and / or processing the audio segment(s) using the stem separation module(s) 110 to generate the stem-separated segment(s) during the processing of preceding audio segment(s) to generate preceding stem-separated segment(s) and / or during playback of one or more preceding audio stems from the preceding stem-separated segment(s).

[0048] After the stop condition is satisfied, the device 100 can deactivate the stem separation mode (indicated by block 122) and continue to provide the output audio signal 108 from the input audio signal 104 as described hereinabove with reference to FIG. 1A (or may cease / pause playback or perform a different operation, such as scrubbing / navigation, etc.).

[0049] In some implementations, stem separation as described herein occurs in real-time or near-real-time. For example, a stem separation module may process the segment(s) identified from the input audio signal 104 while processing one or more temporally preceding segments from the input audio signal 104 (e.g., in parallel) and / or while one or more audio stems from previously generated stem-separated segments are being sent to or played back by one or more playback devices. As another example, following generation of an input audio signal 104 (or following provision of the input audio signal 104 to the stem separation module(s)), one or more stem-separated segments may be generated by processing the input audio signal 104 (or segments identified therefrom) via the stem separation module(s) within less than 2 seconds, less than 1.75 seconds, less than 1.5 seconds, less than 1.25 seconds, less than 1 second, less than 800 milliseconds, less than 800 milliseconds, less than 800 milliseconds, less than 600 milliseconds, less than 800 milliseconds, less than 400 milliseconds, less than 300 milliseconds, less than 200 milliseconds, less than 175 milliseconds, less than 150 milliseconds, less than 125 milliseconds, less than 100 milliseconds, less than 75 milliseconds, or less than 50 milliseconds. As yet another example, following generation of an input audio signal 104 (or following provision of the input audio signal 104 to the stem separation module(s)), one or more audio stems from stem-separated segment(s) generated via the stem separation module(s) may be sent to one or more playback devices for playback within less than 2 seconds, less than 1.75 seconds, less than 1.5 seconds, less than 1.25 seconds, less than 1 second, less than 800 milliseconds, less than 800 milliseconds, less than 800 milliseconds, less than 600 milliseconds, less than 800 milliseconds, less than 400 milliseconds, less than 300 milliseconds, less than 200 milliseconds, less than 175 milliseconds, less than 150 milliseconds, less than 125 milliseconds, less than 100 milliseconds, less than 75 milliseconds, or less than 50 milliseconds.

[0050] In some implementations, the input audio signal 104 is associated with an input video signal. In such instances, while the stem separation mode is in an “on” state, playback of the input video signal may be selectively delayed to facilitate temporal synchronization with playback of audio stem(s) separated from the input audio signal 104 via the stem separation module(s) 110. For example, the processing time for generating stem-separated segment via the stem separation module(s) may be determined and used by a system to delay playback of video frames by the system such that the playback of the video frames is temporally synchronized with playback of one or more audio stems from generated stem-separated segments. The processing time may be predefined and / or dynamically measured / updated. In some instances, the system utilizes the processing time in combination with latency associated with a playback device (e.g., a wireless speaker) to synchronize playback of video frames with playback of temporally corresponding audio stems (from generated stem-separated segments) on the playback device. The processing time associated with the stem separation module(s) and / or the latency of the playback device may be used to synchronize timestamps of video frames and audio stems for playback (e.g., on a display and an audio playback device).

[0051] Although the examples discussed hereinabove with reference to FIGS. 1A through 1D focus, in at least some respects, on implementations where the stem separation mode facilitates playback of a single audio stem (e.g., the vocals stem) from the input audio signal 104, other playback configurations that leverage the separated stems are achievable by implementing the disclosed principles. For instance, volume level changes or other transformations may be applied to individual audio stems of stem-separated segments for playback, which can improve spatial audio experiences or facilitate, for example, voice enhancement for improving the clarity and / or volume of dialogue in audiovisual content. In this regard, one or more transformations or additional or alternative audio processing operations may be applied to one or more individual stems of a stem-separated segment in preparation for playback, and the transformed or further processed individual stem(s) may be played back (alone or in combination with one or more or all other stems of the stem-separated segment).

[0052] FIGS. 2 and 3 illustrate example flow diagrams 200 and 300, respectively, depicting acts associated with the disclosed subject matter. The acts described with reference to FIGS. 2 and 3 can be performed using one or more components of one or more systems 800 described hereinafter with reference to FIG. 8, such as processor(s) 802, storage 804, sensor(s) 806, I / O system(s) 808, communication system(s) 810, remote system(s) 812, etc. Although the acts may be described and / or shown in a certain order, no specific ordering is required unless explicitly stated or if the performance of one act depends on the completion of another.

[0053] Act 202 of flow diagram 200 of FIG. 2 includes accessing an input audio signal. In some instances, the input audio signal comprises a digital audio signal associated with a digital audio file or a digital audio transmission. In some implementations, the input audio signal comprises a digital audio signal generated based on an input analog audio signal associated with an analog audio transmission. In some examples, the input audio signal is associated with an input video signal.

[0054] Act 204 of flow diagram 200 includes identifying a first set of one or more segments of the input audio signal.

[0055] Act 206 of flow diagram 200 includes processing the first set of one or more segments of the input audio signal using a stem separation module to generate a first set of one or more stem-separated segments, the first set of one or more stem-separated segments comprising a first plurality of audio stems corresponding to different audio sources represented in the first set of one or more segments.

[0056] Act 208 of flow diagram 200 includes causing playback of at least one of the first plurality of audio stems. In some embodiments, playback of the at least one of the first plurality of audio stems comprises refraining from playing one or more remaining audio stems of the first plurality of audio stems. In some instances, causing playback of the at least one of the first plurality of audio stems comprises transmitting a stem-separated audio signal corresponding to the at least one of the first plurality of audio stems to one or more playback devices. In some implementations, causing playback of the at least one of the first plurality of audio stems comprises causing one or more on-device speakers to play a stem-separated audio signal corresponding to the at least one of the first plurality of audio stems. In some examples, where the input audio signal is associated with an input video signal, playback of the input video signal may be delayed such that playback of the input video signal is temporally synchronized with playback of the at least one of the first plurality of audio stems and with playback of the at least one of the second plurality of audio stems.

[0057] Act 210 of flow diagram 200 includes during processing of the first set of one or more segments of the input audio signal using the stem separation module or during playback of the at least one of the first plurality of audio stems: (i) identifying a second set of one or more segments of the input audio signal, wherein the first set of one or more segments and the second set of one or more segments of the input audio signal are temporally adjacent or temporally overlapping; and (ii) initiating processing of the second set of one or more segments of the input audio signal using the stem separation module to generate a second set of one or more stem-separated segments, the second set of one or more stem-separated segments comprising a second plurality of audio stems corresponding to different audio sources represented in the second set of one or more segments.

[0058] Act 212 of flow diagram 200 includes after playback of the at least one of the first plurality of audio stems, causing playback of at least one of the second plurality of audio stems. In some embodiments, the at least one of the second plurality of audio stems comprises the same audio source(s) as the at least one of the first plurality of audio stems.

[0059] Act 302 of flow diagram 300 of FIG. 3 includes causing playback of an input audio signal. In some instances, the input audio signal comprises a digital audio signal associated with a digital audio file or a digital audio transmission. In some implementations, the input audio signal comprises a digital audio signal generated based on an input analog audio signal associated with an analog audio transmission.

[0060] Act 304 of flow diagram 300 includes, after detecting user input directed to activating a stem separation mode, causing cessation of playback of the input audio signal.

[0061] Act 306 of flow diagram 300 includes, after detecting user input directed to activating a stem separation mode and until a stop condition is satisfied, iteratively: (i) identifying a set of one or more segments of the input audio signal; (ii) processing the set of one or more segments using a stem separation module to generate a set of stem-separated segments, the set of stem-separated segments comprising a plurality of audio stems corresponding to different audio sources represented in the set of one or more segments; and (iii) causing playback of at least one audio stem from the plurality of audio stems. In some examples, the stem separation module is selected based on (i) user input selecting the stem separation module or (ii) pre-processing of the input audio signal to select the stem separation module. In some embodiments, the stop condition comprises performance of a predetermined number of iterations. In some instances, the stop condition comprises detecting user input directed to deactivating the stem separation mode. In some implementations, playback of the at least one audio stem from the plurality of audio stems comprises refraining from playing one or more remaining audio stems of the plurality of audio stems. In some examples, (i) identifying the set of one or more segments of the input audio signal or (ii) processing the set of one or more segments using the stem separation module to generate the set of stem-separated segments occurs during (a) processing of a preceding set of one or more segments of the input audio signal using the stem separation module to generate a preceding set of stem-separated segments comprising a plurality of preceding audio stems corresponding to different audio sources represented in the preceding set of one or more segments or during (b) playback of at least one preceding audio stem from the plurality of preceding audio stems. In some embodiments, the preceding set of one or more segments is identified after detecting user input directed to activating the stem separation mode in a previous iteration.

[0062] Act 308 of flow diagram 300 includes, after the stop condition is satisfied, causing playback of the input audio signal.

[0063] As noted hereinabove, a device configured to perform stem separation as described herein can take on various forms, such as a speaker, a television, a home theater system, a vehicle sound system, an amplifier or smart amplifier, a mobile electronic device, a hardware peripheral or external module (e.g., a dongle, adapter, plug-in, attachment, interface device, expansion device), and / or others. Where the device configured to perform stem separation comprises a hardware peripheral, the hardware peripheral can be communicatively connected to one or more different devices, systems, networks, etc. to receive audio therefrom, perform stem separation on the received audio, and send stem-separated audio to one or more connected playback devices to facilitate playback of the stem-separated audio. Such a hardware peripheral can thus introduce real-time or near-real-time audio stem separation capabilities to legacy systems or devices, enabling users to enjoy the benefits of real-time or near-real-time audio stem separation functionality without replacing legacy system components.

[0064] For instance, where a user's legacy media playback system includes a smartphone (e.g., for music selection / sourcing) and a speaker, neither being configured to perform on-device stem separation, a hardware peripheral as described herein may be introduced to such a system and connected to both the smartphone and the speaker (e.g., using any desired communication modality / modalities). To facilitate real-time or near-real-time playback of stem-separated audio, the smartphone may send an audio signal to the hardware peripheral (e.g., over a wired or wireless connection), and the hardware peripheral may process the incoming audio signal (using one or more on-device processing units and stem separation modules) to generate stem-separated audio output. The stem-separated audio output may be sent to the speaker for playback, such that playback of the stem-separated audio output occurs at the speaker in real-time or near-real-time (e.g., relative to the time that the hardware peripheral receives the corresponding part of the audio signal from the smartphone).

[0065] Implementing the disclosed principles can thus add real-time or near-real-time stem separation functionality to legacy systems / devices in a cost-effective and / or efficient manner. FIGS. 4A and 4B and their attendant description provide additional features and examples related to implementing such principles.

[0066] FIG. 4A illustrates an example system 400 for facilitating real-time or near-real-time stem separation. The system 400 shown in FIG. 4A includes a hardware peripheral402 configured to perform on-device stem separation as described hereinabove. For instance, the hardware peripheral 402 in the example shown in FIG. 4A includes processing unit(s) 404 (e.g., corresponding to processor(s) 802), which can comprise one or more NPUs, CPUs, GPUs, and / or other processing components for executing stem separation module(s) 406 (e.g., corresponding to stem separation module(s) 110 described above). In some embodiments, the hardware peripheral 402 may instead operate as a passive or substantially passive high-performance input / output conduit, wherein computationally intensive stem separation processing is performed primarily or exclusively on the first device (e.g., a smartphone or other host device), and the hardware peripheral 402 facilitates deterministic, low-latency bidirectional audio transport without itself performing the stem separation computation.

[0067] The hardware peripheral 402 shown in FIG. 4A further includes communication system(s) 408 (e.g., corresponding to communication system(s) 810), which can support any quantity of communication modalities 410 and / or communication channels 412 to enable the hardware peripheral 402 to communicate with external systems and / or devices. The communication system(s) 408 can comprise hardware that enables the hardware peripheral 402 to communicate with external systems and / or devices via wired and / or wireless communication modalities 410. Example modalities 410 can include, by way of non-limiting example, Bluetooth, Wi-Fi, cellular networks / communication, radio frequency communication, satellite transmission, ultra-wideband, Zigbee, 3.5 mm jack (AUX), RCA cables, XLR cables, TRS / TRRS cables, USB audio, HDMI, optical, coaxial, and / or others.

[0068] FIG. 4A illustrates example systems that the hardware peripheral 402 may communicate with via the communication system(s) 408. For instance, FIG. 4A illustrates source 420 from which the hardware peripheral 402 may be configured to receive an input audio signal 422 over a first communication channel 424. The source 420 that sends the input audio signal 422 to the hardware peripheral 402 over the first communication channel 424 can take on various forms, such as a computer 420A, a mobile electronic device 420B (e.g., a smartphone), a media dongle 420C, a server system 420D (e.g., supporting a media streaming service), and / or others (as indicated by the ellipsis depicted within the source 420 in FIG. 4A).

[0069] In the example shown in FIG. 4A, the hardware peripheral 402 is configured to process at least part of the input audio signal 422 using the stem separation module(s) 406 to generate stem-separated audio 414 (e.g., when a stem separation mode is active, which can be controlled by the hardware peripheral 402 and / or a connected device such as source 420 and / or playback device 430). The stem-separated audio 414 can include any quantity of audio stems corresponding to different audio sources represented in the part of the input audio signal 422 processed by the stem separation module(s) 406 to generate the stem-separated audio 414. FIG. 4A depicts the stem-separated audio 414 as including three stems (i.e., “Stem A”, “Stem B”, and “Stem C”), though any quantity and / or types of stems are within the scope of the present disclosure. For instance, the stem separation module(s) 406 can include: one or more stem separation modules configured to identify / separate one or more or a combination of vocals stems, bass stems, drums stems, guitars stems, strings stems, piano stems, keys stems, wind stems, and / or other / remaining audio stems (e.g., musical stem separation module(s)); one or more stem separation modules configured to identify / separate one or more or a combination of dialogue stems, music stems, and / or effects stems (e.g., cinematic stem separation module(s)); one or more stem separation modules configured to identify / separate one or more or a combination of lead vocals stems, backing vocals stems, and / or other vocals stems (e.g., vocals stem separation module(s)); one or more stem separation modules configured to identify / separate one or more or a combination of rhythm guitars stems, solo guitars stems, and / or other guitars stems (e.g., guitar parts stem separation module(s)); one or more stem separation modules configured to identify / separate one or more or a combination of kick drum stems, snare drum stems, toms stems, hi-hat stems, cymbals stems, and / or other drum stems (e.g., drum stem separation module(s)); and / or one or more stem separation modules configured to identify / separate one or more or a combination of acoustic guitar stems, electric guitar stems, and / or other guitar stems (e.g., guitar stem separation module(s)).

[0070] To trigger audio playback, the hardware peripheral 402 may send one or more stems from the stem-separated audio 414 generated by processing at least part of the input audio signal 422 using the stem separation module(s) 406 to a playback device 430. The playback device 430 may be connected to the hardware peripheral 402 via a second communication channel 434 using any suitable modality 410. The playback device 430 can take on various forms, such as a television 430A, vehicle audio system 430B, speaker(s) 430C, and / or others (as indicated by the ellipsis depicted within the playback device 430 in FIG. 4A). In the example shown in FIG. 4A, “Stem A” of the stem-separated audio 414 (or simply “stem 432”) is sent by the hardware peripheral 402 to the playback device 430 over second communication channel 434, though any quantity, combination, or mixing of stems may be sent by the hardware peripheral 402 to the playback device 430 for playback.

[0071] In at least some implementations, stem 432 (or any quantity, combination, or mixing of stems) is sent to the playback device 430 for playback (or playback of the stem 432 occurs at the playback device 430) in real-time or near-real-time relative to the time that the hardware peripheral 402 receives the corresponding part of the input audio signal 422 from the source 420. For example, after receiving at least part of the input audio signal 422 from the source 420, the hardware peripheral 402 may process the part of the input audio signal 422 using the stem separation module(s) 406 and send one or more stems from the stem-separated audio 414 to the playback device 430 (and / or playback of the one or more stems may occur at the playback device 430) within less than 2 seconds, less than 1.75 seconds, less than 1.5 seconds, less than 1.25 seconds, less than 1 second, less than 800 milliseconds, less than 800 milliseconds, less than 800 milliseconds, less than 600 milliseconds, less than 800 milliseconds, less than 400 milliseconds, less than 300 milliseconds, less than 200 milliseconds, less than 175 milliseconds, less than 150 milliseconds, less than 125 milliseconds, less than 100 milliseconds, less than 75 milliseconds, or less than 50 milliseconds.

[0072] By way of illustration, referring to the example(s) discussed hereinabove with reference to FIGS. 1B through 1D, when the stem separation mode is on (which may be controlled by the hardware peripheral 402 and / or a device connected to the hardware peripheral 402, such as the source 420 and / or the playback device 430), the input audio signal 422 may be regarded as the input audio signal 104, from which segments may be identified (e.g., segments 124A, 124B, 124C), with a quantity of such segments corresponding to the part of the input audio signal 422 processed by the stem separation module(s) 406 to generate the stem-separated audio 414. The stem-separated audio 414 may comprise one or more stem-separated segments (e.g., segments 136A, 136B, 136C) including one or more audio stems (e.g., 126A, 128A, 130A, 132A, 134A, 126B, 128B, 130B, 132B, 134B, 126C, 128C, 130C, 132C, 134C), any of which may be sent to the playback device 430 via the second communication channel 434 for playback.

[0073] As indicated above, the first communication channel 424 and the second communication channel 434 may use the same or different communication modality 410. In one example, both the first communication channel 424 and the second communication channel 434 utilize one or more wireless communication modalities. For instance, the source 420 may be a server system 420D supporting a media streaming service that sends the input audio signal 422 to the hardware peripheral 402 over a wide area network, with the first communication channel 424 comprising at least a Wi-Fi modality, while the second communication channel 434 may utilize Bluetooth, peer-to-peer Wi-Fi, or another wireless communication modality. In another instance, the source 420 may be a user device (e.g., a computer 420A or mobile electronic device 420B) that communicates with the hardware peripheral 402 over the first communication channel 424 using Bluetooth, while the second communication channel 434 also utilizes Bluetooth.

[0074] As another example, the first communication channel 424 may utilize a wired communication modality (e.g., where the source 420 comprises a media dongle 420C that connects to the hardware peripheral 402 via HDMI or another wired connection) while the second communication channel 434 may utilize a wireless modality. As yet another example, the first communication channel 424 may utilize a wireless communication modality while the second communication channel 434 may utilize a wired modality (e.g., where the playback device 430 comprises a legacy speaker 430C that does not support wireless communication). As still another example, the first communication channel 424 and the second communication channel 434 may both utilize wired communication modalities.

[0075] In some implementations, the input audio signal 422 received by the hardware peripheral 402 from the source 420 is temporally correlated with a video signal 426 (e.g., where the input audio signal 422 and the video signal 426 together form video content or multimedia content). In such cases, the hardware peripheral 402 can be configured to facilitate temporally synchronized playback of the video signal 426 with the stem(s) (e.g., stem 432) generated by the stem separation module(s) 406.

[0076] For instance, when playback of the video signal 426 is to occur at the playback device 430 (e.g., where the source 420 comprises a media dongle 420C or a server system 420D supporting a media streaming service, and where the playback device 430 comprises a display), the hardware peripheral 402 may receive the video signal 426 that is temporally correlated with the input audio signal 422 from the source 420 (e.g., over the first communication channel 424, as indicated in FIG. 4A by the adjacent coupling of the video signal 426 with the input audio signal 422). When (or after) generating the stem-separated audio 414 using the input audio signal 422, the hardware peripheral 402 may apply timestamp or timecode data from the input audio signal 422 to the stem-separated audio 414, allowing the stem(s) of the stem-separated audio 414 to be temporally correlated with the video signal 426 (e.g., with video / image frames thereof) during playback. The hardware peripheral 402 may send the desired stem(s) from the stem-separated audio 414 (imbued with timestamp or timecode data based on the input audio signal 422) along with the video signal 426 to the playback device 430, thereby triggering or enabling temporally synchronized playback of the desired stem(s) and the video signal 426 at the playback device 430.

[0077] As another example, when playback of the video signal 426 is to occur at the source 420 (e.g., where the source 420 comprises a computer 420A, mobile electronic device 420B, television, etc.) while playback of one or more stems is to occur at the playback device 430 (e.g., where the playback device 430 comprises speaker(s) 430C), the hardware peripheral 402 may receive the input audio signal 422 without the temporally correlated video signal 426. The hardware peripheral 402 may send delay data 440 to the source 420 (e.g., over the first communication channel 424). The delay data 440 can represent processing time associated with generating the stem-separated audio 414 via the stem separation module(s) 406 and / or other sources of latency (e.g., latency associated with communications between the hardware peripheral 402 and the playback device 430 and / or the source 420, latency associated with audio playback by the playback device 430). The source 420 may use the delay data 440 to delay playback of the video signal 426 such that playback of the video signal 426 at the source 420 is temporally synchronized with playback of the stem(s) (e.g., stem 432) at the playback device 430.

[0078] Although FIG. 4A focuses on configurations in which the playback device (e.g., playback device 430) for playing back one or more stems separated by the stem separation module(s) 406 is different from the source 420 that supplies the input audio signal 422 for processing by the hardware peripheral 402, other configurations are possible. FIG. 4B illustrates an alternative system 450 in which the source 420 that provides the input audio signal 422 to the hardware peripheral 402 also receives the stem(s) of the stem-separated audio 414 (e.g., stem 432) from the hardware peripheral 402 (e.g., over the first communication channel 424). For instance, the source 420 may comprise its own audio playback hardware (e.g., speakers), enabling the source 420 to play back the stem(s) (e.g., stem 432) received from the hardware peripheral 402. In this regard, a hardware peripheral 402 as described herein may augment the capabilities of a single legacy device (e.g., a computer 420A, a mobile electronic device 420B) with real-time or near-real-time stem separation functionality.

[0079] For the configuration of the system 450 shown in FIG. 4B, in cases where a video signal is temporally synchronized with the input audio signal 422 for playback at the source 420, the hardware peripheral 402 may apply timestamp or timecode data from the input audio signal 422 to the stem-separated audio 414, allowing the stem(s) of the stem-separated audio 414 to be temporally correlated with the video signal. The source 420 may use the timestamp or timecode data associated with the stem(s) (e.g., stem 432) received from the hardware peripheral 402 to synchronize playback of the stem(s) with the applicable video signal.

[0080] In some instances, the source of the audio signal on which stem separation is to be performed may itself comprise sufficient computational resources to execute stem separation processing locally. For example, modern smartphones often include high-performance processors (e.g., central processing units, neural processing units, and graphics processing units) that are capable of performing real-time or near-real-time stem separation using stem separation modules as described herein. However, despite the availability of such processing capabilities, applications of smartphones and similar consumer devices are typically unable to access the system output audio generated by other applications or by the operating system itself. This limitation arises from platform-level restrictions that prevent applications from tapping into the composite audio stream produced by the system's audio output signal path (e.g., the mixed output of multiple concurrently executing applications, including media players, streaming services, and system notifications).

[0081] As a result, even though a smartphone (or other user device) may be computationally capable of performing real-time or near-real time stem separation on audio signals, it is generally unable to do so on the system output audio signal. Conventional approaches to stem separation on user devices are therefore constrained to audio files explicitly provided to the stem separation application, rather than enabling dynamic, real-time processing of audio that is actively being played by the system.

[0082] The disclosed subject matter includes a hardware peripheral that is configurable to reroute the system output audio signal from a device (e.g., a smartphone) back to the device (e.g., via a different communication channel). This loopback mechanism enables the device to receive the system output audio signal as if it were an external input (e.g., a microphone signal), thereby circumventing the platform-level restrictions that would otherwise prevent access. Once received, the device can perform stem separation on the looped-back signal using its onboard processing resources, and then transmit the resulting stem-separated audio to the hardware peripheral or another playback device for output. This architecture may enable real-time or near-real-time stem separation of system output audio on devices that would otherwise be incapable of accessing such audio, thereby unlocking new use cases for musicians, educators, and general consumers.

[0083] In some implementations, in addition to receiving and facilitating playback of stem-separated audio, the hardware peripheral may also be configured to receive a music signal from a connected music source, such as a musical instrument or microphone. For example, the hardware peripheral may include a dedicated music input interface (e.g., a ¼-inch instrument jack, XLR input, USB audio input, or wireless connection) through which a user can provide a live performance signal. Upon receiving the music signal, the hardware peripheral may route the music signal for playback alongside one or more selected audio stems from the stem-separated audio. This may enable a user to effectively replace or augment a particular stem (e.g., a bass stem) with their own live performance, allowing the music signal to be merged, layered, or played in parallel with the remaining stem(s). In some embodiments, the music signal and the stem-separated audio may be transmitted to a playback device (e.g., of or by the hardware peripheral) over the same or separate communication channels, and may be mixed or synchronized in real time to preserve timing and coherence across the combined output.

[0084] FIG. 5 illustrates an example system 500 for audio routing and processing. As shown, system 500 may include a hardware peripheral 540, a first device 560, a playback device 550, and a music source 552. In some embodiments, one or more of these components may be omitted or combined. For instance, the hardware peripheral 540 may itself comprise the playback device 550 or other playback componentry, or the music source 552 may be integrated into the hardware peripheral 540 or first device 560. In some implementations, the music source 552 may be omitted entirely, such as in configurations focused solely on playback of stem-separated audio. The illustrated configuration is merely one example of how the disclosed principles may be implemented.

[0085] In the example shown in FIG. 5, the first device 560 may comprise a user electronic device such as a smartphone, tablet, laptop, desktop computer, or other computing device configured to receive user input and execute software applications. The first device 560 may be configured to generate or provide an input audio signal 504 (represented in FIG. 5 by a playback indicator associated with an input audio signal), which may include system output audio generated by the operating system (OS) of the first device 560. The system output audio may comprise an audio signal from an executing application or a composite signal formed by mixing or compositing audio signals from multiple concurrently executing applications (e.g., media players, streaming services, games, messaging apps) and / or the OS itself. The system output audio may be routed through a system audio output signal path, which may include components such as an OS audio subsystem, audio router, mixer, volume controller, audio processor, digital-to-analog and / or analog-to-digital converters, driver manager, audio driver, audio API, and other routing mechanisms.

[0086] As illustrated in FIG. 5, the input audio signal 504 may be sent from the first device 560 to the hardware peripheral 540 over a first communication channel 536. The first communication channel 536 may comprise any suitable wired or wireless connection, such as a USB-C connection, HDMI, TRRS, Bluetooth audio out (or other pairwise or peer-to-peer connection), or other modality. For example, the first communication channel 536 may correspond to a particular set of channels or pins of a USB-C connection used to transmit system output audio (e.g., L and R channels / pins for stereo audio), or a Bluetooth audio stream sent from the first device 560 to the hardware peripheral 540.

[0087] The hardware peripheral 540 may be configured to receive the input audio signal 504 over the first communication channel 536 and route the signal back to the first device 560 over one or more second communication channels 538a that are different from the first communication channel 536. The second communication channel(s) 538a may include a single channel or any quantity of channels that differ from the first communication channel 536. For example, the second communication channel(s) 538a may comprise one or more other pins or lanes of the same USB-C connection used for the first communication channel 536, or may comprise different logical channels of the same Bluetooth connection (e.g., Bluetooth microphone input or other pairwise or peer-to-peer connection). In some cases, the second communication channel(s) 538a may be physically or logically distinct from the first communication channel 536, even if part of the same overall connection.

[0088] By routing the input audio signal 504 back to the first device 560 over a different communication channel, the hardware peripheral 540 may enable the first device 560 to access and process system output audio that would otherwise be inaccessible due to OS-level restrictions. For example, many smartphone operating systems prevent applications from accessing the audio output of other apps or the system as a whole. In the example shown in FIG. 5, the loopback routing performed by the hardware peripheral 540 may allow the first device 560 to receive the system output audio as if it were an external input (e.g., microphone input), thereby circumventing such restrictions.

[0089] Upon receiving the looped-back input audio signal 504, the first device 560 may be configured to process the signal using one or more stem separation modules (e.g., stem separation module 110). These modules may be executed by processing units residing on the first device 560, such as CPUs, NPUs, or other processors. The stem separation module may generate a plurality of audio stems corresponding to different audio sources represented in the input audio signal 504 (e.g., vocals, drums, guitar, bass, background). In some embodiments, the stem separation may occur in real-time or near-real-time, enabling dynamic playback and interaction.

[0090] The first device 560 may include a user interface comprising a stem control region 544, which may allow a user to control playback characteristics of the generated stems. As illustrated in FIG. 5, the stem control region 544 may include sliders for adjusting the volume of each stem, and may include additional or alternative controls for selecting, omitting, or modifying stems. These controls may be used to attenuate, amplify, or exclude particular stems (e.g., vocals, bass, drums). Such modifications may be applied prior to transmission to the hardware peripheral 540 (e.g., by constraining which stems are sent), or may be implemented by the hardware peripheral 540 or another downstream device (e.g., playback device 550) based on modification instructions received from the first device 560.

[0091] After generating the stem-separated audio, the first device 560 may be configured to send one or more selected stems to the hardware peripheral 540 over one or more second communication channels 538b (which may include stems selected and / or modified as indicated via the stem control region 544). The second communication channel(s) 538b may be the same as or different from the second communication channel(s) 538a used for loopback routing. For instance, second communication channel(s) 538a and 538b may be different channels of a USB-C connection, or different logical channels of a Bluetooth connection (or other pairwise or peer-to-peer connection). In some embodiments, second communication channel(s) 538a and 538b may be combined into a single bidirectional channel, or may be separate unidirectional channels. In some implementations, the selected stem(s) may be sent from the first device 560 to the hardware peripheral 540 over a custom protocol or designated communication lane that is separate from first communication channel 536. For example, the second communication channel(s) 538b may comprise a USB-C pin or logical Bluetooth channel that is distinct from the first communication channel 536 to avoid merging with the original audio stream. This separation may preserve the integrity of the stem-separated output and allow for precise playback control at the hardware peripheral 540 and / or downstream playback device 550.

[0092] The hardware peripheral 540 may be configured to receive the stem-separated audio from the first device 560 and facilitate playback. In some embodiments, the hardware peripheral 540 may itself comprise playback components (e.g., speakers, amplifiers), while in other embodiments, the hardware peripheral 540 may forward the audio to a separate playback device 550 over one or more second communication channels 538c. The second communication channel(s) 538c may include wired or wireless modalities (e.g., Bluetooth, TRRS, USB, HDMI), and may be configured to transmit one or more selected stems for playback.

[0093] In some implementations, the hardware peripheral 540 may also be configured to receive a music signal 548 from a music source 552. The music source 552 may comprise a musical instrument (e.g., electric guitar, bass guitar, keyboard) or an audio capture device (e.g., microphone). The music signal 548 may be received via a music input 546, which may include a physical connector (e.g., ¼-inch jack, XLR, USB) or a wireless interface (e.g., Bluetooth, Wi-Fi). The hardware peripheral 540 may be configured to route the music signal 548 for playback along with the stem-separated audio.

[0094] As illustrated in FIG. 5, the hardware peripheral 540 may send the received stems and, optionally, the music signal 548 to the playback device 550 over one or more second communication channels 538c and / or 538d. The second communication channel(s) 538c and 538d may be the same or different, and may include any suitable wired or wireless modality. For example, both channels may be part of a USB-C connection (e.g., separate pins) or other wired connection, or separate logical channels of a Bluetooth connection (or other pairwise or peer-to-peer connection). In some implementations, the stems and music signal may be transmitted together over a combined channel, or separately over distinct channels.

[0095] The playback may include merged audio (e.g., combining the music signal with selected stems), parallel playback (e.g., playing the music signal and stems simultaneously but separately), or other configurations. Playback characteristics (e.g., volume mixing, stem selection, timing alignment) may be controlled at the first device 560, the hardware peripheral 540, the playback device 550, or any combination thereof. For example, the first device 560 may apply volume attenuation to the guitar stem before transmission, while the hardware peripheral 540 may apply additional mixing with the live guitar signal received from the music source 552.

[0096] In some embodiments, the act of sending the stem-separated audio from the first device 560 to the hardware peripheral 540 may itself be regarded as causing or triggering playback, particularly where the hardware peripheral 540 is configured to forward the audio to a playback device or perform playback directly. Similarly, the hardware peripheral 540 may be configured to cause playback by transmitting the audio to the playback device 550, or by activating on-device playback components. The playback device 550 may comprise any suitable component for audio output, such as headphones, speakers, televisions, vehicle audio systems, or home theater systems. In some implementations, the playback device 550 may additionally or alternatively comprise an audio interface (e.g., a USB audio interface), a digital-to-analog converter (DAC), an external sound card, a studio monitor system, a public address (PA) system, a professional recording interface, an amplifier with integrated digital audio processing, or other audio output hardware configured to receive digital or analog audio signals for playback or further routing. The playback device 550 may further comprise one or more integrated or external amplification stages, signal conditioning components, clocking circuitry, and / or digital signal processors configured to render or further process received stem-separated audio.

[0097] The configuration shown in FIG. 5 may address several technical challenges associated with stem separation on consumer devices. For instance, by enabling access to system output audio via loopback routing, the system may overcome OS-level restrictions that prevent applications from accessing audio generated by other apps. Additionally, by allowing live music signals to be integrated with stem-separated audio, the system may support dynamic performance scenarios (e.g., practice, recording, live mixing). The modularity of the communication channels and playback configurations may further support flexible deployment across a range of devices and environments.

[0098] In some implementations, the disclosed framework may facilitate stem-separated playback of audio content without creating a copy of the underlying audio track or backing content. For example, the input audio signal 504 may be processed, and stems obtained therefrom may be played back, in real-time or near-real-time without storing or duplicating the original media. Playback may thus occur dynamically and / or ephemerally, with no persistent copy of the original media being created. For example, once playback of a commercial track, backing audio, or audio stem(s) obtained therefrom ceases, the corresponding data may be discarded without being persistently saved to device memory of the first device 560 or hardware peripheral 540. This ephemeral model may help users remain compliant with copyright laws and may reduce the risk of unauthorized duplication of protected content, which may be advantageous for content owners and rights holders.

[0099] In some implementations, the hardware peripheral 540 may be configured to enter a stem separation mode or enhanced processing mode after detecting a triggering signal or handshake received from the first device 560. For example, when the first device 560 is executing a compatible application (e.g., a media control application), the application may cause sending of a configuration signal, electrical pulse, or protocol-level message from the first device 560 to the hardware peripheral 540 to indicate that stem separation functionality is to be activated (e.g., causing the hardware peripheral 540 to initiate the loopback of the received audio signal to the first device 560). This triggering mechanism may allow the hardware peripheral 540 to operate in a standard or passive mode with general applications, while enabling enhanced routing and processing features when connected to a compatible system (e.g., with an appropriate application executing thereon). In some implementations, when operating in a standard or passive mode, the hardware peripheral 540 may function as a conventional audio interface, routing audio signals between devices (e.g., routing the audio signal from the first device 560 to the playback device 550, routing the music signal from the music source 552 to the playback device 550) without performing loopback or stem separation-related operations. This fallback capability may allow the hardware peripheral 540 to maintain compatibility with a wide range of devices and use cases.

[0100] FIG. 6 illustrates an example system 600 for audio routing, stem separation, and synchronized playback. As shown, system 600 may include a first device 660, a hardware peripheral 640, a playback device 650, and a music source 652. In some embodiments, one or more of these components may be omitted, combined, or distributed across multiple devices. For example, the hardware peripheral 640 may itself comprise the playback device 650, or the music source 652 may be integrated into the hardware peripheral 640 or the first device 660.

[0101] The first device 660 may comprise a user electronic device such as a smartphone, tablet, laptop, desktop computer, or other computing device configured to receive user input and execute software applications. The first device 660 may include processor(s) 612A configured to execute one or more stem separation module(s) 610, and communication system(s) 614A configured to communicate over one or more communication modalities 642A and / or one or more communication channels 638A. In the example shown in FIG. 6, the first device 660 is configured to send an input audio signal 604 to the hardware peripheral 640 over one or more first communication channels 636. The input audio signal 604 may include system output audio generated by the operating system (OS) of the first device 660, such as audio from an executing application or composited from multiple concurrently executing applications (e.g., media players, streaming services, games, messaging apps) and / or the OS itself. The system output audio may be routed through a system audio output signal path, which may include components such as an OS audio subsystem, audio router, mixer, volume controller, audio processor, digital-to-analog and / or analog-to-digital converters, driver manager, audio driver, audio API, and other routing mechanisms.

[0102] In some implementations, a video signal 670 may accompany the input audio signal 604. The video signal 670 may comprise video content that is temporally correlated with the input audio signal 604 (e.g., a music video associated with a backing track, or a video recording of a musician performing). When present, the video signal 670 may, in some instances, be sent over the first communication channel(s) 636 along with the input audio signal 604. The first communication channel(s) 636 may include any suitable wired or wireless connection, such as USB-C, HDMI, TRRS, Bluetooth (or other pairwise or peer-to-peer connection), and may include one or more channels or lanes within such connections.

[0103] The hardware peripheral 640 may include processor(s) 612B and communication system(s) 614B configured to communicate over one or more communication modalities 642B and / or one or more communication channels 638B. In the example shown in FIG. 6, the hardware peripheral 640 is configured to loop the input audio signal 604 back to the first device 660 via one or more second audio channels 662a. These second audio channels 662a may be different from the first communication channel(s) 636 and may include one or more channels of the same connection (e.g., different pins of a USB-C cable or different logical channels of a Bluetooth connection). This loopback routing may enable the first device 660 to receive the input audio signal 604 as an external input (e.g., microphone input), thereby allowing stem separation module(s) 610 to process the signal and generate stem-separated audio 674.

[0104] The stem-separated audio 674 may include any number of audio stems. In the example shown in FIG. 6, the stem-separated audio 674 includes stem A, stem B, and stem C, corresponding to different audio sources represented in the input audio signal 604. In the example shown in FIG. 6, the first device 660 is configured to send stem A (and not stems B or C) to the hardware peripheral 640 over one or more second communication channels 662b to cause playback of stem A. The second communication channels 662b may be distinct from the second audio channels 662a and may include one or more channels of the same USB-C or Bluetooth connection (or other pairwise or peer-to-peer connection), or may comprise a separate inter-device or peer-to-peer connection. The stem(s) sent may be selected and / or modified as indicated via the stem control region (e.g., volume attenuation, amplification, omission, selection), and such modifications may be applied prior to transmission or may be implemented by the hardware peripheral 640 or another downstream device.

[0105] As illustrated in FIG. 6, the video signal 670 may optionally be sent to the hardware peripheral 640 along with stem A (e.g., over the second communication channel(s) 662b). This indicates that the video signal 670, when present, may be transmitted with the input audio signal 604 or with any stem-separated audio sent to the hardware peripheral 640. The hardware peripheral 640 may be configured to send stem A to a playback device 650 over one or more second communication channels 662c. The playback device 650 may comprise any suitable audio output component, such as speakers 650A, headphones 650B, a television or home audio system 650C, a vehicle audio system 650D, and / or others. The playback of stem A may occur in real-time or near-real-time relative to the sending of the input audio signal 604 from the first device 660 to the hardware peripheral 640.

[0106] In some implementations, the video signal 670 may also be sent from the hardware peripheral 640 to the playback device 650 (e.g., along with stem A) to facilitate synchronized playback of the video signal 670 and the stem-separated audio at the playback device 650. Temporal synchronization may be achieved via orchestration by the hardware peripheral 640, the playback device 650, and / or the first device 660. For example, the first device 660 may preserve time indices associated with the input audio signal 604 and apply them to the separated stems, enabling alignment with the video signal 670. In another example, the hardware peripheral 640 may buffer and align the video signal 670 with stem A prior to transmission to the playback device 650. In one example, the video signal 670 comprises a music video that is associated with a backing track from which stem A is derived, and stem A is played back along with the video signal 670. As another example, the video signal 670 may comprise a video recording of a musician playing an instrument to generate the music signal 648 (described below), and the music signal, the selected / modified stem(s), and the video signal may be played back together in synchronized fashion.

[0107] FIG. 6 also shows a music source 652, which may comprise a microphone 652A, saxophone 652B, guitar 652C, or other instrument or audio input device. The music source 652 may be in communication with the hardware peripheral 640 via one or more second communication channels 662d. These channels may include wired connections (e.g., ¼-inch jack, XLR, USB) or wireless modalities (e.g., Bluetooth, Wi-Fi, peer-to-peer protocols, etc.). The hardware peripheral 640 may be configured to receive a music signal 648 from the music source 652 and send it (e.g., over the second communication channel(s) 662c) along with the stem-separated audio (e.g., stem A) and / or the video signal 670 to the playback device 650. This may facilitate playback of the music signal 648 in combination with the stem-separated audio and / or video signal 670. For example, the video signal 670 may comprise a video recording of the musician generating the music signal 648, stem A may be derived from a backing track, and the video signal 670, the music signal 648, and stem A may all be played back together. In another example, the video signal 670 may be a music video of the backing track, and the musician's live performance may be layered with the separated stem(s) from the same backing track.

[0108] In some cases, the video signal 670 (where present) may be played back at the first device 660 (or by a video playback device connected to the first device 660, such as a display connected directly to the first device 660 via a wired or wireless connection) while the stem-separated audio (e.g., stem A) is played back at the playback device 650 and / or at the hardware peripheral 640 (where the hardware peripheral 640 includes audio and / or video playback componentry). In such cases, delay data 616 may be sent to the first device 660 to facilitate synchronized playback of the video signal 670 and the selected and / or modified stem(s). The delay data 616 may be sent by the hardware peripheral 640 over one or more second communication channels 662e, and / or may be obtained from other sources in communication with the first device 660, such as the playback device 650 and / or the music source 652. The delay data 616 may capture latency introduced by communications among the first device 660, hardware peripheral 640, playback device 650, and / or music source 652. For example, Bluetooth connections may introduce latency ranging from approximately 30 milliseconds to 200 milliseconds depending on codec and device configuration, and such latency may be determined via handshake protocols and communicated to the first device 660. Wired connections may also introduce latency due to buffering, conversion, or routing delays, which may be measured or estimated and provided to the first device 660.

[0109] The delay data 616 may include delay introduced by any (or a combination) of the following: sending the input audio signal 604 from the first device 660 to the hardware peripheral 640, looping back the input audio signal 604 from the hardware peripheral 640 to the first device 660, generating the stem-separated audio 674 via execution of the stem separation module(s) 610 via the processor(s) 612A, sending the stem(s) (e.g., stem A) from the first device 660 to the hardware peripheral 640, the hardware peripheral 640 sending the stem(s) to a playback device 650, the music source 652 sending the music signal 648 to the hardware peripheral 640, and / or the hardware peripheral 640 sending the music signal 648 to the playback device 650. These sources of delay may be determined individually, aggregated, and / or used to compute a composite delay value. In some cases, overlapping delays (e.g., parallel paths for stem A and music signal 648) may be resolved by selecting the greater of the two for synchronization purposes. The resulting delay data 616 may be used by the first device 660 to delay playback of the video signal 670 to achieve substantial temporal synchronization with the playback of the stem-separated audio and / or music signal.

[0110] The video signal handling described in FIG. 6 may address timing and synchronization problems that arise when audio and video are played back across different devices or components. By enabling the video signal to be sent with either the input audio signal or stem-separated audio, and / or by using delay data to align playback timing, the system may ensure that video content (e.g., a music video or performance recording) remains temporally synchronized with stem-separated audio and any live music signal. In some implementations, this may improve usability in practice and performance scenarios, reduce perceptual lag, and allow playback without storing or duplicating copyrighted media, which may help avoid copyright complications.

[0111] FIG. 6 furthermore conceptually depicts the hardware peripheral 640 transmitting the music signal 648 (e.g., received from the music source 652) to the first device 660, which may enable the first device 660 to record the music signal 648, such as for capturing a user's musical performance. This transmission may occur over one or more second communication channels (e.g., similar to second communication channels 662a through 662e), which may include wired or wireless modalities such as USB-C, TRRS, Bluetooth, Wi-Fi, and / or others. In some implementations, the music signal 648 may be routed to the first device 660 as a microphone input or other recognized input class, allowing the first device 660 to store, process, or edit the performance using local or cloud-based tools. This capability may be beneficial for musicians, educators, or content creators seeking to record original material, practice sessions, or live performances.

[0112] Although FIG. 6 shows the first device 660 sending stem-separated audio (e.g., stem A) and a video signal 670 to the hardware peripheral 640, in some implementations the first device 660 may be configured to send one or more of these directly to a playback device 650 (e.g., without routing through the hardware peripheral 640). For example, the first device 660 may send stem A to a Bluetooth speaker while sending the video signal 670 to a connected display, or the first device 660 may send stem A to the hardware peripheral 640 while sending the video signal 670 to a connected display.

[0113] In some embodiments, the hardware peripheral 640 may include audio and / or video playback componentry to facilitate playback of the stem-separated audio (e.g., stem A), the video signal 670, and / or the music signal 648. For example, the hardware peripheral 640 may include integrated speakers, amplifiers, and / or display components configured to render audio and video content directly (e.g., without sending the audio and / or video content to a separate playback device 650).

[0114] Although one or more examples provided herein are focused, in at least some respects, on implementations in which the input audio signal on which stem separation is performed (e.g., after loopback via a hardware peripheral) comprises music (e.g., a backing track), the principles herein may be applied in non-musical contexts. For instance, a user may activate stem separation (e.g., as described with reference to FIGS. 5 and 6) while watching a streaming video (e.g., via a video streaming service) on the first device to isolate and / or amplify dialogue relative background music and / or effects. The system may allow the user to amplify or attenuate specific audio stems in real-time, improving clarity and accessibility. In another example, the system may be used to enhance speech intelligibility in video conferencing or educational content by isolating or amplifying vocal stems and reducing ambient noise, with playback occurring via the hardware peripheral, playback device, or the first device.

[0115] In the examples described herein, the communication channels (e.g., first communication channels 536, 636; second communication channels 538a, 538b, 538c, 538d, 662a, 662b, 662c, 662d, 662e) may comprise direct, local inter-device connections, such as peer-to-peer or pairwise connections, where no routers, switches, or other network infrastructure components intervene to manage the communication between the devices. For instance, a Bluetooth connection between the first device and the hardware peripheral may support multiple logical channels for transmitting audio, control signals, and stem-separated data directly between the devices. Additionally, or alternatively, the communication channels may comprise network-based connections, where one or more local network components (e.g., wireless access points, Ethernet switches, routers, hubs, or mesh network nodes) facilitate communication between the connected devices. In some implementations, the communication may further involve wide-area networks (e.g., the Internet or cellular networks) to support remote or distributed operation. A given system may include a combination of peer-to-peer and network-based connections, such as a first device communicating with a hardware peripheral via Bluetooth while the hardware peripheral communicates with a playback device over a local Wi-Fi network. These configurations may support flexible deployment across a range of environments and device capabilities.

[0116] The communication channels (e.g., first communication channels 536, 636; second communication channels 538a, 538b, 538c, 538d, 662a, 662b, 662c, 662d, 662e) may utilize standard communication protocols and signaling methods adopted by device manufacturers, operating system developers, chipset vendors, and / or audio interface standardization bodies. For example, the communication channels may be implemented using USB audio class specifications, such as those defined by the USB Implementers Forum (USB-IF), and adopted by manufacturers of smartphones, tablets, laptops, audio interfaces, and peripheral devices. In one illustrative implementation, the first device may send the input audio signal to the hardware peripheral via USB-C channels 1 and 2, corresponding to left and right stereo audio channels defined under standard USB audio protocols. After stem separation is performed at the first device, additional USB-C channels (e.g., channels 3 and 4) may be used to send one or more stem-separated audio signals to the hardware peripheral. These additional channels may be defined under extended USB audio specifications or may be configured using vendor-specific descriptors that comply with USB protocol standards. Similar principles may apply to other communication modalities, such as Bluetooth, where logical audio channels defined under Bluetooth profiles (e.g., A2DP, HFP, LE Audio) may be used to transmit input audio, stem-separated audio, control signals, and / or other data. The use of standardized protocols may facilitate interoperability across devices and platforms, while also enabling flexible routing and separation of audio streams for stem separation and playback orchestration. In some implementations, the hardware peripheral is configured to operate as a USB Audio Class (UAC) compliant device, such as compliant with USB Audio Class 2.0 (UAC 2.0) and / or USB Audio Class 3.0 (UAC 3.0) specifications. In some embodiments, the hardware peripheral is implemented as a class-compliant USB device, enabling driverless operation across host operating systems that natively support USB Audio Class specifications (e.g., macOS, iOS, Windows, Linux, Android, and / or others). Support for UAC 2.0 and / or UAC 3.0 may facilitate high-bandwidth audio streaming, low-latency operation, and / or forward compatibility with host devices that implement advanced audio features and / or power management capabilities. In some embodiments, the hardware peripheral operates using an asynchronous USB endpoint configuration, wherein the hardware peripheral maintains clock authority relative to the host device. In such configurations, the hardware peripheral may provide clock feedback information to the host to maintain timing synchronization. This asynchronous endpoint synchronization may improve timing accuracy for digital signal processing (DSP) operations and / or stem-separation pipelines, which may be sensitive to jitter, drift, or clock misalignment between the host device and the hardware peripheral. In some embodiments, the hardware peripheral presents a multi-channel USB Audio Class interface comprising at least four input channels and four output channels (4×4 configuration). In such implementations, a first subset of channels (e.g., channels 0 and 1) may be designated for system audio loopback from the host device, while a second subset of channels (e.g., channels 2 and 3) may be designated for transmission of processed stem-separated audio from the host device to the hardware peripheral for playback. Additional channels may be allocated for instrument capture or auxiliary audio paths. In some implementations, channel masks may be defined to explicitly allocate logical routing roles to discrete USB audio endpoints. Internal routing of audio data may be anchored to a hardware word-clock of the peripheral such that read and write operations are synchronized to the physical clock domain of the audio interface, thereby maintaining deterministic timing and reducing jitter across loopback and playback paths.

[0117] In some implementations, such as for iOS host devices, the hardware peripheral may comprise an embedded Linux system that exposes the multi-channel USB Audio Class interface as an Advanced Linux Sound Architecture (ALSA) PCM device. A user-space daemon executing on the embedded system may continuously bridge audio streams between designated capture and playback endpoints to implement a hardware-level loopback. In some embodiments, system output audio received from the host device on a first subset of channels (e.g., channels 0 and 1) may be immediately routed back to corresponding USB input endpoints for capture by a companion application executing on the host device. Processed stem-separated audio transmitted from the host device on a second subset of channels (e.g., channels 2 and 3) may be routed directly to physical digital-to-analog converters (DACs) for playback. In some implementations, raw instrument audio received via analog-to-digital converters (ADCs) of the hardware peripheral may be routed to discrete USB channels for mixing with separated stems within the host application.

[0118] In some implementations, the hardware peripheral is implemented as a USB Composite Device architecture. In such embodiments, a standard USB Audio Class (UAC) interface coexists with one or more vendor-specific interfaces over a single physical USB connection (e.g., USB-C). The UAC interface may be configured to transmit and receive standard digital audio streams (e.g., PCM audio streams), while the vendor-specific interface may be configured to transmit specialized metadata, control signals, configuration commands, timing information, stem-selection data, synchronization data, and / or other custom protocol information. In some instances, this composite device architecture may enable simultaneous transmission of standard audio streams and / or customized data channels without inter-stream interference. In some implementations, data encapsulation techniques may be used to isolate standard UAC audio traffic from metadata or control traffic associated with the customized protocol.

[0119] In some implementations, such as for Android host devices, the hardware peripheral may operate using a composite device configuration comprising both a UAC interface and a vendor-specific interface to implement a low-latency user-space audio gateway. In such embodiments, the vendor-specific interface may facilitate routing of system output audio to a user-space process operating on the host device with reduced latency relative to standard system mixer pathways. Unlike iOS CoreAudio environments, certain Android audio stacks may restrict multi-channel USB Audio Class configurations to stereo paradigms and may route audio through system-level mixers (e.g., AudioFlinger), which can introduce downmixing, channel collapsing, sample-rate mismatches, or other non-deterministic processing behaviors. Attempting to implement multi-channel loopback solely through standard Android UAC endpoints may result in channel dropping, aggressive downmixing, or rejection of complex descriptor configurations. A low-latency user-space audio gateway configuration may enable real-time or near-real-time loopback of system output audio to a stem separation module executing on the host device, while maintaining compatibility with Android USB host stack constraints. In contrast, in some implementations for iOS host devices, the hardware peripheral may operate using a full UAC configuration without requiring a vendor-specific composite interface, utilizing class-compliant USB Audio Class behavior to facilitate audio routing.

[0120] In some embodiments for Android host devices, the embedded Linux hardware may capture system audio routed to a stereo UAC endpoint using ALSA interfaces and perform a direct feedforward of the captured data into a FunctionFS (Function File System) user-space endpoint associated with the vendor-specific USB interface. The companion Android application, operating with appropriate USB host permissions, may utilize low-level USB APIs (e.g., UsbDeviceConnection or similar user-space USB host interfaces) to read and write raw payload buffers over the FunctionFS endpoint. By transmitting audio data as raw user-space payloads rather than as standard Android-managed audio streams, the loopback path may bypass Android AudioManager and AudioFlinger processing layers, thereby preserving multi-channel integrity and reducing latency variability.

[0121] In some implementations, the embedded Linux system of the hardware peripheral may execute a dedicated bidirectional audio routing daemon configured to maintain deterministic, ultra-low-latency operation. The daemon may elevate audio processing threads to real-time scheduling classes (e.g., SCHED_FIFO) with elevated priority levels to reduce preemption. In some embodiments, CPU affinity may be applied to pin audio processing threads to designated processor cores to reduce interference from background processes. Memory locking mechanisms (e.g., mlockall or similar techniques) may be used to prevent paging of audio buffers and to avoid latency spikes associated with page faults. The daemon may further implement minimal-copy buffer strategies and blocking read / write operations anchored to the hardware word-clock of the audio interface to maintain synchronization between capture and playback endpoints. Such techniques may collectively reduce jitter, minimize buffer underruns or overruns, and / or preserve deterministic timing across loopback and / or stem-separation workflows.

[0122] In addition to using standardized communication protocols, the communication channels (e.g., first communication channels 536, 636; second communication channels 538a, 538b, 538c, 538d, 662a, 662b, 662c, 662d, 662e) may, in some implementations, utilize custom protocols for transmitting the input audio signal and / or stem-separated audio between the first device and the hardware peripheral. For example, a custom protocol may be used to loop back the input audio signal from the hardware peripheral to the first device in a format recognizable by the stem separation module(s), such as by emulating microphone input or another input class supported by the operating system of the first device. Similarly, stem-separated audio may be transmitted from the first device to the hardware peripheral using a custom protocol that designates specific data lanes, timing markers, and / or encoding formats to preserve separation from other audio streams. These custom protocols may be implemented over physical connections (e.g., USB-C, HDMI) or wireless links (e.g., Bluetooth, Wi-Fi), and may be defined by the application developer, device manufacturer, and / or third-party integration partner to support enhanced routing, synchronization, and playback functionality. Use of custom protocols may allow for more precise control over audio stream handling, enable compatibility with proprietary device architectures, and support advanced features such as selective stem playback, dynamic mixing, and real-time synchronization with video or live performance signals.

[0123] FIG. 7 illustrates an example system 700 for facilitating playback of stem-separated audio. As shown, the system 700 includes a device 760 and a playback device 740. In the depicted example, the device 760 comprises a smartphone, although other types of user devices may be used, such as tablets, laptops, or other computing devices. The device 760 may include components similar to those described with reference to the first devices 560 and / or 660, such as communication systems, processing units, memory or other computer-readable recording media, and stem separation modules configured for generating stem-separated audio. For instance, the device 760 may include one or more central processing units (CPUs), neural processing units (NPUs), GPUs, or other processors capable of executing stem separation modules locally, enabling real-time or near-real-time stem separation on received audio signals.

[0124] In the example shown in FIG. 7, the playback device 740 includes playback componentry 742 for playing back audio, such as one or more amplifiers and one or more transducers or speakers. The playback device 740 may comprise components similar to the hardware peripherals 540 and / or 640 described above, such as communication systems, processing units, and / or memory or other computer-readable recording media. In some implementations, the playback device 740 may itself be regarded as a hardware peripheral as described herein, capable of receiving and causing playing of back stem-separated audio. In some embodiments, the playback componentry 742 may further comprise a digital-to-analog converter (DAC), a USB audio interface, a studio-grade audio interface, an external sound card, headphone amplification circuitry, monitor controller circuitry, and / or other audio rendering hardware configured to convert digital audio streams into analog signals suitable for acoustic reproduction.

[0125] FIG. 7 conceptually depicts a system output audio signal 702, which may be generated by the device 760 and transmitted to the playback device 740 via a communication channel. The system output audio signal 702 may comprise a composite or aggregate audio signal generated via the operating system of the device 760, including audio from one or more executing applications or a mix of multiple concurrent audio sources of the device 760. In the example shown, the system output audio signal 702 is transmitted wirelessly, such as via a Bluetooth communication channel. Alternative wireless communication modalities may also be used, including Wi-Fi, peer-to-peer protocols, or other wireless frameworks.

[0126] Also depicted in FIG. 7 is an audio signal 704 sent from the playback device 740 back to the device 760. The audio signal 704 may correspond to the system output audio signal 702, such as when the playback device 740 routes the system output audio signal 702 back to the device 760. This routing may be performed via a different communication channel of the same communication modality used to transmit the system output audio signal 702 (e.g., a separate logical Bluetooth channel or lane). By routing the system output audio signal 702 back to the device 760, the playback device 740 enables the device 760 to access and process the signal as input audio. This may allow the device 760 to perform stem separation and / or other types of audio processing on the received signal.

[0127] FIG. 7 further depicts audio stem(s) 706 transmitted from the device 760 to the playback device 740. These audio stem(s) 706 may be obtained by the device 760 through local processing of the audio signal 704 using one or more stem separation modules. The stem-separated audio may include individual stems corresponding to different audio sources (e.g., vocals, drums, bass, instruments, effects), and the audio stem(s) 706 sent to the playback device 740 may comprise one or more selected stems from the stem-separated audio. Transmission of the audio stem(s) 706 may occur via a different communication channel of the same wireless communication modality used to transmit the system output audio signal 702 (e.g., another Bluetooth channel). The playback device 740 may cause playback of the received audio stem(s) 706 via its playback componentry 742, as conceptually represented in FIG. 7 by sound waves 708. Playback of the audio stem(s) 706 may be governed by user-defined settings or preferences (e.g., user-selected modification settings), such as relative stem volumes, mute states, or equalization parameters. These settings may be defined via a user interface presented on the device 760 and / or the playback device 740, and may be applied prior to transmission of the audio stem(s) 706 or at the playback device 740. For example, a user may configure the device 760 to attenuate vocal stems while amplifying instrumental stems, or may define a preset mix profile for karaoke or music practice scenarios. In some implementations, the playback device 740 may store or retrieve user-defined playback profiles and apply them dynamically to incoming stem-separated audio (e.g., based on characteristics of the audio).

[0128] The operations described with reference to FIG. 7 may be performed repeatedly to facilitate playback of stem-separated audio in real-time or near-real-time. For example, the system output audio of the device 760 may be iteratively segmented or chunked and routed back via the playback device 740, allowing stem separation to be performed at the device 760 on the segments or chunks of the system output audio. The resulting stem(s) may then be sent to the playback device 740 for playback. This architecture may support various use cases, such as removing or attenuating vocals for karaoke, removing or attenuating musical instruments for music practice or performance, amplifying vocals relative to music or sound effects for cinematic experiences or audio / video conferences / calls, and others. Although FIG. 7 conceptually depicts wireless communication between the device 760 and the playback device 740, wired communication may also be used to facilitate playback of stem-separated audio in real-time or near-real-time.

[0129] FIG. 8 illustrates example components of a system 800 that may comprise or implement aspects of one or more disclosed embodiments. For example, FIG. 8 illustrates an implementation in which the system 800 includes processor(s) 802, storage 804, sensor(s) 806, I / O system(s) 808, and communication system(s) 810. Although FIG. 8 illustrates a system 800 as including particular components, one will appreciate, in view of the present disclosure, that a system 800 may comprise any number of additional or alternative components.

[0130] The processor(s) 802 may comprise one or more sets of electronic circuitries that include any number of logic units, registers, and / or control units to facilitate the execution of computer-readable instructions (e.g., instructions that form a computer program). Processor(s) 802 can take on various forms, such as CPUs, NPUs, GPUs, or other types of processing units. Such computer-readable instructions may be stored within storage 804. The storage 804 may comprise physical system memory and may be volatile, non-volatile, or some combination thereof. Furthermore, storage 804 may comprise local storage, remote storage (e.g., accessible via communication system(s) 810 or otherwise), or some combination thereof. Additional details related to processors (e.g., processor(s) 802) and computer storage media (e.g., storage 804) will be provided hereinafter.

[0131] In some implementations, the processor(s) 802 may comprise or be configurable to execute any combination of software and / or hardware components that are operable to facilitate processing using machine learning models or other artificial intelligence-based structures / architectures. For example, processor(s) 802 may comprise and / or utilize hardware components or computer-executable instructions operable to carry out function blocks and / or processing layers configured in the form of, by way of non-limiting example, single-layer neural networks, feed forward neural networks, radial basis function networks, deep feed-forward networks, recurrent neural networks, long-short term memory (LSTM) networks, gated recurrent units, autoencoder neural networks, variational autoencoders, denoising autoencoders, sparse autoencoders, Markov chains, Hopfield neural networks, Boltzmann machine networks, restricted Boltzmann machine networks, deep belief networks, deep convolutional networks (or convolutional neural networks), deconvolutional neural networks, deep convolutional inverse graphics networks, transformer networks, generative adversarial networks, liquid state machines, extreme learning machines, echo state networks, deep residual networks, Kohonen networks, support vector machines, neural Turing machines, combinations thereof (or combinations of components thereof), and / or others.

[0132] As will be described in more detail, the processor(s) 802 may be configured to execute instructions stored within storage 804 to perform certain actions. In some instances, the actions may rely at least in part on communication system(s) 810 for receiving data from remote system(s) 812, which may include, for example, separate systems or computing devices, sensors, servers, and / or others. The communications system(s) 810 may comprise any combination of software or hardware components that are operable to facilitate communication between on-system components / devices and / or with off-system components / devices. For example, the communications system(s) 810 may comprise ports, buses, or other physical connection apparatuses for communicating with other devices / components. Additionally, or alternatively, the communications system(s) 810 may comprise systems / components operable to communicate wirelessly with external systems and / or devices (e.g., network devices, server infrastructure) through any suitable communication channel(s), such as, by way of non-limiting example, Bluetooth, ultra-wideband, WLAN, infrared communication, and / or others.

[0133] FIG. 8 illustrates that a system 800 may comprise or be in communication with sensor(s) 806. Sensor(s) 806 may comprise any device for capturing or measuring data representative of perceivable phenomenon. By way of non-limiting example, the sensor(s) 806 may comprise one or more image sensors, microphones, thermometers, barometers, magnetometers, accelerometers, gyroscopes, and / or others.

[0134] Furthermore, FIG. 8 illustrates that a system 800 may comprise or be in communication with I / O system(s) 808. I / O system(s) 808 may include any type of input or output device such as, by way of non-limiting example, a display, a touch screen, a mouse, a keyboard, a controller, and / or others, without limitation.

[0135] Disclosed embodiments include at least those presented in the following numbered clauses:

[0136] Clause 1. A hardware peripheral, comprising: one or more communication systems configured to facilitate communication between the hardware peripheral and one or more external systems; one or more processing units; and one or more computer-readable recording media that store instructions that are executable by the one or more processing units such that the hardware peripheral is configurable to: receive at least a part of an audio signal from a first device over a first communication channel; send the part of the audio signal to the first device over one or more second communication channels; receive, over the one or more second communication channels, one or more of a plurality of audio stems of stem-separated audio, wherein the stem-separated audio is generated by processing the part of the audio signal using a stem separation module via one or more processing units residing on the first device, the plurality of audio stems corresponding to different audio sources represented in the part of the audio signal; and cause playback of the one or more of the plurality of audio stems at one or more playback components.

[0137] Clause 2. The hardware peripheral of any preceding or subsequent clause, wherein the hardware peripheral comprises the one or more playback components.

[0138] Clause 3. The hardware peripheral of any preceding or subsequent clause, wherein the one or more playback components are part of a playback device in communication with the hardware peripheral.

[0139] Clause 4. The hardware peripheral of any preceding or subsequent clause, wherein the instructions are executable by the one or more processing units to configure the hardware peripheral to: receive, over the one or more second communication channels, at least part of a video signal from the first device, the part of the video signal being temporally correlated with the part of the audio signal; and send, over the one or more second communication channels, the part of the video signal to the playback device to cause, at the playback device, temporally synchronized playback of the part of the video signal with the one or more of the plurality of audio stems.

[0140] Clause 5. The hardware peripheral of any preceding or subsequent clause, wherein the audio signal comprises system output audio of the first device.

[0141] Clause 6. The hardware peripheral of any preceding or subsequent clause, wherein the part of the audio signal comprises a first set of one or more segments identified from the audio signal, wherein the stem-separated audio comprises first stem-separated audio comprising a first plurality of audio stems, and wherein the instructions are executable by the one or more processing units to configure the hardware peripheral to: during processing by the first device of the first set of one or more segments to generate the first stem-separated audio or during the playback of the one or more of the plurality of audio stems: receive a second set of one or more segments from the audio signal over the first communication channel, wherein the first set of one or more segments and the second set of one or more segments are temporally adjacent or temporally overlapping; send the second set of one or more segments to the first device over the one or more second communication channels; receive, over the one or more second communication channels, one or more of a second plurality of audio stems of stem-separated audio; and cause playback of one or more of the second plurality of audio stems.

[0142] Clause 7. The hardware peripheral of any preceding or subsequent clause, wherein the one or more communication systems comprise a music input configured to connect to a music source, and wherein the instructions are executable by the one or more processing units to configure the hardware peripheral to receive a music signal via the music input.

[0143] Clause 8. The hardware peripheral of any preceding or subsequent clause, wherein the music source comprises a musical instrument or a microphone.

[0144] Clause 9. The hardware peripheral of any preceding or subsequent clause, wherein the instructions are executable by the one or more processing units to configure the hardware peripheral to: trigger playback of the music signal along with the one or more of the plurality of audio stems.

[0145] Clause 10. The hardware peripheral of any preceding or subsequent clause, wherein the playback of the one or more of the plurality of audio stems is based on one or more user-selected modification settings.

[0146] Clause 11. The hardware peripheral of any preceding or subsequent clause, wherein the one or more user-selected modification settings are selected by user input through a user interface of the first device.

[0147] Clause 12. A device, comprising: one or more communication systems configured to facilitate communication with a hardware peripheral; one or more processing units; and one or more computer-readable recording media that store instructions that are executable by the one or more processing units such that the device is configurable to: send at least a part of an audio signal to the hardware peripheral over a first communication channel; receive the part of the audio signal from the hardware peripheral over one or more second communication channels; process, via the one or more processing units residing on the device, the part of the audio signal using a stem separation module to generate stem-separated audio, the stem-separated audio comprising a plurality of audio stems corresponding to different audio sources represented in the part of the audio signal; and send, over the one or more second communication channels, one or more of the plurality of audio stems to the hardware peripheral to cause playback of the one or more of the plurality of audio stems at one or more playback components.

[0148] Clause 13. The device of any preceding or subsequent clause, wherein the first communication channel comprises a system audio output signal path configurable for sending system output audio signals generated by the device to one or more playback devices.

[0149] Clause 14. The device of any preceding or subsequent clause, wherein the instructions are executable by the one or more processing units to configure the device to: obtain delay data associated at least with generating stem-separated audio on the device; and use the delay data to perform playback of a part of a video signal at the device, wherein the playback of the part of the video signal is substantially temporally synchronized with the playback of the one or more of the plurality of audio stems at the one or more playback components, the part of the video signal being temporally correlated with the part of the audio signal received.

[0150] Clause 15. The device of any preceding or subsequent clause, wherein the instructions are executable by the one or more processing units to configure the device to: send, over the one or more second communication channels, at least part of a video signal to the hardware peripheral, the part of the video signal being temporally correlated with the part of the audio signal.

[0151] Clause 16. The device of any preceding or subsequent clause, wherein the audio signal comprises system output audio of the device.

[0152] Clause 17. The device of any preceding or subsequent clause, wherein the hardware peripheral comprises the one or more playback components.

[0153] Clause 18. The device of any preceding or subsequent clause, wherein the one or more playback components are part of a playback device in communication with the hardware peripheral.

[0154] Clause 19. The device of any preceding or subsequent clause, wherein the instructions are executable by the one or more processing units to configure the device to: receive user input at a user interface of the device, wherein the user input indicates one or more user-selected modification settings, wherein the playback of the one or more of the plurality of audio stems is based on one or more user-selected modification settings.

[0155] Clause 20. A system for audio routing, comprising: a first device; a playback device; and a hardware peripheral, comprising: one or more communication systems configured to facilitate communication between (i) the hardware peripheral and (ii) the first device and the playback device; one or more processing units; and one or more computer-readable recording media that store instructions that are executable by the one or more processing units such that the hardware peripheral is configurable to: receive at least a part of an audio signal from the first device over a first communication channel; send the part of the audio signal to the first device over one or more second communication channels; receive, over the one or more second communication channels, one or more of a plurality of audio stems of stem-separated audio, wherein the stem-separated audio is generated by processing the part of the audio signal using a stem separation module via one or more processing units residing on the first device, the plurality of audio stems corresponding to different audio sources represented in the part of the audio signal; and trigger playback of the one or more of the plurality of audio stems by sending, over the one or more second communication channels, the one or more of the plurality of audio stems to the playback device.

[0156] Disclosed embodiments may comprise or utilize a special purpose or general-purpose computer including computer hardware, as discussed in greater detail below. Disclosed embodiments also include physical and other computer-readable media for carrying or storing computer-executable instructions and / or data structures. Such computer-readable media can be any available media that can be accessed by a general-purpose or special-purpose computer system. Computer-readable media that store computer-executable instructions in the form of data are one or more “physical computer storage media” or “computer-readable recording media” or “hardware storage device(s).” Computer-readable media that merely carry computer-executable instructions without storing the computer-executable instructions are “transmission media.” Thus, by way of example and not limitation, the current embodiments can comprise at least two distinctly different kinds of computer-readable media: computer storage media and transmission media.

[0157] Computer storage media (aka “hardware storage device”) are computer-readable hardware storage devices, such as RAM, ROM, EEPROM, CD-ROM, solid state drives (“SSD”) that are based on RAM, Flash memory, phase-change memory (“PCM”), or other types of memory, or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired program code means in hardware in the form of computer-executable instructions, data, or data structures and that can be accessed by a general-purpose or special-purpose computer.

[0158] A “network” is defined as one or more data links that enable the transport of electronic data between computer systems and / or modules and / or other electronic devices. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a transmission medium. Transmission media can include a network and / or data links which can be used to carry program code in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. Combinations of the above are also included within the scope of computer-readable media.

[0159] Further, upon reaching various computer system components, program code means in the form of computer-executable instructions or data structures can be transferred automatically from transmission computer-readable media to physical computer-readable storage media (or vice versa). For example, computer-executable instructions or data structures received over a network or data link can be buffered in RAM within a network interface module (e.g., a “NIC”), and then eventually transferred to computer system RAM and / or to less volatile computer-readable physical storage media at a computer system. Thus, computer-readable physical storage media can be included in computer system components that also (or even primarily) utilize transmission media.

[0160] Computer-executable instructions comprise, for example, instructions and data which cause a general-purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. The computer-executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, or even source code. Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the described features or acts described above. Rather, the described features and acts are disclosed as example forms of implementing the claims.

[0161] Disclosed embodiments may comprise or utilize cloud computing. A cloud model can be composed of various characteristics (e.g., on-demand self-service, broad network access, resource pooling, rapid elasticity, measured service, etc.), service models (e.g., Software as a Service (“SaaS”), Platform as a Service (“PaaS”), Infrastructure as a Service (“IaaS”), and deployment models (e.g., private cloud, community cloud, public cloud, hybrid cloud, etc.).

[0162] Those skilled in the art will appreciate that at least some aspects of the invention may be practiced in network computing environments with many types of computer system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, pagers, routers, switches, wearable devices, and the like. The invention may also be practiced in distributed system environments where multiple computer systems (e.g., local and remote systems), which are linked through a network (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links), perform tasks. In a distributed system environment, program modules may be located in local and / or remote memory storage devices.

[0163] Alternatively, or in addition, at least some of the functionality described herein can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Application-specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), central processing units (CPUs), graphics processing units (GPUs), and / or others.

[0164] As used herein, the terms “executable module,”“executable component,”“component,”“module,” or “engine” can refer to hardware processing units or to software objects, routines, or methods that may be executed on one or more computer systems. The different components, modules, engines, and services described herein may be implemented as objects or processors that execute on one or more computer systems (e.g., as separate threads).

[0165] One will also appreciate how any feature or operation disclosed herein may be combined with any one or combination of the other features and operations disclosed herein. Additionally, the content or feature in any one of the figures may be combined or used in connection with any content or feature used in any of the other figures. In this regard, the content disclosed in any one figure is not mutually exclusive and instead may be combinable with the content from any of the other figures.

[0166] The present invention may be embodied in other specific forms without departing from its spirit or characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims

1. A hardware peripheral, comprising:one or more communication systems configured to facilitate communication between the hardware peripheral and one or more external systems;one or more processing units; andone or more computer-readable recording media that store instructions that are executable by the one or more processing units such that the hardware peripheral is configurable to:receive at least a part of an audio signal from a first device over a first communication channel;send, to the first device over one or more second communication channels, the part of the audio signal received from the first device;receive, from the first device over the one or more second communication channels, one or more of a plurality of audio stems of stem-separated audio, wherein the stem-separated audio is generated by processing the part of the audio signal sent to the first device from the hardware peripheral using a stem separation module via one or more processing units residing on the first device, the plurality of audio stems corresponding to different audio sources represented in the part of the audio signal sent to the first device from the hardware peripheral; andcause playback of the one or more of the plurality of audio stems at one or more playback components.

2. The hardware peripheral of claim 1, wherein the hardware peripheral comprises the one or more playback components.

3. The hardware peripheral of claim 1, wherein the one or more playback components are part of a playback device in communication with the hardware peripheral.

4. The hardware peripheral of claim 1, wherein the audio signal comprises system output audio of the first device.

5. The hardware peripheral of claim 1, wherein the part of the audio signal comprises a first set of one or more segments identified from the audio signal, wherein the stem-separated audio comprises first stem-separated audio comprising a first plurality of audio stems, and wherein the instructions are executable by the one or more processing units to configure the hardware peripheral to:during processing by the first device of the first set of one or more segments to generate the first stem-separated audio or during the playback of the one or more of the plurality of audio stems:receive a second set of one or more segments from the audio signal over the first communication channel, wherein the first set of one or more segments and the second set of one or more segments are temporally adjacent or temporally overlapping;send the second set of one or more segments to the first device over the one or more second communication channels;receive, over the one or more second communication channels, one or more of a second plurality of audio stems of stem-separated audio; andcause playback of one or more of the second plurality of audio stems.

6. The hardware peripheral of claim 1, wherein the one or more communication systems comprise a music input configured to connect to a music source, and wherein the instructions are executable by the one or more processing units to configure the hardware peripheral to receive a music signal via the music input.

7. The hardware peripheral of claim 6, wherein the music source comprises a musical instrument or a microphone.

8. The hardware peripheral of claim 6, wherein the instructions are executable by the one or more processing units to configure the hardware peripheral to:trigger playback of the music signal along with the one or more of the plurality of audio stems.

9. The hardware peripheral of claim 1, wherein the playback of the one or more of the plurality of audio stems is based on one or more user-selected modification settings and wherein the one or more user-selected modification settings are selected by user input through a user interface or control of the first device or the hardware peripheral.

10. The hardware peripheral of claim 1, wherein the part of the audio signal received by the hardware peripheral from the first device over the first communication channel comprises part of an audio signal output by the first device over time.

11. The hardware peripheral of claim 1, wherein the first communication channel and the one or more second communication channels comprise separate channels of a connection between the first device and the hardware peripheral.

12. The hardware peripheral of claim 11, wherein the connection comprises a USB-C connection.

13. The hardware peripheral of claim 11, wherein the connection comprises a Bluetooth connection.

14. A device, comprising:one or more communication systems configured to facilitate communication with a hardware peripheral;one or more processing units; andone or more computer-readable recording media that store instructions that are executable by the one or more processing units such that the device is configurable to:send at least a part of an audio signal to the hardware peripheral over a first communication channel;receive, from the hardware peripheral over one or more second communication channels, the part of the audio signal sent to the hardware peripheral;process, via the one or more processing units residing on the device, the part of the audio signal received by the device from the hardware peripheral using a stem separation module to generate stem-separated audio, the stem-separated audio comprising a plurality of audio stems corresponding to different audio sources represented in the part of the audio signal received by the device from the hardware peripheral; andsend, to the hardware peripheral over the one or more second communication channels, one or more of the plurality of audio stems to the hardware peripheral to cause playback of the one or more of the plurality of audio stems at one or more playback components.

15. The device of claim 14, wherein the first communication channel comprises a system audio output signal path configurable for sending system output audio signals generated by the device to one or more playback devices.

16. The device of claim 14, wherein the audio signal comprises system output audio of the device.

17. The device of claim 14, wherein the hardware peripheral comprises the one or more playback components.

18. The device of claim 14, wherein the one or more playback components are part of a playback device in communication with the hardware peripheral.

19. The device of claim 14, wherein the instructions are executable by the one or more processing units to configure the device to:receive user input at a user interface of the device, wherein the user input indicates one or more user-selected modification settings, wherein the playback of the one or more of the plurality of audio stems is based on one or more user-selected modification settings.

20. One or more computer-readable recording media that store instructions that are executable by one or more processing units of a hardware peripheral such that the hardware peripheral is configurable to:receive at least a part of an audio signal on a playback path of a first device over a first communication channel of a connection between the hardware peripheral and the first device, wherein the connection comprises a wired connection or a wireless connection;send, to the first device over one or more second communication channels of the connection, the part of the audio signal received from the first device;receive, from the first device over the one or more second communication channels of the connection, one or more of a plurality of audio stems of stem-separated audio, wherein the stem-separated audio is generated by processing the part of the audio signal sent to the first device from the hardware peripheral using a stem separation module via one or more processing units residing on the first device, the plurality of audio stems corresponding to different audio sources represented in the part of the audio signal sent to the first device from the hardware peripheral; andcause playback of the one or more of the plurality of audio stems at one or more playback components.

Citation Information

Patent Citations

  • Audio stem delivery and control

    US20160315722A1

  • Enhanced Music Delivery Service With Metadata

    US20260073899A1

  • Apparatus and method for authorizing reproduction and controlling of program transmissions at locations distant from the program source

    US8588432B1