Audio Source Separation
The use of an enable signal to control source separation in audio processing addresses the energy consumption issue in karaoke systems by selectively isolating vocals or accompaniment, enhancing device efficiency.
Patent Information
- Application Number
- JP2024518662
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-10-01
- Filing Date
- 2022-09-27
- Publication Date
- 2024-10-04
AI Technical Summary
Existing audio source separation methods, such as those used in karaoke systems, consume significant energy due to constant source isolation, leading to rapid battery depletion in electronic devices.
Implementing an enable signal to activate or deactivate source separation in audio processing, using a deep neural network to selectively perform source isolation based on the presence of vocals or accompaniment, thereby reducing unnecessary energy consumption.
Reduces energy consumption in electronic devices by dynamically controlling source separation, allowing for more efficient audio processing without compromising audio quality.
Smart Images

Figure 2024536082000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates generally to the field of audio processing, and more particularly to an apparatus, method, and computer program for audio reproduction. [Background technology]
[0002] There is a great deal of audio content available, for example, in the form of compact discs (CDs), tapes, audio data files downloadable from the Internet, as well as, for example, video soundtracks stored on digital video discs and the like.
[0003] When a music player is playing a song from an existing music database, a listener may wish to sing along. Generally, modern karaoke and play-along systems always use audio source separation to remove the original vocals of the song being played.
[0004] In general, improved methods and apparatus for reducing energy consumption are desirable. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] European Patent Application No. EP3201917 [Non-patent literature]
[0006] [Non-Patent Document 1] Uhlich, Stefan, et al. "Improving music source separation based on deep neural networks through data augmentation and network blending." 2017 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2017. [Non-Patent Document 2] Stoeter, Fabian-Robert et al. in "Open-Unmix - A Reference Implementation for Music Source Separation" Summary of the Invention [Means for solving the problem]
[0007] According to a first aspect, the present disclosure provides an electronic device including a circuit configured to perform source separation on an audio signal to obtain a processed audio signal including separated sources and a residual signal based on an enable signal, the enable signal being configured to activate or deactivate the source separation.
[0008] According to a second aspect, the present disclosure provides a method comprising performing source separation on an audio signal to obtain a processed audio signal comprising separated sources and a residual signal based on an enable signal, the enable signal being configured to activate or deactivate the source separation.
[0009] According to a third aspect, the present disclosure provides a computer program comprising instructions which, when executed by a computer, cause the computer to perform source separation on an audio signal based on an enable signal to obtain a processed audio signal comprising separated sources and a residual signal, the enable signal being configured to activate or deactivate the source separation.
[0010] Further aspects are set forth in the dependent claims, the following description and the drawings.
[0011] Embodiments will now be described, by way of example, with reference to the accompanying drawings, in which: [Brief description of the drawings]
[0012] [Figure 1] 1 illustrates a schematic of a general approach for audio mixing by blind source separation (BSS), such as music source separation (MSS). [Diagram 2] 1 illustrates an embodiment of a process of audio mixing based on audio processing. [Diagram 3] 3 shows a more detailed schematic diagram of an embodiment of the audio processing performed in the audio mixing process shown in FIG. 2, where source separation is performed based on an enable signal. [Figure 4] 4 illustrates a schematic diagram of a deep neural network including a recurrent neural network (RNN) and additional non-recurrent learnable layers before and after the RNN layer, in which the switch-off of source separation shown in FIG. 3 is performed. [Diagram 5] 1 illustrates an embodiment of a process for generating an enable signal, in which the enable signal is generated for the first time. [Figure 6] 1 shows a schematic diagram of an enable signal over time during song playback. [Figure 7]FIG. 7a shows a schematic diagram of a table mapping enable signal values to switch positions, and FIG. 7b shows a schematic diagram of a table mapping enable signal values to gain factors. [Figure 8] 4 shows in schematic form in more detail an embodiment of the audio processing shown in FIG. 3, which is performed when the enable signal values are true vocals and accompaniment; [Figure 9] 4 shows a more detailed schematic diagram of an embodiment of the audio processing shown in FIG. 3 performed when the enable signal value is false-only vocals; [Figure 10] 4 shows in schematic form in more detail an embodiment of the audio processing shown in FIG. 3, which is performed when the enable signal value is false-only accompaniment; [Figure 11] 13 illustrates generally another embodiment of a process for enabling signal generation in which vocal detection is performed. [Figure 12] 2 shows a flow diagram for visualizing a method for signal mixing in the context of audio processing by performing source separation based on an enable signal to obtain a mixed audio signal. [Figure 13] 1 shows a flow diagram for visualizing a method for audio processing relating to source separation based on an enable signal to obtain an adjusted audio signal; [Figure 14] FIG. 1 shows a block diagram illustrating an embodiment of an electronic device capable of performing audio mixing processing based on an enable signal and audio processing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Before describing the embodiments in detail with reference to Figures 1 to 14, some general remarks will be made.
[0014] As indicated at the beginning, typically, in a play-along system, such as a karaoke system, audio source separation is constantly used to remove the original vocals of the song being played. However, in a karaoke device, for example, it is recognized that such constantly performed audio source separation may consume energy, which may result in the battery of the karaoke device being quickly depleted.
[0015] Accordingly, some embodiments relate to an electronic device configured to perform source separation on an audio signal to obtain a processed audio signal comprising separated sources and a residual signal based on an enable signal, the enable signal being configured to activate or deactivate the source separation.
[0016] The circuitry of the electronic device may include a processor, e.g. a CPU, a memory (RAM, ROM, etc.), memory and / or storage, interfaces, etc. The circuitry may comprise or be connected to input means (mouse, keyboard, camera, etc.), output means (displays (e.g. liquid crystal, (organic) light emitting diodes, etc.)), loudspeakers, etc., (wireless) interfaces, etc., as commonly known in electronic devices (computers, smartphones, etc.). Furthermore, the circuitry may include or be connected to sensors for sensing still or moving image data (image sensors, camera sensors, video sensors, etc.), for sensing environmental parameters (e.g. radar, humidity, light, temperature), etc.
[0017] In audio source separation, an audio signal containing multiple sources (e.g., instruments, voices, etc.) is decomposed and separated. Audio source separation can be unsupervised (called "blind source separation" BSS) or partially supervised. "Blind" means that blind source separation does not necessarily have information about the original sources. For example, one may not necessarily know how many sources the original signal contains, or which sound information of the input signal belongs to which original source. The goal of blind source separation is to decompose the original signal without knowing the previous separation. The blind source separation unit can use any blind source separation technique known to those skilled in the art. In (blind) audio source separation, one can search for minimally correlated, i.e. maximally independent, audio source signals in a probabilistic or information-theoretic sense, or based on a non-negative matrix factorization structure constraint on the audio source signals. Methods for performing (blind) source separation are known to those skilled in the art and are based, for example, on principal component analysis, singular value decomposition (independent component analysis, non-negative matrix factorization, artificial neural networks, etc.).
[0018] Although some embodiments use blind source separation to generate the separated audio source signals, this disclosure is not limited to embodiments in which no further information is used for the separation of the audio source signals, and in some embodiments further information is used for the generation of the separated audio source signals, such as information about the mixing process, information about the types of audio sources included in the input audio content, information about the spatial positions of the audio sources included in the input audio content, etc.
[0019] The audio signal may be any type of audio signal. It may be in the form of an analog signal, a digital signal, may originate from a compact disc, a digital video disc, etc., may be a data file such as a wave file, an mp3 file, etc., and the present disclosure is not limited to a particular format of the input audio content. The input audio content may be, for example, a stereo audio signal having a first channel input audio signal and a second channel input audio signal, and the present disclosure is not limited to input audio content having two audio channels. In other embodiments, the input audio content may include any number of channels, such as a remix of a 5.1 audio signal.
[0020] The input signal may include one or more source signals. In particular, the input signal may include several audio sources. An audio source may be any entity that generates sound waves, such as a musical instrument, a voice, a voice, a vocal, an artificially generated sound, such as that generated by a synthesizer, etc.
[0021] The input audio content may represent or contain mixed audio sources, meaning that the sound information is not available individually for all audio sources of the input audio content, but the sound information for different audio sources is, for example, at least partially overlapping or mixed.
[0022] The separated sources produced by source separation from an audio signal may include, for example, a "vocal" separation, a "bass" separation, a "drums" separation, and an "other" separation. In the "vocal" separation, all sounds belonging to the human voice may be included, in the "bass" separation, all noises below a certain threshold frequency may be included, in the "drums" separation, all noises belonging to the "drums" in a song / music may be included, and in the "other" separation, all remaining sounds may be included.
[0023] If the separated source is "vocals", the residual signal may be "musical accompaniment", although the disclosure is not limited thereto. Alternatively, other types of separated sources may be obtained, e.g., for speech enhancement, the separated source may be "voice" and the residual signal may be "background noise". Furthermore, for instrument separation, the separated source may be "drums" and the residual signal may be "vocals", "bass", "guitar", "other", etc.
[0024] The source separation provided by a Music Source Separation (MSS) system may be subject to artifacts such as interference, crosstalk, or noise.
[0025] The processed audio signal may be a signal comprising the separated sources and the residual signal, in other words the separated sources may be adjusted, for example by a gain factor, based on the enable signal and then mixed with the residual signal to obtain the processed audio signal.
[0026] The enable signal may be a digital signal, such as a Boolean signal, i.e., a signal having a true / false value indicating whether vocals only, accompaniment only, or vocals and accompaniment are present in the audio signal. Alternatively, the enable signal may be a binary signal, i.e., a signal having two binary values, i.e., "0" and "1", indicating whether vocals are present in the audio signal, although the disclosure is not limited thereto. Furthermore, the enable signal may be a binary signal having four binary values indicating whether bass, drums, vocals, etc. are present in the audio signal. Furthermore, the enable signal may have a value indicating "on", "voice only", "noise only", or any subset thereof.
[0027] The enable signal may be a signal that acts as a trigger to activate or deactivate source separation. For example, the enable signal switches source separation on, i.e. when source separation is activated by the enable signal, source separation is performed on the received audio. The enable signal may switch source separation off, i.e. when source separation is deactivated by the enable signal, source separation is not performed on the received audio.
[0028] In some embodiments, the electronic device may further include a circuit configured to adjust the audio signal when the source separation is deactivated by the enable signal to obtain the adjusted audio signal as the processed audio signal. The audio signal may be adjusted by applying a gain factor, e.g., a gain parameter, to the audio signal to obtain the processed audio signal.
[0029] The source separation may be activated and deactivated based on the enable signal. By performing the activation and deactivation of the source separation, the energy consumption of the electronic device, for example, a karaoke system, may be reduced.
[0030] In some embodiments, the electronics may further include circuitry configured to change a position of a switch based on a value of the enable signal to activate or deactivate source isolation, for example, by changing the position of a switch, source isolation may be activated, i.e., switched on, or deactivated, i.e., switched off.
[0031] In some embodiments, source separation may be performed by a deep neural network (DNN), and the enable signal may be used to deactivate some or all layers of the DNN so that their outputs are no longer updated. The deep neural network (DNN) may be any type of DNN, such as a recurrent neural network (RNN), a feed-forward neural network (FFNN), a convolutional neural network (CNN), etc. Source separation may be deactivated by freezing the neural network and also the hidden state of the neural network layers, thus saving all computations. Alternatively, source separation may be deactivated by performing forward propagation through the neural network up to the neural network layer to update the hidden state, thus saving all operations that come after the neural network, such as the operations of the decoding layer.
[0032] In some embodiments, the enable signal may be configured to activate source separation when the value of the enable signal is "true" and to deactivate source separation when the value of the enable signal is "false." For example, in some embodiments, the value of the enable signal may be "true vocals and accompaniment," "fake only vocals," or "fake only accompaniment," although the disclosure is not limited thereto. Alternatively, the value of the enable signal may be "on," "voice only," "noise only," or a subset thereof.
[0033] In some embodiments, the electronics may further include circuitry configured to activate source separation if the value of the enable signal is "true vocals and accompaniment" or to deactivate source separation if the value of the enable signal is "fake only vocals" or "fake only accompaniment". In this manner, source separation is deactivated by the enable signal if the audio signal includes only vocals or only accompaniment. A value of the enable signal "true vocals and accompaniment" may indicate that the audio signal includes vocals and accompaniment. A value of the enable signal "fake only vocals" may indicate that the audio signal includes only vocals. A value of the enable signal "fake only accompaniment" may indicate that the audio signal includes only accompaniment.
[0034] In some embodiments, the electronics may further include circuitry configured to apply a gain to the audio signal based on the enable signal to obtain an adjusted audio signal. For example, in some embodiments, the electronics may further include circuitry configured to perform a delay on the audio signal to obtain a delayed audio signal when the source separation is deactivated based on the enable signal, and adjust the audio signal to obtain the adjusted audio signal, applying a gain to the delayed audio signal. The processed audio signal may include the adjusted audio signal. Alternatively, the processed audio signal may be the adjusted audio signal.
[0035] The audio signal may be an audio signal including vocals or may be vocals only, and the gain may be a gain factor, i.e. a gain parameter applied to the vocals, e.g. +3 dB, -12 dB, -20 dB, to increase or decrease the volume of the vocals or to create silence, etc. However, a person skilled in the art may select the gain to be applied in other ways depending on the needs of a particular use case.
[0036] Alternatively, the audio signal may be an audio signal containing an accompaniment or only an accompaniment, and the gain may be a gain factor, i.e. a gain parameter applied to the accompaniment, in order to increase, decrease or leave the volume of the accompaniment unchanged, e.g. +6 dB, 0 dB, -6 dB, etc. For example, a person skilled in the art may set the gain factor applied to the accompaniment as a predefined parameter according to the specific requirements of the instrument in question or according to the needs of a particular use case.
[0037] In some embodiments, the electronic device may further include a circuit configured to apply a gain to the user's vocal signal to obtain an adjusted user's vocal signal, which may be obtained by a microphone. The gain may be a gain factor, i.e., a gain parameter, applied to the user's vocal signal, e.g., +3 dB, +6 dB, -3 dB, etc., to increase or decrease the volume of the user's vocals. However, a person skilled in the art may select the gain to be applied in other ways depending on the needs of a particular use case.
[0038] In some embodiments, the electronic device may further include circuitry configured to mix the conditioned user vocal signal with the processed audio signal to obtain a mixed audio signal.
[0039] In some embodiments, the electronic device may further include a circuit configured to perform enable signal generation based on the separated source and the residual signal to obtain the enable signal, although the disclosure is not limited thereto. In some embodiments, the electronic device may further include a circuit configured to perform voice detection on the audio signal to obtain a vocal detection signal.
[0040] In some embodiments, the electronic device may further include circuitry configured to perform vocal detection on the audio signal to obtain a vocal detection signal, and perform enable signal generation based on the vocal detection signal, the separated source, and the residual signal to obtain the enable signal.
[0041] In some embodiments, the enable signal may be calculated the first time the song is played on the electronic device, or the enable signal may be calculated by the output of the source separation itself the first time the audio is heard, by using a simple energy threshold in the vocal and / or accompaniment signals, although this disclosure is not limited thereto.
[0042] In some embodiments, the enable signal may be pre-computed on the server side. For example, the enable signal may be pre-computed on the streaming server side using a "vocal detection network" and then transmitted to the electronic device together with the audio. This may be done by embedding the signal directly in the audio by watermarking techniques. Alternatively, the enable signal may be calculated on the electronic device using a small-scale "vocal detection network". This may reduce overall power consumption if more operations are saved with the enable signal than are required for calculation.
[0043] In some embodiments, the separated source may include vocals and the residual signal may include musical accompaniment.
[0044] In some embodiments, the electronic device may further include a circuit configured to apply a gain to the vocals to obtain the adjusted vocals and to apply a gain to the accompaniment to obtain the adjusted accompaniment. The gain may be a gain factor, i.e. a gain parameter applied to the vocals, to increase or decrease the volume of the vocals, e.g., -12 dB, -20 dB, etc. The gain may be a gain parameter applied to the accompaniment, e.g., -3 dB, 0 dB, +3 dB, +6 dB, etc., to increase, decrease, or leave the volume of the accompaniment unchanged. However, a person skilled in the art may select the gain to be applied in other ways depending on the needs of a particular use case.
[0045] In some embodiments, the electronic device may further include circuitry configured to mix the conditioned vocal signal with the conditioned accompaniment to obtain a processed audio signal.
[0046] In some embodiments, the audio signal may include at least one of vocals and musical accompaniment, although the disclosure is not limited thereto. Alternatively, in some embodiments, the separated source may include speech and the residual signal may include background noise. Furthermore, the separated source may include drums and the residual signal may include bass, etc. Depending on the use case, source separation may be performed to obtain a suitable separated source and a suitable residual signal.
[0047] In some embodiments, the user's vocals may be captured by a microphone, which may be a microphone of an electronic device such as a smartphone, headphones, a TV set, a Blu-ray player, etc.
[0048] In some embodiments, the processed audio signal may be output to a loudspeaker system, which may be a loudspeaker array of the electronic device, such that a user of the electronic device may sing along while listening to the reproduced audio.Embodiments also disclose an electronic device including circuitry configured to perform source separation on the audio signal to obtain separated source and residual signals, and to perform enable signal generation based on the separated source and residual signals to obtain an enable signal, the enable signal being configured to activate or deactivate the source separation.
[0049] In some embodiments, the electronics may further include circuitry configured to perform vocal detection on the separated source and residual signals to obtain a vocal detection signal, and perform enable signal generation based on the vocal detection signal, the separated source and residual signals to obtain the enable signal.
[0050] In some embodiments, the enable signal may be pre-computed on the server side using a vocal detection network, or the enable signal may be calculated the first time the song is played on the electronic device using energy thresholds in the separated source and residual signals.
[0051] An embodiment also discloses a method that includes performing source separation on an audio signal based on an enable signal to obtain a processed audio signal including separated sources and a residual signal, where the enable signal is configured to activate or deactivate the source separation.
[0052] It should be noted that the methods described herein are also implemented in some embodiments as a computer program product that, when executed on a computer and / or processor, causes the computer and / or processor to perform the methods. In some embodiments, a non-transitory computer-readable recording medium is also provided that stores a computer program product that, when executed by said processor, causes the computer and / or processor to perform the methods described herein.
[0053] An embodiment also discloses a computer program comprising instructions that, when the program is executed by a computer, cause the computer to perform source separation on the audio signal based on an enable signal to obtain a processed audio signal comprising separated sources and a residual signal, the enable signal being configured to activate or deactivate the source separation.
[0054] An embodiment also discloses a non-transitory computer-readable recording medium storing a computer program product that, when executed by a processor, performs source separation on an audio signal based on an enable signal to obtain a processed audio signal including separated sources and a residual signal, where the enable signal is configured to activate or deactivate the source separation.
[0055] Audio mixing with audio source separation FIG. 1 illustrates diagrammatically a general approach for audio mixing by blind sound separation (BSS), such as audio source separation (MSS).
[0056] First, a source separation (also called "demixing") is performed to "separate" a source audio signal 1 comprising multiple channels I and audio from multiple audio sources, source 1, source 2...source K (e.g. instruments, voices, etc.), into source estimates 2a-2d for each channel i. K is an integer and indicates the number of audio sources. In this embodiment, the source audio signal 1 is a stereo signal with two channels i=1 and i=2. If the separation of the audio source signals is incomplete, for example due to mixing of the audio sources, a residual signal 3 (r(n)) is generated in addition to the separated audio source signals 2a-2d. This residual signal may represent, for example, the difference between the input audio content and the sum of all separated audio source signals. The audio signal emitted by each audio source is represented in the input audio content 1 by its respective recorded sound wave. For input audio content having two or more audio channels, such as stereo or surround sound input audio content, spatial information for the audio sources is typically also included in the input audio content or represented thereby (e.g. by the proportions of the audio source signals contained in the different audio channels). The separation of the input sound content 1 into separated audio source signals 2a-2d and the residual 3 is performed based on blind source separation or other techniques capable of separating the audio sources.
[0057] In a second step, the separations 2a-2d and the possible residual 3 are remixed and rendered into a new loudspeaker signal 4, here a signal comprising five channels 4a-4e, i.e. a 5.0 channel system. Based on the separated audio source signals and the residual signals, an output audio content is generated by mixing the separated audio source signals and the residual signals taking into account the spatial information. The output audio content is exemplarily indicated with reference number 4 in Fig. 1.
[0058] Hereinafter, let Min be the number of audio channels of the input audio content, and Mout be the number of audio channels of the output audio content. The input audio content 1 in the example of FIG. 1 has two channels i = 1 and i = 2, and the output audio content 4 in the example of FIG. 1 has five channels 4a to 4e, Min = 2, and Mout = 5. The approach in FIG. 1 is generally called remixing, and particularly when Min < Mout, it is called upmixing. In the example of FIG. 1, the number of audio channels Mm = 2 of the input audio content 1 is less than the number of audio channels Mout = 5 of the output audio content 4. Therefore, it is upmixing from the stereo input audio content 1 to the 5.0 surround sound output audio content 4.
[0059] The technical details regarding the source separation process shown in FIG. 1 above are known to those skilled in the art. Exemplary techniques for performing blind source separation are disclosed, for example, in Patent Document 1 or Non-Patent Document 1. There are also programming toolkits for performing blind source separation such as Open-Unmix, DEMUCS, Spleeter, Asteroid, etc., and those skilled in the art can execute the source separation process as shown in FIG. 1 above. It is known to include additional non-recurrent learnable layers before and after the RNN, and its role is to encode the signal to provide a more appropriate signal representation to the RNN, as described by Non-Patent Document 2, and additional layers are used before and after the RNN.
[0060] Audio Processing and Audio Mixing Based on Enable Signals FIG. 2 schematically shows an embodiment of the process of audio mixing based on audio processing. By this process, audio mixing can be performed using audio processing based on an enable signal.
[0061] For example, audio 200 (see audio input signal 1 in FIG. 1 ), e.g., a song, including multiple sources (see 1, 2, ..., K in FIG. 1 ) with multiple channels (e.g., Mm=2), is input to audio processing 202 and processed based on enable signal 201 to obtain processed audio 206, i.e., a processed audio signal. A gain 204 is applied to user vocals 203 to obtain adjusted user vocals 207. Mixer 205 mixes the processed audio 206 with adjusted user vocals 207 to obtain mixed audio 208, i.e., a mixed audio signal.
[0062] In the embodiment of Fig. 2, the audio processing is performed based on an enable signal obtained during source separation when the audio, e.g., a song, is played for the first time by a playback device, such as a music player, as shown in Fig. 4. The enable signal may be a digital signal, such as a Boolean signal, i.e., a signal having true and false values, or a binary signal, i.e., a signal having "0" and "1" values. In the present disclosure, the enable signal is a Boolean signal having true and false values, as shown in Fig. 5, but the present disclosure is not limited thereto. Alternatively, the enable signal may be a binary signal, etc.
[0063] In the embodiment of FIG. 2, a gain is applied to the user's vocals to adjust the user's vocals according to the user's preferences. For example, the gain may be a preset parameter that adjusts the user's vocals accordingly, or may be a parameter that the user sets in real time. The preset gain parameter may include a predetermined volume change parameter, etc. The gain parameter may include a predetermined volume increase or decrease parameter associated with the vocals. For example, the predetermined volume increase parameter may be a +3 dB volume increase parameter, etc., and the predetermined volume decrease parameter may be a -3 dB volume increase parameter, etc., but the present disclosure is not limited thereto. A person skilled in the art may use any suitable parameter to adjust the user's vocals. Alternatively, no gain may be applied to the user's vocals.
[0064] Note that the user's vocals 203 may be received via a microphone, for example a microphone included in a microphone array (see 1310 in FIG. 13).
[0065] It should be noted that the processed audio 206 and / or the mixed audio 208 may be output to a loudspeaker system (see 1309 in FIG. 13), e.g., over-the-ear, in-the-ear, behind-the-ear, wireless headphones, etc., and / or may be recorded on a recording medium, e.g., a CD, etc., or stored in an electronic device's memory (see 1302 in FIG. 13), etc. For example, the processed audio 206 may be output to a user's headphones so that the user can sing along with the played audio.
[0066] Audio processing based on source separation and enable signals Figure 3 shows in more detail an embodiment of the audio processing performed in the process of audio mixing shown in Figure 2, where source separation is performed based on an enable signal, which in this embodiment has already been generated and stored in memory by an enable signal generation process as shown in Figure 4.
[0067] Audio 200 (see also audio input signal 1 in FIG. 1 ), comprising multiple sources (see 1, 2, ..., K in FIG. 1 ), e.g. with multiple channels (e.g. Mm=2), e.g. music, is input to the audio processing 202 together with an enable signal 201, as shown in FIG. 2 above. A source separation 301 is performed on the audio signal 200 during the audio processing 202, which here is decomposed into vocals and accompaniment. In this embodiment, the source separation 301 has two states: a first state, which is an activation state, i.e. a switched-on state, in which source separation is performed, and a second state, which is a deactivation state, i.e. a switched-off state, in which source separation is not performed. Based on the enable signal 201, the audio processing 202 is performed on the audio 200, which activates, i.e. switches on, or deactivates, i.e. switches off, the source separation 301. In the embodiment of Fig. 3, when the state of source separation is activated, i.e. source separation is switched on (here in position AB of switch 300), source separation is performed on audio signal 200 to obtain vocals and accompaniment. When the state of source separation is deactivated, i.e. source separation is switched off (here in position AC of switch 300), source separation is not performed and audio signal 200 is processed by delay 303 and gain 304. Enable signal 201 indicates whether audio 200 contains vocals only, accompaniment only or vocals and accompaniment during the duration of the audio, and thus whether source separation 301 is activated or deactivated.
[0068] The source separation model may use machine learning techniques such as neural networks, e.g., deep neural networks (DNN), convolutional neural networks (CNN), recurrent neural networks (RNN), etc. In this source separation model, source separation 301 is implemented as a recurrent neural network. For example, in the case of an RNN layer in a neural network, there are at least two ways to switch off the network, where source separation 301 is switched off. One way is to freeze the neural network and thus freeze the hidden states of the RNN layer, thus saving all the computations (see FIG. 4 below). Another way is to propagate forward through the neural network to the RNN layers, update their hidden states, thus saving all the operations that come after the RNN, i.e., the decoding layer (see FIG. 4 below).
[0069] In the embodiment of FIG. 3, if the enable signal 201 indicates that the audio 200 includes vocals and accompaniment, the source separation 301 is switched on (here a pair of contacts AB of the switch 300 is connected) and the audio 200 is decomposed into separation (see separated sources 2a-2d and residual signal 3 in FIG. 1) as described with reference to FIG. 1 above. In this embodiment, the audio 200 is decomposed into vocals and accompaniment (separated sources 2 and residual signal 3). Based on the enable signal 201, the vocals and accompaniment are adjusted by a gain 302, e.g. a gain factor is applied to the vocals and accompaniment to obtain an adjusted vocal and an adjusted accompaniment, respectively. The mixer 305 mixes the adjusted vocals with the adjusted accompaniment to obtain a processed audio 206. That is, there is an expected latency from the source separation 301, e.g. a time delay Δt. The expected time delay is a known predetermined parameter, which may be set in the delay 303 as a predetermined parameter.
[0070] If the enable signal 201 indicates that the audio 200 contains only vocals or only accompaniment, the source separation 301 is switched off (where the pair of contacts AC of the switch 300 is connected) and a delay 303 is performed on the audio 200 to obtain a delayed audio, i.e. a delayed audio signal, e.g. a delayed vocal or a delayed accompaniment. Based on the enable signal 201, the delayed audio is adjusted by a gain 304, e.g. a gain factor is applied to the delayed audio to obtain an adjusted audio. The adjusted audio is the processed audio 206, which is mixed with the adjusted user's vocals (see 207 in Fig. 2) to obtain the mixed audio (see 208 in Fig. 2) shown in Fig. 2 above. That is, there is an expected latency, e.g. a time delay Δt from the source separation. The expected time delay is a known predetermined parameter, which may be set in the delay 303 as a predetermined parameter. In Delay 303 the audio signal, here vocals or accompaniment, is delayed by the expected latency due to the Source Separation 301 process to obtain a delayed vocals or delayed accompaniment, which has the effect that the latency due to the Source Separation 301 process is compensated by the respective delay of the vocals or accompaniment.
[0071] In the embodiment of FIG. 3, based on the enable signal 201, the delayed audio or vocals and accompaniment are adjusted by gain, for example a gain factor that increases, decreases, or leaves unchanged the volume of the audio or vocals and accompaniment, respectively. The gain factor may be set by a user in real time or may be set statically in advance. In this embodiment, the vocals may be adjusted, such as by increasing or decreasing the volume of the vocal signal by a gain factor equal to -12 dB, but this embodiment is not limited thereto. The accompaniment may be adjusted by increasing, decreasing, or leaving unchanged the volume of the vocal signal by a gain factor equal to -3 dB, 0 dB, +3 dB, etc., but this embodiment is not limited thereto. The delayed audio may be adjusted by a gain factor equal to -12 dB, -20 dB if the delayed audio is delayed vocals, or a gain factor equal to 0 dB, +3 dB if the delayed audio is delayed accompaniment, but this embodiment is not limited thereto. Any gain factor suitable to a person skilled in the art may be used to adjust the vocals, accompaniment, or delayed audio. Alternatively, no gain may be applied to the vocals, accompaniment, or delayed audio, or if the audio is vocals only, the delayed vocals may be adjusted so that only silence is output, and if the audio is accompaniment only, the delayed accompaniment may not be adjusted so that the accompaniment is output directly as processed audio 206.
[0072] As mentioned above, that is, source separation 301 and gain 304 may be performed in real time, e.g., "online", with some latency, here delay 303. For example, they may be performed directly on a smartphone, a user's smartwatch, headphones, Bluetooth device, etc.
[0073] The source separation 301 process may be implemented, for example, as described in more detail in Non-Patent Document 1. Also, programming toolkits exist for performing blind source separation, such as Open-Unmix, DEMUCS, Spleeter, Asteroid, etc., which allow a person skilled in the art to perform the source separation process as shown in FIG.
[0074] In the embodiment of FIG. 2, source separation is performed on audio that is a song and is decomposed into vocals and accompaniment, but the embodiment is not so limited. Alternatively, other types of source separation may be performed. For example, speech enhancement may be performed, where the audio is, for example, a lecture, and is decomposed into speech and noise. In such a case, the enable signal may be either "on", "speech only", "noise only", or a subset thereof. Furthermore, instrument separation may be performed, where the audio is, for example, a recorded concert, and is decomposed into bass, drums, vocals, and others. In such a case, the enable signal may be a binary signal having four binary values indicating whether "bass", "drums", "vocals", and "others" are present or not.
[0075] It should be noted that by using the enable signal 201, the energy consumption of the electronic device may be reduced, and the electronic device may be a playback device. A source separation model such as source separation 301 may be trained with the enable signal to inform the neural network whether separation is necessary or whether currently only vocals or only accompaniment is present and no separation is required. This may allow the source separation model to exploit the information coming from it to quickly adapt to changing conditions, e.g., from "only instruments" to "instruments and vocals".
[0076] In the embodiment of FIG. 3, source separation is performed by a recurrent neural network (RNN). A recurrent neural network is a neural network that uses an internal state to perform a task in addition to its input. A new internal state is calculated from an old internal state, and the input of the new internal state is the output of the old internal state. In other words, RNNs take some of their outputs as input for the next time step, i.e., the next state. An RNN can take one or more input vectors and generate one or more output vectors, where the outputs are influenced by weights applied to the inputs and by a hidden state vector that represents a context based on the previous inputs / outputs. Typically, the same weights are applied to each input in an RNN.
[0077] In the embodiment of Fig. 4 below, the neural network is an RNN that performs source separation, which is switched off based on an enable signal (here the state of the switch is AC). The enable signal (see 201 in Figs. 2 and 3) is used to deactivate some or all layers of the DNN, here the RNN, so that their outputs are no longer updated.
[0078] FIG. 4 shows a schematic diagram of a deep neural network including a recurrent neural network (RNN) and additional non-recurrent learnable layers before and after the RNN layer, in which the switch-off of source separation shown in FIG. 3 is performed.
[0079] In this embodiment, a deep neural network (see 301 in FIG. 3) is shown that performs source separation using Open-Unmix. As described in Non-Patent Document 2, Open-Unmix is based on a three-layer bidirectional long short-term memory (BLSTM) network. This model learns to predict the amplitude spectrogram 517 of a target, e.g., vocals (see separated source 2 in FIG. 1), from the amplitude spectrogram 500 of a mix input, e.g., an audio signal (see 200 in FIG. 2). Internally, the prediction is obtained by applying a mask to the input. To perform separation into multiple sources (see separations 2a-2d in FIG. 1), multiple models are trained for each target, i.e., for each separation.
[0080] The Open-Unmix model uses bidirectional LSTM cells and therefore processes the mix offline, but in this embodiment, the bidirectional LSTM cells are replaced with unidirectional LSTM cells, so that the Open-Unmix model is causal and can be used for online karaoke tasks such as online separation.
[0081] Typically, Open-Unmix operates in the time-frequency domain to perform its predictions, and thus the input of the model can be either a time-domain signal tensor or a pre-computed magnitude spectrogram. For example, a magnitude spectrogram can be defined as a logarithmically scaled magnitude spectrum of an audio signal (see 200 in FIG. 2) over time.
[0082] Cropping 501 is performed on an input mix spectrogram 500 with left and right channels to obtain a cropped mix spectrogram. Cropping 501 is performed across the frequency dimension so that only high frequencies are removed, and thus no information is lost over time. The cropped mix spectrogram is standardized, i.e., normalized, by an input scaler 502 using a global mean and standard deviation for all frequency bins across all frames. The standardized cropped mix spectrogram is passed through a first fully connected layer (fc1) 503 that applies a feature transformation, e.g., an affine transformation (i.e., an affine layer fc1), thereby obtaining a more suitable representation, e.g., features, for a unidirectional LSTM network 506. In addition, the dimension of the input spectrogram, i.e., the number of numerical values that can be used to represent frequency components, is reduced by the fully connected layer (fc1) 503, thus reducing redundancy in the input. In other words, the fully connected layer (fc1) 503 compresses the frequency and channel axes of the model, mapping the amplitude STFT bins of both channels (and one frame) to features. A first batch normalization (bn1) 504 is performed on the features, followed by a tangent function 505 that is used as an activation function to compress the numerical values to [-1, 1]. The core of Open-Unmix is a three-layer unidirectional long short-term memory (Uni-LSTM) network 506. In this embodiment, the Uni-LSTM is switched off and no source separation is performed, so the Uni-directional LSTM network 506 is not used. After the LSTM network 506, which is an RNN, two or more affine transformations (i.e., affine layers fc2 and fc3) are applied, along with batch normalizations (bn2) 509 and (bn3) 512. In particular, the estimated target source representations are input to a fully connected layer (fc2) 508, followed by a second bulk normalization (bn2) 509 and a rectified linear unit (ReLU) 510, which is the activation function.The output of the ReLU 510 is then input to a third fully connected layer (fc3) 511 which performs a restoration of the STFT dimension of the spectrogram. The third fully connected layer (fc3) 511 is followed by a third bulk normalizer (bn3) 512 and an output scaler 513 which denormalizes the numerical values. A ReLU 514 activation function is applied to the output of the output scaler 513 which is then multiplied 516 with the mix spectrogram 500 and the model is asked to predict the mask.
[0083] The above process is a process that is performed internally within the network during the operational phase, i.e., the "evaluation phase", where the masks are predicted. The operational phase, i.e., the "evaluation phase", is independent of and subsequent to the "training phase", where the parameters of the model, but not the masks, are learned.
[0084] The Open-Unmix neural network includes a recurrent neural network (RNN), i.e., UniLSTM506, and additional non-recurrent learnable layers, i.e., affine layers fc1, fc2, fc3 with collective normalization bnl, bn2, bn3 applied before and after the RNN layers. The affine layers with collective normalization bnl, bn2, bn3 are performed at multiple stages of the model, feature transformation is performed by the affine layers fc1, fc2, fc3, and the collective normalization layers are only used to normalize the features. In this way, training of deep architectures can be made easier.
[0085] In this embodiment, if no source separation is performed, the LSTM network 506 is switched off. Switching off the network means not computing anything through fc2, bn2, fc3 and bn3, but only updating the internal LSTM states. The outputs of the first two LSTMs are used to update the states of the successive LSTM layers, and the output of the last BLSTM is not used.
[0086] Switching off the neural network mentioned above can be done in two ways: by not computing anything through the network (the hidden state is not updated) or by only performing computations up to the RNN, updating the internal state but not generating new outputs.
[0087] For example, the hidden state of the RNN layers is frozen by not computing anything through the neural network, thus saving all computations that would have been performed. For example, freezing the RNN and its layers may be performed by not computing anything through the network (e.g., involving not updating the hidden state). In other words, when the RNN and its hidden state are frozen by not updating, i.e., changing, the hidden state, the LSTM is not running. In this way, the computations performed up to that point are saved.
[0088] In this embodiment, since no computation is performed (LSTM is not operating), the RNN has no output, i.e., no input is sent forward through the RNN, since no output is needed. Alternatively, switching off the neural network can be performed by only performing computations up to the RNN, updating the internal state but not generating new output. For example, to switch off source separation, forward propagation is performed through the neural network up to the RNN layer, followed by updating the RNN hidden state, and all operations coming after the RNN are saved. Such operations are the decoding operations performed in the decoding layer.
[0089] In this way, the internal state of the LSTM is updated, but the output of the last LSTM is not used. In this case, the LSTM is always fully operational (no calculations in subsequent layers of the neural network are performed), regardless of the value of the switch-off signal. Thus, the formula for updating the hidden state is:
number
[0090] First enable signal generation FIG. 5 illustrates generally one embodiment of a process for generating an enable signal, in which the enable signal is generated for the first time.
[0091] The audio 200 is input to a source separation 301, which separates it, here into vocals and accompaniment. The vocals and accompaniment are input to an enable signal generation 400, which obtains an enable signal 201. The enable signal 201 is then stored in an electronic device, for example in a storage unit (see 1302 in Fig. 14), and can be reused the next time the user listens to the same song.
[0092] In the embodiment of Fig. 5, when an electronic device such as a karaoke machine, a smartphone, etc. plays audio for the first time, the audio is directly input to the audio source separation, decomposed and separated. This process shown in Fig. 5 is similar to the above process shown in Fig. 3, and the process in Fig. 5 may be implemented using a preset condition, i.e., an enable signal that activates source separation, i.e., an enable signal that switches on source separation, and when the electronic device plays audio for the first time, it performs source separation and obtains the enable signal.
[0093] In the embodiment of FIG. 5, the enable signal is calculated by the output of the source separation itself when the audio (here the audio 200 is a song) is first heard by using a simple energy threshold in the vocal and / or accompaniment signals, but this embodiment is not limited thereto. Alternatively, the enable signal may be pre-calculated on the streaming server side using a "vocal detection network" and then transmitted together with the audio to the electronic device. This transmission may be done by directly embedding the signal in the audio by watermarking techniques. Furthermore, the enable signal may be calculated in the electronic device using a small-scale "vocal detection network". This may reduce the overall power consumption if more operations are saved with the enable signal than are required to calculate it. The process of voice detection is described with reference to FIG. 11.
[0094] 6 shows a schematic diagram of the enable signal over time during song playback. According to this embodiment, the enable signal is a Boolean signal having a true / false value indicating whether the audio contains vocals and accompaniment, only vocals, or only accompaniment. Here, the enable signal has the values "true vocals and accompaniment", "false only accompaniment" and "false only vocals".
[0095] In the embodiment of FIG. 6, the abscissa indicates time and the ordinate indicates the value of the enable signal. The horizontal dashed lines represent the values of the enable signal, here three values, and the vertical dashed lines represent time instances t0, t1, t2, t3, t4. The duration of the audio is from 0 to time instance t4. The horizontal solid lines represent the values of the enable signal during the duration of the audio, where from 0 to time instance t0, the enable signal is "fake vocals only", from time instance t0 to time instance t1, the enable signal is "real vocals and accompaniment", from time instance t1 to time instance t2, the enable signal is "fake vocals only", from time instance t2 to time instance t3, the enable signal is "real vocals and accompaniment", and from time instance t3 to time instance t4, the enable signal is "fake vocals only".
[0096] As mentioned above, between 0 and time instance t0 and between time instance t3 and time instance t4, the enable signal is "fake only vocal", which indicates that during these periods the audio contains only vocals, and therefore during audio processing, there is no need to perform source separation on the audio. Details are described with reference to FIG. 9. Thus, the processed audio may be silent or audio adjusted by gain based on real-time user preferences or based on predefined gain parameters (see 304 in FIG. 3, 9). Between time instance t1 and time instance t2, the enable signal is "fake only accompaniment", which indicates that during this period the audio contains only accompaniment, and therefore during audio processing, there is no need to perform source separation on the audio. Details are described with reference to FIG. 10. Thus, the processed audio signal may be accompaniment or audio adjusted by gain based on user preferences or based on predefined gain parameters (see 304 in FIG. 3, 10). From time instance t0 to time instance t1 and from time instance t2 to time instance t3 is an enable signal "true vocals and accompaniment", which indicates that during these periods the audio contains vocals and accompaniment, so that during audio processing, source separation is performed on the audio, as will be described in more detail with reference to FIG.
[0097] 6, the enable signal is a digital signal, such as a Boolean signal, i.e., a signal having a true / false value, although the disclosure is not so limited. Alternatively, the enable signal may be a digital signal, such as a binary signal, i.e., a signal having "0" and "1" values. For example, a binary signal having a value "0" may indicate that the audio does not include vocals, a binary signal having a value "1" may indicate that the audio does include vocals, etc.
[0098] Fig. 7a shows a schematic table in which the values of the enable signal are mapped to the switch positions of the switch. The enable signal (see 201 in Figs. 2, 3, 5) has three possible values, namely "true vocals and accompaniment", "fake only accompaniment" and "fake only vocals", and the switch (see 300 in Fig. 3) has two possible positions, namely AB and AC. The switch represents the switching on / off of source separation (see 301 in Fig. 3), and when the switch position is AB, the source separation is switched on, i.e. activated, and when the switch position is AC, the source separation is switched off, i.e. deactivated.
[0099] For example, an enable signal (see 201 in Figures 2, 3 and 5) having a value “True Vocals and Accompaniment” (see Figure 6) is mapped to switch AB (see Figure 3), which indicates that source separation (see 301 in Figure 3) is switched on based on the enable signal.
[0100] In other words, the value of the enable signal "true vocals and accompaniment" serves as a trigger value that activates source separation, i.e. source separation is performed. Based on the table of Fig. 7a, both the enable signal (see 201 in Figs. 2, 3, 5) with the value "fake only accompaniment" (see Fig. 6) and the enable signal with the value "fake only vocals" are mapped to the switch AC (see Fig. 3), which indicates that the source separation (see 301 in Fig. 3) is switched off based on the enable signal. In other words, the value of the enable signal "fake only accompaniment" and the value "fake only vocals" serve as trigger values that deactivate source separation, i.e. source separation is not performed.
[0101] FIG. 7b shows a schematic table of enable signal values and gain coefficients. An enable signal (see 201 in FIGS. 2, 3, 5) having a value "True Vocals and Accompaniment" (see FIG. 6) is mapped to a gain of -12 dB (see 302 in FIG. 3) applied to the vocals based on the enable signal. An enable signal (see 201 in FIGS. 2, 3, 5) having a value "Fake Only Accompaniment" (see FIG. 6) is mapped to a gain of 0 dB (see 304 in FIG. 3) applied to the accompaniment based on the enable signal. An enable signal (see 201 in FIGS. 2, 3, 5) having a value "Fake Only Vocals" (see FIG. 6) is mapped to a gain of -20 dB (see 304 in FIG. 3) applied to the vocals based on the enable signal.
[0102] In the embodiment of FIG. 7b, based on the value of the enable signal, the gain has different values, for example, different gain coefficients are applied to the vocals or the accompaniment, but this embodiment is not limited thereto. Those skilled in the art can apply any suitable gain coefficient based on their expertise. For example, if the value of the enable signal is "fake vocals only", a gain coefficient can be applied to the vocals to generate silence. If the value of the enable signal is "fake accompaniment only", a gain coefficient can be applied to the accompaniment to increase the volume of the accompaniment. If the value of the enable signal is "real vocals and accompaniment", a gain coefficient can be applied to the vocals to decrease the volume of the vocals.
[0103] FIG. 8 shows in more detail and diagrammatically the embodiment of the audio processing described in FIG. 3, which is executed when the enable signal value is "true vocals and accompaniment". In this embodiment, the enable signal value is "true vocals and accompaniment" and serves as a trigger value to activate the source separation, i.e. switch on. The audio 200 is input to the source separation 301 and is decomposed into vocals and accompaniment. A gain 302 is applied to the vocals to obtain an adjusted vocal and to the accompaniment to obtain an adjusted accompaniment, as also described in FIG. 3 above. The mixer 305 mixes the adjusted vocals with the accompaniment to obtain a processed audio signal (see 206 in FIGS. 2, 3). The vocals are represented by dashed lines indicating that the vocals may be adjusted by a gain factor or cut off, and instead silence is output to the mixer 305. The accompaniment is represented by solid lines indicating that the accompaniment may be adjusted by a gain factor or directly output to the mixer 305.
[0104] In the embodiment of FIG. 8, the vocals may be adjusted by applying a gain factor equal to -12 dB, -20 dB, etc., to decrease the volume of the vocals, but this embodiment is not limited thereto. Alternatively, for example, a gain factor equal to +3 dB may be applied to the vocals to increase the volume of the vocals, or a gain factor equal to 0 dB may be applied to the vocals to leave the volume unchanged. The accompaniment may be adjusted by applying a gain factor equal to -3 dB, 0 dB, +3 dB, etc., to decrease, increase, or leave the volume of the vocals unchanged, but this embodiment is not limited thereto. Those skilled in the art may set any suitable gain factor applied to the vocals and accompaniment as predefined parameters according to the needs of a particular use case.
[0105] FIG. 9 shows in more detail and diagrammatically the embodiment of the audio processing shown in FIG. 3, which is executed when the enable signal value is "fake only vocals". In this embodiment, the enable signal value is "fake only vocals" and serves as a trigger value to deactivate, i.e. switch off, the source separation. Audio 200 containing only vocals is input to a delay 303, which outputs delayed audio, here delayed vocals. A gain 304 is applied to the delayed vocals to obtain adjusted audio, here adjusted vocals, also described in FIG. 3. The adjusted vocal signal is a processed audio signal (see 206 in FIGS. 2, 3) which is output from the audio processing (see 202 in FIGS. 2, 3).
[0106] Based on an enable signal (see 201 in Figs. 2, 3), the delayed audio is adjusted by a gain 304, e.g. a gain factor is applied to the delayed audio to obtain an adjusted audio, here an adjusted vocal. That is, there is an expected latency, e.g. a time delay Δt from the source separation (see 301 in Fig. 3). The expected time delay is a known predefined parameter, which may be set in the delay 303 as a predefined parameter. In the delay 303, the audio signal, here the vocal, is delayed by the expected latency due to the source separation process to obtain the delayed vocal. This has the effect that the latency due to the source separation process is compensated by the respective delay of the vocal.
[0107] FIG. 10 shows in more detail and diagrammatically the embodiment of the audio processing shown in FIG. 3, which is executed when the enable signal value is "fake only accompaniment". In this embodiment, the enable signal value is "fake only accompaniment" and serves as a trigger value that switches off the source separation, i.e. is not executed. The audio 200, which contains only the accompaniment, is input to a delay 303 to output a delayed audio, here the delayed accompaniment. A gain 304 is applied to the delayed vocals to obtain an adjusted audio, here the adjusted accompaniment, as also shown in FIG. 3. The adjusted accompaniment is the processed audio (see 206 in FIG. 2, 3) that is output from the audio processing (see 202 in FIG. 2, 3).
[0108] Based on an enable signal (see 201 in Figs. 2, 3), the delayed audio is adjusted by a gain 304, e.g. a gain factor is applied to the delayed audio to obtain an adjusted audio, here an adjusted accompaniment. That is, there is an expected latency, e.g. a time delay Δt from the source separation (see 301 in Fig. 3). The expected time delay is a known predefined parameter, which may be set in the delay 303 as a predefined parameter. In the delay 303, the audio signal, here the accompaniment, is delayed by the expected latency due to the source separation process to obtain a delayed vocal. This has the effect that the latency due to the source separation process is compensated by the respective delay of the vocal.
[0109] Enabling signal generation with vocal detection Fig. 11 shows a schematic of another embodiment of the process of enabling signal generation, in which vocal detection is performed. Audio 200 is input to source separation 301 and separated, here decomposed into vocals and accompaniment. The vocals and accompaniment are input to vocal detection 1000, which detects the presence or absence of vocals in the audio 200, and a vocal detection signal 1002 is obtained. The vocal detection signal 1002, vocals and accompaniment are input to enabling signal generation 1001, which obtains an enabling signal 201. The enabling signal 201 is then stored in the electronic device (see 1302 in Fig. 14) and can be reused the next time the user listens to the same song.
[0110] In the embodiment of Fig. 11, vocal detection 1000 together with enable signal generation 1001 can form a vocal detection network that is used to calculate enable signal 201. For example, the enable signal can be pre-calculated at the streaming server side using such a vocal detection network and transmitted together with the audio to the electronic device. This transmission can be done by embedding the signal directly in the audio by watermarking techniques. Alternatively, the enable signal can be calculated in the electronic device using a small vocal detection network, which can result in a reduction in overall power consumption if more operations are saved with the enable signal than need to be calculated.
[0111] Method and Implementation FIG. 12 shows a flow diagram visualizing a method for signal mixing in relation to audio processing by performing source separation based on an enable signal to obtain a mixed audio signal.
[0112] In 1100, the audio processing (see 202 in Figs. 2 and 3) receives the audio (see 200 in Figs. 2 and 3). In 1101, the audio processing (see 202 in Figs. 2 and 3) receives an enable signal (see 201 in Figs. 2 and 3). In 1102, based on the received enable signal (see 201 in Figs. 2 and 3), the audio processing (see 200 in Figs. 2 and 3) is performed on the received audio (see 202 in Figs. 2 and 3), and a processed audio is obtained (see 206 in Figs. 2 and 3). In 1103, the mixer (see 205 in Fig. 2) receives the user's vocal (see 203, 207 in Fig. 2), and in 1104, mixing of the processed audio signal with the received user's vocal is performed, and a mixed audio is obtained (see 208 in Fig. 2). The mixed audio and / or the processed audio signal may be output to a loudspeaker system, e.g. headphones, of a smartphone, smartwatch, Bluetooth, etc.
[0113] Fig. 13 shows a flow diagram visualizing a method for audio processing related to source separation based on an enable signal to obtain an adjusted audio signal. In 1200, the audio processing (see 202 in Figs. 2, 3) receives an audio (see 200 in Figs. 2, 3). In 1201, the audio processing (see 202 in Figs. 2, 3) receives an enable signal (see 201 in Figs. 2, 3). In 1202, if the enable signal is true (see Figs. 5, 7a, 8), the enable signal is activated, i.e. switches on the source separation (see 301 in Fig. 3), and the process proceeds to 1203. In 1203, source separation is performed on the received audio to obtain vocals and accompaniment. In 1204, based on the received enable signal, the vocals are adjusted to obtain adjusted vocals. In 1205, mixing of the accompaniment with the adjusted vocals is performed to obtain a processed audio (see 206 in Figs. 2, 3). At 1202, if the enable signal is not true (see Figs. 6, 7a, 8), the enable signal is deactivated, i.e. switches off source separation (see 301 in Fig. 3), and the process proceeds to 1206. At 1206, source separation is deactivated, i.e. is not performed, based on the enable signal, and the process proceeds to 1207. At 1207, the audio is adjusted based on the received enable signal to obtain adjusted audio (see Figs. 3, 9, 10).
[0114] In response to the enable signal, the adjusted audio may be adjusted vocals based on user preferences in real time or based on preset gain parameters, reducing or increasing the vocal volume, or outputting only silence so that the user can sing the vocals themselves. Alternatively, the adjusted audio may be adjusted accompaniment based on user preferences in real time or based on preset gain parameters, reducing or increasing the accompaniment volume when only the accompaniment is played to the user so that the user can sing the vocals themselves.
[0115] Fig. 14 shows a block diagram illustrating an embodiment of an electronic device capable of implementing the process of audio mixing based on an enable signal and audio processing. The electronic device 1300 includes a CPU 1301 as a processor. The electronic device 1300 further includes a microphone array 1310, a loudspeaker array 1309, and a convolutional neural network unit 1207 connected to the processor 1301. The processor 1301 may implement, for example, the gains 302, 304, mixers 205, 305 that realize the process described in more detail with respect to Figs. 2 and 3. The CNN 1307 may be, for example, an artificial neural network in hardware, for example a neural network in a GPU, or any other hardware dedicated to the purpose of implementing an artificial neural network. The CNN 1320 may perform, for example, audio processing 202, source separation 301, delay 303, enable signal generation 400, 1001, and vocal detection 1000 to achieve the processes described in more detail with respect to Figures 2, 3, 5, 8, 9, 10, and 11.
[0116] The loudspeaker array 1309 may be headphones, e.g., on-ear, in-ear, over-ear, wireless headphones, or may consist of one or more loudspeakers distributed over a given space and configured to render any type of audio, e.g., 3D audio. The microphone array 1310 may be configured to receive voice, vocals, instrumental sounds, etc., e.g., when a user sings a song or plays an instrument (see audio 200 in Figs. 2, 3, 5, 8, 9, 10, and 11). The microphone array 1310 may be configured to receive voice commands via automatic speech recognition to operate the electronic device 1300. The electronic device 1300 further includes a user interface 1308 connected to the processor 1301. The user interface 1308 functions as a man-machine interface and allows for interaction between an administrator and the electronic device. For example, an administrator may use the user interface 1308 to configure the system. The electronic device 1300 further includes an Ethernet interface 1306, a Bluetooth interface 1304, and a WLAN interface 1305. These units 1304, 1305, 1306 serve as I / O interfaces for data communication with external devices. For example, additional loudspeakers, microphones, and video cameras with Ethernet, WLAN, or Bluetooth connections may be coupled to the processor 1301 via these interfaces 1304, 1305, and 1306.
[0117] The electronic device 1300 further includes a data storage device 1302 and a data memory 1303 (here a RAM). The data memory 1303 is configured to temporarily store or cache data or computer instructions for processing by the processor 1301. The data storage device 1302 is configured as a long-term storage device, for example, for recording sensor data acquired from the microphone array 1310, or for storing enable signal values used to rotate switches and mapping tables that map switch positions to enable signal values (see Figs. 3, 6 and 7a). The data storage device 1302 may also store audio data representing audio messages, so that the electronic device can output guides or help to the user.
[0118] It should be noted that the above descriptions are merely example configurations, and alternative configurations may be implemented using additional or other sensors, storage devices, interfaces, etc.
[0119] It should be understood that the embodiments describe methods with exemplary ordering of method steps, however, the particular ordering of method steps is presented for illustrative purposes only and should not be construed as binding.
[0120] It should also be noted that the division of the electronics in Figure 14 into units is done for illustrative purposes only, and the disclosure is not limited to any particular division of functionality in particular units. For example, at least some of the circuitry may be implemented by respectively programmed processors, field programmable gate arrays (FPGAs), dedicated circuitry, etc.
[0121] All units and entities described in this specification and claimed in the accompanying claims may, unless otherwise stated, be implemented as integrated circuit logic on a chip, for example, and the functions provided by such units and entities may, unless otherwise stated, be implemented by software.
[0122] In so far as the embodiments of the disclosure described above are implemented, at least in part, using software-controlled data processing apparatus, it will be understood that computer programs providing such software control, and the transmission, storage, or other media on which such computer programs are provided, are contemplated as aspects of the present disclosure.
[0123] The present technology can also be configured as follows. (1) An electronic device comprising: a circuit configured to perform source separation (301) on an audio signal (1; 200) based on an enable signal (201) to obtain a processed audio signal (206) comprising separated sources (2) and a residual signal (3), the enable signal (201) being configured to activate or deactivate the source separation (301). (2) The electronic device of (1), further comprising a circuit configured to condition the audio signal (1; 200) to obtain a conditioned audio signal (206) as a processed audio signal (206) when the source separation (301) is deactivated by the enable signal (201). (3) The electronic device of (1) or (2), further comprising a circuit configured to change the position (B, C) of the switch (300, AB, AC) based on the value (true, false) of the enable signal (201) to activate or deactivate source separation. (4) An electronic device of (3), in which the enable signal (201) is configured to activate the source separation (301) when the value (true, false) of the enable signal (201) is "true" and to deactivate the source separation (301) when the value (true, false) of the enable signal (201) is "false." (5) Any one of (1) to (4), wherein source separation (301) is performed by a deep neural network (DNN) and the enable signal (201) is used to deactivate some or all layers of the DNN so that their outputs are no longer updated. (6) The electronic device of (2), further comprising a circuit configured to apply a gain (304) to the audio signal (1; 200) based on the enable signal (201) to obtain an adjusted audio signal (206). (7) The electronic device of any one of (1) to (6), further comprising a circuit configured to delay (303) the audio signal (200) to obtain a delayed audio signal when the source separation (301) is deactivated by the enable signal (201). (8) The electronic device of (2), further comprising a circuit configured to apply a gain (204) to a user's vocal signal (203) to obtain an adjusted user's vocal signal (207), the user's vocal signal (203) being obtained by a microphone (1310). (9) The electronic device of (7), further comprising a circuit configured to mix the conditioned user vocals (207) with the processed audio signal (206) to obtain a mixed audio signal (208). (10) The electronic device of any one of (1) to (9), further comprising a circuit configured to perform enable signal generation (400; 1001) based on the separated source (2) and the residual signal (3) to obtain an enable signal (201). (11) The electronic device of (10), further comprising a circuit configured to perform vocal detection (1000) on the audio signal (1; 200) to obtain a vocal detection signal (1002), and the enable signal generation (400) is performed based on the vocal detection signal (1002), the separated source (2), and the residual signal (3) to obtain the enable signal (201). (12) The electronic device of (10), wherein the enable signal (201) is pre-calculated on the server side. (13) The electronic device of (10), wherein the enable signal (201) is calculated when the song is played on the electronic device for the first time. (14) Any one of (1) to (13) electronic devices, in which the separated source (2) includes vocals and the residual signal (3) includes accompaniment. (15) The electronic device of (14), further comprising a circuit configured to apply a gain (302) to the vocals to obtain an adjusted vocal and to apply a gain (302) to the accompaniment to obtain an adjusted accompaniment. (16) The electronic device of (15), further comprising a circuit configured to mix (305) the tuned vocals with the tuned accompaniment to obtain a processed audio signal (206). (17) Any one of the electronic devices (1) to (16), wherein the audio signal (1; 200) includes at least one of vocals and accompaniment, or the separated source (2) includes speech and the residual signal (3) includes background noise. (18) The electronic device of (3), in which the value (true, false) of the enable signal (201) is "true vocals and accompaniment," "false vocals only," or "false accompaniment only." (19) Activate source separation (301) if the value (true, false) of the enable signal (201) is “true vocal and accompaniment”; or The electronic device of (18), further comprising a circuit configured to deactivate the source separation (301) when the value (true, false) of the enable signal (201) is "false vocals only" or "false accompaniment only." (20) The microphone (1310) is a microphone for a device (1300) such as a smartphone, headphones, a TV set, or a Blu-ray player, which is the electronic device of (7). (21) Any one of the electronic devices (1) to (20), in which the processed audio (206) is output to a loudspeaker system (1309). (22) A method comprising performing source separation (301) on an audio signal (1) based on an enable signal (201) to obtain a processed audio signal (206) comprising separated sources (2) and a residual signal (3), the enable signal (201) being configured to activate or deactivate the source separation (301). (23) A computer program comprising instructions which, when executed by a computer, cause the computer to carry out the method of (22). (24) performing source separation (301) on the audio signal (200) to obtain separated sources (2) and a residual signal (3); An electronic device comprising: a circuit configured to perform enable signal generation (400; 1001) based on a separated source (2) and a residual signal (3) to obtain an enable signal (201), the enable signal being configured to activate or deactivate a source separation (301). (25) The electronic device of (24), further comprising a circuit configured to perform vocal detection (1000) on the separated source (2) and the residual signal (3) to obtain a vocal detection signal (1002), and the enable signal generation (1001) is performed based on the vocal detection signal (1002), the separated source (2), and the residual signal (3) to obtain the enable signal (201). (26) The electronic device of (24), wherein the enable signal (201) is pre-calculated on the server side using the vocal detection network (1000) or the enable signal (201) is calculated when the song is played for the first time on the electronic device using an energy threshold in the separated source (2) and the residual signal (3).
Claims
1. 1. An electronic device comprising: a circuit configured to perform source separation on an audio signal based on an enable signal to obtain a processed audio signal comprising separated source and residual signals, the enable signal configured to activate or deactivate the source separation.
2. 10. The electronic device of claim 1, further comprising: a circuit configured to adjust the audio signal when the source separation is deactivated by the enable signal to obtain an adjusted audio signal as the processed audio signal.
3. The electronic device of claim 1 , further comprising a circuit configured to change a position of a switch to activate or deactivate the source isolation based on a value of the enable signal.
4. 2. The electronic device of claim 1, wherein the source separation is performed by a deep neural network, and the enable signal is used to deactivate some or all layers of the DNN so that their outputs are no longer updated.
5. The electronic device of claim 2 , further comprising a circuit configured to apply a gain to the audio signal based on the enable signal to obtain the adjusted audio signal.
6. 10. The electronic device of claim 1, further comprising: a circuit configured to delay the audio signal to obtain a delayed audio signal when the source separation is deactivated by the enable signal.
7. The electronic device of claim 2 , further comprising circuitry configured to apply a gain to a user's vocal signal to obtain an adjusted user's vocal signal, the user's vocal signal being obtained by a microphone.
8. The electronic device of claim 7 , further comprising a circuit configured to mix the tuned user vocals with the processed audio signal to obtain a mixed audio signal.
9. The electronic device of claim 1 , further comprising: a circuit configured to perform an enable signal generation based on the separated source and the residual signal to obtain the enable signal.
10. 10. The electronic device of claim 9, further comprising circuitry configured to perform vocal detection on the audio signal to obtain a vocal detection signal, and wherein the enable signal generation is performed based on the vocal detection signal, the separated source, and the residual signal to obtain the enable signal.
11. The electronic device of claim 9 , wherein the enable signal is pre-calculated on a server side.
12. 10. The electronic device of claim 9, wherein the enable signal is calculated the first time a song is played on the electronic device.
13. The electronic device of claim 1 , wherein the separated source includes vocals and the residual signal includes musical accompaniment.
14. The electronic device of claim 13 , further comprising circuitry configured to apply a gain to the vocals to obtain an adjusted vocal and to apply a gain to the accompaniment to obtain an adjusted accompaniment.
15. The electronic device of claim 14 , further comprising a circuit configured to mix the adjusted vocals with the adjusted accompaniment to obtain the processed audio signal.
16. The electronic device of claim 1 , wherein the audio signal includes at least one of vocals and musical accompaniment, or the separated source includes speech and the residual signal includes background noise.
17. The electronic device of claim 1 , wherein the processed audio signal is output to a loudspeaker system.
18. performing source separation on the audio signal to obtain separated source and residual signals; an electronic device comprising: a circuit configured to perform enable signal generation based on the separated sources and the residual signal to obtain an enable signal, the enable signal configured to activate or deactivate the source separation.
19. 20. The electronic device of claim 18, further comprising circuitry configured to perform vocal detection on the separated source and the residual signal to obtain a vocal detection signal, and wherein the enable signal generation is performed based on the vocal detection signal, the separated source, and the residual signal to obtain the enable signal.
20. 20. The electronic device of claim 18, wherein the enable signal is pre-computed on a server side using a vocal detection network, or the enable signal is calculated upon first playing of a song on the electronic device using an energy threshold in the separated source and the residual signal.
21. 11. A method comprising: performing source separation on an audio signal based on an enable signal to obtain a processed audio signal comprising separated sources and a residual signal, the enable signal being configured to activate or deactivate the source separation.
22. 22. A computer program comprising instructions which, when said program is executed by a computer, cause said computer to carry out the method according to claim 21.
Citation Information
Patent Citations
Method, apparatus and system
EP3201917A1
