Three-component damage and gain method tone rhythm generation method

文档序号:617681 发布日期:2021-05-07 浏览:13次 中文

阅读说明:本技术 一种三分损益法的音律生成方法 (Three-component damage and gain method tone rhythm generation method ) 是由 陈根方 于 2020-12-31 设计创作,主要内容包括:本发明属于现代音乐工业领域,具体涉及一种三分损益法的音律生成方法,其具体通过输入模块输入起始律频率、音律个数和小数位数,再利用计算模块算出相应的分子值、分母值和小数式音律值,然后将其通过输出模块输出,可以方便实现与后端音乐应用软件相结合,可实现音乐软件应用多音律律制的目的。利用本发明可进一步的将输出的音律律列用各种乐器软件播放出来,以便音乐从业人员使用。(The invention belongs to the field of modern music industry, and particularly relates to a three-component damage method for generating temperament, wherein the starting temperament frequency, the temperament number and the decimal place number are input through an input module, corresponding numerator values, denominator values and decimal temperament values are calculated through a calculation module and then are output through an output module, so that the combination with back-end music application software can be conveniently realized, and the purpose of applying a multi-temperament system to the music software can be realized. The invention can be used for further playing the output temperament sequence by various musical instrument software so as to be convenient for music practitioners to use.)

1. A three-component impairment method tone rhythm generation method is characterized in that: setting frequency f0Setting the number N of the temperaments to be calculated as initial temperaments, setting the decimal precision digit M of the temperaments to be calculated, and calculating by a fractional calculation unit to obtain two integer sequences, namely scoresA sequence of child values C and a sequence of denominator values D; and then a decimal formula calculation unit calculates to obtain a decimal formula temperament sequence F.

2. The pitch rate generating method according to claim 1, wherein: the calculation formula of the fractional calculation unit is as follows:di=3ii is more than or equal to 1 and less than or equal to N, whereinRepresenting the numerical value i × log2An integer partial value of 3, i represents an integer value from 1 to N, N numerator values and denominator values are calculated by the formula, the numerator values and denominator values obtained by the calculation are arranged from small to large according to the size of the index i, and a numerator value sequence C-is obtained<c1,c2,Λ,ci,ci+1,Λ,cN>I is more than or equal to 1 and less than or equal to N, and the denominator number sequence D is<d1,d2,Λ,di,di+1,Λ,dN>,1≤i≤N。

3. The method for generating a melody according to claim 1 or 2, wherein: the calculation formula of the decimal calculation unit is as follows:whereinRepresenting a value of takingI represents an integer value from 1 to N, the decimal values of N temperaments are calculated using the formula, the calculated decimal values are arranged from small to large according to the size of the index i to obtain a decimal temperament sequence F, i.e., F ═ N<f0,Λ,fi,fi+1,Λ,fN>。

Technical Field

The invention belongs to the field of modern music industry, and particularly relates to a three-component damage method for generating a temperament.

Background

In the field of music art, the temperament is one of the main contents of music practice and music research, the third damage and benefit method is a temperament system of the temperament, is a temperament generation method of ancient China, is independently proposed by musicians in the period of the first Qin of China, has a history of two thousand years, and most of the existing Chinese musical instruments adopt the third damage and benefit method as a law method, and the third damage and benefit method makes a great contribution to the inheritance and development of the music career of the whole mankind.

However, the modern world has entered the digital music era, and the three-part profit-and-loss method popular in China still adopts the ancient temperament method proposed by the ancient musicians, and is not suitable for the rapid development of digital music. Fig. 1 shows a diagram of a common rhythm structure of a three-component impairment law rhythm method, the basic rules of which are: frequency f of artificial given law of initiation0E.g. generally with the frequency f at the centre C of the musical tone system0261.63Hz as the starting frequency, according to the current temperamentFrequency multiplicationOrIf the frequency of the current temperament is multiplied byNot lower than the frequency of the start lawMultiple, the next frequency is the current temperament frequency multiplied byElse multiply byFIG. 1 shows the division from the center C by multiplicationOrThe next rule is obtained. This method although constrains the generated temperament to the frequency of the initial temperamentWithin the multiple, however, multiplication factors are selected for each calculation law, and in order to calculate a certain rhythm, it is necessary to calculate the previous rhythms, for example, to calculate the frequency of the tone b, it is necessary to calculate the frequencies of four tones, g, d, a, e, etc., respectively.

Therefore, a temperament calculation formula and a temperament generation method which can be conveniently calculated are urgently needed, so that the problem of wide application of the three-component loss method in the digital music era is solved.

Disclosure of Invention

In order to make up for the defects of the prior art, the invention provides a technical scheme of a three-loss gain method for generating a temperament.

The method for generating the temperament by the three-component impairment benefit method is characterized by comprising the following steps of: setting frequency f0Setting the number N of the temperaments needing to be calculated as an initial temperament, setting the decimal precision digit M of the temperament needing to be calculated, and calculating by a fractional calculation unit to obtain two integer series, namely a numerator value series C and a denominator value series D; and then a decimal formula calculation unit calculates to obtain a decimal formula temperament sequence F.

The method for generating the temperament by the three-component impairment benefit method is characterized by comprising the following steps of: the calculation formula of the fractional calculation unit is as follows:di=3ii is more than or equal to 1 and less than or equal to N, whereinRepresenting the numerical value i × log2An integer partial value of 3, i represents an integer value from 1 to N, N numerator values and denominator values are calculated by the formula, the numerator values and denominator values obtained by the calculation are arranged from small to large according to the size of the index i, and a numerator value sequence C-is obtained<c1,c2,Λ,ci,ci+1,Λ,cN>I is more than or equal to 1 and less than or equal to N, and the denominator number sequence D is<d1,d2,Λ,di,di+1,Λ,dN>,1≤i≤N。

