Method, device and storage medium for generating visual guqin music score

文档序号:972868 发布日期:2020-11-03 浏览:22次 中文

阅读说明:本技术 一种生成可视化古琴琴谱的方法、装置及存储介质 (Method, device and storage medium for generating visual guqin music score ) 是由 张驰 于 2020-07-28 设计创作,主要内容包括:本申请公开了一种生成可视化古琴琴谱的方法、装置及存储介质,该方法包括:检测琴曲中乐音的响度、所述乐音的持续时间以及所述乐音的波形图;确定所述响度的分贝值,根据所述分贝值确定对琴弦施加的弹拨力度;确定所述弹拨力度对应的力度可视化元素;确定所述持续时间对应的时间可视化元素;确定所述波形图对应的减字;根据所述力度可视化元素、所述时间可视化元素和所述减字生成可视化古琴琴谱。本申请实施例提供的技术方案,生成可视化古琴琴谱后,可视化古琴琴谱中不仅记录指法和指位,而且记录弹拨力度和持续时间,进而生成的可视化古琴琴谱中能够体现出弹拨力度和持续时间,使古琴演奏的轻重缓急可视化。(The application discloses a method, a device and a storage medium for generating a visual guqin music score, wherein the method comprises the following steps: detecting the loudness of the musical tones in the music, the duration of the musical tones and the waveform diagram of the musical tones; determining a decibel value of the loudness, and determining the plucking force applied to the string according to the decibel value; determining a force visualization element corresponding to the plucking force; determining a time visualization element corresponding to the duration; determining a word reduction corresponding to the oscillogram; and generating a visual guqin music score according to the force visual element, the time visual element and the abbreviated character. The technical scheme that this application embodiment provided after generating visual guqin musical instrument register, not only record fingering and finger position in the visual guqin musical instrument register, record the dynamics of plucking and duration moreover, and then can embody the dynamics of plucking and duration in the visual guqin musical instrument register, make the weight of guqin performance slowly anxious visual.)

1. A method of generating a visual guqin score, comprising:

detecting the loudness of the musical tones in the music, the duration of the musical tones and the waveform diagram of the musical tones;

determining a decibel value of the loudness, and determining the plucking force applied to the string according to the decibel value;

determining a force visual element corresponding to the plucking force according to the corresponding relation between the preset plucking force and a preset force visual element; determining a time visualization element corresponding to the duration according to the corresponding relation between the preset duration and the preset time visualization element; determining a character reduction corresponding to the oscillogram according to the corresponding relation between a preset waveform and a preset character reduction;

and generating a visual guqin music score according to the force visual element, the time visual element and the abbreviated character.

2. The method of claim 1, wherein said determining the plucking force applied to the string in accordance with said decibel value comprises:

determining a decibel value interval corresponding to the decibel value;

determining the dynamics level corresponding to the decibel value interval according to the preset corresponding relation between the decibel value interval and the dynamics level;

and determining the plucking strength according to the strength grade.

3. The method of claim 2, wherein said generating a visual guqin score from said force visualization element, said time visualization element, and said hyphen comprises:

converting the strength visualization element into a strength identifier, wherein the strength identifier is used for indicating the strength grade; converting the time visualization element into a time marker, the time marker being indicative of a temporal level;

the strength mark and the time mark are used for generating the visual guqin music score together with the abbreviated character.

4. The method according to any one of claims 1-3, further comprising:

judging whether the visualized guqin music score is consistent with the visualized standard guqin music score or not;

and if not, generating second feedback information, wherein the second feedback information comprises musical tones of which the visual guqin music score is inconsistent with the visual standard guqin music score.

5. The method of claim 4, wherein the force level indicator is represented graphically and/or textually.

6. The method of claim 5, wherein when the force level indicator is graphically represented; the plucking force is represented by the distance between the graph and the datum line; the graph and the datum line are located on the same plane;

when the graph is positioned on the first side of the datum line, the plucking force is positively correlated with the distance;

when the graph is located on a second side of the datum line, the plucking force is inversely related to the distance.

7. The method according to claim 4, characterized in that the time identification is represented by graphics and/or text.

8. The method of claim 7, wherein when the time stamp is graphically represented; the graph is a line segment, and the duration is positively correlated with the length of the line segment.

9. An apparatus for generating a visual guqin score, comprising: the device comprises a detection unit, a determination unit and a processing unit;

the detection unit is used for detecting the loudness of the musical tones in the music, the duration of the musical tones and the waveform diagram of the musical tones;

the determining unit is used for determining a decibel value of the loudness and determining the plucking force applied to the string according to the decibel value;

the processing unit is used for determining a force visual element corresponding to the plucking force according to the corresponding relation between the preset plucking force and a preset force visual element; determining a time visualization element corresponding to the duration according to the corresponding relation between the preset duration and the preset time visualization element; determining a character reduction corresponding to the oscillogram according to the corresponding relation between a preset waveform and a preset character reduction; and generating a visual guqin music score according to the force visual element, the time visual element and the abbreviated character.

10. The apparatus according to claim 9, wherein the determining unit is specifically configured to determine a decibel value interval corresponding to the decibel value; determining the dynamics level corresponding to the decibel value interval according to a preset first corresponding relation between the decibel value interval and the dynamics level; and determining the plucking strength according to the strength grade.

11. The apparatus according to claim 10, wherein the processing unit is specifically configured to convert the force visualization element into a force identifier, where the force identifier is used to indicate the force level; converting the time visualization element into a time marker, the time marker being indicative of a temporal level; the strength mark and the time mark are used for generating the visual guqin music score together with the abbreviated character.

12. A computer-readable storage medium comprising instructions that, when executed, perform the method of any of claims 1-8.

Technical Field

The application relates to the technical field of audio, in particular to a method, a device and a storage medium for generating a visual guqin music score.

Background

