Party speaker and method thereof

WO2024197574A1PCT designated stage expired Publication Date: 2024-10-03HARMAN INT IND INC +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/084404
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-03

Smart Images

  • Figure CN2023084404_03102024_PF_FP_ABST
    Figure CN2023084404_03102024_PF_FP_ABST
Patent Text Reader

Abstract

This disclosure provides a method for a party speaker and the party speakers. The method may comprise receiving streaming music data and playing corresponding music, detecting tempo information based on the music streaming music data in real-time and determining if a request information from the user for adding audio effects into the music being played is received. In response to receiving the request information, the method may generate an audio effect signal based on the tempo information and the request information and apply the audio effect signal to the music.
Need to check novelty before this filing date? Find Prior Art

Description

PARTY SPEAKER AND METHOD THEREOF

[0001] TECHINICAL FIELD

[0002] The present disclosure relates to party speakers and method thereof.BACKGROUND

[0003] Nowadays, party speaker has become one of the most popular entertainment systems at parties, because it can offer a powerful sound profile and reproduce the deeper and thumper bass that usually appears in heavy bass music. The party speaker is also usually equipped with RGB lights and inputs for connecting external microphones and musical instruments. In addition to the basic audio function, party speakers can also produce audio effects similar to those created by a disc jockey (these effects are hereinafter referred to as "DJ effects" ) , which is also an important and popular function in parties.

[0004] At present, there are mainly two kind of existing schemes to realize DJ effects on party speakers. One is to pre-store some original music to be played and an element library including DJ tones or other special tones in the memory of the party speaker. When using the party speaker to play the pre-stored original music, the party speaker automatically selects DJ tones or special tones from the pre-stored element library to add to the whole played music. However, this scheme can only be used for pre-stored music and DJ tones, and can only reproduce music in a limited mixing way. In addition, it can't provide users with a sense of participation.

[0005] Another scheme is to pre-store the music to be played and simple DJ tones (such as drums, guitars and applause) in the memory of the party speaker, and provide buttons on the party speaker. When the user presses the button, the party speaker will immediately play the corresponding tone, and the user will hear the tuning effect of the music being played mixed with the corresponding tone. However, most users are not professional DJs, and if they don't know when to press the button or which DJ tone to choose to add into the played music, they will usually hear unpleasant DJ tone effects. In addition, because this scheme is also based on pre-stored music and simple DJ tones,  users can't choose music other than pre-stored music to play, which limits the user's personalized experience.

[0006] Therefore, improved technology is needed to overcome the above defects.

[0007] SUMMARY

[0008] According to one aspect of the disclosure, a method for a party speaker is provided. The method may comprise receiving streaming music data and playing corresponding music; detecting tempo information based on the music streaming music data in real-time; and determining if a request information from the user for adding audio effects into the music being played is received. In response to receiving the request information, the method may generate an audio effect signal based on the tempo information detected in real time and the request information, and apply the audio effect signal to the music.

[0009] According to another aspect of the present disclosure, a party speaker is provided. The party speaker may comprise a user interface configured to receive a user’s input and a processor. The processor may be configured to detect tempo information based on music streaming music data in real-time, and determine if a request information from the user’s input for adding audio effects into the music being played is received. In response to receiving the request information, the processor may generate an audio effect signal based on the tempo information detected in real time and the request information, and apply the audio effect signal to the music.BRIEF DESCRIPTION OF THE DRAWINGS

[0010] FIG. 1 illustrates a method for party speakers according to one or more embodiments of the present disclosure.

[0011] FIG. 2 illustrates a real-time tempo detection method according to one or more embodiments of the present disclosure.

[0012] FIG. 3 illustrates an example of how to generate an audio effect such as “Repeater” .

[0013] FIG. 4 illustrates another example of how to generate an audio effect such as “Gater” .

[0014] FIG. 5 an example of a rectangular window signal and a smoothed window signal.

[0015] To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. It is contemplated that elements disclosed in one embodiment may be beneficially utilized in other embodiments without specific recitation. The drawings referred to here should not be understood as being drawn to scale unless specifically noted. Also, the drawings are often simplified and details or components omitted for clarity of presentation and explanation. The drawings and discussion serve to explain principles discussed below, where like designations denote like elements.

[0016] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Examples will be provided below for illustration. The descriptions of the various examples will be presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments.

