Music score editing device
The musical score editing device effectively generates transposed scores by processing and rearranging musical symbols and notes, addressing the limitations of existing devices in handling transposing instruments.
Patent Information
- Application Number
- JP2022044477
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-18
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2042-03-18
AI Technical Summary
Existing musical score recognition devices struggle to generate transposed musical scores effectively, particularly when dealing with transposing instruments.
A musical score editing device that includes an image recognition unit, note recognition unit, note deletion unit, pitch reception unit, note transposition unit, and synthesis unit to process and transpose musical scores, allowing for the generation of transposed musical scores by recognizing musical symbols, deleting unnecessary elements, and rearranging notes based on specified pitch amounts.
Enables the generation of transposed musical scores, improving readability and facilitating performance with transposing instruments by clearly arranging notes and symbols, enhancing the usability of the score.
Smart Images

Figure 0007559792000001 
Figure 0007559792000002 
Figure 0007559792000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a musical score editing device for editing a musical score. [Background technology]
[0002] There are known techniques for recognizing image-formatted musical scores. For example, in a musical score recognition device described in Patent Document 1, a part template corresponding to a musical score read by a scanner is selected from a plurality of pre-stored part templates. Using the selected part template, the musical score read by the scanner is automatically corrected. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2009-98161 A Summary of the Invention [Problem to be solved by the invention]
[0004] According to the musical score recognition device described in Patent Document 1, if the musical score read by the scanner reflects a transposing instrument, the key signature can be corrected. However, with the technology described in Patent Document 1, it is difficult to generate a transposed musical score.
[0005] An object of the present invention is to provide a musical score editing device capable of generating transposed musical scores. [Means for solving the problem]
[0006] A musical score editing device according to one aspect of the present invention includes an image recognition unit that recognizes an image of the musical score before transposition as first image data, a pitch accepting unit that accepts a designation of a pitch amount indicating the difference between the key before transposition and the key after transposition, a note recognition unit that recognizes the notes in the first image data, a note deletion unit that outputs second image data in which the notes have been deleted from the first image data, a note transposition unit that outputs third image data indicating an image of the notes after transposition based on the pitch amount designated in the pitch accepting unit, and a synthesis unit that outputs fourth image data indicating an image of the musical score after transposition by synthesizing the second image data and the third image data. Effect of the Invention
[0007] According to the present invention, transposed musical scores can be generated. [Brief description of the drawings]
[0008] [Figure 1] 1 is a block diagram showing a configuration of a processing system including a musical score editing device according to an embodiment of the present invention. [Diagram 2] 1 is a block diagram showing a configuration of a musical score editing device; [Diagram 3] 4 is a diagram showing an example of an image of a musical score based on first image data recognized by an image recognition unit. FIG. [Figure 4] 11 is a diagram showing an example of an image of a musical score element based on image data generated from the first text data. FIG. [Diagram 5] FIG. 11 is a diagram showing an example of an image of a musical score based on the second image data. [Figure 6] FIG. 13 is a diagram showing an example of an image of a transposed musical score element based on the third image data. [Figure 7] FIG. 13 is a diagram showing an example of an image of a transposed musical score based on the fourth image data. [Figure 8] FIG. 13 is a partially enlarged view showing an example of an image of a transposed musical score in the first modified example. [Figure 9] FIG. 13 is a partially enlarged view showing an example of an image of a transposed musical score in the second modified example. [Figure 10]FIG. 13 is a partially enlarged view showing an example of an image of a transposed musical score in the third modified example. [Figure 11] FIG. 13 is a diagram for explaining a fourth modified example. [Figure 12] FIG. 13 is a diagram showing an example of an image of a transposed musical score in the fourth modified example. [Figure 13] 13A to 13C are partial enlarged views showing examples of images of a musical score before and after transposition in the fourth modified example. [Figure 14] FIG. 13 is a partially enlarged view showing an example of an image of a transposed musical score in the fifth modified example. [Figure 15] FIG. 13 is a partially enlarged view showing an example of an image of a transposed musical score in the sixth modified example. [Figure 16] 3 is a flowchart showing an example of a score editing process performed by the score editing device of FIG. 2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (1) Processing system configuration A score editing device according to an embodiment of the present invention will be described in detail below with reference to the drawings. Fig. 1 is a block diagram showing the configuration of a processing system including a score editing device according to an embodiment of the present invention. As shown in Fig. 1, the processing system 100 includes a RAM (random access memory) 110, a ROM (read only memory) 120, a CPU (central processing unit) 130, a storage unit 140, an operation unit 150, and a display unit 160.
[0010] The processing system 100 is realized by a computer such as a personal computer, a tablet terminal, a smartphone, or smart glasses. Alternatively, the processing system 100 may be realized by the cooperative operation of multiple computers connected by a communication path such as Ethernet, or may be realized by an electronic musical instrument with a performance function such as an electronic piano.
[0011] The RAM 110, the ROM 120, the CPU 130, the storage unit 140, the operation unit 150 and the display unit 160 are connected to a bus 170. The RAM 110, the ROM 120 and the CPU 130 constitute the musical score editing device 10.
[0012] The RAM 110 is, for example, a volatile memory, and is used as a working area for the CPU 130. The ROM 120 is, for example, a non-volatile memory, and stores a score editing program. The CPU 130 executes the score editing program stored in the ROM 120 on the RAM 110 to perform score editing processing. The score editing processing will be described in detail later.
[0013] The score editing program may be stored in the storage unit 140 instead of the ROM 120. Alternatively, the score editing program may be provided in a form stored in a computer-readable storage medium and installed in the ROM 120 or the storage unit 140. Alternatively, when the processing system 100 is connected to a network such as the Internet, the score editing program may be distributed from a server (including a cloud server) on the network and installed in the ROM 120 or the storage unit 140.
[0014] The storage unit 140 includes a storage medium such as a hard disk, an optical disk, a magnetic disk, or a memory card. The storage unit 140 stores in advance templates (including notation fonts for drawing musical scores) for identifying various musical symbols included in image data showing an image of a musical score (so-called static musical score) or weight parameters of a learning model used in deep learning or the like.
[0015] The operation unit 150 includes a pointing device such as a mouse or a keyboard, and is operated by a user to give predetermined instructions to the score editing device 10. The display unit 160 includes, for example, a liquid crystal display, and displays the results of the score editing process by the score editing device 10. The operation unit 150 and the display unit 160 may be configured as a touch panel display.
[0016] (2) Configuration of the Music Score Editing Device Fig. 2 is a block diagram showing the configuration of the score editing device 10. As shown in Fig. 2, the score editing device 10 includes, as functional units, an image recognition unit 11, a note recognition unit 12, a note deletion unit 13, a pitch acceptance unit 14, a note transposition unit 15, a synthesis unit 16, and a correction acceptance unit 17. The functional units of the score editing device 10 are realized by the CPU 130 in Fig. 1 executing a score editing program. At least a part of the functional units of the score editing device 10 may be realized by hardware such as an electronic circuit.
[0017] The image recognition unit 11 recognizes first image data showing an image of a musical score by identifying various musical symbols in a given image of the musical score based on templates stored in the storage unit 140 or a weight learning model using deep learning or the like. Fig. 3 is a diagram showing an example of an image of a musical score based on the first image data recognized by the image recognition unit 11.
[0018] In this example, only musical symbols related to transposition need to be recognized. For example, musical symbols not related to transposition, such as bar lines or repeat symbols, do not need to be recognized. On the other hand, by recognizing musical symbols not related to transposition and drawing as shown in FIG. 3, it is possible to generate a score with clear lines even if a part of a line overlapping with another symbol is deleted by the note deletion unit 13 described later. Since it is difficult to recognize and redraw a line if the line is distorted, the symbols to be recognized and the symbols to be deleted may be determined taking into account the performance of the recognition function or the quality of the score to be processed.
[0019] A user can provide an image of a desired score before transposition to the image recognition unit 11. The image of the score before transposition may be an image in AR (Augmented Reality) that can be viewed through a smart device or smart glasses. The same applies to the image of the score after transposition. In the example of FIG. 3, the score of Burgmuller's Etude No. 10 "Tendre fleur (Gentle Flower)" is provided to the image recognition unit 11. The numbers written above or below the notes in the score are finger numbers indicating the fingers to be used when playing the notes on the piano.
[0020] The note recognition unit 12 recognizes notes, accidentals, staves, clefs, key signatures, or time signatures (hereinafter referred to as musical score elements) in the first image data recognized by the image recognition unit 11. The note recognition unit 12 also generates first text data indicating the recognized musical score elements and the coordinates of the musical score elements. FIG. 4 is a diagram showing an example of an image of a musical score element based on image data generated by drawing a notation font or lines from the first text data. As shown in FIG. 4, it is possible to generate image data in a format such as PNG (Portable Network Graphics) indicating an image of a musical score element based on the first text data.
[0021] The note deletion unit 13 outputs second image data in which musical score elements are deleted from the first image data recognized by the image recognition unit 11 based on the first text data generated by the note recognition unit 12. FIG. 5 is a diagram showing an example of an image of a musical score based on the second image data. As shown in FIG. 5, in the second image data, musical symbols other than the notes, accidentals, staff lines, clefs, key signatures, and time signatures contained in the first image data remain as peripheral information. Examples of peripheral information include performance symbols, notes, explanations, etc., and in the example of FIG. 5, the title of the song and performance symbols (tempo, dynamics, inspirational motto, articulation (slur or staccato), and playing technique (finger number or pedal), etc.) correspond to the above.
[0022] The image of the musical score in Fig. 5 can be generated as a residual between the image of the musical score in Fig. 3 and the image of the musical score elements in Fig. 4. That is, the image in Fig. 4 is used as a mask image for deleting the musical score elements from the image in Fig. 3, and overlapping portions between each pixel of the image in Fig. 3 and each pixel of the image in Fig. 4 are deleted. Note that, in order to reliably delete unnecessary portions from the image in Fig. 3, the note deletion unit 13 may generate the image data in Fig. 4 so that the notes, accidentals, staff lines, clefs, key signatures, and time signatures in the image data in Fig. 4 are slightly expanded.
[0023] Examples of methods for expanding an image include morphological operations (expansion processing), or using the bounding box (rectangle surrounding the symbol) area for each symbol obtained during music score recognition as a mask image. In addition, since some symbols may be tilted at an angle (e.g., treble clef, note head, or segno), a rotation process may be combined to generate a more accurate mask image (the image in Figure 4).
[0024] The pitch receiving unit 14 receives a pitch amount designation from the user. The user can provide the pitch amount indicating the difference between the key before transposition and the key after transposition to the pitch receiving unit 14 by operating the operation unit 150. The pitch amount may be given as the number of semitones or the number of sharps or flats in the key signature.
[0025] Alternatively, the pitch accepting unit 14 may accept a key designation from the user. In this case, the pitch accepting unit 14 detects the pre-transposition key from the notes recognized by the note recognizing unit 12 in the pre-transposition score, as indicated by the dotted arrow in Fig. 2. The pitch accepting unit 14 also compares the detected pre-transposition key with the designated post-transposition key to accept the designation of the above-mentioned pitch amount.
[0026] The note transposition unit 15 generates second text data indicating the transposed score elements and the coordinates of the score elements based on the pitch amount specified by the pitch receiving unit 14. In this example, the second text data is generated by rewriting the coordinates of each note in the first text data so that each note is positioned at a position shifted vertically relative to the staff by the specified pitch amount. In addition, the note transposition unit 15 outputs third image data indicating an image of the transposed score elements based on the generated second text data. FIG. 6 is a diagram showing an example of an image of the transposed score elements based on the third image data.
[0027] The synthesis unit 16 outputs fourth image data showing the transposed musical score by synthesizing the second image data (see FIG. 5) output by the note deletion unit 13 and the third image data (see FIG. 6) output by the note transposition unit 15. FIG. 7 is a diagram showing an example of an image of the transposed musical score based on the fourth image data. The synthesis unit 16 is capable of displaying the image of the transposed musical score on the display unit 160 based on the output fourth image data of FIG. 7.
[0028] The correction receiving unit 17 receives from the user a specification of any note in the fourth image data output by the synthesis unit 16 and a specification of the pitch amount of the note. By operating the operation unit 150, the user can specify a desired note and the pitch amount of the note in the image of the transposed musical score displayed on the display unit 160.
[0029] When a note and a pitch amount are specified in the correction receiving unit 17, the synthesis unit 16 corrects the coordinates of the specified note in the second text data based on the specified pitch amount. This updates the fourth image data, and the specified note is placed in a position in the transposed musical score that is shifted up or down by the specified pitch amount.
[0030] (3) Variations In the image of the transposed score, the peripheral information and the score elements may overlap, which may reduce the readability of the score. Therefore, various processes may be performed to improve the readability of the score.
[0031] FIG. 8 is a partially enlarged view showing an example of an image of a transposed musical score in the first modified example. In the first modified example, the synthesis unit 16 synthesizes the second image data showing the image of the peripheral information and the second image data showing the image of the musical score elements by exclusive OR to output the fourth image data. According to this process, even if the fourth image data is binary data, the overlapping parts of the peripheral information and the musical score elements are shown in white in the image of the transposed musical score as shown in FIG. 8. This improves the readability of the musical score. If the fourth image data is not binary data, the peripheral information and the musical score elements may be displayed in different colors in the image of the transposed musical score.
[0032] FIG. 9 is a partially enlarged view showing an example of an image of a transposed musical score in the second modified example. In the second modified example, the note transposing unit 15 outputs the third image data with the transposed key signature, clef, and time signature in different densities. According to this process, as shown in FIG. 9, in the image of the transposed musical score, the key signature is displayed lighter than the clef and time signature. This improves the readability of the musical score even when the key signature overlaps with the clef or time signature. In the image of the transposed musical score, the key signature may be displayed in a color different from that of the clef or time signature.
[0033] Fig. 10 is a partially enlarged view showing an example of an image of a transposed musical score in the third modified example. In the third modified example, the note transposing unit 15 outputs the third image data by arranging the transposed key signature in the gap between the clef and the time signature. According to this process, as shown in Fig. 10, in the image of the transposed musical score, the key signature is arranged so as not to overlap with the clef and the time signature. This improves the readability of the musical score.
[0034] In the image of the transposed musical score, peripheral information corresponding to each note may be placed near the note. FIG. 11 is a diagram for explaining the fourth modified example. As shown by the dotted line in FIG. 11, the note deletion unit 13 specifies a movement area R in the second image data. The movement area R is an area from a position a predetermined distance above the area where the staff should be placed to a position a predetermined distance below the area where the staff should be placed. The left and right ends of the movement area R are equal to the left and right ends, respectively, of the area where the staff should be placed.
[0035] The note deletion unit 13 positions the peripheral information included in the identified movement area R, among the peripheral information in the second image data, in a position following the transposed note, and outputs the second image data. The synthesis unit 16 outputs fourth image data showing the transposed musical score using the second image data. FIG. 12 is a diagram showing an example of an image of the transposed musical score in the fourth modified example. As shown in FIG. 12, according to the above process, the peripheral information can be positioned near the note in the image of the transposed musical score.
[0036] FIG. 13 is a partially enlarged view showing an example of an image of a musical score before and after transposition in the fourth modified example. The upper part of FIG. 13 shows an image of the musical score before transposition, and the lower part of FIG. 13 shows an image of the musical score after transposition. As shown in FIG. 13, in the fourth modified example, peripheral information such as performance symbols (slurs or fingering numbers, etc.) or writings can be moved while maintaining their positional relationship with the notes. Even if the second image data includes grace notes as peripheral information due to a recognition error or the like, the grace notes can be placed in appropriate positions in the image of the musical score after transposition. In this way, even if the musical score recognition is partially incorrect, the musical score is visually transposed correctly. This is an example showing the effectiveness of the present invention.
[0037] Fig. 14 is a partially enlarged view showing an example of an image of a musical score after transposition in the fifth modified example. As shown in Fig. 14, the peripheral information included in the above-mentioned moving area R may be displayed in a color different from other symbols such as musical score elements. In this case, even if the peripheral information near the note overlaps with the musical score element, the readability of the musical score is improved. The peripheral information included in the moving area R may be displayed in a lighter color than other symbols such as musical score elements.
[0038] FIG. 15 is a partially enlarged view showing an example of an image of a musical score after transposition in the sixth modified example. As shown in FIG. 15, the synthesis unit 16 may add one or more guide straight lines G above or below the staff at intervals equal to the intervals of the staff and output the fourth image data. According to this process, even if a grace note is placed away from the staff in a transposed musical score without ledger lines due to a musical score recognition error or the like, the user can easily recognize the pitch of the grace note based on the guide straight lines G. This allows the user to correctly recognize the pitch of the grace note even if ledger lines cannot be added to the grace note due to a grace note recognition error or the like. Note that although an example of a grace note is shown here, the guide straight lines G may also be used for normal notes.
[0039] In the example of FIG. 15, the number of guide lines G is three, but the embodiment is not limited to this. The number of guide lines G may be arbitrarily specified by the user. Also, in the example of FIG. 15, the guide lines G are displayed as dotted lines, but the guide lines G do not have to be displayed as dotted lines as long as they are distinguishable from the staff lines. For example, the guide lines G may be displayed with a different thickness than the staff lines, or may be displayed in a different color than the staff lines.
[0040] (4) Music score editing processing Fig. 16 is a flow chart showing an example of the score editing process by the score editing device 10 of Fig. 2. The score editing process of Fig. 16 is performed by the CPU 130 of Fig. 1 executing a score editing program.
[0041] First, the image recognition unit 11 determines whether or not an image of a musical score has been provided (step S1). The user can provide the image of a musical score to the image recognition unit 11. If an image of a musical score has not been provided, the image recognition unit 11 waits until an image of a musical score is provided. If an image of a musical score has been provided, the image recognition unit 11 recognizes the first image data indicating the image of the musical score provided in step S1 (step S2).
[0042] Next, the note recognition unit 12 recognizes the score elements in the first image data recognized in step S2 (step S3). The note recognition unit 12 also generates first text data indicating the score elements recognized in step S3 and the coordinates of the score elements (step S4). Next, the note deletion unit 13 outputs second image data in which the score elements are deleted from the first image data recognized in step S2 based on the first text data generated in step S4 (step S5).
[0043] Thereafter, pitch accepting unit 14 determines whether or not a designation of a pitch amount indicating the difference between the key before transposition and the key after transposition has been accepted (step S6). The user can designate the pitch amount to pitch accepting unit 14. Alternatively, the user can designate the key instead of the pitch amount to pitch accepting unit 14. If the designation of the pitch amount is not accepted, pitch accepting unit 14 waits until the designation of the pitch amount is accepted.
[0044] When the pitch amount designation is accepted, the note transposition unit 15 generates second text data indicating the transposed score element and the coordinates of the score element based on the pitch amount (step S7). Also, the note transposition unit 15 outputs third image data indicating an image of the transposed score element based on the second text data generated in step S7 (step S8).
[0045] Next, the synthesis unit 16 synthesizes the second image data output in step S5 and the third image data output in step S8 to output fourth image data showing the transposed musical score (step S9). Then, the correction receiving unit 17 determines whether an instruction to correct the musical score has been received (step S10). The user can instruct the correction receiving unit 17 to correct the musical score by specifying any note in the fourth image data output in step S9 and the pitch amount of the note.
[0046] When a correction to the musical score is instructed, the synthesis unit 16 corrects the second text data based on the note and pitch amount specified in step S10 (step S11). Specifically, the coordinates of the specified note are corrected in the second text data based on the specified pitch amount. The synthesis unit 16 then returns to step S8. As a result, the third image data and the fourth image data are updated, and the specified note is placed in the transposed musical score at a position shifted up or down by the specified pitch amount.
[0047] If an instruction to correct the score is not received in step S10, the synthesis unit 16 determines whether or not an instruction to end the score has been received (step S12). The user can instruct the synthesis unit 16 to end the score editing process by performing a predetermined operation using the operation unit 150. If an instruction to end the score editing process is not received, the synthesis unit 16 returns to step S10. If an instruction to end the score editing process is received, the synthesis unit 16 ends the score editing process.
[0048] (5) Effects of the embodiment As described above, the musical score editing device 10 of this embodiment includes an image recognition unit 11 that recognizes an image of the musical score before transposition as first image data, a pitch acceptance unit 14 that accepts a designation of a pitch amount indicating the difference between the key before transposition and the key after transposition, a note recognition unit 12 that recognizes the notes in the first image data, a note deletion unit 13 that outputs second image data in which notes have been deleted from the first image data, a note transposition unit 15 that outputs third image data indicating an image of the note after transposition based on the pitch amount designated by the pitch acceptance unit 14, and a synthesis unit 16 that outputs fourth image data indicating an image of the musical score after transposition by synthesizing the second image data and the third image data.
[0049] According to this configuration, a transposed score can be generated from an image of the score, so that a user can generate a transposed score using an image of a desired score, and can easily play an ensemble with a transposing instrument, for example.
[0050] The pitch accepting unit 14 may accept the specification of the transposed key, detect the pre-transposed key from the pre-transposed musical score, and accept the specification of the pitch amount based on the detected pre-transposed key and the specified transposed key. In this case, the specification of the pitch amount can be accepted from the post-transposed key.
[0051] The note recognition unit 12 may further recognize the staff in the first image data, and the note deletion unit 13 may output second image data in which the staff is further deleted from the first image data. With this configuration, even if the image of the score before transposition is a staff notation, a transposed score can be generated.
[0052] The note transposition unit 15 may output third image data showing an image of the staff and the transposed note by moving the recognized note relative to the staff based on the pitch amount specified by the pitch acceptance unit 14. In this case, a transposed musical score can be easily generated.
[0053] The note recognition unit 12 may further recognize a clef, a key signature, and a time signature in the first image data, and the note deletion unit 13 may output second image data in which the clef, the key signature, and the time signature are further deleted from the first image data. With this configuration, even if the image of the musical score includes a clef, a key signature, and a time signature, a transposed musical score can be generated.
[0054] The note deletion unit 13 outputs second image data in which the notes, etc. have been deleted from the first image data. In the mask image (image data in FIG. 4) used for this deletion, the portion of the notes, etc. in FIG. 4 may be expanded so that it is slightly larger than the notes, etc. included in the first image data. In this case, the notes, etc. can be securely deleted from the image of the musical score shown by the second image data.
[0055] The note transposing unit 15 may output the third image data with the transposed key signature, clef, and time signature in different densities or colors. In this case, the key signature is displayed in a different manner from the clef and time signature in the transposed musical score. This allows the user to easily recognize the key signature even if it overlaps with the clef or time signature.
[0056] The note transposing unit 15 may output the third image data by arranging the transposed key signature in the gap between the clef and the time signature. In this case, the key signature is arranged so as not to overlap the clef and the time signature in the transposed musical score. When the number of symbols (sharp or flat) of the key signature increases compared to the number of symbols of the key before transposition (in the example of FIG. 10, when transposing from D major (two sharps) to E major (four sharps)), the space between the clef and the time signature becomes insufficient, so that the third image data may be generated by shifting and extending the clef and the staff around it to the left in order to secure the space for the key signature. This allows the user to easily recognize the key signature.
[0057] The synthesis unit 16 may add guide lines G above or below the staff at intervals equal to the intervals between the staff lines and output the fourth image data. With this configuration, even if the grace notes are placed away from the staff lines in the transposed musical score, the user can easily recognize the pitch of the grace notes using the guide lines G as a reference.
[0058] The note deletion unit 13 may output the second image data including performance symbols, notes, explanations, etc. as peripheral information. In this case, the peripheral information written in the image of the score before transposition can be maintained in the score after transposition.
[0059] The note deletion unit 13 may output the second image data by arranging the peripheral information at a position following the transposed note. In this case, the correspondence between the note and the peripheral information in the transposed musical score can be easily recognized.
[0060] The musical score editing device 10 may further include a correction receiving unit 17 that receives designation of any note in the fourth image data and designation of the pitch amount of the note, and the synthesis unit 16 may update the fourth image data by correcting the designated note based on the pitch amount designated by the correction receiving unit 17. In this case, notes can be edited on a one-note basis in the transposed musical score.
[0061] (6) Other embodiments (a) In the above embodiment, the third image data includes the staff lines, clefs, key signatures, and time signatures as musical score elements, but the embodiment is not limited to this. Some or all of the staff lines, clefs, key signatures, and time signatures do not have to be included in the third image data. Also, some or all of the clefs, key signatures, and time signatures may be included in the second image data instead of the third image data. In this case, some or all of the staff lines, clefs, key signatures, and time signatures are displayed in the image of the musical score based on the second image data.
[0062] (b) In the above embodiment, the third image data is output by moving the notes relative to the staff, but the embodiment is not limited to this. The third image data may be output by moving the notes and the staff relatively. Therefore, the third image data may be output by moving the staff relative to the notes.
[0063] (c) In the above embodiment, the score editing device 10 includes the correction accepting unit 17, but the embodiment is not limited to this. If there is no need to edit notes in units of one note in the transposed score, the score editing device 10 does not need to include the correction accepting unit 17.
[0064] (d) In the above embodiment, the note recognition unit 12 and the note transposition unit 15 generate text data and generate image data based on the generated text data, but the embodiment is not limited to this. The note recognition unit 12 or the note transposition unit 15 may generate transposed image data by processing a raster image or vector image of notes, etc., recognized by the image recognition unit 11, etc., without generating text data. [Explanation of symbols]
[0065] 10...music score editing device, 11...image recognition unit, 12...note recognition unit, 13...note deletion unit, 14...pitch acceptance unit, 15...note transposition unit, 16...synthesis unit, 17...correction acceptance unit, 100...processing system, 110...RAM, 120...ROM, 130...CPU, 140...storage unit, 150...operation unit, 160...display unit, 170...bass, G...guide straight line, R...movement area
Claims
1. an image recognition unit that recognizes an image of the musical score before transposition as first image data; a pitch receiving unit that receives a pitch amount designation indicating a difference between a key before transposition and a key after transposition; a note recognition unit that recognizes notes in the first image data; a note deleting unit that outputs second image data in which the note is deleted from the first image data; a note transposition unit that outputs third image data indicating an image of the note after transposition based on a pitch amount specified by the pitch receiving unit; a synthesis unit that outputs fourth image data representing an image of the transposed musical score by synthesizing the second image data and the third image data.
2. 2. The musical score editing device according to claim 1, wherein the pitch accepting unit accepts a specification of a transposed key, detects the pre-transposed key from the musical score before transposition, and accepts a specification of a pitch amount based on the detected pre-transposition key and the specified transposed key.
3. The musical note recognition unit further recognizes a staff in the first image data, 3. The musical score editing device according to claim 1, wherein said note deleting section outputs said second image data in which said staff lines are further deleted from said first image data.
4. 4. The musical score editing device according to claim 3, wherein the note transposition unit outputs the third image data showing an image of the staff and the transposed note by relatively moving the recognized note and the staff based on a pitch amount specified by the pitch receiving unit.
5. The musical note recognition unit further recognizes a clef, a key signature, and a time signature in the first image data; 5. The musical score editing device according to claim 3, wherein said note deleting section outputs said second image data in which said clef, said key signature and said time signature are further deleted from said first image data.
6. 6. The musical score editing device according to claim 5, wherein said note transposing section outputs said third image data by making the transposed key signature, the clef and the time signature have different densities or colors.
7. 6. The musical score editing device according to claim 5, wherein said note transposing section outputs said third image data by arranging said transposed key signature in a gap between said clef and said time signature.
8. 8. The musical score editing device according to claim 3, wherein the synthesis section outputs the fourth image data by adding guide lines above or below the staff lines at intervals equal to the intervals between the staff lines.
9. The musical score editing device according to any one of claims 1 to 8, wherein the note deletion unit outputs the second image data including musical symbols other than notes, accidentals, staves, clefs, key signatures, and time signatures as peripheral information.
10. 10. The musical score editing device according to claim 9, wherein the note deletion section outputs the second image data by arranging the peripheral information at a position following the transposed note.
11. a correction receiving unit that receives a specification of any note in the fourth image data and a specification of a pitch amount of the note; 11. The musical score editing device according to claim 1, wherein the synthesis unit updates the fourth image data by correcting the specified musical note based on a pitch amount specified by the correction receiving unit.
12. The musical score editing device according to any one of claims 1 to 11, wherein when outputting the second image data in which musical score elements have been deleted from the first image data, the musical note deletion unit deletes the musical score elements included in the first image data by expanding or rotating a mask image for deletion.
Citation Information
Patent Citations
Musical sound data display device
JP2004093900A
Musical score recognizer and computer program
JP2009098161A