The method for generating the temperament by the three-component impairment benefit method is characterized by comprising the following steps of: the calculation formula of the decimal calculation unit is as follows:whereinRepresenting a value of takingI represents an integer value from 1 to N, and the decimal values of the N temperaments are calculated using the formulaThe decimal value of (a) is arranged from small to large according to the size of the index i to obtain a decimal temperament sequence F, namely F ═ F<f0,Λ,fi,fi+1,Λ,fN>。

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

the invention provides a three-loss-gain-method melody production method, provides a melody calculation formula of the three-loss-gain method, realizes a method for calculating the melody frequency of any given melody quantity, and further achieves the purpose of simply and conveniently applying the three-loss-gain law.

The invention provides a construction method of a temperament sequence of a trisection loss gain method, provides an integer ratio between a numerator value and a denominator value of the temperament of the trisection loss gain method, and can calculate required decimal precision according to actual requirements to meet different temperament use occasions.

The invention can combine the temperament calculation formula with the back-end music application software, input the initial temperament frequency, the temperament number and the decimal place of the temperament by using the input module, calculate the corresponding temperament sequence of the numerator value, the denominator value and the designated decimal place by using the calculation module, and output the temperament sequence through the output module, thereby being convenient to combine with the back-end music application software; the invention can be used for further playing the output temperament sequence by various musical instrument software so as to be convenient for music practitioners to use.

Drawings

FIG. 1 is a diagram of a three-component impairment method rhythm method in the prior art;

FIG. 2 is a schematic diagram of the generation of a temperament according to the present invention.

Detailed Description

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

FIG. 1 shows the conventional process of three-component impairment method.

As shown in fig. 2, a three-component impairment method for generating a temperament comprises a generating system, wherein the generating system comprises an input module, a calculating module and an output module, the calculating module comprises a fractional calculating unit and a fractional calculating unit, and the method specifically comprises the following steps:

1) inputting the frequency f given according to actual need through the input module0Frequency f0Inputting the number N of the temperaments needing to be calculated and the decimal precision digit M of the temperaments needing to be calculated as an initial temperament;

2) obtaining two integer number sequences, a numerator value sequence C and a denominator value sequence D through a fractional calculation unit: the calculation formula of the fractional calculation unit is:di=3ii is more than or equal to 1 and less than or equal to N, whereinRepresenting the numerical value i × log2An integer partial value of 3, i represents an integer value from 1 to N, N numerator values and denominator values are calculated by the formula, the numerator values and denominator values obtained by the calculation are arranged from small to large according to the size of the index i, and a numerator value sequence C-is obtained<c1,c2,Λ,ci,ci+1,Λ,cN>I is more than or equal to 1 and less than or equal to N, and the denominator number sequence D is<d1,d2,Λ,di,di+1,Λ,dN>,1≤i≤N;

3) Obtaining a decimal scale number sequence F through a decimal calculation unit: the formula of the decimal formula calculating unit is as follows:whereinRepresenting a value of takingI represents an integer value from 1 to N, the decimal values of N temperaments are calculated using the formula, the calculated decimal values are arranged from small to large according to the size of the index i to obtain a decimal temperament sequence F, i.e., F ═ N<f0,Λ,fi,fi+1,Λ,fN>;

4) And the numerator value array C, the denominator value array D and the decimal temperament array F are output through the output module, so that the combination with back-end music application software is conveniently realized.

The invention has the following advantages:

1. the invention provides a three-loss-gain-method melody production method, provides a melody calculation formula of the three-loss-gain-method melody, realizes a method for calculating the melody frequency of any given melody quantity, and further achieves the purpose of simply and conveniently applying the three-loss-gain law; the method for generating the temperament by the trisection loss method can be conveniently calculated by using a formula, for example, for any temperament, the frequency of the temperament can be calculated by using the formula as long as the position of the temperament is determined; the traditional three-component damage gain law phonological law calculating method utilizes multiplication factor method factors Calculating, starting from an artificially designated initial rhythm frequency, generating the required temperament for multiple times according to different temperaments, wherein each time a new temperament is generated, artificial judgment is needed to select which multiplication factor to utilize, and calculating any temperament needs to be firstly calculated from the initial rhythm, such as calculating the 12 th temperament, calculating from the initial rhythm, calculating from the temperament to the temperament sequentially, namely calculating according to the sequence, f0→f1→f2→f3→f4→f5→f6→f7→f8→f9→f10→f11→f12. The method for generating the temperament by the trisection loss method disclosed by the invention has the advantages that the temperament calculation formula is utilized, the frequency of the 12 th temperament is directly calculated, and the calculation of the temperament is greatly facilitated.

2. The invention provides a construction method of a temperament sequence of a trisection loss gain method, provides an integer ratio between a numerator value and a denominator value of the temperament of the trisection loss gain method, and can calculate required decimal precision according to actual requirements to meet different temperament use occasions.

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 long music, the three-component impairment profit method is the most widely used temperament, but the commonly used temperament method of the three-component impairment profit method needs certain music knowledge to understand, and the temperament calculation method is more complicated than the twelve-mean temperament, so that the application range of the three-component impairment profit method is greatly reduced.

The invention provides a three-component damage gain law temperament calculation formula, and the calculation is as simple as twelve equal temperaments 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.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种京房六十律的最优音律产生方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!