[0018] The present disclosure proposes a novel method to automatically and real-timely detect the tempo of streaming music played by party speakers, adopt a corresponding DJ effect mixing strategy based on the user's input, and combine with the music tempo detected in real time to harmoniously add different DJ effect audio to the played music in real time. The method and system provided herein can allow the user to provide his / her favorite music to the party speaker, and allow the user to select the desired DJ effect, while ensuring that whenever the user selects the desired DJ effect (such as by audio effect mode option) and inputs specific parameters (such as beat options) , the party speaker can output the harmonious audio effect corresponding to the user’s input in real time. In addition, the method proposed herein can extract signals from the played music according to the effect mixing strategy to generate audio effect signals, so as to ensure the generated effect signals can match the played music  from various aspects such as style, rhythm and the like, and thus a more harmonious auditory effect can be obtained. Because the music with harmonious DJ effect can be realized in real time according to the user's on-site operation, the user can get the experience of becoming a DJ, thus greatly improving the user’s entertainment experience. The solution will be explained in details in reference to FIGS. 1-5 as follows.

[0019] The party speaker in this disclosure may include a storage and one or more processors. The storage may store computer-readable or processor-readable instructions. When these instructions are executed by a computer or a processor, they cause the computer or the processor to perform the method described in the disclosure. Moreover, the party speaker may comprise a user interface unit for receiving inputs from users. For example, the user interface unit may include one or more UI (user interface) touch pads or buttons for receiving users’ input.

[0020] FIG. 1 illustrates a method for party speakers according to one or more embodiments of the present disclosure. At S102, the party speaker may receive streaming music data and play corresponding music. The music may be, for example, what the user likes and wants to play by the party speaker. For example, the party speaker may have a wireless communication unit supporting both Bluetooth technology and wireless technology. Users can transmit music data to the party speaker using Bluetooth or WLAN technique.

[0021] When music data is fed into the party speaker via Bluetooth or wireless streaming, a tempo detection may be performed in real time. Since most of the party speakers can now play music via Bluetooth streaming or wireless streaming, there is real-time requirement for the tempo detection. As shown at S104, the party speaker may detect tempo information based on the streaming music data in real-time. In some embodiments, the tempo information may include beat per minute (BPM) information and beat position information.

[0022] At S106, the party speaker may determine if there is a request information received from the user for adding audio effects into the music being played. The request information can be generated by the user’s input on the party speaker or the user’s  input on an APP that may be installed in a smart device such as smartphone. In some examples, users can turn on and off one or more audio effect (DJ effect) modes, and can also select some options for each audio effect (DJ effect) mode, by UI touch pads or buttons provided on the party speaker. In some examples, these input may be implemented via the APP installed in the smart device. For example, the options for each audio effect mode may include some options about specific parameters of audio effects, such as the intensity of the audio effect and beat options of the audio effect. Those skilled in the art can understand that more options for user’s operations may be provided according to the design requirements. Corresponding request information may be generated when the user inputs his / her selection via UI touch pads or buttons. In some embodiments, the request information includes at least one of the following: one or more audio effect to be added, intensity of audio effect, and beat option.

[0023] In response to receiving the request information, at S108, the party speaker may generate an audio effect signal based on the detected tempo information and the request information. And at S110, the generated audio effect signal may be applied to the music that is being played. It can be understood that the mixed signal obtained through the abovesaid method may be sent to other post-processing modules, such as equalization, delay and limiter, and then sent to and played by a speaker with an amplifier.

[0024] Based on the above, the method of this disclosure can detect streaming music data in real time to obtain real-time tempo information. According to the audio effect (DJ effect) selected by the user and based on the detected tempo information, an audio effect signal that is well matched with the original music (i.e., the music is being played without mixing) can be generated, so that the user can hear harmonious music with DJ effect.

[0025] FIG. 2 illustrates a real-time tempo detection method according to one or more embodiments of the present disclosure. Compared to the common tempo detection method that needs to analyze the whole song of the music data, the proposed method herein will keep the tempo detection accuracy while meeting the real-time requirement.