The guqin has a long history as a traditional stringed musical instrument in ancient China. Compared with other musical instruments, the seven-stringed plucked instrument can produce a free flowing and falling mood.

Mr. caru de kan written in 1936 "jin Yu Qin periodical": the player of the Guqin must be very serious and slow to play the Guqin and suppress the wonderful of yangtong and frustrating. The existing guqin music score is a character reduction music score, the character reduction music score is formed by reducing characters of a character music score and is generated by performing fingering with a finger position and a left hand and a right hand. Because of the character characteristics of the character reduction spectrum, the character reduction spectrum only records playing fingering and fingering, and a violator is difficult to master the rhythm of the musical instrument according to the character reduction spectrum. For example, see FIG. 1, which is a schematic illustration of a subtractive spectrum. As can be seen from the figure, the word reduction spectrum is obtained by reducing the word of the word spectrum, and the character spectrum is characterized by 'simple and complete word, and concise and complete text'. The violator can determine the fingering and the finger position of the left hand and the right hand by subtracting the character score, but the rhythm of the musical instrument is difficult to master.

In order to solve the problems, a violator generates a musical score of a musical note by using a method for generating a staff of western music, but the method for generating the staff only can mechanically record the approximate rhythm, and the violator cannot really express the mood of free flowing and falling of the seven-stringed plucked stringed instrument through the staff.

Therefore, the method for generating the guqin score in the prior art cannot reflect the weight and the urgency of playing the guqin and cannot visualize the weight and the urgency of playing the guqin.

Disclosure of Invention

In order to solve the technical problem, the application provides a method and a device for generating a visual guqin music score, which can enable the weight and the urgency of playing a guqin to be visual.

The embodiment of the application discloses the following technical scheme:

in a first aspect, the present application provides a method of generating a visual guqin score, comprising:

detecting the loudness of the musical tones in the music, the duration of the musical tones and the waveform diagram of the musical tones;

determining a decibel value of the loudness, and determining the plucking force applied to the string according to the decibel value;

determining a force visual element corresponding to the plucking force according to the corresponding relation between the preset plucking force and a preset force visual element; determining a time visualization element corresponding to the duration according to the corresponding relation between the preset duration and the preset time visualization element; determining a character reduction corresponding to the oscillogram according to the corresponding relation between a preset waveform and a preset character reduction;

and generating a visual guqin music score according to the force visual element, the time visual element and the abbreviated character.

Optionally, the determining, according to the decibel value, the plucking force applied to the string includes:

determining a decibel value interval corresponding to the decibel value;

determining the dynamics level corresponding to the decibel value interval according to the preset corresponding relation between the decibel value interval and the dynamics level;

and determining the plucking strength according to the strength grade.

Optionally, the generating a visual guqin score according to the force visualization element, the time visualization element and the abbreviated character includes:

converting the strength visualization element into a strength identifier, wherein the strength identifier is used for indicating the strength grade; converting the time visualization element into a time marker, the time marker being indicative of a temporal level;

the strength mark and the time mark are used for generating the visual guqin music score together with the abbreviated character.

Optionally, the method further includes:

judging whether the visualized guqin music score is consistent with the visualized standard guqin music score or not;

and if not, generating second feedback information, wherein the second feedback information comprises musical tones of which the visual guqin music score is inconsistent with the visual standard guqin music score.

Optionally, the strength identifier is represented by a graph and/or a text.

Optionally, when the strength identifier is represented by a graph; the plucking force is represented by the distance between the graph and the datum line; the graph and the datum line are located on the same plane;

when the graph is positioned on the first side of the datum line, the plucking force is positively correlated with the distance;

when the graph is located on a second side of the datum line, the plucking force is inversely related to the distance.

Optionally, the time identifier is represented by graphics and/or text.

Optionally, when the time stamp is represented graphically; the graph is a line segment, and the duration is positively correlated with the length of the line segment.

In a second aspect, the present application provides an apparatus for generating a visual guqin score, comprising: the device comprises a detection unit, a determination unit and a processing unit;

the detection unit is used for detecting the loudness of the musical tones in the music, the duration of the musical tones and the waveform diagram of the musical tones;

the determining unit is used for determining a decibel value of the loudness and determining the plucking force applied to the string according to the decibel value;

the processing unit is used for determining a force visual element corresponding to the plucking force according to the corresponding relation between the preset plucking force and a preset force visual element; determining a time visualization element corresponding to the duration according to the corresponding relation between the preset duration and the preset time visualization element; determining a character reduction corresponding to the oscillogram according to the corresponding relation between a preset waveform and a preset character reduction; and generating a visual guqin music score according to the force visual element, the time visual element and the abbreviated character.

Optionally, the determining unit is specifically configured to determine a decibel value interval corresponding to the decibel value; determining the dynamics level corresponding to the decibel value interval according to a preset first corresponding relation between the decibel value interval and the dynamics level; and determining the plucking strength according to the strength grade.

Optionally, the processing unit is specifically configured to convert the strength visualization element into a strength identifier, where the strength identifier is used to indicate the strength grade; converting the time visualization element into a time marker, the time marker being indicative of a temporal level; the strength mark and the time mark are used for generating the visual guqin music score together with the abbreviated character.

In a third aspect, the present application provides a computer-readable storage medium comprising instructions that, when executed, perform any of the methods described above in the first aspect.

According to the technical scheme, the method has the following advantages:

