Tone rhythm generation method for five-degree phase rhythm

文档序号:909786 发布日期:2021-02-26 浏览:10次 中文

阅读说明:本技术 一种五度相生律的音律产生方法 (Tone rhythm generation method for five-degree phase rhythm ) 是由 陈根方 于 2020-11-18 设计创作,主要内容包括:本发明属于现代音乐工业领域,具体涉及一种五度相生律的音律产生方法,其具体通过输入模块输入起始律频率、下行音律个数和上行音律个数,再利用计算模块算出相应的音律值,然后将其通过输出模块输出。与现有技术相比,本发明的优点是:本发明利用输入模块输入起始律频率、下行音律个数和上行音律个数,利用计算模块算出相应的音律律列,再将其通过输出模块输出,尤其是可以通过输出模块中的声音输出单元将得到的音律律列用各种乐器播放出来,以便音乐从业人员使用。(The invention belongs to the field of modern music industry, and particularly relates to a method for producing a five-degree phase rhythm. Compared with the prior art, the invention has the advantages that: the invention inputs the initial rhythm frequency, the number of the downlink rhythms and the number of the uplink rhythms by using the input module, calculates the corresponding rhythm series by using the calculation module, and outputs the corresponding rhythm series through the output module, particularly, the obtained rhythm series can be played by various musical instruments through the sound output unit in the output module so as to be used by music practitioners.)

1. A method for generating the musical rhythm of five-degree phase rhythm is characterized by comprising a generating system, wherein the generating system comprises an input module (1), a processing and calculating module (2) and an output module (3), the processing and calculating module (2) comprises an uplink index calculating unit (20), a downlink index calculating unit (21) and a musical rhythm value calculating unit (22), and the method comprises the following specific steps:

the method comprises the following steps: inputting the frequency f by an input module (1)0The number N of downlink temperaments, the number M of uplink temperaments and the frequency f which need to be calculated0As a starting law;

step two: obtaining a sequence G by an uplink index calculation unit (20): the M values are calculated according to a formula,obtaining an index sequence G;

step three: obtaining a sequence G' by a downlink index calculation unit (21): n values are calculated according to a formula,obtaining an exponential series G';

step four: the rhythm value of the rhythm to be calculated is obtained by a rhythm value calculating unit (22): according to a calculation formulaCalculating the tone rhythm values of M upstream tone rhythms to obtain a sequence F of the M upstream tone rhythm values; according to a calculation formulaCalculating the tone rhythm values of the N downlink tone rhythms to obtain a sequence F' of the N downlink tone rhythm values;

step five: and outputting the tone rate sequences F and F' through an output module (3).

2. The method for producing the musical rhythm of the five-degree-phase rhythm according to claim 1, wherein in the second step, the ascending exponent calculating unit (20) has an exponent calculating formula:whereinRepresenting the numerical value i × log23, i represents an integer value from 1 to M, M index values are calculated using this formula, the calculated values are arranged from small to large according to the size of the index i to obtain the sequence G, i.e. G ═ M<g1,…,gi-1,gi,…,gM>。

3. A five degree phase law according to claim 1The method for generating the temperament is characterized in that in the third step, the index calculation formula of the calculation unit (21) is as follows:whereinRepresenting the number j × log23, j represents an integer value from 1 to N, the values obtained by calculating N index values using this formula are arranged from small to large according to the size of the index j to obtain the sequence G', i.e. G ═<g′1,…,gj,g'j+1,…,g'N>。

4. The method for producing the temperament of the five-degree-phase temperament according to claim 1, wherein the formula for calculating the temperament series F and F' in the fourth step isAndthey are all the products of the fraction ratio and the frequency of the law of origin, the numerator and denominator of the fraction ratio being the base-2 and 3 exponential values.

Technical Field

The invention belongs to the field of modern music industry, and particularly relates to a method for producing a musical rhythm of five-degree phase rhythm.

Background

In the field of music art, the temperament is one of the main contents of music practice and music research, the five-degree sympathy law is a temperament system of the temperament, is often called as the Pythagoras law in western countries, is called as the Tri-Pai-Hui-Yi law in ancient China, is respectively and independently proposed by the Pythagoras school in the ancient Chiba time period and musicians in the Miqin time period in China, has a history of two thousand years and is widely used in various places throughout the world, most of the existing musical instruments adopt the method of taking the five-degree sympathy law as a law, and the five-degree sympathy law makes a great contribution to the inheritance and development of the music industry of the whole human beings.