[0026] At S202, a music input signal with a predefined length may be extracted from the streaming music data. This can be realized, for example, by using a buffer with the  pre-defined length. The pre-defined length of the buffer may be selected considering the usual tempo range of music, such as from 60BPM to 240BPM. In some examples, the buffer may be set as a long-time buffer (e.g., longer than 2s) which may cover at least two beat cycles (60 BPM = 1 beat per second) . By continuously inputting the streaming music data into the buffer to extract the data for tempo detection, the system latency can be reduced, which can better meet real-time requirements.

[0027] At S204, the music input signal may be down-sampled by using down-sampling method to generate down-sampled signal. The use of the down-sampling process to the music input signal will reduce the amount of computation. It can be understood that any commonly used down-sampling method may be applied herein.

[0028] At S206, a short-time Fourier transform may be performed on the down-sampled signal to generate a transformed signal. Then, at S208, the transformed signal is converted to Mel-spectrogram to explore the time-frequency information of the input signal, with the consideration of the human hearing model. At S210, an auto-correlation process may be performed on the converted Mel-spectrogram to estimate the tempo information. Thus, the tempo information of the music input signal can be obtained. The tempo information may include BPM information and beat position information. It can be recognized that the technique related to Mel-spectrogram is well known for the skilled in the art, and thus any existing Mel-spectrogram method can be applied to the present disclosure.

[0029] Although the tempo information can be estimated at S210, in order to improve the accuracy of tempo information detection, further processes may be respectively performed on the BPM information and the beat position information in the obtained tempo information.

[0030] At 212, a smooth process may be performed on the BPM information included in the tempo information to output the smoothed BPM information. The smoothed BPM information will be regarded as the final estimated BPM information for further use. The use of the smooth process of the BPM information will bring a stable output of the BPM information. For example, due to the real-time limitation, the initial estimated BPM may be unstable, especially when there is some quiet time in one  played music or no input signals between two played music. After using the smooth process, it can output stable BPM during one played music but quickly switch BPM between two music to present different rhythms.

[0031] There are many smoothing methods, and several examples will be given below. In one example, the BPM value in the tempo information obtained at S210 will be further gone through a conditional judgment. For the sake of clarity, the new estimated BPM value in the tempo information newly obtained at S210 is written as BPM_new, the previous estimated BPM value is written as BPM_old, and the final BPM value is written as BPM_output. For example, the smooth method will further determine if the absolute value of (BPM_new-BPM_old) is greater than 20. If the case that the absolute value is greater than 20 only appears a few times in a short time, the new estimated value will be discarded. If the case continues to appear, then the new estimated value is applied to the final BPM value, i.e., BPM_output = BPM_new. If the absolute value of (BPM_new-BPM_old) is greater than 3 and less than or equal to 20, the new estimated value, BPM_new, is gradually applied to the final BPM result, such as BPM_output = BPM_old+1→BPM_old+2→BPM_old+3, until BPM_output =BPM_new. If the absolute value of (BPM_new-BPM_old) is less than or equal to 3, the final BPM value will not be changed, which means BPM_output = BPM_old will still be applied.

[0032] In another example, the BPM value in the tempo information obtained at S210 will be filtered. For the sake of the clarity, the new estimated BPM value in the tempo information newly obtained at S210 is still written as BPM_new, the previous estimated BPM value is still written as BPM_old, and the final BPM value is still written as BPM_output. For example, a low-pass filter such as the first-order low-pass filter will be used to filter the BPM values by the following: BPM_output = alpha×BPM_new+ (1-alpha ) × BPM_old, wherein alpha is the adjustable coefficient of the filter.

[0033] In another example, the BPM value in the tempo information obtained at S210 will be applied to a countdown process. For the sake of clarity, the new estimated BPM value in the tempo information newly obtained at S210 is still written as BPM_new, the previous estimated BPM value is still written as BPM_old, and the final BPM value  is still written as BPM_output. For example, when the absolute value of (BPM_new-BPM_old) is found to be greater than a certain threshold, the countdown process starts. When the countdown process is finished, BPM_output = BPM_new can be set at this time.