when the music score of the Guqin is generated, the plucking force of a player playing the strings and the duration time of the musical tones generated by the strings are not determined, so that only fingering, finger positions and approximate rhythm are recorded in the generated music score, and the plucking force and the duration time are the characteristic points of playing difference of the Guqin and other musical instruments. Therefore, when the musical instrument spectrum is generated, fingering and finger positions are considered, and plucking strength and duration are also considered. Specifically, the loudness of a tone in a musical tune, the duration of the tone, and a waveform diagram of the tone are detected; determining a decibel value of the loudness, and determining the plucking force applied to the string according to the decibel value; determining a force visual element corresponding to the plucking force according to the corresponding relation between the preset plucking force and a preset force visual element; determining a time visualization element corresponding to the duration according to the corresponding relation between the preset duration and the preset time visualization element; determining a character reduction corresponding to the oscillogram according to the corresponding relation between a preset waveform and a preset character reduction; and generating a visual guqin music score according to the force visual element, the time visual element and the abbreviated character. The technical scheme that this application embodiment provided after generating visual guqin musical instrument register, not only record fingering and finger position in the visual guqin musical instrument register, record the dynamics of plucking and duration moreover, and then can embody the dynamics of plucking and duration in the visual guqin musical instrument register, make the weight of guqin performance slowly anxious visual.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

FIG. 1 is a schematic illustration of a subtractive spectrum;

fig. 2 is a flowchart of a method for generating a visual guqin score according to an embodiment of the present application;

fig. 3 is a schematic diagram of a force identifier according to an embodiment of the present disclosure;

fig. 4 is a schematic diagram of another force identifier provided in the embodiment of the present application;

FIG. 5 is a graph illustrating a level of duration according to an embodiment of the present disclosure;

FIG. 6 is a schematic diagram of a hierarchy corresponding to another duration provided by an embodiment of the present application;

FIG. 7 is a graph illustrating a hierarchy corresponding to another duration provided by an embodiment of the present application;

fig. 8 is a schematic diagram of a visualized guqin notation provided in an embodiment of the present application;

fig. 9 is a schematic view of a further visualized guqin notation provided in an embodiment of the present application;

fig. 10 is a schematic view of a further visual guqin notation provided in an embodiment of the present application;

fig. 11 is a schematic view of another visualized guqin notation provided in the embodiments of the present application;

fig. 12 is a flowchart of a method for detecting a guqin according to an embodiment of the present application;

fig. 13 is a schematic diagram of an apparatus for generating a visualized guqin score according to an embodiment of the present application.

Detailed Description

In order to make the technical scheme provided by the embodiment of the application better understood by the technical staff in the field, the guqin is introduced below.

The guqin described in the embodiments of the present application is a traditional stringed musical instrument of china. Because when recording the guqin musical notation, only fingering, finger position and approximate rhythm have been recorded in the guqin musical notation, but, the duration of the musical sound that present guqin musical notation can not embody the person of playing the guqin to the plucking dynamics of string and this string produced, can not really, the objective record guqin plays the weight of delaying urgency.

In order to solve the problems, the application provides a method and a device for generating a visual guqin music score. When the method is used for generating the guqin music score, the plucking force of a violator to the string is considered, and the duration time of the musical tones generated by the string is also considered. After the method is used for generating the guqin music score, the guqin music score comprises the plucking force of a player to the strings and the duration of the musical tones generated by the strings. Therefore, the guqin score can directly record the weight and the urgency of playing the guqin, so that the weight and the urgency of playing the guqin are visual.

In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The method of generating a visual guqin notation is described first.

The first embodiment of the method comprises the following steps:

the embodiment of the method provides a method for generating a visual guqin music score, which is specifically described below by combining the attached drawings.

Referring to fig. 2, a flowchart of a method for generating a visualized guqin spectrum according to an embodiment of the present application is shown.

The method comprises the following steps:

step 201: the loudness of a musical tone in a musical tune, the duration of the musical tone, and a waveform diagram of the musical tone are detected.

The method is not limited to the generation mode of the musical instrument, the musical instrument can be played and generated by a player, and the musical instrument can also be generated by playing a prerecorded musical instrument file through multimedia equipment.

For the convenience of understanding of those skilled in the art, the following description will be made in detail by taking the example of music played by players.

The string of guqin is plucked through the bullet to the musical instrument person, can make the string vibrate, and then produces the musical instrument song.

Because the loudness is produced by the object vibration, when the string was stirred to the musical instrument person, the string can produce certain vibration, and the loudness is positively correlated with the amplitude of string, and the bigger loudness is bigger for the amplitude promptly, and when the dynamics is great for plucking when stirring the string, the amplitude of string also can be great, and then when the loudness is great, the dynamics is also great for plucking, consequently, can represent the dynamics of plucking through the loudness of tone. In order to obtain the plucking force when the player plucks the strings of the guqin, the loudness of the musical tones in the music must be detected. The difference of the loudness of the musical tones in the music can reflect the weight of the playing of the ancient musical instrument.

When the string was stirred through the mode of difference to the musical instrument person, the tone of the musical tone that the string can produce is different, for example, to same string, can produce a tone when directly stirring the string with the right hand, when the left hand pressed the string on the panel, another kind of tone that produces when the same position of this string was stirred to the reuse right hand, adopted the mode of different strings to the same position of same string promptly and can produce different tones. In order to record the change of tone, it is necessary to detect the duration of each tone. The difference of duration of musical tones in the music can reflect the slow and fast playing of the guqin.

The method for detecting the loudness of the musical tones in the music and the duration of the musical tones is not limited in the application, and the loudness of the musical tones and the duration of the musical tones can be measured through a sound level meter and can also be detected through other sound measuring tools.

In addition, when the loudness of musical tones in the musical composition and the duration of the musical tones are detected, musical tones generated when the player plays may be recorded in a computer and processed by a computer program to directly generate the loudness of musical tones and the duration of the musical tones.

After the loudness of the musical tones in the music and the duration of the musical tones are obtained, in order to embody the plucking strength of a violator to strings and the duration of the musical tones during playing of the guqin, the plucking strength and the duration can be graded respectively, which is described in detail below.

Grading the plucking force:

the grade number after grading the plucking strength is not limited in the application, the plucking strength can be divided into two grades and three grades, and can also be divided into more grades, for example, five grades or six grades.

For the convenience of understanding of those skilled in the art, the following description will be given in detail by taking the example of dividing the plucking force into five stages.

