A method and device for controlling multiple parts of a musical score
By dynamically generating volume controls to adjust the volume of multiple parts in a musical score, the problem of traditional sheet music tools being unable to adjust in real time is solved, thus improving the flexibility and accuracy of music teaching.
Patent Information
- Application Number
- CN202410527128.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2044-04-29
AI Technical Summary
Traditional sheet music tools cannot adjust the volume of multiple parts in real time, which limits the flexibility of teaching and fails to meet teaching needs.
By acquiring musical score information and dynamically generating volume controls, teachers can flexibly adjust the volume of each voice part and modify the volume of the single staff according to teaching needs, thus achieving precise control of the volume of each voice part.
It has improved the flexibility and accuracy of music teaching, ensured that the musical performance meets the teaching requirements, and improved the quality and effectiveness of teaching.
Smart Images

Figure CN118447744B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of music teaching technology, specifically to a method and device for controlling multiple parts of a musical score. Background Technology
[0002] Traditionally, music teaching often relies on paper or electronic sheet music to guide students in playing musical works. However, during the teaching process, teachers may need to make real-time adjustments to the sheet music based on students' performance or teaching needs. For example, they may adjust the volume of different voices to highlight a certain part, or simplify the sheet music to suit students' skill levels.
[0003] However, existing sheet music tools have some limitations, which restrict the flexibility of teaching. For example, when a sheet music has multiple parts, teachers cannot directly modify the volume of each part in real time, which reduces the teaching effect and makes the teaching process inflexible, unable to adjust the sheet music in a timely manner according to the actual situation to meet teaching needs. Summary of the Invention
[0004] To address the aforementioned technical problems, the present invention provides the following technical solution:
[0005] One aspect provides a method for controlling multiple voices in a musical score, which includes:
[0006] Obtain the vocal information of the first single clef;
[0007] Based on the vocal information, several vocal parts are obtained, as well as the volume of the first vocal part of each of the vocal parts;
[0008] By responding to the volume control, the volume of the first part of each of the said voice parts is changed to the volume of the second part;
[0009] Vocal information for the second single clef is obtained based on the volume of the second voice part.
[0010] More preferably, the acquisition of the vocal information of the first single spectral notation includes:
[0011] The total score data is obtained by decompressing the JSON format score.
[0012] Based on the total score data, obtain several individual staff objects from the score;
[0013] The vocal information of the first single stave is obtained based on one of the single stave objects.
[0014] More preferably, the vocal information includes at least one of single-stamp volume key pairs, voice part arrays, and note dynamics values.
[0015] More preferably, obtaining a plurality of vocal parts and the volume of the first vocal part of each of the vocal parts based on the vocal information includes:
[0016] The plurality of voice parts are obtained based on the aforementioned voice part array;
[0017] The spectrum volume of the first single spectrum is obtained according to the single spectrum volume key value pair, wherein the spectrum volume is 0-100;
[0018] Based on the spectral volume, the volume of the first voice part of each voice part is obtained according to the dynamic value of the note.
[0019] More preferably, the note dynamic value is equal to the product of the previous note dynamic value, the staff volume divided by 100, and the total volume of the score divided by 100.
[0020] More preferably, the method further includes:
[0021] The volume control for each of the aforementioned voice parts is obtained based on the aforementioned voice parts;
[0022] The volume control displays the volume of the first sound part for each of the sound parts on the display interface, wherein the volume of the first sound part is 0-100.
[0023] More preferably, the display states of the volume control include a mute icon, a low volume icon, a medium volume icon, and a high volume icon.
[0024] More preferably, the step of changing the volume of the first sound part to the volume of the second sound part for each of the sound parts by responding to the volume control includes:
[0025] Based on the volume control, a first adjustment value is obtained by receiving a first adjustment command for each of the said sound parts;
[0026] The volume of the second voice part for each of the said voice parts is obtained according to the first adjustment value; and / or;
[0027] Receive the second adjustment command for the overall volume of the musical score and obtain the second adjustment value;
[0028] The volume of the first voice part of the plurality of voice parts is modified according to the second adjustment value, wherein the volume of the second voice part is 0-100.
[0029] More preferably, the vocal information obtained from the second single spectral based on the volume of the second voice part includes:
[0030] Get the volume of the second voice part;
[0031] The monospectral volume key pair is obtained based on the volume of the second voice part;
[0032] The dynamic value of the note is obtained based on the volume of the second voice part.
[0033] On the other hand, a control system for multiple parts of a musical score is provided, the control system including at least one processor; and a memory storing instructions that, when executed by the at least one processor, perform the steps of the method described above.
[0034] The beneficial effects of this invention are as follows: It dynamically generates volume controls based on the number of voices in the score, allowing teachers to easily adjust the volume of each voice as needed. It adapts to the actual situation of the score, providing teachers with a more convenient operating method. It also allows for flexible modification of the single-staff volume, thereby adjusting the performance of the musical work according to teaching needs. Furthermore, it sets the MIDI volume based on the single-staff volume during playback, achieving precise control of the volume of each voice. This ensures that the performance of the music during playback meets teaching requirements, improving the accuracy and quality of music teaching. The efficient and accurate flexible control of the volume of each voice effectively improves the teaching quality and effect of the score, helping teachers better cope with different teaching scenarios and student needs, and enhancing the flexibility and adaptability of teaching. Attached Figure Description
[0035] Figure 1 These are schematic diagrams of some embodiments of the present invention;
[0036] Figure 2 These are schematic diagrams of some embodiments of the present invention;
[0037] Figure 3 These are schematic diagrams of some embodiments of the present invention. Detailed Implementation
[0038] The technical solution of the present invention will now be clearly and completely described in conjunction with the accompanying drawings and embodiments.
[0039] Some embodiments of the present invention relate to a control system for multiple parts of a musical score, such as Figure 2 As shown, the control system 1 includes at least one processor 2; and a memory 3 storing instructions that, when executed by at least one processor 2, are used to perform all the steps in the following method implementation.
[0040] In these implementations, the volume of the music score is controlled by displaying a corresponding number of volume controls 5 on the display interface 4 according to the maximum number of the music parts. Based on the teacher's human-computer interaction, the volume of the music parts can be modified on the display interface 4 through the volume controls 5.
[0041] Some embodiments of the present invention relate to a method for controlling multiple voices in a musical score, the method comprising:
[0042] Obtain the vocal information of the first single clef;
[0043] Based on the vocal information, several vocal parts are obtained, as well as the volume of the first vocal part of each of the vocal parts;
[0044] By responding to the volume control, the volume of the first part of each of the said voice parts is changed to the volume of the second part;
[0045] Vocal information for the second single clef is obtained based on the volume of the second voice part.
[0046] In these implementations, such as Figure 1 As shown, after obtaining the music teaching score, the vocal information and staff volume of the single staff in the score are obtained by decompressing the score. Based on the vocal information of the single staff, the maximum number of voice parts is obtained, and the volume of the first voice part of each voice part is obtained. Then, according to the teaching needs of music teaching, the volume of each voice part is flexibly adjusted through the volume control 5 to obtain the volume of the second voice part of each voice part. The volume of the second voice part is used for music teaching playback. At the same time, the vocal information of the second single staff is obtained based on the volume of the second voice part to prepare for the next adjustment of the voice part volume.
[0047] In a further embodiment, the process of adjusting the volume of the vocal parts for teaching is as follows: Figure 3 As shown, specifically, when teachers conduct music teaching, they first decompress the sheet music file to obtain all the data of the score. Then, they obtain the single staff data from the score, initialize the voice array based on the single staff data, and record the single staff volume. Then, they obtain the volume control based on the maximum number of voices in the single staff and display it on the display interface. Specifically, the volume control is rendered in a loop based on the single staff object.
[0048] Then, when it is necessary to adjust the volume of a part, it is adjusted through the volume control. After the volume control receives the adjustment command, it changes the volume of the first part to the volume of the second part. Then, based on the note characteristics, the total volume of the score and the volume of the individual staffs, the final volume value to be played is obtained, and then the score is played. Multiple individual staff data can be played at the same time. Among them, the note characteristics include, but are not limited to, the note dynamics value.
[0049] In some implementation methods for controlling multiple parts of a musical score, obtaining the vocal information of the first single staff includes:
[0050] The total score data is obtained by decompressing the JSON format score.
[0051] Based on the total score data, obtain several individual staff objects from the score;
[0052] The vocal information of the first single stave is obtained based on one of the single stave objects.
[0053] In these implementations, the sheet music data is preferably in JSON format, and the sheet music data structure for music teaching is as follows: sheet music > multiple staff > single staff > measure > voice part > note > note head. Among them, the single staff usually corresponds to each instrumental voice part or musical element in the sheet music, such as the left and right voice parts in a piano piece, different instrumental voice parts in an orchestral piece, or different voice parts in a choral piece.
[0054] The sheet music data is saved in a local compressed file. The total sheet music data is obtained by decompression, and then individual staff objects are obtained. The number of individual staff volume key-value pairs is recorded as many as there are individual staff objects in the sheet music. The individual staff data records the volume of each individual staff, which is preferably set to 100 by default.
[0055] In some implementations of methods for controlling multiple parts of a musical score, the vocal information includes at least one of a single staff volume key pair, a part array, and a note dynamics value.
[0056] In some implementations of methods for controlling multiple voices in musical scores, obtaining several voices and the volume of the first voice of each voice based on the vocal information includes:
[0057] The plurality of voice parts are obtained based on the aforementioned voice part array;
[0058] The spectrum volume of the first single spectrum is obtained according to the single spectrum volume key value pair, wherein the spectrum volume is 0-100;
[0059] Based on the spectral volume, the volume of the first voice part of each voice part is obtained according to the dynamic value of the note.
[0060] In some implementations of the control method for multiple parts of a musical score, the dynamic value of the note is equal to the product of the dynamic value of the previous note, the volume of the staff divided by 100, and the total volume of the score divided by 100.
[0061] In these implementations, after decompressing the sheet music file, the sheet music data is obtained, and the initial volume values of each individual staff are obtained. The volume of each individual staff can be adjusted as needed, ranging from 0 to 100.
[0062] During playback, the note dynamics value is represented by pow, which is determined by multiple coefficients. Pow = pow * single staff volume / 100 * total volume / 100. The total volume is set separately by the software and can be modified by the user in the settings. It ranges from 0 to 100, and the volume of all playback will be adjusted according to the total volume.
[0063] In some implementation methods for controlling multiple voices in musical scores, the method further includes:
[0064] The volume control for each of the aforementioned voice parts is obtained based on the aforementioned voice parts;
[0065] The volume control displays the volume of the first sound part for each of the sound parts on the display interface, wherein the volume of the first sound part is 0-100.
[0066] In these embodiments, the position and value of the volume control are displayed according to the single-spectrum volume. Preferably, the volume control includes a slider, and the volume of the single-spectrum part is modified synchronously by adjusting the value of the slider.
[0067] In some implementations of methods for controlling multiple parts of a musical score, the display states of the volume control include a mute icon, a low volume icon, a medium volume icon, and a high volume icon.
[0068] In these implementations, there are four types of icons for the volume control: 1. A mute icon is displayed when the volume is 0; 2. A low volume icon is displayed when 0 < volume < 30; 3. A medium volume icon is displayed when 30 <= volume <= 70; and 4. A high volume icon is displayed when 70 < volume <= 100.
[0069] In some implementations of methods for controlling multiple voices in musical scores, the step of changing the volume of the first voice of each voice to the volume of the second voice by responding to a volume control includes:
[0070] Based on the volume control, a first adjustment value is obtained by receiving a first adjustment command for each of the said sound parts;
[0071] The volume of the second voice part for each of the said voice parts is obtained according to the first adjustment value; and / or;
[0072] Receive the second adjustment command for the overall volume of the musical score and obtain the second adjustment value;
[0073] The volume of the first voice part of the plurality of voice parts is modified according to the second adjustment value, wherein the volume of the second voice part is 0-100.
[0074] In some implementations of methods for controlling multiple voices in musical scores, obtaining the vocal information of the second single staff based on the volume of the second voice includes:
[0075] Get the volume of the second voice part;
[0076] The monospectral volume key pair is obtained based on the volume of the second voice part;
[0077] The dynamic value of the note is obtained based on the volume of the second voice part.
[0078] In these implementations, the volume control is initialized each time the sheet music is opened, and multiple volume controls for different parts are generated based on the maximum number of parts in the sheet music.
[0079] When changing the volume control, modify the single-staff volume of the score, and set the MIDI volume according to the single-staff volume during playback.
[0080] The embodiments and functional operations of the subject matter described in this specification can be implemented in the following ways: digital electronic circuits, tangibly implemented computer software or firmware, computer hardware, including the structures disclosed in this specification and their equivalents, or combinations thereof. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, that is, one or more modules of computer program instructions encoded on one or more tangible non-transitory program carriers, for execution by a data processing device or to control the operation of the data processing device.
[0081] Alternatively or additionally, program instructions may be encoded on artificially generated propagation signals, such as machine-generated electrical, optical, or electromagnetic signals, which are then generated as coded information to be transmitted to an appropriate receiver device executed by data processing equipment. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or one or more combinations of the above.
[0082] The term "data processing device" encompasses all kinds of devices, apparatuses, and machines used for processing data, including, for example, programmable processors, computers, or multiprocessor systems or multicomputer systems. Devices may include special-purpose logic circuitry, such as FPGAs (Field-Programmable Gate Arrays) or ASICs (Application-Specific Integrated Circuits). In addition to hardware, devices may also include code that creates the execution environment for associated computer programs, such as processor firmware, protocol stacks, database management systems, operating systems, or combinations thereof.
[0083] Computer programs (which may also be referred to or described as programs, software, software applications, modules, software modules, scripts, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and can be expanded in any form, including as standalone programs or as modules, components, subroutines, or other units suitable for use in a computing environment. A computer program may, but must not, correspond to a file in a file system. A program may be stored as a portion of a file containing other programs or data, for example, as one or more scripts in a markup language document; in a single file dedicated to the related program; or in multiple co-files, for example, a file storing one or more modules, subroutines, or code portions. A computer program can be expanded to execute on one or more computers located in one place or distributed across multiple locations and interconnected via a communication network.
Claims
1. A method of controlling a polyphonic part of a musical score, characterized in that, The method includes: Obtaining the vocal information of the first single staff includes: obtaining the total score data by decompressing the JSON format score; obtaining several single staff objects in the score based on the total score data; obtaining the vocal information of the first single staff based on one of the single staff objects; the vocal information includes at least one of single staff volume key value pairs, voice part arrays, and note dynamic values; Obtaining several voice parts and the volume of the first voice part of each voice part based on the vocal information includes: obtaining the several voice parts based on the voice part array; obtaining the staff volume of the first single staff based on the single staff volume key value pair, wherein the size of the staff volume is 0-100; and obtaining the volume of the first voice part of each voice part based on the staff volume and the note dynamic value. By responding to the volume control, the volume of the first part of each of the said voice parts is changed to the volume of the second part; Vocal information for the second single clef is obtained based on the volume of the second voice part.
2. The method for controlling multiple voices in a musical score according to claim 1, characterized in that, The dynamic value of the note is equal to the product of the dynamic value of the previous note, the volume of the clef divided by 100, and the total volume of the score divided by 100.
3. The method for controlling multiple voices in a musical score according to claim 1, characterized in that, The method also includes: The volume control for each of the aforementioned voice parts is obtained based on the aforementioned voice parts; The volume control displays the volume of the first sound part for each of the sound parts on the display interface, wherein the volume of the first sound part is 0-100.
4. The method for controlling multiple voices in a musical score according to claim 1, characterized in that, The volume control displays a mute icon, a low volume icon, a medium volume icon, and a high volume icon.
5. The method for controlling multiple voices in a musical score according to claim 1, characterized in that, The step of changing the volume of the first sound part to the volume of the second sound part for each of the said sound parts by responding to the volume control includes: Based on the volume control, a first adjustment value is obtained by receiving a first adjustment command for each of the said sound parts; The volume of the second voice part for each of the said voice parts is obtained according to the first adjustment value; and / or; Receive the second adjustment command for the overall volume of the musical score and obtain the second adjustment value; The volume of the first voice part of the plurality of voice parts is modified according to the second adjustment value, wherein the volume of the second voice part is 0-100.
6. The method for controlling multiple voices in a musical score according to claim 1, characterized in that, The vocal information obtained from the second single clef based on the volume of the second voice part includes: Get the volume of the second voice part; The monospectral volume key pair is obtained based on the volume of the second voice part; The dynamic value of the note is obtained based on the volume of the second voice part.
7. A control system for multiple voices in a musical score, characterized in that, The control system includes at least one processor; and a memory storing instructions that, when executed by the at least one processor, perform the steps of the method according to any one of claims 1-6.
Citation Information
Patent Citations
Method for stretching complex spectrum with sound part
CN116935702A
Support apparatus for musical instrument training and record medium of information for musical instrument training
JP2000056756A
Recording medium
JP2002333881A
Performance data generating apparatus
JP2005173632A