[0034] At S214, the calculated auto-correlation result obtained at S210 is further processed using weighting and scoring method to obtain the best estimation of beat positions in the music input signal (which is buffered) as the beat position information. For example, the current frame of data (the auto-correlation curve of tempo estimated by the auto-correlation result at S210) is expressed as s (i) , and i = 1~N. The weighted counting is performed from 1 to N data samples, and each weighted accumulator corresponding to each sample is expressed as c (i) . Then, according to the estimated BPM value, each accumulator accumulates the data samples with an interval of 60 / BPM*fs, and fs is the sampling frequency. That is, c (i) =s (round (i+60 / BPM*fs*1) ) + s (round (i+60 / BPM*fs*2) ) + …s (round (i+60 / BPM*fs*n) ) , wherein round (i+60 / BPM*fs*n) ≤ N. Thus, c (1) …c (n) can be gotten. Then, the maximum value c (m) can be found from c (1) …c (n) . Finally, we can found the following: …c (round (m-60 / BPM*fs*m1) ) , c (round (m-60 / BPM*fs* (m1-1) ) ) , …c (round (m) ) , …, c (round (m+60 / BPM*fs* (m2-1) ) ) , c (round (m+60 / BPM*fs*m2) ) , wherein round (m-60 / BPM*fs*m1) ≥1, round (m+60 / BPM*fs*m2) ≤N. These points (such as from round (m-60 / BPM*fs*m1) to round (m+60 / BPM*fs*m2) ) represent the beat positions in this current frame of data. The above examples are for illustrative purposes only. It can be understood by those skilled in the art that other existing weighting and scoring methods can also be applied to the method described in the disclosure.

[0035] FIG. 3 illustrates an example of how to generate an audio effect (i.e., DJ effect) called “Repeater” . Basically, the goal of the “Repeater” is to generate a repeat signal from a section of the playing music and mix the repeat signal into the playing music, which will generate a highlighted sound feeling to the user. When the beats of the repeating signal are consistent with those of the playing music, users will feel focused and harmonic. Otherwise, the mixed music signal will sound like it is out of order. The  proposed method herein for generating the DJ effect “Repeater” will be explained in detail in reference to FIG. 3 as follows.

[0036] As shown in FIG. 3, at S302, streaming music data may be received by the party speaker (for example via Bluetooth or wireless technique) and the party speaker may play the corresponding music.

[0037] At S304, the tempo information detection can be performed based on the music streaming music data in real-time, as described in reference to FIG. 2, and the tempo information may be obtained. The tempo information may include BPM information and beat position information. At S306, the party speaker can determine if there is a UI trigger from the user for adding audio effects into the music being played. That is, the party speaker determines if a request information for adding audio effects into the music being played is received from the user. The request information may indicate some selections from the user, include but is not limited to, one or more audio effect modes to be added (such as repeater, gater, distortion, scratch, fader and rewind) , intensity of audio effect (such as volume for beats) , and beat option (such as quarter beat, two quarter beat, three quarter beat, four quarter beat, and so on) by which the user can further control how long he wants to present the DJ effect.

[0038] In this example, in response to receiving the request information and the selected audio effect mode being “Repeater” , the method goes to S308. At S308, a time period may be calculated based on the beat option input from the user and the BPM information included in the detected tempo information (which is obtained from the tempo detection at S304) . The time period may indicate a length of a repeat signal to be generated. At S310, a signal may be extracted from the history buffer data (which represents the music input signal for tempo detection as described in reference to FIG. 2) . The length of the signal is defined by the time period. Thus, the extracted signal from the music input signal with its length being equal to the calculated time period is regarded as the repeating signal. In a sense, the repeated signal generated at this time can be used as an audio effect signal. However, through the next processing of S312, this method can make the audio effect signal match the currently played music better. In other words, the final audio effect signal to be mixed into music can be obtained through the processing of S312.

[0039] At S312, a cross-correlation between the repeating signal and a current music signal (that is outputting to the speaker) may be performed, so as to obtain the audio effect signal. The cross-correlation is performed to ensure that the repeating signal is harmonically consistent with the currently played music. By using this method, we can find a slight tempo detection error due to the real-time limitation and compensate it to further align the repeating signal and the current music signal.

[0040] At S314, the final audio effect signal may be applied to the music by mixing the audio effect signal to the current music signal based on the beat position information. As discussed in reference to FIG. 2, the beat information included in the tempo information obtained from the tempo detection can indicate the best starting time point to mix the audio effect signal, so that the beats of the audio effect signal can match or align with those of the currently played music. Finally, the mixed signal generated by mixing the audio effect signal with the current music signal is output automatically.