When the plucking power is divided into five levels, the five levels may be a weak power level, a second weak power level, a medium power level, a second strong power level, and a strong power level.

Wherein, the middle force level represents the force used when the piano player naturally pokes the strings; the secondary weakness level represents the force after natural force reduction on the basis of the medium force level; the secondary strength grade represents the strength after natural stress application on the basis of the medium strength grade; the weak force level represents the force of fine friction of the string by the fingertip; the strength level represents the corresponding strength when the string is reefed.

The corresponding dynamics of weak power degree grade is less than the corresponding dynamics of time weak power degree grade, and the corresponding dynamics of time weak power degree grade is less than the corresponding dynamics of well dynamics grade, and the corresponding dynamics of well dynamics grade is less than the corresponding dynamics of time brute force degree grade, and the corresponding dynamics of time brute force degree grade is less than the corresponding dynamics of brute force degree grade.

The five levels can reflect the integral force change during playing the Guqin, so that the relaxation and light and heavy expressive force are generated during playing the Guqin.

However, for a violator, it is often difficult to distinguish different force levels according to subjective feelings of people, that is, although the violator grasps different playing forces according to the feelings of the violator during playing, the violator cannot objectively know the playing force of the violator on the strings. For listeners, it is difficult to make accurate resolution by relying on subjective hearing, so that the force level needs to be digitized.

The process of force level digitization is described in detail below.

In order to accurately distinguish different force levels, each force level can be divided according to decibel value intervals of loudness, so that different force levels can be embodied through objective physical data instead of relying on subjective feelings of people.

The decibel value interval corresponding to the strength level is not limited, and the decibel value intervals corresponding to the strength levels in different test environments are different.

For the understanding of those skilled in the art, the following description will be made in detail by taking the measurement of different force levels in the anechoic chamber as an example.

For example, the range of decibel values corresponding to the level of weakness is (0, 50)]The decibel value interval corresponding to the level of the secondary weakness is (50, 55)]The decibel value interval corresponding to the medium dynamics level is (55, 60)]The decibel value interval corresponding to the sub-strength level is (60, 65)]The decibel value interval corresponding to the strength level is (65,+∞)。

in another implementation manner, each of the strength level corresponding intervals may also be divided unequally, for example: the decibel value interval corresponding to the secondary strength level is (50, 53), the decibel value interval corresponding to the middle strength level is (53, 69), and the decibel value interval corresponding to the secondary strength level is (69, 65).

When dividing the decibel value interval corresponding to the force level, the dividing methods differ from each other in different scenes, and two dividing methods are described below.

The first is described below.

The first method comprises the following steps: and sampling loudness corresponding to the plucking dynamics of a plurality of different violators.

For example, loudness that produces when stirring the string to a plurality of different musical instruments people according to the dynamics of plucking of presetting measures, measures the back many times, analyzes the experimental data of measuring, finally obtains the decibel value interval that the dynamics level corresponds.

In the following, taking 3 qin persons as an example, how to divide the decibel value interval corresponding to the force level is described in detail.

For example, when a player A dials strings according to the weak strength level for multiple times, the average value of the loudness generated by the vibration of the strings is detected to be 49dB, when a player B dials strings according to the weak strength level for multiple times, the average value of the loudness generated by the vibration of the strings is detected to be 48dB, when a player C dials strings according to the weak strength level for multiple times, the average value of the loudness generated by the vibration of the strings is detected to be 46dB, after the loudness generated when 3 players dial strings according to the preset strength level is measured, the loudness value generated when 3 players dial strings does not exceed 50dB, and therefore, the decibel value interval corresponding to the weak strength level can be set to be (0, 50).

Similarly, a decibel value interval corresponding to the secondary weak strength level, a decibel value interval corresponding to the intermediate strength level, a decibel value interval corresponding to the secondary strong strength level, and a decibel value interval corresponding to the strong strength level may also be obtained according to a similar method.

The musical instrument person only relies on the subjective sensation of self to apply the dynamics that the dynamics level corresponds to the string, because different musical instrument persons 'subjective sensation is different to lead to the power degree difference of applying to the string, consequently can sample the loudness that the dynamics corresponds of plucking of a plurality of different musical instrument persons, can avoid experimental data's one-sidedness, reduce the error of dividing the decibel value interval that the dynamics level corresponds.

And the second method comprises the following steps: and only sampling the loudness corresponding to the plucking force of one organ player.

In another kind of scene, because the subjective sense of hearing of different listeners self is different, when the musical instrument person played same musical instrument, had different effects to different listeners, consequently, can't the light and heavy slow and fast that the musical instrument person played the musical instrument song of objectively showing, only need carry out multiple measurements to the loudness that this musical instrument person produced when stirring the string according to the dynamics of plucking that predetermines this moment, carry out the analysis to the experimental data that measure, finally obtain the decibel value interval that each dynamics grade corresponds.

For example, when the player plucks the string according to the weak force level for multiple times, the average value of the loudness generated by the vibration of the string is detected to be 49dB, and the average decibel value of the loudness generated when the player plucks the string does not exceed 50dB, the decibel value interval corresponding to the weak force level can be set to be (0, 50).

Similarly, a decibel value interval corresponding to the secondary weak strength level, a decibel value interval corresponding to the intermediate strength level, a decibel value interval corresponding to the secondary strong strength level, and a decibel value interval corresponding to the strong strength level may also be obtained according to a similar method.

The classification strength grade and the time grade introduced above can also be completed by the computer, so that the objectivity of the classification is improved, meanwhile, the processing efficiency of the computer is high, and the efficiency of the classification strength grade and the time grade is further improved.

And 202, determining a decibel value of the loudness, and determining the plucking force applied to the string according to the decibel value.

After division of the decibel value interval corresponding to the force level, the plucking force of the organ player to the strings is determined according to the decibel value of the loudness generated when the organ player plucks the strings, so that the strength of the organ player during playing the music of the ancient organ can be objectively reflected, and the subjective auditory perception of listeners is not relied on.

