Method and electronic device for adjusting accompaniment music
11580944 · 2023-02-14
Assignee
Inventors
- Hsuan-Yu Chen (Taipei, TW)
- Chun-Lung Chen (Taipei, TW)
- I-Ting Lee (Taipei, TW)
- Kuan-Li Chao (Taipei, TW)
- Kuo-Wei Kao (Taipei, TW)
- Neo Bob Chih-Yung Young (Taipei, TW)
- Kuo-Ping Yang (Taipei, TW)
Cpc classification
G10H2210/005
PHYSICS
G10H2210/066
PHYSICS
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)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
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
(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
(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
(16)
(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
(21) In the embodiment shown in
(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
(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
(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
(29) There is more than one way to produce a transposed section of the accompaniment music 70 mathematically. The method shown in
(30) A detailed explanation of the above computing is provided below:
(31) Step 1: According to the above explanations for
(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
(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
(37) Please refer to
(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.