[0041] FIG. 4 illustrates another example of how to generate an audio effect (i.e., DJ effect) which is for example called “Gater” . Basically, the principle of “Gater” is to apply a mute and unmute window to the music signal and sound like flickering in vision. The proposed method for generating the DJ effect “Gater” will be explained in details in reference to FIG. 4 as follows.

[0042] The processes of S402-S406 in FIG. 4 are the same as those of S302-S306. In this example, in response to receiving the request information and the selected audio effect mode being “Gater” , the method goes to S408. At S408, a time period may be calculated based on the beat option from the user’s input and the BPM information in the detected tempo information (which is obtained from the tempo detection at S404) . At S410, a mute / unmute window signal is generated. The length of the mute / unmute window signal depends on the calculated time period at S408.

[0043] Usually, a simple mute / unmute window signal is a rectangular window signal, which will cause noise and distortion between a mute period and an unmute period. To overcome this defect, the proposed method herein may further apply a second smooth processing to the mute / unmute window signal at S412 to reduce the windowing side  effect. This second smooth processing here refers to a fade-in and fade-out process, which is different from the smooth processing, the first smooth processing, described in reference to FIG. 2. Thus, the audio effect signal is obtained as the smoothed mute / unmute window signal. FIG. 5 shows an example of a rectangular window signal (see left picture) and a smoothed window signal (see the right picture) . It can be recognized that the example shown in FIG. 5 is only for illustration. The length of the mute / unmute window signal depends on the time period calculated based on the beat option from the user and the BPM information in the detected tempo information. In addition, in one cycle of the mute / unmute window, a ratio of the mute period and the unmute period may be preset by the engineer or adjusted by the user via the UI.

[0044] At S414, the generated audio effect signal is applied to the music based on the beat position information. In this example, applying the generated audio effect signal to the music comprises performing a dot product calculation on the audio effect signal and a current music signal being outputting to the speaker based on the beat position information. In addition, the use of the beat position information can keep the entire waveform of each beat in the unmute period, so that the user can hear and focus the most powerful audio clips of the original music signal.

[0045] It can be recognized that the discussed method above may be realized by a processor included in the party speaker system. The processor may be any technically feasible hardware unit configured to process data and execute software applications, including without limitation, a central processing unit (CPU) , a microcontroller unit (MCU) , an application specific integrated circuit (ASIC) , a digital signal processor (DSP) chip and so forth.

[0046] The descriptions of the various embodiments have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

[0047] In the preceding, reference is made to embodiments presented in this disclosure. However, the scope of the present disclosure is not limited to specific described embodiments. Instead, any combination of the preceding features and elements, whether related to different embodiments or not, is contemplated to implement and practice contemplated embodiments. Furthermore, although embodiments disclosed herein may achieve advantages over other possible solutions or over the prior art, whether or not a particular advantage is achieved by a given embodiment is not limiting of the scope of the present disclosure. Thus, the preceding aspects, features, embodiments and advantages are merely illustrative and are not considered elements or limitations of the appended claims except where explicitly recited in a claim (s) .

[0048] Aspects of the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc. ) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit, ” “module” , “unit” or “system. ”

[0049] The present disclosure may be a system, a method, and / or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present disclosure.

[0050] The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM) , a read-only memory (ROM) , an erasable programmable read-only memory (EPROM or Flash memory) , a static random access memory (SRAM) , a portable compact disc read-only memory (CD-ROM) , a digital versatile disk (DVD) , a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions  recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable) , or electrical signals transmitted through a wire.

[0051] Computer readable program instructions described herein can be downloaded to respective calculating / processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and / or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers.

[0052] Aspects of the present disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems) , and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0053] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0054] The flowchart and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable  instructions for implementing the specified logical function (s) . In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustration, and combinations of blocks in the block diagrams and / or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.

[0055] While the foregoing is directed to embodiments of the present disclosure, other and further embodiments of the disclosure may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

[0056] Clause 1. In some embodiments, a method for a party speaker comprising: receiving streaming music data and playing corresponding music; detecting tempo information based on the music streaming music data in real-time; determining if a request information from the user for adding audio effects into the music being played is received; in response to receiving the request information, performing the following: generating an audio effect signal based on the tempo information and the request information; and applying the audio effect signal to the music.