However, the modern world has entered the digital music era, and the international popular five-degree phase law still adopts the ancient law of life method proposed by the university of Pythagorean, and is not suitable for the rapid development of digital music. FIG. 1 showsThe common phonological structure diagram of the Pythagorean derivation law method has the following basic rules: the tone rhythm is generated by manually giving the frequency of the initial rhythm, for example, the frequency of the center C of the tone system is 261.63Hz as the initial frequency, and the tone rhythm is generated in a chain manner in two directions of pure five degrees in the upper row and pure five degrees in the lower row. Pure five degrees in the upper run, that is, the frequency of the current temperament is multiplied by a multiplication factorOrIf the frequency of the current temperament is multiplied byNot more than 2 times of the initial rhythm frequency, the next rhythm frequency is the current rhythm frequency multiplied by the current rhythm frequencyElse multiply byThe upper row (1) in FIG. 1 represents the pure five degree upward production law starting from center C and multiplying byOrThe next rule is obtained. The pure five degrees of the downstream is that the frequency of the current temperament is multiplied by a multiplication factorOrIf the frequency of the current temperament is multiplied byThe frequency of the next law is the current rhythm frequency when the frequency of the next law is not more than 2 times of the frequency of the initial lawRate timesElse multiply byThe next row (2) in FIG. 1 represents the pure five degree downward law of growth starting from center C and multiplying byOrThe next rule is obtained. Although the generated temperament is restricted within 2 times of the frequency of the initial temperament, multiplication factors are selected for each calculation, and in order to calculate a certain temperament, each temperament before the certain temperament needs to be calculated, for example, the frequencies of the four tones such as g, d, a and e need to be calculated respectively.

Therefore, a method for generating the temperament which can be conveniently calculated is urgently needed, so that the problem of wide application of the five-degree phase temperament in the digital music era is solved.

Disclosure of Invention

In order to make up the defects of the prior art, the invention provides a technical scheme of a tone law generation method of five-degree phase generation.

The method for generating the five-degree phase rhythm is characterized by comprising a generating system, wherein the generating system comprises an input module, a processing and calculating module and an output module, the processing and calculating module comprises an uplink index calculating unit, a downlink index calculating unit and a rhythm value calculating unit, and the method comprises the following specific steps:

the method comprises the following steps: inputting frequency f by input module0The number N of downlink temperaments, the number M of uplink temperaments and the frequency f which need to be calculated0As a starting law;

step two: obtaining a number sequence G through an uplink index calculation unit: the M values are calculated according to a formula,obtaining an index sequence G;

step three: obtaining a sequence G' by a downlink index calculation unit: n values are calculated according to a formula,obtaining an exponential series G';

step four: obtaining the temperament value of the temperament to be calculated through a temperament value calculating unit: according to a calculation formulaCalculating the tone rhythm values of M upstream tone rhythms to obtain a sequence F of the M upstream tone rhythm values; according to a calculation formulaCalculating the tone rhythm values of the N downlink tone rhythms to obtain a sequence F' of the N downlink tone rhythm values;

step five: and outputting the tone rate sequences F and F' through an output module.

The method for producing the musical rhythm of the five-degree phase rhythm is characterized in that in the second step, an index calculation formula of an uplink index calculation unit is as follows:whereinRepresenting the numerical value i × log23, i represents an integer value from 1 to M, M index values are calculated using this formula, the calculated values are arranged from small to large according to the size of the index i to obtain the sequence G, i.e. G ═ M<g1,…,gi-1,gi,…,gM>。

The method for producing the five-degree phase rhythm is characterized in that in the third step, a calculation unit index calculation formula is as follows:whereinRepresenting the number j × log23, j represents an integer value from 1 to N, the values obtained by calculating N index values using this formula are arranged from small to large according to the size of the index j to obtain the sequence G', i.e. G ═<g'1,…,gj,g'j+1,…,g'N>。

The method for producing the temperament of the five-degree phase temperament is characterized in that in the fourth step, the calculation formulas of the temperament series F and the temperament series F' are respectivelyAndthey are all the products of the fraction ratio and the frequency of the law of origin, the numerator and denominator of the fraction ratio being the base-2 and 3 exponential values.

Compared with the prior art, the invention has the following advantages:

1) the invention inputs the initial rhythm frequency, the number of the downlink rhythms and the number of the uplink rhythms by using the input module, calculates the corresponding rhythm line by using the calculation module, and outputs the corresponding rhythm line through the output module, thereby having high calculation efficiency and being convenient for music practitioners to use;

2) the invention provides a construction method of the temperament column of the five-degree-phase temperament, provides a temperament calculation formula of the five-degree-phase temperament, realizes a method for calculating the temperament frequency of any given temperament quantity, and further can realize the purpose of applying a multi-temperament system to music software;

3) the invention provides a construction method of the temperament sequence of the five-degree phase temperament, provides a fraction ratio between the temperament value of the five-degree phase temperament and the initial temperament, and can calculate the required decimal precision according to the actual requirement to meet different temperament use occasions.

Drawings

FIG. 1 is a diagram of a rhythm structure of a five-degree phase rhythm generation method in the prior art;

FIG. 2 is a flow chart of a method of producing a temperament according to the present invention;

FIG. 3 is a schematic diagram of a circuit relationship of the generating system of the present invention.

Detailed Description

The invention will be further explained with reference to the drawings.

As shown in fig. 2 and 3, a method for producing a musical rhythm of a five-degree phase rhythm includes a production system, where the production system includes an input module 1, a processing and calculating module 2, and an output module 3, the processing and calculating module 2 includes an uplink exponent calculating unit 20, a downlink exponent calculating unit 21, and a musical rhythm value calculating unit 22, and the method includes the specific steps of:

