METHOD OF CHANGING OPERATION BASED ON MUSIC TRANSITION

20220156033 · 2022-05-19

    Inventors

    Cpc classification

    International classification

    Abstract

    A method of changing operation based on music transition is disclosed. In the method, an electronic device performs Fourier series transform on a sound signal of music to obtain a rhythm diagram of the sound signal, and then performs an operation to extract a rhythm segment point of a rhythm diagram, a waveform and a spectrogram of the sound signal, when each of intensity of the rhythm diagram, intensity of the waveform and magnitude of the spectrogram has a drop of a preset percentage at the same time for a preset time, a time point of the drop is used as the rhythm segment point, the sound signal of the music is faded out, and the electronic device transmits an operation signal to an operation device at the rhythm segment point. After receiving the operation signal, the operation device performs the corresponding action based on the operation signal.

    Claims

    1. A method of changing operation based on music transition, comprising following steps: (A): performing, by an electronic device, Fourier series transform on a sound signal, which is produced by at least one musical instrument, of music, to obtain a rhythm diagram of the sound signal, wherein the rhythm diagram presents intensity variation of the sound signal at at least one frequency over time; (B): performing, by the electronic device, an operation to extract a rhythm segment point of the rhythm diagram, an waveform and a spectrogram of the sound signal, wherein when each of intensity of the rhythm diagram, intensity of the waveform, and magnitude of the spectrogram has a drop of a preset percentage at the same time for a preset time, a time point of the drop is used as the rhythm segment point, the sound signal of the music is faded out and the electronic device transmits an operation signal to an operation device at the rhythm segment point; and (C): performing, by the operation device, a corresponding action according to the operation signal after receiving the operation signal.

    2. The method according to claim 1, wherein the electronic device is a desktop computer, a notebook computer, a tablet computer, a smartphone or a personal digital assistant.

    3. The method according to claim 1, wherein the operation device is a light emitting device, a water spray device, a flamethrower, a dry ice spray device or a pyrotechnic device.

    4. The method according to claim 1, wherein the preset percentage defined in the step (B) is lower than 5%, and the preset time defined in the step (B) is less than the 3 seconds.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0009] The structure, operating principle and effects of the present invention will be described in detail by way of various embodiments which are illustrated in the accompanying drawings.

    [0010] FIG. 1 is a rhythm diagram of the present invention.

    [0011] FIG. 2 is a flowchart of a method of the present invention.

    DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

    [0012] The following embodiments of the present invention are herein described in detail with reference to the accompanying drawings. These drawings show specific examples of the embodiments of the present invention. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. It is to be acknowledged that these embodiments are exemplary implementations and are not to be construed as limiting the scope of the present invention in any way. Further modifications to the disclosed embodiments, as well as other embodiments, are also included within the scope of the appended claims. These embodiments are provided so that this disclosure is thorough and complete, and fully conveys the inventive concept to those skilled in the art. Regarding the drawings, the relative proportions and ratios of elements in the drawings may be exaggerated or diminished in size for the sake of clarity and convenience. Such arbitrary proportions are only illustrative and not limiting in any way. The same reference numbers are used in the drawings and description to refer to the same or like parts.

    [0013] As used herein, the term “or” includes any and all combinations of one or more of the associated listed items. It will be acknowledged that when an element or layer is referred to as being “on,” “connected to” or “coupled to” another element or layer, it can be directly on, connected or coupled to the other element or layer, or intervening elements or layers may be present, In contrast, when an element is referred to as being “directly on,” “directly connected. to” or “directly coupled to” another element or layer, there are no intervening elements or layers present.

    [0014] In addition, unless explicitly described to the contrary, the word “comprise” and variations such as “comprises” or “comprising”, will be acknowledged to imply the inclusion of stated elements but not the exclusion of any other elements.

    [0015] Please refer to FIGS. 1 and 2, which are a rhythm diagram and a flowchart of a method of the present invention. As shown in FIG. 2, the method of the present invention includes following steps.

    [0016] In a step (A), an electronic device performs Fourier series transform on a sound signal, which is produced by at least one musical instrument, of the music, to obtain a rhythm diagram of the sound signal. In an embodiment, the at least one musical instrument can be, for example but not limited, a guitar, a drum, a bass, a piano, a cymbal or other musical instrument. The rhythm diagram presents intensity variation of the sound signal at at least one frequency over time.

    [0017] In a step (B), the electronic device performs an operation to extract a rhythm segment point 1 of the rhythm diagram, the waveform and the spectrogram of the sound signal, and when each of intensity of the rhythm diagram, intensity of the waveform and magnitude of the spectrogram has a drop of a preset percentage at the same time for a preset time, a time point of the drop is used as the rhythm segment point 1, and at this time the sound signal of the music is faded out, and the electronic device transmits an operation signal to an operation device at the rhythm segment point 1.

    [0018] In a step (C), after receiving the operation signal, the operation device performs the corresponding action according to the operation signal, so as to complete the using process of the present invention.

    [0019] Preferably, the above electronic device can be a desktop computer, a notebook computer, a tablet computer, a smartphone, a personal digital assistant, or other electronic device with computing functions.

    [0020] Preferably, the electronic device used in the step (B) can transmit the operation signal to the operation device through a transmission line; however, in actual applications, the operation signal can also be transmitted to the operation device by a wireless transmission manner, such as WI-FI, Bluetooth or infrared transmission.

    [0021] In an embodiment, the operation device used in the step (B) can be a light emitting device (such as an LED), a water spray device, a flamethrower, a dry ice spray device, a pyrotechnic device, or other operation device capable of performing the action in cooperation with the music performance. For example, the light emitting device can be used to perform light variation, simulate water dance variation, simulate torch variation, or perform arbitrary scene lighting effects variation with the rhythm, magnitude and level of sound. In an embodiment, the water spray device, the flamethrower, the dry ice spray device, the pyrotechnic device or other operation device can be used to spray fire, spray water, spray dry ice, set off fireworks or perform other actions, respectively. It should be noted that there are many types of operation devices capable of receiving the operation signals to perform actions with the rhythm of music, magnitude and level of sound, so various equivalent structural changes, alternations or modifications based on the descriptions and figures of present invention are all consequently viewed as being embraced by the spirit and the scope of the present invention set forth in the claims.

    [0022] In an embodiment, the preset percentage described in the step (B) is lower than 5%, and the preset time is less than 3 seconds.

    [0023] In practical use of the method of the present invention, the electronic device performs Fourier series transform on the sound signal produced by the at least one musical instrument, to obtain the rhythm diagram of the sound signal, and the electronic device then performs the operation to extract the rhythm segment point 1 of the rhythm diagram, the waveform and the spectrogram; for example, when each of the intensity of the rhythm diagram, the intensity of the waveform and magnitude of the spectrogram has the drop of the preset percentage at the same time for the preset time, the time point of the drop is used as the rhythm segment point 1, and at this time the sound signal of the music is faded out, and the electronic device transmits the operation signal to the operation device at the rhythm segment point 1. After receiving the operation signal, the operation device performs the corresponding action according to the operation signal. As a result, the operation device can perform action with the rhythm, magnitude and level of sound produced by the at least one musical instrument, and the operation device can change action at the music transition, for example, a new video animation can be played when the chapter is changed during performance of symphony, so as to improve the overall appreciation of music performance.

    [0024] The present invention disclosed herein has been described by means of specific embodiments. However, numerous modifications, variations and enhancements can be made thereto by those skilled in the art without departing from the spirit and scope of the disclosure set forth in the claims.