[0057] Clause 2. The method according to clause 1, wherein the detecting tempo information based on the streaming music data in real-time comprises: extracting a music input signal from the streaming music data; down-sampling the music input signal to generate a down-sampled signal; performing a short-time Fourier transform on the down-sampled signal to generate a transformed signal; converting the transformed signal to Mel-spectrogram; and calculating an auto-correlation of the converted Mel-spectrogram to estimate the tempo information.

[0058] Clause 3. The method according to any one of clauses 1-2, wherein the tempo information includes beat per minute (BPM) information and beat position information.

[0059] Clause 4. The method according to any one of clauses 1-3, further comprises: performing a first smooth process on the BPM information included in the tempo information to output the smoothed BPM information as the BPM information.

[0060] Clause 5. The method according to any one of clauses 1-4, further comprises: performing weighting and scoring on the calculated auto-correlation output to obtain the best estimation of beat positions in the music input signal as the beat position information.

[0061] Clause 6. The method according to any one of clauses 1-5, wherein the request information includes at least one of the following: one or more audio effect modes to be added, intensity of audio effect, and beat option.

[0062] Clause 7. The method according to any one of clauses 1-6, wherein the generating the audio effect signal based on the detected tempo information and the request information comprises: calculating a time period based on the beat option and the BPM information; extracting a repeating signal with the time period from the music input signal; and performing a cross-correlation between the repeating signal and a current music signal to obtain the audio effect signal.

[0063] Clause 8. The method according to any one of clauses 1-7, wherein the applying the audio effect signal to the music comprises mixing the audio effect signal to the current music signal based on the beat position information.

[0064] Clause 9. The method according to any one of clauses 1-8, wherein the generating the audio effect signal based on the detected tempo information and the request information comprises: calculating a time period based on the beat option and the BPM information; generating a mute / unmute window signal with the time period; and performing a second smooth process on the mute / unmute window signal to obtain the audio effect signal.

[0065] Clause 10. The method according to any one of clauses 1-9, wherein the applying the generated audio effect signal to the music comprises performing a dot product calculation on the audio effect signal and a current music signal based on the beat position information.

[0066] Clause 11. In some embodiments, a party speaker comprising: a user interface configured to receive a user’s input; and a processor configured to: detect tempo information based on streaming music data in real-time; determine if a request information from the user’s input for adding audio effects into the music being played is received; in response to receiving the request information, generate an audio effect signal based on the tempo information and the request information; and apply the audio effect signal to the music.

[0067] Clause 12. The party speaker according to clause 11, wherein the processor is configured to: extract a music input signal from the streaming music data; down-sample the music input signal to generate a down-sampled signal; perform a short-time Fourier transform on the down-sampled signal to generate a transformed signal; convert the transformed signal to Mel-spectrogram; and calculate an auto-correlation of the converted Mel-spectrogram to estimate the tempo information.

[0068] Clause 13. The party speaker according to any one of clauses 11-12, wherein the tempo information includes beat per minute (BPM) information and beat position information.

[0069] Clause 14. The party speaker according to any one of clauses 11-13, wherein the processor is further configured to perform a first smooth process on the BPM information included in the tempo information to output the smoothed BPM information as the BPM information.

[0070] Clause 15. The party speaker according to any one of clauses 11-14, wherein the processor is further configured to perform weighting and scoring on the calculated auto-correlation output to obtain the best estimation of beat positions in the music input signal as the beat position information.

[0071] Clause 16. The party speaker according to any one of clauses 11-15, wherein the request information includes at least one of the following: one or more audio effect modes to be added, intensity of audio effect, and beat option.

[0072] Clause 17. The party speaker according to any one of clauses 11-16, wherein the processor is further configured to: calculate a time period based on the beat option  and the BPM information; extract a repeating signal with the time period from the music input signal; and perform a cross-correlation between the repeating signal and a current music signal to obtain the audio effect signal.

[0073] Clause 18. The party speaker according to any one of clauses 11-17, wherein the processor is further configured to mix the audio effect signal to the current music signal based on the beat position information.

[0074] Clause 19. The party speaker according to any one of clauses 11-18, wherein the processor is further configured to calculate a time period based on the beat option and the BPM information; generate a mute / unmute window signal with the time period; and perform a second smooth process on the mute / unmute window signal to obtain the audio effect signal.

[0075] Clause 20. The party speaker according to any one of clauses 11-19, wherein the processor is further configured to perform a dot product calculation on the audio effect signal and a current music signal based on the beat position information.

