Method and electronic device for adjusting accompaniment music

11580944 · 2023-02-14

Assignee

Inventors

Cpc classification

International classification

Abstract

A method for adjusting accompaniment music is disclosed. The method transposes the musical key of at least one section of the accompaniment music such that a song will have different musical key transpositions for different sections of the accompaniment music, so that singers whose vocal ranges are narrow can sing songs after the adjustment.

Claims

1. A method of transposing a musical key of accompaniment music, used by an electronic device to adjust an accompaniment music by adjusting a frequency of a plurality of time sections of the accompaniment music for a song, the method comprising: partitioning the song into a plurality of time sections wherein each time section of the accompaniment music corresponds to each segment of the song by an original singer; determining a singer's vocal range; in response to the singer's vocal range being narrower than an overall original vocal range of the song: comparing the singer's vocal range with the original vocal range for each segment of the song to determine whether the singer's vocal range covers the vocal range of the original singer for each segment of the song; and based on the above step, transposing the musical key of at least one time section of the accompaniment music in response to a time section of the accompaniment music in which the singer's vocal range is narrower than the original vocal range for the corresponding segment, and not transposing the musical key of each time section of the accompaniment music in which the original vocal range is covered by the singer's vocal range, wherein the musical key of at least one of the plurality of time sections is transposed and the musical key of at least one of the plurality of time sections is not transposed.

2. The method of transposing the musical key of accompaniment music as claimed in claim 1, wherein at least two time sections of the accompaniment music are transposed, and the two time sections of the accompaniment music are transposed to different keys.

3. The method of transposing the musical key of accompaniment music as claimed in claim 2, wherein the plurality of time sections of the accompaniment music comprises m time sections divided into n groups of transposed time sections of the accompaniment music based on time, with each n group of transposed time sections having y time sections of the accompaniment music, wherein: within each n group of transposed time sections of the accompaniment music, the number of [keys] by which each time section in the group of transposed time sections is transposed is the same; and
5≤m≤1000,3≤n≤m−2,1≤y≤500.

4. The method of transposing the musical key of accompaniment music as claimed in claim 3, wherein the method further comprises determining a transposition that results in a smallest value of n.

5. The method of transposing the musical key of accompaniment music as claimed in claim 3, wherein each segment of the song by the original singer is based on each verse of lyrics.

6. The method of transposing the musical key of accompaniment music as claimed in claim 3, which further comprises a step for obtaining the singer's vocal range.

7. An electronic device for adjusting an accompaniment music, used to adjust a frequency of a plurality of time sections of the accompaniment music for a song, wherein each time section of the accompaniment music corresponds to each segment of the song by an original singer; the electronic device comprises: a processor and a memory; the memory comprises a software program, the software program configured to determine a singer's vocal range; when the singer's vocal range is narrower than an overall original vocal range of the song, the electronic device executes the software program to: compare the singer's vocal range with the original vocal range for each segment of the song to determine whether the singer's vocal range covers the vocal range of the original singer for each segment of the song; and based on the above step, a musical key of at least one time section of the accompaniment music is transposed in response to the singer's vocal range being narrower than the original vocal range for the corresponding segment, and is not transposed in response to original vocal range being covered by the singer's vocal range, wherein the musical key of at least one of the plurality of time sections is transposed and the musical key of at least one of the plurality of time sections is not transposed.

8. The electronic device for adjusting accompaniment music as claimed in claim 7, wherein the musical keys of at least two time sections of the accompaniment music are transposed, and the two time sections of the accompaniment music are transposed to different musical keys.

9. Tile electronic device for adjusting accompaniment music as claimed in claim 8, wherein the plurality of time sections of the accompaniment music comprises m time sections, which are classified into n groups of transposed time sections of the accompaniment music, with each n group of transposed time sections having y time sections of the accompaniment music, wherein: within each n group of transposed time sections of the accompaniment music, the number of keys by which each time section in the transposed time sections of the accompaniment music are transposed is the same; and
5≤m≤1000,3≤n≤m−2,1≤y≤500.

10. The electronic device for adjusting accompaniment music as claimed in claim 9, wherein the electronic device executes the software program to determine a transposition that results in a smallest value of n.