the method comprises the following steps: inputting frequency f by input module 10The number N of downlink temperaments, the number M of uplink temperaments and the frequency f which need to be calculated0As a starting law;

step two: the sequence G is obtained by the uplink exponent calculation unit 20: the M values are calculated according to a formula,obtaining an index sequence G;

step three: the sequence G' is obtained by the downlink index calculation unit 21: n values are calculated according to a formula,obtaining an exponential series G';

step four: the rhythm value of the rhythm to be calculated is obtained by the rhythm value calculating unit 22: according to a calculation formulaCalculating the tone rhythm values of M upstream tone rhythms to obtain a sequence F of the M upstream tone rhythm values; according to a calculation formulaCalculating the tone rhythm values of the N downlink tone rhythms to obtain a sequence F' of the N downlink tone rhythm values;

step five: the tone rate series F and F' are output through the output module 3.

Further description of step two: in the second step, the uplink index calculation unit 20 has the index calculation formula:whereinRepresenting the numerical value i × log23, i represents an integer value from 1 to M, M index values are calculated using this formula, the calculated values are arranged from small to large according to the size of the index i to obtain the sequence G, i.e. G ═ M<g1,…,gi-1,gi,…,gM>。

Further explanation of step three: in the third step, the index calculation formula of the calculation unit 21 is as follows:whereinRepresenting the number j × log23, j represents an integer value from 1 to N, the values obtained by calculating N index values using this formula are arranged from small to large according to the size of the index j to obtain the sequence G', i.e. G ═<g'1,…,gj,g'j+1,…,g'N>。

Further explanation of step four: in the fourth step, the calculation formulas of the temperament series F and the temperament series F' are respectivelyAndthey are all the products of the fraction ratio and the frequency of the law of origin, the numerator and denominator of the fraction ratio being the base-2 and 3 exponential values.

As an optimization: the input module 1 may be a physical keyboard, a virtual keyboard, and the like, the output module 3 may be a display, and the processing and computing module 2 further includes a processor.

The invention has the following advantages:

1. the method for producing the five-degree phase rhythm can conveniently utilize the formulaAndand calculating, for any tone, if the value range corresponding to each temperament forming the tone is determined, the frequencies of the seven temperaments of the tone can be calculated by using a formula. The traditional method for calculating the tone rhythm of five-degree phase rhythm utilizes multiplication factorsAndthe calculation is started from the artificially appointed initial rhythm frequency, the required temperament is generated for multiple times according to different temperaments, the multiplication factor is selected and used by artificial judgment for generating a new temperament each time, and the calculation of any temperament needs to be started from the initial rhythm first, for example, the calculation with seven ascending signs is started#Seven temperaments of C key are calculated sequentially from the initial temperament, one temperament and one temperament, i.e. in the sequence, f0→f1→f2→f3→f4→f5→f6→f7→f8→f9→f10→f11→f12Then selecting the final seven-law composition#And C, adjusting. The method for generating the five-degree phase temperament directly calculates the frequencies of the seven temperaments by using the temperament calculation formula, thereby greatly facilitating the calculation of the temperament.

2. The five-degree phase rhythm generation oriented tone law generation method can conveniently utilize a formulaAndand calculating the temperament frequency of any appointed temperament number k, and directly obtaining the temperament frequency only by calculating once. The traditional method for calculating the temperament of the five-degree phase temperament needs to calculate all the temperaments from the starting temperament to the specified position. The invention greatly improves the calculation efficiency.

Uplink index calculation unit 20: the invention provides a formula for calculating the temperament by fraction calculation, and the temperament can be directly calculated without selecting multiplication factors when using the common method.

Downlink index calculation unit 21: the invention provides a fractional calculation formula for the temperament, and the temperament can be directly calculated without selecting multiplication factors when using the common method.

The melody value calculation unit 22: the indexes generated by the upper and lower index calculation units 20 and the lower index calculation unit 21 are respectively expressed by formulasAndand calculating M upstream rhythm values and N downstream rhythm values.

In the digital music era, music software can almost serve all music activities, and in spite of designing a music sampler, a music effector and a music tone library or during music creation, the temperament calculation is needed, for the convenience of calculation, most music software usually adopts twelve temperaments, the twelve temperaments are simple to calculate and easy to understand, and the calculation formula is as follows:from a music theory perspective, however, twelve-tone equal temperament is a dissonant temperament system. In the practice of human music for a long time, the five-degree phase rhythm is the most widely used rhythm, but the conventional rhythm method for the five-degree phase rhythm needs certain music knowledge to understand, and the rhythm calculation method is more complicated than the twelve-degree phase rhythm, so that the application range of the rhythm is greatly compressed.

The invention provides a formula for calculating the temperament of five-degree phase temperament, and the calculation is as simple as twelve-degree phase temperament and is easy to understand, so that the invention greatly promotes the diversified use of the temperament in the digital music era and provides technical support for enriching the industrial ecology of digital music products.

Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:录制歌曲的方法、装置、电子设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!