In the first mode and the second mode introduced above, in the process of sampling the loudness corresponding to the plucking force, in order to further reduce the difference influence brought by different strings, a violator can adopt the same mode to pluck the same string so as to sample the loudness corresponding to the plucking force.

It should be noted that the process of digitizing the force level described above may be performed in advance.

The above describes the process of ranking the plucking force, and the following describes the process of ranking the duration in detail.

Ranking the durations:

the method for grading the duration time is not limited, and the duration time of each musical tone can correspond to different time grades, namely the time grades corresponding to different duration times are different; the ranking may also be based on the duration interval of the musical sound. The process of ranking the durations is described in detail below.

The first method comprises the following steps: the duration of each tone is assigned to a different time level.

To facilitate understanding by those skilled in the art, the following description will be made in detail by taking the duration of 3 tones as an example.

When the duration of the tone a is 1.8 seconds, the time scale of the tone a is 1.8; when the duration of the tone B is 1.5 seconds, the time scale of the tone B is 1.5; when the duration of the tone C is 0.8 seconds, the time scale of the tone C is 0.8. The time levels corresponding to different durations are different. After the time grade is set for each duration, the duration can be accurately divided, and the slow and fast of the music is reflected when the guqin is played.

And the second method comprises the following steps: the ranking is based on the duration interval of the musical tones. Since the duration of the musical tones is accurate to 0.1 second, when the duration varies by 0.1 second, it is possible to rank the musical tones according to their duration intervals, considering that the player may not be able to accurately feel the variation in duration.

The present application does not limit the number of levels obtained by ranking the duration, and the duration may be divided into two time levels, three time levels, or more time levels, for example, four time levels or five time levels.

For the convenience of understanding of those skilled in the art, the following description will be given in detail by taking the example of dividing the duration into four levels.

For example, the duration is divided into four temporal levels: first level, second level, third level, and fourth level.

Wherein, the first grade represents that the duration interval is (0, 0.5), the second grade represents that the duration interval is (0.5, 1), the third grade represents that the duration interval is (1, 1.5), the fourth grade represents that the duration interval is (1.5, 2), and the units of the duration are all seconds.

In some scenarios, when the duration of the musical tone is not within the above-specified interval, the duration is represented by a plurality of low levels. For example, when the duration of a musical sound is 2.2 seconds, 2.2 seconds do not belong to any of the above-described predetermined intervals of 0 to 2 seconds, and therefore the duration of the musical sound can be expressed by a one-level and four-level cascade combination.

In another case, the duration level corresponding interval may not be equally divided, for example: the first level indicates a duration interval of (0, 0.6), the second level indicates a duration interval of (0.6, 0.9), the third level indicates a duration interval of (0.9, 1.5), and the fourth level indicates a duration interval of (1.5, 2).

The method has the advantages that the grading of the plucking force and the grading of the duration time are introduced respectively, after the grading of the plucking force, different loudness decibel values can be corresponding to the plucking force, and therefore the plucking force of a piano player on strings can be obtained through detecting the decibel value of the loudness. After the duration is graded, the time grade and the duration can be associated with each other, and the duration of the musical tone can be accurately obtained.

Step 203: determining a force visual element corresponding to the plucking force according to the corresponding relation between the preset plucking force and a preset force visual element; determining a time visualization element corresponding to the duration according to the corresponding relation between the preset duration and the preset time visualization element; and determining the word reduction corresponding to the oscillogram according to the corresponding relation between the preset waveform and the preset word reduction.

In order to accurately record the weight and the urgency of the playing of the guqin, a visual guqin music score which can be referred by a guqin player is generated. In this application embodiment, preset the corresponding relation of predetermineeing the bullet dynamics and predetermineeing the visual element of dynamics, that is to say, the visual element of dynamics that the dynamics corresponds is different to different bullet dynamics. This corresponding relation can be stored in computer or other memory in advance, when needs call this corresponding relation, can directly obtain this corresponding relation to obtain the visual element of the dynamics that this bullet dynamics corresponds according to the bullet dynamics that detects at present and this corresponding relation, show this bullet dynamics through the visual element of dynamics.

Similarly, the time visualization element corresponding to the duration and the word reduction corresponding to the oscillogram can also be obtained.

The visual element of dynamics is not specifically injectd to this application, and the visual element of dynamics can be dynamics sign. Similarly, the time visualization element may also be a time marker. The person skilled in the art can select an appropriate representation mode to represent the force visualization element and the time visualization element according to actual needs.

For the convenience of understanding of those skilled in the art, the following description will be given by taking a strength visualization element as a strength indicator and a time visualization element as a time indicator.

Step 204: and generating a visual guqin music score according to the force visual element, the time visual element and the abbreviated character.

Because the weight of playing the guqin is slowly and quickly influenced by the power generation of the fingers, through the visual guqin music score, a violator can know the power generation of the fingers and the duration time of the control music. The light and heavy of guqin is relaxed, and the power of the light and heavy of the right hand of the qin is played out and is fluctuated far and near in space, and with the time, the left hand of the qin is delayed, attracted, paused, rotated, curled and reciprocated on the time flat layer, the atmosphere of irregular but dense when playing the guqin is manufactured, so that the audience can feel the space-time body, and the connotation and the artistic conception of the guqin music are realized.

To facilitate understanding by those skilled in the art, the process of generating a visualized guqin spectrum is described below in conjunction with a specific scenario.

For different scenes, the loudness of the musical tones in the music and the duration of the musical tones can be acquired in different ways, and the following description is divided into two scenes.

Scene one: and generating a visual guqin music score by the abbreviated character music score.