11. The electronic device for adjusting accompaniment music as claimed in claim 9, wherein each segment of the song by the original singer is divided on the basis of each verse of lyrics.

12. The electronic device for adjusting accompaniment music as claimed in claim 9, wherein the electronic device executes the software program further to obtain the singer's vocal range.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is an electronic block diagram of the electronic device for adjusting accompaniment music of the present invention.

(2) FIG. 2 is a functional diagram of the electronic device for adjusting accompaniment music of the present invention.

(3) FIG. 3 is an operating flow diagram of the method for adjusting accompaniment music of the present invention.

(4) FIG. 4 is a diagram comparing the overall original vocal range with a singer's vocal range according to the present invention.

(5) FIG. 5 is a diagram showing the transposal of a musical key for a section of accompaniment music according to the present invention.

(6) FIG. 6 illustrates a first embodiment showing a section of accompaniment music becoming a transposed section of accompaniment music via adjustment of the musical key.

(7) FIG. 7 is a schematic view showing how the first embodiment in FIG. 6 obtains the result through computing.

(8) FIG. 8 illustrates a second embodiment showing a section of accompaniment music becoming a transposed section of accompaniment music via adjustment of the musical key.

(9) FIG. 9 illustrates a third embodiment showing a section of accompaniment music becoming a transposed section of accompaniment music via adjustment of the musical key.

DETAILED DESCRIPTION OF THE INVENTION

(10) For better understanding of the technical contents of the present invention, detailed descriptions are provided below with reference to preferred embodiments.

(11) Please refer to FIG. 1 and FIG. 2, which depict an electronic device 10 for adjusting accompaniment music of the present invention. The electronic device 10 for adjusting accompaniment music includes a processor 11 and a memory 12, and the memory 12 stores a software program 13. The processor 11 executes the software program 13 to process a song 50 to output an adjusted song 50a. The song 50 referred to in the present invention is a song 50 with accompaniment music and lyrics for people to sing so that a user can sing the adjusted song 50a. The electronic device 10 for adjusting accompaniment music can be a computer, a mobile phone, a tablet, or a karaoke device.

(12) Please refer to the operating flow diagram of the method for adjusting accompaniment music according to the invention, i.e., the flow diagram of the processor 11 executing the software program 13, and meanwhile refer to FIG. 4 to FIG. 9.

(13) Step 300: Obtaining a singer's vocal range 62. A singer's vocal range 62 can be input into the electronic device 10 for adjusting accompaniment music. Alternatively, the singer's vocal range 62 can be detected by the electronic device 10 for adjusting accompaniment music or by another software program. As detection of the singer's vocal range 62 is a prior art, it is not detailed herein.

(14) Step 301: Determining whether the singer's vocal range 62 is narrower than an overall original vocal range 52T.

(15) Now please refer to FIG. 4, which is a diagram comparing the overall original vocal range 52T with the singer's vocal range 62. The overall original vocal range 52T refers to the vocal range (from highest note to lowest note) required to sing the song 50, such as from F2 to A5. The singer's vocal range 62 refers to the vocal range of the singer. For example, some people have a soprano range, other people have a baritone range, and still others have a bass range. Some people have a wide vocal range and can sing most songs; other people have a narrow vocal range and can only sing a small number of songs.

(16) FIG. 4 lists the vocal ranges 62 of six singers. The first singer's vocal range 62a covers the whole overall original vocal range 52T; therefore, the singer's vocal range 62a is wider than the overall original vocal range 52T. Thus, Step 303 can be conducted, with no transposal of any sections of the accompaniment music 51.

(17) The 2.sup.nd and 3.sup.rd singer's vocal ranges 62b/62c do not cover the whole overall original vocal range 52T, but the 2.sup.nd and 3.sup.rd singer's vocal ranges 62b/62c are wider than the overall original vocal range 52T. Therefore, the key of the song 50 can be transposed downward for the 2.sup.nd singer or upward for the 3.sup.rd singer. Thus, Step 303 can be conducted to transpose the sections of the accompaniment music 51 consistently.

(18) The 4.sup.th to 6.sup.th singer's vocal ranges 62d/62e/62f are all narrower than the overall original vocal range 52T. Therefore, it is not suitable to conduct Step 303 to transpose all the sections of the accompaniment music 51 consistently. Thus, Step 302 is conducted.