Claims

1.A method for a party speaker comprising:receiving streaming music data and playing corresponding music;detecting tempo information based on the music streaming music data in real-time;determining if a request information from the user for adding audio effects into the music being played is received;in response to receiving the request information, performing the following:generating an audio effect signal based on the tempo information and the request information; andapplying the audio effect signal to the music.2.The method according to claim 1, wherein the detecting tempo information based on the streaming music data in real-time comprises:extracting a music input signal from the streaming music data;down-sampling the music input signal to generate a down-sampled signal;performing a short-time Fourier transform on the down-sampled signal to generate a transformed signal;converting the transformed signal to Mel-spectrogram; andcalculating an auto-correlation of the converted Mel-spectrogram to estimate the tempo information.3.The method according to claim 2, wherein the tempo information includes beat per minute (BPM) information and beat position information.4.The method according to claim 3, further comprises:performing a first smooth process on the BPM information included in the tempo information to output the smoothed BPM information as the BPM information.5.The method according to claim 3, further comprises:performing weighting and scoring on the calculated auto-correlation output to obtain the best estimation of beat positions in the music input signal as the beat position information.6.The method according to any claim of claims 1-5, wherein the request information includes at least one of the following: one or more audio effect modes to be added, intensity of audio effect, and beat option.7.The method according to claim 6, wherein the generating the audio effect signal based on the detected tempo information and the request information comprises:calculating a time period based on the beat option and the BPM information;extracting a repeating signal with the time period from the music input signal; andperforming a cross-correlation between the repeating signal and a current music signal to obtain the audio effect signal.8.The method according to claim 7, wherein the applying the audio effect signal to the music comprises mixing the audio effect signal to the current music signal based on the beat position information.9.The method according to claim 6, wherein the generating the audio effect signal based on the detected tempo information and the request information comprises:calculating a time period based on the beat option and the BPM information;generating a mute / unmute window signal with the time period; andperforming a second smooth process on the mute / unmute window signal to obtain the audio effect signal.10.The method according to claim 9, wherein the applying the generated audio effect signal to the music comprises performing a dot product calculation on the audio effect signal and a current music signal based on the beat position information.11.A party speaker comprising:a user interface configured to receive a user’s input; anda processor configured to:detect tempo information based on streaming music data in real-time;determine if a request information from the user’s input for adding audio effects into the music being played is received;in response to receiving the request information,generate an audio effect signal based on the tempo information and the request information; andapply the audio effect signal to the music.12.The speaker according to claim 11, wherein the processor is configured to:extract a music input signal from the streaming music data;down-sample the music input signal to generate a down-sampled signal;perform a short-time Fourier transform on the down-sampled signal to generate a transformed signal;convert the transformed signal to Mel-spectrogram; andcalculate an auto-correlation of the converted Mel-spectrogram to estimate the tempo information.13.The speaker according to claim 12, wherein the tempo information includes beat per minute (BPM) information and beat position information.14.The speaker according to claim 13, wherein the processor is further configured to perform a first smooth process on the BPM information included in the tempo information to output the smoothed BPM information as the BPM information.15.The speaker according to claim 13, wherein the processor is further configured to perform weighting and scoring on the calculated auto-correlation output to obtain the best estimation of beat positions in the music input signal as the beat position information.16.The speaker according to any claim of claims 11-15, wherein the request information includes at least one of the following: one or more audio effect modes to be added, intensity of audio effect, and beat option.17.The speaker according to claim 16, wherein the processor is further configured to:calculate a time period based on the beat option and the BPM information;extract a repeating signal with the time period from the music input signal; andperform a cross-correlation between the repeating signal and a current music signal to obtain the audio effect signal.18.The speaker according to claim 17, wherein the processor is further configured to mix the audio effect signal to the current music signal based on the beat position information.19.The speaker according to claim 16, wherein the processor is further configured to:calculate a time period based on the beat option and the BPM information;generate a mute / unmute window signal with the time period; andperform a second smooth process on the mute / unmute window signal to obtain the audio effect signal.20.The speaker according to claim 19, wherein the processor is further configured to perform a dot product calculation on the audio effect signal and a current music signal based on the beat position information.

Citation Information

Patent Citations

  • Audio information processing method and device, equipment and medium

    CN112309352A

  • Multiple audio track recording and playback system

    US20200043453A1