In order to facilitate the qin players to learn the ancient qin, the qin players can accurately master the rhythm of the qin music without master mouth dictation, and need to provide a reference standard for the qin players to play the light and heavy joss of the qin music. Therefore, the lightness and the slowness of the music can be recorded by converting the abbreviated character spectrum into a visual guqin music spectrum.

In order to facilitate understanding by those skilled in the art, the following description will be made in detail taking, as an example, measurement of the loudness of musical tones and the duration of musical tones by a sound level meter.

Specifically, in the process of converting the abbreviated character notation into the visual guqin notation, a sound level meter is utilized to collect the music of a guqin with better musical skill when a guqin player plays the guqin according to the target abbreviated character notation, and the loudness and duration of each musical tone in the music are analyzed.

The sound level meter can be used for directly obtaining the decibel value of the loudness, and the plucking strength which the piano player should apply to the strings when the musical tones are generated can be obtained according to the corresponding relation between the predefined decibel value interval and the plucking strength.

In order to make the plucking force visual, the symbols can be preset to the force identifications corresponding to different plucking forces, and the preset symbols can be characters or figures.

The following are detailed by way of example.

When the preset symbol is a character, the force mark is as shown in table 1 below.

TABLE 1

Degree of force Dynamics identification Means of
Grade of weakness -2 Force subtracting two
Grade of weakness -1 Force is reduced by one
Medium force level 0 Moderate force
Grade of sub-strength 1 Force plus one
Grade of strength 2 Force plus two

As can be seen from table 1, the force level can be represented by a number, and the medium force level is marked as "0"; the strength corresponding to the secondary weak strength grade is smaller than the strength corresponding to the medium strength grade, the mark of the secondary weak strength grade is-1, and the reduction of the strength is indicated on the basis of the medium strength corresponding to the medium strength grade; similarly, the mark of the weak strength grade is "-2", which indicates that the force is reduced on the basis of the strength corresponding to the weak strength grade; the mark of the secondary strength grade is +1, which indicates that the force is applied on the basis of the medium strength corresponding to the medium strength grade; the strength level is marked as "+ 2" and indicates that the force is applied on the basis of the strength corresponding to the secondary strength level.

The method for representing the force indicator when the preset symbol is a graphic is described below.

Referring to fig. 3, the figure is a schematic diagram of a force identifier provided in the embodiment of the present application.

Where Y denotes a reference line, and F1, F2, F3, F4, and F5 respectively denote the intensity levels of different musical tones.

Taking the medium force as a datum line Y, F2 represents the medium force level; the graphs corresponding to F1 and F3 are both positioned on the first side (namely, above) of the datum line Y, force is applied on the basis of the force corresponding to the middle force level, and because the distance between the graph corresponding to F3 and the datum line is larger than that between the graph corresponding to F1 and the datum line, F3 represents the strength level, and F1 represents the second strength level; the graphs corresponding to F4 and F5 are both located on the second side (i.e., below) of the reference line Y, and show that the force is reduced based on the force corresponding to the middle force level, and since the distance between the graph corresponding to F5 and the reference line is greater than the distance between the graph corresponding to F4 and the reference line, F5 shows the weak force level, and F4 shows the second weak force level.

In some embodiments, the force identification can also be represented by a combination of words and figures.

Referring to fig. 4, a schematic diagram of another force identifier provided in the embodiment of the present application is shown.

It can be seen from the figure that when the force identifications are jointly represented by characters and graphs, the plucking force corresponding to different force identifications can be more easily distinguished, so that the plucking force applied to the strings by a player is obtained.

The duration of the musical tone can be directly obtained using a sound level meter. Similarly, in order to visualize the duration, the level corresponding to the duration may be indicated by a text or a graphic.

When the level corresponding to the duration is expressed by a character, description will be given taking an example in which five tones are included in the musical composition.

Referring to fig. 5, a graph of a level corresponding to a duration provided in the embodiment of the present application is shown.

In the figure, "0.5" indicates that the duration of the first music should be 0.5 seconds, "1" indicates that the duration of the second music should be 1 second, "0.8" indicates that the duration of the third music should be 0.8 seconds, "1.3" indicates that the duration of the fourth music should be 1.5 seconds, and "1.5" indicates that the duration of the fifth music should be 1.5 seconds.

The following describes graphically representing the level to which the duration corresponds.

Referring to fig. 6, a schematic diagram of a level corresponding to another duration provided in the embodiment of the present application is shown.

The length of the graph corresponding to P1 is L1, the length of the graph corresponding to P2 is L2, the length of the graph corresponding to P3 is L3, the length of the graph corresponding to P4 is L4, and the length of the graph corresponding to P5 is L5.

As can be seen from the figure, L5< L1< L3< L2< L4. P5 indicates a first rank, the duration interval of the first rank is (0, 0.5], (P1) indicates a second rank, the duration interval of the second rank is (0.5, 1], (P3) indicates a third rank, the duration interval of the third rank is (1, 1.5], (P2) indicates a fourth rank, the duration interval of the fourth rank is (1.5, 2], (P4) corresponds to a musical tone having a duration exceeding 2 seconds, and thus P4 can be represented by a combination of the first rank and the fourth rank, and (2, 2.5) corresponds to a musical tone having a duration interval of P4.

In some embodiments, the level corresponding to the duration may also be represented by a combination of text and graphics.

Referring to fig. 7, a schematic diagram of a level corresponding to another duration provided in the embodiment of the present application is shown.

As can be seen from the figure, when the levels corresponding to the durations are represented by the combination of the characters and the figures, the durations of different tones are more easily distinguished, so that the player can obtain the durations of the tones.

And after the plucking strength and the duration are obtained, generating a visual guqin music score according to the plucking strength and the duration.