(19) Step 302: Comparing the singer's vocal range 62 with each original vocal range segment 52 of the overall original vocal range 52T to determine whether the singer's vocal range 62 covers each original vocal range segment 52.

(20) Please refer to FIG. 5, which is a diagram showing the transposal of the musical key for a section of the accompaniment music 51. An accompaniment music 51 of the song 50 can be divided into a plurality of sections. Normally, sections can be based on each music segment or verse of lyrics. For example, in the case of the song [Happy Birthday], the lyrics may be sung as follows: [Happy Birthday to you, Happy Birthday to you, Happy Birthday, Happy Birthday, Happy Birthday to you]. It can be divided into 5 sections of the accompaniment music 51. An accompaniment music 51 of the song 50 can be divided into sections of the accompaniment music 51 manually or by a software program. Sections may not be dependent on each verse of lyrics because two verses of lyrics may have a tight connection and can be combined in one section of the accompaniment music 51.

(21) In the embodiment shown in FIG. 5, there is one section 51a of the accompaniment music 51 and another section 51b of the accompaniment music 51. The section 51a of the accompaniment music 51 corresponds to an original vocal range segment 52a, and the section 51b of the accompaniment music 51 corresponds to an original vocal range segment 52b.

(22) In Step 302, the singer's vocal range 62 is compared with the original vocal range segment 52a. It is found that, for the singer's vocal range 62, the original vocal range segment 52a is too high. Therefore, this section of the accompaniment music 51a is transposed to a lower key and becomes a new section of the accompaniment music 51a′. The new section of the accompaniment music 51a′ corresponds to the new segment of the song by the original singer 52a′. Due to this adjustment, the singer's vocal range 62 can cover the original vocal range segment 52a′.

(23) When comparing the singer's vocal range 62 with the original vocal range segment 52b, it is found that the singer's vocal range 62 covers the original vocal range segment 52b. Therefore, transposal may not be necessary for the section of the accompaniment music 51b.

(24) Step 304: The musical key of the section of the accompaniment music 51 is transposed such that the original vocal range segment 52 corresponding to the at least one transposed section of the accompaniment music 51 is covered by the singer's vocal range 62. Step 304 is a description of the above embodiment shown in FIG. 5.

(25) The sections of the accompaniment music 51 referred to in the present invention are sections with corresponding lyrics; i.e., each section of the accompaniment music 51 corresponds to an original vocal range segment 52. To transpose the musical key of an instrumental section with no lyrics to be sung, it is recommended that consistency with the preceding or the succeeding section of the accompaniment music 51 be maintained, or that the musical key not be transposed. For example, if the section of the accompaniment music 51 preceding the instrumental section is transposed upward by one key, the instrumental section can also be transposed upward by one key.

(26) To realize the object of the flow diagram shown in FIG. 3, there are multiple methods. Below is a description of a preferred method. Now please refer to FIG. 6. If a song 50 is divided into 12 sections of the accompaniment music 51, then based on the explanations of the above Step 302 and Step 304, if the singer's vocal range 62 can cover the segment of the song by the original singer corresponding to the [1] section of the accompaniment music 51 when the 1st section of the accompaniment music 51 is transposed downward by one key or is left unadjusted, a flag [1] is used to mark it. A flag [0] means that the singer's vocal range 62 cannot cover the original vocal range segment 52 corresponding to the 1st section of the accompaniment music 51. For example, the 1st section of the accompaniment music 51 cannot be transposed downward by two keys, or upward by one key, or upward by two keys.

(27) Normally, the unit used to transpose the musical key is one semitone. It is to be noted that, in the present invention, transposing by one key means transposing by one semitone. Of course, as required, transposing by one key can also be defined as transposing by two semitones, three semitones, four semitones, etc.

(28) The array listed in FIG. 6 clearly shows the conditions under which each section of the accompaniment music 51 can be transposed or cannot be transposed. As shown in FIG. 6, the 1.sup.st to 4.sup.th sections of the accompaniment music 51 can be grouped into one transposed section of accompaniment music 70; i.e., the 1.sup.st to 4.sup.th sections of the accompaniment music 51 are all transposed downward by one key. The 5.sup.th to 11.sup.th sections of the accompaniment music 51 can be grouped into one transposed section of the accompaniment music 70 because they are all transposed upward by one key. However, the 12.sup.th section of the accompaniment music 51 has an independent transposed section of the accompaniment music 70 because it is transposed upward by two keys.