In an optional implementation mode, different visual elements of dynamics are dialled to the bullet, convert the visual element of dynamics into the dynamics sign, and in the same way, different durations correspond different visual elements of time, convert the visual element of time into the time sign. And then can be when generating the guqin musical instrument register for easy reference, including dynamics sign and time identification in the guqin musical instrument register for easy reference, make guqin musical instrument register for easy reference visual. The strength mark in the visual guqin music score can indicate the strength grade, and a violator can apply corresponding plucking strength to the string according to the strength grade; similarly, the time stamp may indicate a time scale, and the player may control the duration of the tone according to the time scale. Consequently, the technical scheme that this application embodiment provided can produce visual guqin musical instrument register for easy reference, and the musical instrument person can obtain the duration to the plucking dynamics of string and musical tone according to visual guqin musical instrument register for easy reference, and then can produce the artistic conception of free flowing away, the fluctuation of falling down through playing the guqin.

Referring to fig. 8, the figure is a schematic diagram of a visualized guqin music score provided in the embodiment of the present application.

Y1-Y5 respectively represent five different tones, and as can be seen from the figure, the playing strength corresponding to Y1 is the level of the second weakness, and the duration of the tone corresponding to Y1 is 0.6 second; the playing strength corresponding to Y2 is the middle strength grade, and the duration of the musical sound corresponding to Y2 is 1 second; the playing strength corresponding to Y3 is a weak strength grade, and the duration of the musical sound corresponding to Y3 is 0.8 second; the playing strength corresponding to Y4 is the secondary strength grade, and the duration of the musical sound corresponding to Y4 is 1.2 seconds; the playing strength corresponding to Y5 is the second weakness level, and the duration of the tone corresponding to Y5 is 0.4 second.

Therefore, a violator can master the rhythm of the music through the visual guqin music score and play the light and heavy slow and fast music.

The force indicators and time indicators described in fig. 3-8 are only illustrative, and those skilled in the art can select other ways to represent the force indicators and time indicators according to actual needs, for example, they can be represented by text or graphic colors.

Reference is made to fig. 9, which is a schematic diagram of another visualized guqin notation provided in the embodiments of the present application.

The visual guqin score shown in fig. 9 further includes a character reduction on the basis of fig. 8, so that a violator can obtain the playing mode of the strings according to the character reduction, and obtain the playing strength and the duration of the tones applied to the strings by combining the playing strength identification and the time identification. Therefore, even if the player does not have the master to teach the heart, the player can accurately grasp the rhythm of the music and play the music with the degree of urgency.

In addition, a staff or a digital numbered musical notation can be added to the visualized guqin notation shown in fig. 9 to represent the visualized guqin notation together with the character reduction, the strength identification and the time identification.

Referring to fig. 10, there is provided a schematic diagram of a further visualized guqin notation according to an embodiment of the present application.

As can be seen from the figure, the visual guqin music score also comprises a digital numbered musical notation.

Referring to fig. 11, there is provided a schematic view of another visualized guqin notation according to an embodiment of the present application.

As can be seen from the figure, the visualized guqin music score also comprises a staff, so that the problem that the weight and the urgency of playing the guqin cannot be accurately recorded by the staff can be solved.

Scene two: the difference between a plurality of players playing the guqin is compared.

For the convenience of understanding of those skilled in the art, the difference between two players playing the guqin will be described as an example.

When two violators play through the preset character reduction spectrum, because the rhythm of the musical instrument is not recorded in the character reduction spectrum, the two violators can play the same tone according to the fingering and the fingering recorded by the character reduction spectrum, but cannot play the same rhythm. However, the difference between two violators playing the guqin is only compared through the subjective hearing of the audience, and the objectivity is lacked, so that the loudness of the musical tones and the duration of the musical tones when the two violators playing the guqin can be respectively collected to generate a visual guqin spectrum.

For example, two players are player a and player B, respectively, in order to further reduce comparison errors, player a and player B are enabled to play guqinqing respectively in the same environment according to a hyphenation spectrum, and the loudness and duration of musical tones during playing by player a and player B are respectively collected by using a sound level meter.

Optionally, the violator a plays the guqin music at the first position, and simultaneously, at the second position, the loudness and duration of the musical tones of the violator a during playing are collected by using a sound level meter, so as to generate a visual guqin spectrum a according to the loudness and duration; in order to reduce errors generated when the sound level meter collects sounds, a violator B can play the guqin music at a first position, meanwhile, the loudness and duration of the music sounds when the violator B plays are collected by the sound level meter at a second position, and a visual guqin spectrum B is generated according to the loudness and the duration.

After the visual guqin music score A and the visual guqin music score B are obtained, the difference between the player A and the player B in playing can be directly compared through the loudness of the musical tones recorded in the music scores and the duration of the musical tones.

In addition, the playing characteristics of violators in different genres can be recorded according to the visual guqin score. The process of specifically generating the visual guqin score is similar to the above process, and is not repeated here.

The above embodiment describes a method for generating a visual guqin score, and the following method embodiment describes detecting whether a guqin is a guqin meeting the standard.

The second method embodiment:

due to the different qualities of the guqin, different loudness may be produced when the same plucking force is applied to different strings of the same guqin. The guqin generally comprises seven strings, and for the sake of convenience of description, two strings of the guqin will be described as an example.

Therefore, the same plucking force can be applied to different strings of the same Guqin, and whether the Guqin is a harmonica is judged by detecting the loudness generated by each string. Wherein, even musical instrument shows when exerting the same power of plucking to the different strings of guqin, the loudness that every string produced is the same.

Referring to fig. 12, a flowchart of a method for detecting a guqin according to an embodiment of the present application is shown.

The method comprises the following steps:

step 1001: detecting a first loudness of production of the guqin, the first loudness produced by applying a first plucking force on a first string of the guqin.

As a possible implementation mode, in the process of detecting the first loudness generated by the Guqin, the first string of the Guqin can be stirred by a player for multiple times by utilizing the same plucking force, the loudness generated by the Guqin is detected by utilizing a sound level meter, and the detection result of the loudness for multiple times is averaged and then is used as the first loudness.

Step 1002: detecting a second loudness of the production of the guqin, the second loudness being produced by applying a first plucking force on a second string of the guqin.