(29) There is more than one way to produce a transposed section of the accompaniment music 70 mathematically. The method shown in FIG. 7 is to continuously add 1 from bottom to top, and when a 0 is encountered, it is not added. Now please refer to the result in FIG. 7. The largest number in each row is chosen as a basis for a transposed section of the accompaniment music 70 to be selected. For example, when the 1.sup.st section of the accompaniment music 51 is transposed downward by one key, and the number is 4, then it is decided that the 1.sup.st section of the accompaniment music 51 will be transposed downward by one key, and similarly, the 1.sup.st to 4.sup.th sections of the accompaniment music 51 will all be transposed downward by one key and grouped as one transposed section of the accompaniment music 70.

(30) A detailed explanation of the above computing is provided below:

(31) Step 1: According to the above explanations for FIG. 6, firstly, an [array to transpose musical keys] such as that shown in FIG. 6 is produced. Flag [1] means the singer's vocal range 62 can cover the original vocal range segment 52 corresponding to the section of the accompaniment music 51 when the section of the accompaniment music 51 is transposed or not transposed. Otherwise, it is marked with a flag 0. The flag values in FIG. 6 are 1 or 0.

(32) Step 2: From bottom to top, the flag values in each line of the array are accumulated, and the accumulated value is used to replace the original flag value. When a 0 is encountered, the accumulation becomes 0.

(33) Step 3: From top to bottom, the largest flag value in each row is found. From top to bottom, this flag value is reduced to 1. Using this method, the next row is searched, and so on until the last row is searched.

(34) Step 4: The path of Step 3 is recorded for use as the basis for grouping a transposed section of accompaniment music 70 (as indicated by the dotted box in FIG. 7).

(35) It is to be noted that there are many solutions for transposing the sections of the accompaniment music 70. For example, in a brute force solution, each condition is listed out, and then appropriate ones are selected to produce transposed sections of the accompaniment music 70. Text descriptions of the above solution are as follows: a plurality of sections of the accompaniment music 51 has a total of m sections (in the present embodiment, m=12). Based on time, the sections are divided into n groups of transposed sections of the accompaniment music 70 (in the present embodiment, n=3). Each group of transposed sections of the accompaniment music 70 has a total of y sections of the accompaniment music 51. (In the present embodiment, the 3 groups of transposed sections of the accompaniment music 70 respectively have y values of 4, 7, and 1). The number of [keys] transposed for each group of transposed sections of the accompaniment music 70 is the same (including 0 transposals). The ranges of the numbers are as follows: 5≤m≤1000, 3≤n≤m−2, 1≤y≤500.

(36) For the above method, it is recommended to seek the smallest n. Based on the above explanations for FIG. 6 and FIG. 7, the smallest n can be obtained (in the present embodiment, n=3). Now please refer to FIG. 8, which is another result. Here, n is also 3, and the 11.sup.th and 12.sup.th sections of the accompaniment music 51 can be grouped into one transposed section of the accompaniment music 70; i.e., y=2. The possible advantage is that there are two sections of the accompaniment music 51 that can be transposed together. This is probably better than transposing one single section of the accompaniment music 51.

(37) Please refer to FIG. 9, wherein there are 5 transposed sections of the accompaniment music 70; i.e., n=5. Such a solution can also allow the singer to sing the song, but the whole song is divided into 5 transposed sections. Dividing the song into 3 sections, as shown in FIG. 7 and FIG. 8, is probably better.

(38) It is to be noted that the above embodiments are provided for descriptive purposes only. The scope of the present invention shall be based on the claims and shall not be limited to the above embodiments. The method disclosed in the present invention can be used in real-time processing, for example, by instant computing after the singer selects a song, or by prior processing, for example, on an electronic device 10 for adjusting accompaniment music (which can be a home-based or cloud server) containing 1000 songs grouped for different individuals or based on different vocal ranges of singers (e.g., 50 different vocal ranges of singers), all 1000 songs being computer processed in advance.