The process of detecting the second loudness produced by a guqin is similar to the process of detecting the first loudness produced by a guqin. In order to further reduce detection errors, in the process of detecting the first loudness and the second loudness, the action of pulling the strings can be completed by the same player, and the same sound level meter is used for detecting the first loudness generated by the vibration of the first strings and the second loudness generated by the vibration of the second strings at the same position.

Step 1003: and obtaining a difference value between the first loudness and the second loudness, and determining that the guqin is a yunqin when the difference value is smaller than a preset threshold value.

The preset threshold value can be 2dB or 3dB, and the size of the preset threshold value can be set by a person skilled in the art according to the actual requirement of the seven-stringed plucked instrument.

For example, when the preset threshold is 3dB, if the detected first loudness is 63dB, the detected second loudness is 61dB, the difference between the first loudness and the second loudness is 2dB, and 2dB <3dB, it indicates that the first loudness generated when the first force is applied to the first string is similar to the second loudness generated when the first force is applied to the second string, so that it can be determined that the guqin is a yunqin.

Similarly, if the first loudness is 63dB, the second loudness is 53dB, the difference between the first loudness and the second loudness is 10dB, and 10dB >3dB, it is determined that the guqin is not a yunqin.

In this embodiment, confirm whether the guqin is the in-process of even musical instrument, utilize the loudness that the string vibration of sound level meter detection guqin produced, judge whether the guqin is even musical instrument through objective data, and then avoided subjective sense of hearing to the influence of judging, reduce the error of judgement.

The first embodiment of the device:

the embodiment of the device of the application provides a method for generating a visual guqin music score, which is specifically described below by combining with an attached drawing.

Referring to fig. 13, the device for generating a visualized guqin notation provided in the embodiment of the present application is schematically illustrated.

This generate visual guqin musical instrument register for easy reference's device includes: a detection unit 1101, a determination unit 1102 and a processing unit 1103.

The detection unit 1101 is configured to detect the loudness of a musical tone in a musical tune, the duration of the musical tone, and a waveform diagram of the musical tone.

The determining unit 1102 is configured to determine a decibel value of the loudness, and determine a plucking force applied to the string according to the decibel value.

The processing unit 1103 is configured to determine a force visualization element corresponding to the plucking force according to a correspondence between the preset plucking force and a preset force visualization element; determining a time visualization element corresponding to the duration according to the corresponding relation between the preset duration and the preset time visualization element; determining a character reduction corresponding to the oscillogram according to the corresponding relation between a preset waveform and a preset character reduction; and generating a visual guqin music score according to the force visual element, the time visual element and the abbreviated character.

As a possible implementation manner, the determining unit 1102 is specifically configured to determine a decibel value interval corresponding to the decibel value; determining the dynamics level corresponding to the decibel value interval according to a preset first corresponding relation between the decibel value interval and the dynamics level; and determining the plucking strength according to the strength grade.

As a possible implementation manner, the processing unit 1103 is specifically configured to convert the strength visualization element into a strength identifier, where the strength identifier is used to indicate the strength level; converting the time visualization element into a time marker, the time marker being indicative of a temporal level; the strength mark and the time mark are used for generating the visual guqin music score together with the abbreviated character.

In addition, in some scenes, after the violator learns the target music in a first study, the quality of the performance of the violator can be known through the device.

Specifically, the processing unit 1103 is further configured to determine whether a visualized guqin score of a musical tone generated by a player playing the target qin music is consistent with a visualized standard guqin score; if so, generating first feedback information, wherein the first feedback information is used for indicating that the playing degree of the violator is better; and if not, generating second feedback information, wherein the second feedback information comprises musical tones with inconsistent visual guqin music scores and visual standard guqin music scores, so as to prompt a violator to improve.

In addition, the device can be used for obtaining the difference of players with different genres and styles when playing the same music, namely, the difference of the tone at which the tone is different is confirmed when the players with different genres and styles play the same music.

In addition, the embodiment of the present application further provides a computer-readable storage medium, which includes instructions, when executed, for performing the method described in any of the above method embodiments.

When the music score of the Guqin is generated, the plucking force of a player playing the strings and the duration time of the musical tones generated by the strings are not determined, so that only fingering, finger positions and approximate rhythm are recorded in the generated music score, and the plucking force and the duration time are the characteristic points of playing difference of the Guqin and other musical instruments. Therefore, when the musical instrument spectrum is generated, fingering and finger positions are considered, and plucking strength and duration are also considered. Specifically, this application embodiment provides a device of visual guqin musical notation of generation, and the device includes: the device comprises a detection unit, a determination unit and a processing unit; the detection unit is used for detecting the loudness of the musical tones in the music and the duration of the musical tones; the determining unit is used for determining a decibel value of the loudness and determining the plucking force applied to the string according to the decibel value; and the processing unit is used for generating a visual guqin music score according to the plucking force and the duration. The technical scheme that this application embodiment provided after generating visual guqin musical instrument register, not only record fingering and finger position in the visual guqin musical instrument register, record the dynamics of plucking and duration moreover, and then can embody the dynamics of plucking and duration in the visual guqin musical instrument register, make the weight of guqin performance slowly anxious visual.

The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, they are described in a relatively simple manner, and reference may be made to some descriptions of method embodiments for relevant points. The above-described system embodiments are merely illustrative, and the units and modules described as separate components may or may not be physically separate. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.

It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.

The foregoing is merely a preferred embodiment of the present application and is not intended to limit the present application in any way. Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application. Those skilled in the art can now make numerous possible variations and modifications to the disclosed embodiments, or modify equivalent embodiments, using the methods and techniques disclosed above, without departing from the scope of the claimed embodiments. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application still fall within the protection scope of the technical solution of the present application without departing from the content of the technical solution of the present application.

21页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于移动终端的音频文件的制作方法及装置

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!