CN113611267A - Word and song processing method and device, computer readable storage medium and computer equipment - Google Patents

Word and song processing method and device, computer readable storage medium and computer equipment Download PDF

Info

Publication number
CN113611267A
CN113611267A CN202110940991.1A CN202110940991A CN113611267A CN 113611267 A CN113611267 A CN 113611267A CN 202110940991 A CN202110940991 A CN 202110940991A CN 113611267 A CN113611267 A CN 113611267A
Authority
CN
China
Prior art keywords
lyric
target
note
text
editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110940991.1A
Other languages
Chinese (zh)
Inventor
翁雨晨
祁箐璐
关文浩
张博文
何渊
张杭琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110940991.1A priority Critical patent/CN113611267A/en
Publication of CN113611267A publication Critical patent/CN113611267A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • G10H1/0025Automatic or semi-automatic music composition, e.g. producing random music, applying rules from music theory or modifying a musical piece
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/101Music Composition or musical creation; Tools or processes therefor
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/101Music Composition or musical creation; Tools or processes therefor
    • G10H2210/105Composing aid, e.g. for supporting creation, edition or modification of a piece of music

Abstract

The embodiment of the application discloses a method and a device for processing word and music, a storage medium and computer equipment. The method comprises the following steps: the method comprises the steps that a song score editing panel and a lyric editing panel are provided on a song processing interface, lyrics of a target song are displayed on the lyric editing panel, and partial lyrics of the target song and notes corresponding to a lyric text are displayed on the song processing interface, so that a user can integrally master the lyrics in the lyric editing panel and the notes displayed in the song score editing panel, and the song creating efficiency is improved; in addition, according to the editing operation aiming at the music score editing panel or the lyric editing panel, the display contents of the music score editing panel and the lyric editing panel are synchronously adjusted, so that the display contents of the music score editing panel and the lyric editing panel are cognitively aligned in view angle, the experience of a user on song creation is improved, and the efficiency of song creation is improved.

Description

Word and song processing method and device, computer readable storage medium and computer equipment
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for processing vocabulary and a computer-readable storage medium and a computer device.
Background
With the development of the times, music has become an indispensable part of people's daily lives, and more music enthusiasts try to write songs by themselves, such as editing created music scores and determined lyrics with song editing software.
The current song editing software is provided with a music score editor, when the music score editor edits the lyrics, the lyrics can be edited on notes of the music score displayed on the current window of the music score editor, for Chinese lyrics, the lyrics need to be one character at most with one tone, and the input multiple characters can be filled in by following the notes in a covering way, as shown in figure 1 a. The user can only focus on the song score and the lyrics displayed in the current window currently in the lyric editing mode, and the overall grasp on the lyrics is weak.
Yet another way to edit lyrics is to click the right button on the notes of the score editor, select the "edit all lyrics" function, and edit all lyrics in a long text box, as shown in fig. 1 b. The method for editing the lyrics can integrally grasp the lyrics, but the lyrics can be found only by clicking a right key to pull down a menu on notes, and the lyrics are edited in a long text box, so that word lattice information in the lyrics and a music score are difficult to cognitively align in a visual angle, and the lyrics and the music score are aligned by a song creator through memory or other external assistance. The word difference can cause the dislocation of all the characters corresponding to the notes and the lyrics behind the music score, and influence the creation of the song.
In summary, the current song editing software is not friendly to song creation by a song creator, and there is no good method for realizing song creation by a song creator.
Disclosure of Invention
The embodiment of the application provides a method and a device for processing a vocabulary entry, a computer-readable storage medium and computer equipment, which can improve song creation efficiency.
The embodiment of the application provides a method for processing word and song, which comprises the following steps:
providing a music score editing panel and a lyric editing panel on a song processing interface, wherein the display content of the lyric editing panel comprises one or more lines of lyrics of a target song which are arranged and displayed along a first direction, the display content of the music score editing panel comprises partial lyrics of the target song which are displayed along a second direction, and the display position of lyric texts of the partial lyrics in a third direction in the music score editing panel is determined according to corresponding notes of the lyric texts;
and synchronously adjusting the display contents of the music score editing panel and the lyric editing panel according to the editing operation aiming at the music score editing panel or the lyric editing panel.
An embodiment of the present application further provides a vocabulary processing apparatus, including:
the system comprises a providing module, a lyric editing panel and a lyric editing panel, wherein the display content of the lyric editing panel comprises one or more lines of lyrics of a target lyric arranged and displayed along a first direction, the display content of the lyric editing panel comprises partial lyrics of the target lyric displayed along a second direction, and the display position of lyric texts of the partial lyrics in a third direction in the lyric editing panel is determined according to notes corresponding to the lyric texts;
and the adjusting module is used for synchronously adjusting the display contents of the music score editing panel and the lyric editing panel according to the editing operation aiming at the music score editing panel or the lyric editing panel.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, where the computer program is suitable for being loaded by a processor to perform the steps in the method for processing a word or phrase according to any of the above embodiments.
An embodiment of the present application further provides a computer device, where the computer device includes a memory and a processor, where the memory stores a computer program, and the processor executes the steps in the method for processing a vocabulary entry according to any of the above embodiments by calling the computer program stored in the memory.
According to the word and song processing method, the device, the computer readable storage medium and the computer equipment, the song score editing panel and the lyric editing panel are provided on the word and song processing interface, the lyrics of the target word and song are displayed on the lyric editing panel, and partial lyrics of the target word and notes corresponding to the lyric text are displayed on the word and song processing interface, so that a user can integrally grasp the lyrics in the lyric editing panel and the notes displayed in the song score editing panel, and the song creating efficiency is improved; in addition, according to the editing operation aiming at the music score editing panel or the lyric editing panel, the display contents of the music score editing panel and the lyric editing panel are synchronously adjusted, so that the display contents of the music score editing panel and the lyric editing panel are synchronously adjusted no matter the editing operation is performed on the music score editing panel or the editing operation is performed on the lyric editing panel, the display contents of the music score editing panel and the lyric editing panel are cognitively aligned in view angle, the experience of a user on song creation is improved, and the efficiency of song creation is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a is a diagram illustrating editing lyrics in a music score editor according to the prior art.
Fig. 1b is a schematic diagram of editing all lyrics in the prior art.
Fig. 2 is a schematic flow chart of a method for processing a vocabulary according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a term processing interface provided in an embodiment of the present application.
Fig. 4 is a sub-flow diagram of a vocabulary processing method according to an embodiment of the present application.
Fig. 5 is another sub-flow diagram of the term processing method according to the embodiment of the present application.
FIG. 6 is a schematic diagram of a note display panel according to an embodiment of the present application.
Fig. 7 is a schematic view of another sub-flow of the term processing method according to the embodiment of the present application.
Fig. 8 is a schematic diagram of a vocabulary processing procedure provided in an embodiment of the present application.
Fig. 9a, 9c, and 9e are partial schematic diagrams of a score editing panel according to an embodiment of the present application.
Fig. 9b, 9d, and 9f are partial schematic diagrams of a lyric editing panel according to an embodiment of the present application.
Fig. 10 is a schematic diagram of a lyric recommendation panel according to an embodiment of the present application.
Fig. 11a, 11c, and 11d are partial schematic diagrams of a score editing panel according to an embodiment of the present application.
Fig. 11b, fig. 11e, and fig. 11f are partial schematic diagrams of a lyric editing panel according to an embodiment of the present application.
Fig. 12 is a schematic structural diagram of a word processing apparatus according to an embodiment of the present application.
Fig. 13 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
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 embodiment of the application provides a method and a device for processing word and music, a computer readable storage medium and computer equipment. Specifically, the method for processing the vocabulary according to the embodiment of the present application may be executed by a computer device, where the computer device may be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, and a Personal Computer (PC). The server may be an independent physical server, a server cluster formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service and a cloud database.
The word and song processing method comprises a method for processing the lyrics, the music score and the like.
Hereinafter, a method, an apparatus, a computer-readable storage medium, and a computer device for processing vocabulary according to embodiments of the present application will be described in detail. The numbers in the following examples are not intended to limit the order of preference of the examples.
Referring to fig. 2, fig. 2 is a schematic flow chart of a word and song processing method according to an embodiment of the present application, where the flow of the word and song processing method can be as follows.
And 101, providing a music score editing panel and a lyric editing panel on the music score processing interface, wherein the display content of the lyric editing panel comprises one or more lines of lyrics of a target music score which is arranged and displayed along a first direction, the display content of the music score editing panel comprises partial lyrics of the target music score which is displayed along a second direction, and the display position of the lyric text of the partial lyrics in a third direction in the music score editing panel is determined according to corresponding notes of the lyric text.
Referring to fig. 3, a lyric editing panel 11 and a music score editing panel 12 are included on the lyric processing interface 10. The lyric editing panel 11 is disposed at the right side of the word song processing interface 10, and the display content of the lyric editing panel 11 includes one or more lines of lyrics of the target word song displayed in a first direction. The first direction may be a vertical direction, and may be understood as one or more lines of lyrics of the target word song displayed in a vertical direction, as shown in fig. 3. In an embodiment, the first direction may also be other directions, e.g. horizontal, such that each line of lyrics is displayed in a vertical direction. It should be noted that if the lyrics of the target lyric song are too long, the lyric editing panel is allowed to scroll laterally.
The score editing panel 12 is disposed on the lower left side of the word processing interface 10, and the display content of the score editing panel 12 includes partial lyrics of the target word displayed in the second direction. The melody editing panel 12 can be scrolled horizontally. Wherein, the second direction may be a horizontal direction. The display position of the lyric text of the part of the lyrics in the score editing panel 12 in the third direction in the score editing panel is determined according to the corresponding note of the lyric text. The third direction may be a vertical direction, and is the same as the direction of the musical scale displayed in the score editing panel.
Scales are arranged in the third direction in the score editing panel 12, and a plurality of series of scales are arranged in a preset manner, such as arrangement of sound sizes expressed by the scales from high to low or arrangement of sound sizes from low to high. As shown in fig. 3, on the left portion on the score edit panel 12, a plurality of series of musical scales are displayed correspondingly on the keys of the plurality of pianos in the vertical direction, respectively.
In one embodiment, the musical notes of the score editing panel 12 include the musical scale progression of the musical notes, and the display position of the lyric text of the part of the lyrics in the score editing panel along the third direction in the score editing panel is determined according to the musical notes corresponding to the lyric text, including: acquiring the scale number of notes corresponding to the lyric text; and determining the display position of the lyric texts of part of the lyrics in the music score editing panel along the third direction according to the musical scale level corresponding to the lyric texts and the musical scale set along the third direction. For example, if the musical scale number of the note corresponding to the lyric text "down" is 6, the lyric text "down" is displayed at the display position corresponding to the musical scale number of 6 in the third direction.
It should be noted that other parts, such as a toolbar, a singing voice preview track and/or an accompaniment preview track, a vocabularies style selection track, etc., are also included in the vocabularies processing interface 10, and are not specifically described herein.
The above description describes a music score editing panel and a lyric editing panel provided on the vocabulary processing interface from the perspective of interface presentation. How to obtain the music score editing panel and the lyric editing panel on the lyric processing interface will be described in detail below.
It should be noted that the song processing interface includes a song score editing panel and a lyric editing panel, so that the song score information (including partial lyrics) and the lyric information can be seen at the same time in the song processing interface, so that the user can have an overall grasp on the song score information displayed in the song score editing panel and the lyric information in the lyric editing panel, and the song creating efficiency is improved.
In an embodiment, as shown in fig. 4, the step of providing a music score editing panel and a lyrics editing panel in the lyrics processing interface in step 101 includes the following steps 201 to 204.
And 201, acquiring target word song data corresponding to the target word song, wherein the target word song data comprises composition data and note data of a plurality of notes, and each note data comprises note basic information and a lyric text corresponding to the note.
The target vocabulary data may exist in a file format of XML (eXtensible Markup Language), or may exist in other formats, such as a Music eXtensible Markup Language file modified based on a file format of Music XML (Music eXtensible Markup Language).
In one embodiment, the target word composition data includes composition data and melody data.
The composing data comprises attributes such as tune number of music score, tune type of music score, beat number of music score, music speed range and music score paragraph data. The score paragraph data includes attributes such as paragraph identification, paragraph type, whether paragraph is transposed, paragraph transposition number, paragraph transposition formula, paragraph measure data, etc. The paragraph section data includes attributes corresponding to the section data of each section included in each paragraph.
The melody data includes attributes such as melody identification, melody timbre, minimum pitch supported by the melody, maximum pitch supported by the melody, and multiple note data included by the melody. Each note data includes note basic information and a lyric text corresponding to the note. The basic information of the note includes attributes such as note identification, the melody to which the note belongs, the pitch of the note, the start position of the note (unit: 16 minutes), the length of the note (unit: 16 minutes), the sentence break attribute of the note, the polyphonic attribute of the note, the tonic note of the note (the tonic note connected when the note is the polyphonic note), the tonic note of the note (the polyphonic note connecting the tonic note as the tonic), and the note progression. The lyric text corresponding to the note can be simply understood as the lyric attribute corresponding to the note.
The composing data and the melody data exist in the target word and song data in the form of corresponding example objects. For example, the composing data corresponds to composing instance objects, each composing instance object includes a plurality of composing spectrum paragraph objects, each composing spectrum paragraph object includes a plurality of paragraph measure objects, and the like, and the plurality of note data includes a plurality of note instance objects, and the like. In the target word song data, a plurality of attributes in each instance object correspond to attribute values.
As can be seen from the composition data and the melody data in this embodiment, the content included in the target word composition data is different from the content in the file in the MusicXML format that is commonly used at present. For example, the target vocabulary data includes, for each note information, a sentence break attribute of each note, a polyphonic attribute of a note, a tonic connected when a note is a polyphonic note, a polyphonic note attribute connected when a note is a tonic, and the like.
In one embodiment, step 201 includes: acquiring word and music data in an initial format; and carrying out format conversion on the word and song data to obtain target word and song data in a preset format. The initial format is a musicXML format, and after acquiring the word and music data in the musicXML format, format conversion is performed on the corresponding word and music data for convenience of processing so as to obtain target word and music data in a preset format. The preset format is the format corresponding to the composition data and the melody data exemplified above, and may be other formats different from the initial format.
The vocabulary data in the MusicXML format are inconvenient to further process, the format of the vocabulary data is converted to obtain target vocabulary data in a preset format, the target vocabulary data is further processed on the basis of the target vocabulary data in the preset format, and the song creation speed and efficiency are improved.
And 202, carrying out score view mapping on the composition data and the plurality of note data to obtain a score editing panel.
In one embodiment, the composition data corresponds to a composition instance object and the note data corresponds to a note instance object. As shown in fig. 5, step 202 includes the following steps.
301, creating a score note object from a score note class, creating a view compilation instance object from a view compilation class, and creating a key instance object from a key class.
The melody note class refers to a note class that can implement note presentation on a melody editing panel. In one embodiment, the score note class includes attributes such as an x-coordinate (unit: pixel) of a note to be displayed, a y-coordinate (unit: pixel) of the note to be displayed, a height (unit: pixel) of the note to be displayed, a width (unit: pixel) of the note to be displayed, a note instance object corresponding to the note to be displayed in the target vocabulary data, and a chorus height (unit: pixel) of the note to be displayed.
A score note object is created from the score note class, and a plurality of attributes in the score note class are also included in the score note instance object. The mapping or binding between the score note objects and the note instance objects can be realized through the attribute of the note instance objects corresponding to the notes to be shown in the target word and music data.
The view compilation classes refer to some compilation classes which can realize the display of music score information on a music score editing panel. In one embodiment, the view compilation class includes a view paragraph measure class, a view N-note unit lattice class, a pitch class, and the like. It should be noted that the view composition classes are not limited to these, and may include more classes.
Wherein the view paragraph section class is used to record each section information in the paragraph to render each section information. In one embodiment, the view paragraph section class includes attributes such as coordinates (unit: pixels) of the paragraph section, width (unit: pixels) of the paragraph section, index of the paragraph section in the whole song, tempo (N-point note) information included in the paragraph section, and the like. The beat information included in the paragraph bar includes attributes such as a start coordinate (unit: pixel) of each beat, a width (unit: pixel) of the start of each beat, and the like. And generating a view paragraph subsection object according to the view paragraph subsection class, wherein the view paragraph subsection object comprises the attribute included in the view paragraph subsection class.
The view N-note unit grid type is used for recording N-note unit grid information so as to render each piece of N-note unit grid information. In one embodiment, the view N-note unit lattice class includes attributes such as an index of the onset of an N-note, and boundary coordinates (unit: pixel) of each onset of an N-note. And generating an N-note unit lattice object according to the view N-note unit lattice class, wherein the N-note unit lattice object comprises the attributes included in the view N-note unit lattice class. Assuming that the 16-point note is the smallest unit that can be displayed in the score editing panel, the length of the 16-point note is used as a unit grid in the score editing panel.
Wherein the pitch class is used to record pitch information to render the pitch information. In one embodiment, the pitch class includes attributes of the start coordinate of the tone (unit: pixel), the height of the tone (unit: pixel), the start index of the tone, whether it is a tonic, and the like. A pitch object is generated from the pitch class, including attributes included in the pitch class.
The key category is used to record some information of the keys to render each key in the piano. In one embodiment, the keys include pianos, single keys. The key category may include attributes such as a default offset (unit: pixel) of a first key list, a key list (including the number of key lists, a plurality of single keys in the key list, and each key corresponding to one key instance object). The single key type may include attributes such as whether the key is the main key, the pitch of the key, the number of lines in which the key is located, the position of the key in the key type table, the scale value of the key, the height (unit: pixel) of the key, the position (unit: pixel) of the key, and the like.
A piano object may be created from the piano class and a single key instance object may be created from the single key class.
It should be noted that the music score notes, the view composition notes, and the keys are only examples, and do not limit the embodiments of the present application.
And 302, filling the key instance object and generating the piano object according to the key instance object.
Attributes of a layer showing the key instance object, such as the length, width, position and other attributes of the layer, can be acquired; filling key instance objects according to the attributes of the layer, determining the height and the position of each key according to the attributes of the layer, the number of keys in the key list and the like, and filling the height and the position of the keys; after the completion of the filling of each attribute in the key instance object, a piano object is generated in the third direction from the key instance object. The piano object includes a plurality of key instance objects, the piano object corresponds to a piano (rolling piano) 121 shown on the left side in fig. 3, and the piano 121 includes a plurality of keys, for example, the key instance objects include key instance objects with the musical scale progression of 1, 2, 3, 4, 5, 6, 7, and the like.
It should be noted that the length, width, position, and other attributes of the layer showing the key instance object may change, which is reflected in the length, width, and other attributes of the generated music score editing panel. Correspondingly, the length, width, position and the like of the key instance object on the image layer can be adaptively changed.
303, mapping the composition instance object to a view composition instance object.
The song editing instance object comprises a tune number of a song score, a tune mode of the song score, a beat number of the song score, a song speed range, a song score paragraph object and the like. The score paragraph object includes paragraph mark, paragraph type, whether paragraph is transposed, paragraph transposition number, paragraph transposition formula, paragraph measure object, etc. The paragraph section object includes section data of each section included in each paragraph.
Obtaining attributes of a layer showing a view compilation instance object, such as the length, width, position and other attributes of the layer; according to the attribute of the layer, mapping the composition instance object to a view composition instance object, for example, mapping a paragraph bar object to a view paragraph bar object, filling a view N-note unit lattice object according to information such as the number of beats and the number of beats in the composition data, and filling a pitch object according to information such as the key number and the mode in the composition data.
If a 16-note is taken as the minimum unit, the note length (unit: 16-note) in the 16-note instance object is mapped to the height (unit: pixel) of the 16-note-unit lattice object, the width (unit: pixel) of the 16-note-unit lattice object, and the like. For example, assume that a 16-point note is represented by 0.2mm by 0.5mm (height by width) in the score editing panel. If the layer showing the view composition example object is not scaled or is not adaptively changed, converting the 16-point note of 0.2mm by 0.5mm into a pixel unit, which can be understood as how many pixels are corresponding to 0.2mm and how many pixels are corresponding to 0.5 mm; when the layer showing the view composition example object is reduced by 1/2, the 16-point note is expressed by 0.1mm by 0.25mm, and 0.1mm by 0.25mm is converted into a pixel unit, which can be understood as how many pixels are corresponding to 0.1mm, how many pixels are corresponding to 0.25mm, and the like.
Mapping the composition instance object to a view composition instance object to generate exposable try paragraph measure objects, view N-minutes note unit format objects, pitch objects, and the like, forming exposable note exhibition panels. Fig. 6 is a schematic diagram of a note display panel according to an embodiment of the present application.
A plurality of note instance objects are mapped 304 to a plurality of score note objects.
Obtaining attributes of a layer capable of displaying a music score note object, such as the length, width, position and other attributes; and mapping the plurality of note instance objects into a plurality of corresponding score note objects according to the attributes of the image layer. One score note object corresponds to one score note, and one score note object is mapped from one note instance object, such that one score note corresponds to one note in the target vocabulary data and one note in the target vocabulary data corresponds to one note progression.
For example, a note length of 8 cents (unit: 16 cents) in a note instance object is mapped to a height (unit: pixels) of the note to be shown, a width (unit: pixels) of the note to be shown, and so on. For example, assume that a 16-point note in a layer that can represent a score note object is represented by 0.2mm 0.5mm (height width). If the layer of the current displayable music score object is not scaled or is not adaptively changed, the 8-point note is represented by 0.4mm × 1mm, and the 0.4mm × 1mm needs to be converted into a pixel unit; if the layer of the currently exposable score object is scaled down 1/2, the 8-point note is represented by 0.2mm 0.5mm, and 0.2mm 0.5mm is converted to pixel units.
For example, the lyric text corresponding to the note to be presented in the score note object is displayed on the note to be presented, for example, at the position to the left of the note to be presented.
As such, the plurality of note instance objects are mapped to a plurality of score note objects. It is to be understood that a plurality of note instance objects in the target vocabulary data are mapped to exposable score note objects.
As shown on the right side in the score edit panel 12 of fig. 3, a plurality of score note objects are presented in the score edit panel 12. The lyric texts corresponding to the music score note objects are respectively as follows: i sit quietly under the sunset and look beautiful at the mountain top.
A score edit panel is generated from the piano object, the view composition instance object, and the plurality of score note objects 305.
And generating a music score editing panel by the generated piano object, the view composition instance object and the plurality of music score note objects according to a preset sequence. Such as a plurality of score note objects arranged in chronological order. In this way, lyrics of the target lyric music displayed in the second direction are formed, and the display position of the lyric text in the third direction in the music editing panel is determined according to the note data of the note (music note) corresponding to the lyric text.
The above embodiments describe in detail how to generate a score editing panel.
And 203, carrying out lyric view mapping on the plurality of note data to obtain a lyric editing panel.
In one embodiment, the song score editing panel 12 is a resident bar in the song processing interface 10, and the lyric editing panel 11 is set to a state that can be collapsed, and defaults to an open state. And the sizes (including the length, the width, etc.) of the score editing panel 12 and the lyric editing panel 11 can be adapted. For example, a zoom-up operation is performed on the lyric editing panel 11, and the size of the lyric editing panel 11 is increased according to the zoom-up operation while the size of the score editing panel 12 is decreased. The adaptation may be performed according to the screen length, the length of the lyric edit panel 11 + the length of the score edit panel 12.
In one embodiment, step 203 comprises: creating a lyric note object according to the lyric note class; mapping the plurality of note instance objects to a corresponding plurality of lyric note objects; a lyrics editing panel is generated from the plurality of lyrics note objects.
And mapping the plurality of note instance objects in the target lyric data into a plurality of corresponding lyric note objects which can be displayed so as to be conveniently displayed. It should be noted that, the lyric note object is identified by a lyric note, one lyric note object corresponds to one lyric note, one lyric note corresponds to one lyric text, and one or more note instance objects correspond to one lyric text, and it is understood that one lyric note object is mapped by one or more note instance objects, such that one lyric note corresponds to one or more notes in the target lyric data, one note in the target lyric data corresponds to one note number, and one lyric note may include one or more notes, which is also different. The lyric editing panel takes lyric display as a center and takes lyric notes as marks, so that lyrics and note data corresponding to the lyrics are conveniently displayed.
The lyric note class comprises lyric note identifications, note identifications corresponding to lyric notes (one note identification or a plurality of note identifications), whether the notes are stop symbols, sentence break attributes of the lyric notes, the length of the lyric notes (unit: 16 minutes notes), the starting positions of the lyric notes, lyric texts of the lyric notes, a musical scale series list of the lyric notes (including at least one musical scale series of the lyric notes, which is simply called lyric note series), a polyphonic note list of the lyric notes, the length of the lyric notes (unit: pixels) and other attributes. A lyric note object is created from the lyric note class, the lyric note object including a plurality of attributes in the lyric note class. It should be noted that the attribute included in the lyric note class is for illustration and not for limitation.
Mapping the plurality of note instance objects to a corresponding plurality of lyric note objects, comprising: obtaining attributes of a layer for displaying lyrics, such as the length, width, position and other attributes of the layer; and mapping the note instance objects into corresponding lyric note objects according to the attributes of the layer.
In one embodiment, mapping the plurality of note instance objects to a plurality of corresponding lyric note objects comprises: determining note identifications corresponding to lyric notes according to note identifications in note example objects, determining whether the notes are rests according to adjacent note example objects, determining sentence break attributes of the lyric notes according to sentence break attributes of the notes in the note example objects, determining lengths of the lyric notes according to the lengths of the notes in the note example objects, determining starting positions of the lyric notes according to the starting positions of the notes in the note example objects, determining text information of the lyric notes according to the text information of the notes in the note example objects, determining a progression list of the lyric notes according to the chord attributes and the progression of the notes in the note example objects, and determining pixel values corresponding to the lyric note lengths according to attributes of layers showing lyrics and the lengths of the lyric notes.
After the plurality of lyric note objects are determined, a lyric editing panel is generated based on the plurality of lyric note objects.
In one embodiment, the step of generating a lyrics editing panel from a plurality of lyrics note objects comprises: sorting the plurality of lyric note objects; obtaining lyric texts in the sequenced lyric note objects and lyric note lengths corresponding to the lyric texts in the lyric note objects; displaying a lyric note corresponding to the lyric text at a first preset position of the lyric text according to the pixel value of the lyric note length; and generating a lyric editing panel according to the lyric text and the lyric note length.
The lyric note objects are sorted according to the time sequence of the lyric notes, and thus, the lyric texts and the lyric note lengths of the obtained lyric note objects are also sorted according to the time sequence. The first preset position may be below the text of the lyrics. And displaying the lyric note corresponding to the lyric text below the lyric text according to the pixel value of the lyric note length, wherein the lyric note length is represented by a line segment with corresponding length below the lyric text as shown in figure 3 and 9 b.
The lyric note length is determined according to the length of the note in the note instance object, and the pixel value of the lyric note length is determined according to the pixel value corresponding to the length of the note in the note instance object and the unit note length (16 minutes note length), so that the lyric note length can represent information such as the length of the note, and the corresponding lyric note is displayed according to the lyric note length when being displayed, so that the display of the lyric note corresponds to the lyric note length, a music creator is clear of the lyrics and the lyric note, and the song creation experience and the song creation efficiency of the song creator are improved.
In one embodiment, when the attribute value of the sentence break attribute in the lyric note object is a first preset value, a line feed symbol is added to feed the lyric text and the lyric notes of other lyric note objects behind the lyric note object for line feed display. And the attribute values of the sentence break attributes comprise a first preset value and a second preset value. The first preset value may be represented by 1, true, yes, etc. to indicate that the lyric note is punctuated therein, and the second preset value may be represented by 0, false, no, etc. to indicate that the lyric note is not punctuated therein. And if the attribute value of the sentence break attribute is a first preset value, increasing a line feed symbol to feed lines from the lyric text and the lyric note position for display. The problem of line-to-line sentence break is solved by a line feed display mode, and the song creation efficiency of a music creator is improved.
In one embodiment, as shown in FIG. 7, the step of generating a lyric editing panel from a plurality of lyric note objects comprises the following steps.
The plurality of lyric note objects are sorted 401.
And 402, acquiring the text information in the sequenced lyric note objects, the lyric note length corresponding to the text information in the lyric note objects and a musical scale series list in the lyric note objects, wherein the musical scale series list comprises at least one lyric note series.
Wherein, if the musical notes are polyphonic notes, the lyric musical note series in the musical scale series list are correspondingly provided with a plurality of lyric musical note series, and if the lyric musical note series are not polyphonic notes, the lyric musical note series in the musical scale series list are one.
And 403, displaying the lyric note length corresponding to the lyric text at a first preset position of the lyric text according to the pixel value of the lyric note length.
404, when it is detected that the lyric note number meets the display condition, the lyric note number corresponding to the lyric text is at a second preset position of the lyric text.
Wherein, the display condition may be a default display, that is, default display of lyric note number. In an embodiment, when the cursor is detected on the lyric text corresponding to the lyric note or when the cursor selects the lyric text corresponding to the lyric note, the lyric note series of all lyric notes in the row of the lyric text can be displayed. As shown in fig. 9b, the lyric text corresponding to the lyric note selected by the current cursor is "field", and the lyric note number of all lyric notes in the row of the lyric text "field" can be displayed, for example, the lyric note number corresponding to the lyric text "field" is 7. For example, the lyric note number corresponding to the lyric text can be displayed at a second preset position of the lyric text. The second preset position may be disposed below/directly below the first preset position.
In one embodiment, the lyric text currently selected by the cursor and/or the lyric note number of the lyric text currently selected by the cursor may be highlighted. As shown in fig. 9b, the lyric note number 7 corresponding to the lyric text "field" is shown bold.
In one embodiment, when the lyric notes in the lyric note object are polyphonic notes, a preset symbol is added between the lyric note series of two adjacent polyphonic notes. The preset symbol may be an upper bracket or another symbol. As shown in fig. 9b, the lyric note corresponding to "up" after the lyric text "field" is a chorus note including lyric note series of 7, 5, and thus, an upper bracket is added between the lyric note series of 7 and 5. Similarly, the lyric note corresponding to the rain in the row is a chorus note, and the chorus note comprises lyric note series of 7 and 5, so that an upper bracket is added between the lyric note series of 7 and 5. In the embodiment, the preset symbols are added to display the note notes, so that the music creator is clear at a glance of the polyphonic note, and the efficiency and experience of the song creation performed by the song creator are improved.
In one embodiment, when the attribute value of the punctuation attribute in the lyric note object is a first preset value, a line feed symbol is added to feed the lyric text, the lyric note and the lyric note number of other lyric note objects behind the lyric note object. As shown in fig. 9b, the attribute value of the sentence break attribute in the lyric note corresponding to the lyric text "la" in the row of the lyric text "tian" is the first preset value, so that the line feed symbol is added after "la" to display the other lyric note objects after the lyric note object corresponding to "la" in a line feed manner.
And 405, generating a lyric editing panel according to the lyric text, the corresponding lyric note length and the lyric note number.
And generating a lyric editing panel according to a preset arrangement mode by using the lyric text of the lyric note, the lyric note length, the lyric note number and the like. The preset arrangement mode can be arranged according to the time sequence. Thus, one or more lines of lyrics are formed which are displayed in an array in the first direction.
As shown in fig. 9b, in the generated music score editing panel, a plurality of lines of lyrics are included and displayed in a vertical direction, each line of lyrics includes a lyric text corresponding to a lyric note, and a corresponding lyric note length is displayed below the lyric note in a pixel value of the lyric note length.
And 204, displaying a lyric editing panel and a music score editing panel in the lyric processing interface.
In the embodiment, the lyric editing panel and the music score editing panel are automatically generated on the word and music processing interface, and the target word and music data are simultaneously mapped in the music score editing panel and the lyric editing panel of the word and music processing interface for display. As shown in fig. 8, the target word and music data is mapped through the music score view to obtain a music score editing panel, and the target word and music data is mapped through the lyric view to obtain a song editing panel; further, mapping the note instance object in the target word and music data through a music score view to obtain a corresponding music score note object, and mapping the note instance object in the target word and music data through a lyric view to obtain a corresponding lyric note object.
The embodiment not only displays the music score information in the music score editing panel, but also displays the lyric information in the lyric editing panel on the song processing interface, so that a user can integrally grasp the displayed music score information in the music score editing panel and the lyric information in the lyric editing panel, and the song creating efficiency is improved; the lyric information of the lyric editing panel is automatically mapped by the target lyric data, and a user does not need to manually edit all lyrics, so that the song creating efficiency is further improved; in addition, the music score information in the music score editing panel and the lyric information in the lyric editing panel are realized by automatically mapping the target word and song data, so that the data in the music score editing panel and the lyric editing panel are consistent without errors, the experience of a user on song creation is improved, and the efficiency of song creation is improved.
It should be noted that the mapping is to map the target word song data to the music score editing panel and the lyric editing panel, and in other embodiments, the data in the music score editing panel may be mapped to the target word song data and then mapped to the lyric editing panel, or the data in the lyric editing panel may be mapped to the target word song data and then mapped to the music score editing panel.
And 102, synchronously adjusting the display contents of the music score editing panel and the lyric editing panel according to the editing operation aiming at the music score editing panel or the lyric editing panel.
For convenience of description, the editing operation for the lyric editing panel is used as the first editing operation, and the editing operation for the melody editing panel is used as the second editing operation. The following will specifically describe how to implement the synchronous adjustment of the display contents of the melody editing panel and the lyric editing panel according to the editing operation for the melody editing panel or the lyric editing panel.
In one embodiment, step 102 includes: determining a processing result of the first editing operation according to the first editing operation aiming at the lyric editing panel, and adjusting the display content of the lyric editing panel according to the processing result; processing target word and phrase data corresponding to the target word and phrase according to the processing result to obtain a first target processing result; and positioning and selecting a second target lyric text corresponding to the first editing operation in the music score editing panel, and adjusting the display of the second target lyric text in the music score editing panel according to the first target processing result.
Therefore, the processing result of the first editing operation on the song word editing panel is reflected to the target song data, and the display of the second target lyric text in the song spectrum editing panel is adjusted through the target song data so as to realize the effect of word-song linkage, so that the processing result of the first editing operation on the song word editing panel is reflected to the song spectrum editing panel in a linkage manner.
In one embodiment, the determining the processing result of the first editing operation according to the first editing operation on the lyric editing panel comprises: determining a target lyric note object corresponding to a first editing operation according to the first editing operation aiming at the lyric editing panel; and correspondingly processing the target lyric note object according to the first editing operation to determine a processing result of the first editing operation. Wherein a corresponding first target lyrics text is determined from a first editing operation for the lyrics editing panel, and a corresponding target lyrics note object is determined from the first target lyrics text.
Correspondingly, the step of processing the target vocabulary data corresponding to the target vocabulary according to the processing result to obtain the first target processing result includes: and determining a target note instance object having a mapping relation with the target lyric note object in target lyric data corresponding to the target lyric note, and processing the target note instance object according to a processing result of the first editing operation to obtain a first target processing result. Because the lyric editing panel is obtained by mapping the lyric view from the target lyric data, wherein the lyric editing panel is mapped from the note instance object to the lyric note object, when the target lyric note object is determined, the corresponding target note instance object can be obtained by the corresponding mapping relation, and the target note instance object is processed according to the processing result of the first editing operation to obtain a first target processing result.
Correspondingly, the step of positioning and selecting the second target lyric text corresponding to the first editing operation in the music score editing panel and adjusting the display of the second target lyric text in the music score editing panel according to the first target processing result comprises the following steps: determining a target music note object which has a mapping relation with the target note instance object, and modifying the target music note object according to a first target processing result; and positioning and selecting a second target lyric text of the modified target music note object in the music score editing panel, and synchronously adjusting the display of the second target lyric text in the music score editing panel. Similarly, since the lyric editing panel is obtained by mapping the target lyric data through the music score view, wherein the musical note instance object is mapped to the music score musical note object, after the target view musical note object is determined, the corresponding target music score musical note object can be obtained through the corresponding mapping relation, and the target music score musical note object is modified according to the first target processing result. And finally, reflecting the modified target music score note object into a music score editing panel, positioning and selecting a second target lyric text corresponding to the target music score note object and/or adjusting the display of the second target lyric text in the music score editing panel.
As shown in fig. 8, the corresponding target vocabulary data is modified according to the first editing operation on the lyric editing panel, and the update of the music score editing panel is notified according to the modification of the target vocabulary data.
The above description describes how the display contents of the lyric edit panel and the melody edit panel are synchronously adjusted according to the first editing operation for the lyric edit panel, and the following description will be made only from the viewpoint of interface presentation.
In one embodiment, the first editing operation includes a selection operation and a modification operation, step 102, including: in response to a selection operation in the lyric editing panel, determining a first target lyric text corresponding to the selection operation in the lyric editing panel, and automatically locating a portion of target lyrics corresponding to the first target lyric text in the score editing panel;
in response to a modification operation directed to the first target lyric text, modifying the first target lyric text and adjusting a display of a first mapped lyric text, wherein the first mapped lyric text is a lyric text corresponding to a portion of the target lyrics automatically located in the music editing panel according to the first target lyric text. The first target lyrics text is modified by a modification operation, i.e. the modified object of the modification operation is the first target lyrics text, and the first mapped lyrics text is automatically displayed synchronously by the modification of the first target lyrics text.
The selection operation of the lyric editing panel is used for selecting one or more lyric texts in the lyric editing panel, and the first target lyric texts corresponding to the selection operation are determined in the lyric editing panel in response to the selection operation. As shown in fig. 9b, a lyrics text is selected by the currently selected operation, and the lyrics text is taken as a first target lyrics text, corresponding to "field". And when the lyric text field is selected by the selection operation, automatically positioning part of target lyrics corresponding to the lyric text field in the song score editing panel. As shown in fig. 9a, in the music score editing panel, a part of target lyrics corresponding to the lyric text "tian" is currently and automatically located, and in the music score editing panel, the music score note object corresponding to the lyric text "tian" is also in a selected state, so that the linkage effect of the lyric editing panel and the music score editing panel is realized. It should be noted that please refer to the above description for the specific implementation of the linkage effect, which is not repeated herein.
Further, after the first target lyric text is selected in the lyric editing panel, the first target lyric text can be further modified. Further, the modifying the first target lyrics text and adjusting the displaying of the first mapped lyrics text in response to the modifying operation for the first target lyrics text, as described above, comprises: responding to a text input operation aiming at the first target lyric text, determining a target text corresponding to the text input operation, and modifying the first target lyric text into the target text; and adjusting the first mapping lyrics text into a target text.
For example, in response to a modification operation for the lyric text "field", the lyric text "field" is modified to "good". And adjusting the first mapping lyrics text, and synchronously adjusting the lyrics text 'field' in the music score editing panel to 'good'. Note that this example is not shown in the figure.
Meanwhile, it should be noted that the selected first target lyric text may be a plurality of lyric texts or one lyric text, which means that a plurality of lyric texts may be selected at the same time or one lyric text may be selected. When the lyric text is selected and modified, a plurality of lyric texts can be simultaneously input, or only one lyric text can be input. And in the case that the selected first target lyrics text only has one lyrics text, when a plurality of lyrics texts are simultaneously input, the input is sequentially covered from the selected lyrics text.
In one embodiment, the modifying operation comprises a linefeed operation, and the modifying the first target lyric text and adjusting the display of the first mapped lyric text in response to the modifying operation for the first target lyric text comprises: in response to a line feed operation aiming at the first target lyric text, adding a line feed symbol at a text position corresponding to the first target lyric text to display the first target lyric text in a line feed manner at the text position; and adding a sentence break display identifier at the position of the note of the first mapped lyric text corresponding to the lyric note.
Correspondingly, in response to a line feed operation aiming at the first target lyric text, determining a target lyric note object corresponding to the first target lyric text, modifying a sentence break attribute in the target lyric note object to modify an attribute value of the sentence break attribute from a second preset value to a first preset value, processing a line feed symbol in a text corresponding to the first target lyric text corresponding to the target lyric note object, and displaying the first target lyric text in a line feed manner at a text position; determining a target musical note instance object which has a mapping relation with the target lyric musical note object in target lyric data corresponding to the target lyric musical note; modifying the sentence break attribute of the target note instance object so as to modify the attribute value of the sentence break attribute from a second preset value to a first preset value; determining a target music score note object which has a mapping relation with the target note instance object, and modifying a punctuation attribute of the target music score note object so as to modify an attribute value of the punctuation attribute from a second preset value to a first preset value; and positioning and selecting a corresponding first mapping lyric text in a music score editing panel, and adding a sentence break display identifier at the position of a note of the lyric corresponding to the first mapping lyric text.
For example, in the lyric editing panel, a line feed symbol is added at the end of text processing of "la" of the lyric text "swoosh", then a line feed display is performed at the end of the lyric text "la", and simultaneously, in the score editing panel, a sentence break display identifier is added at the note handling of the corresponding note at the first mapping lyric text "la", which can refer to the example of the sentence break display identifier in fig. 9 a.
Besides displaying the lyric text, the lyric editing panel also displays the corresponding lyric note number and/or lyric note length at the preset position of the lyric text. In an embodiment, after the step of determining the first target lyric text corresponding to the selected operation in the lyric editing panel, the method further comprises: acquiring each target lyric text of a line where the first target lyric text is positioned, and the lyric note number and/or lyric note length corresponding to each target lyric text, wherein each target lyric text is separated by a space; displaying corresponding lyric note series and/or lyric note length at a preset position of each target lyric text, wherein the lyric note length is represented by a line segment with corresponding length; and highlighting the first target lyric text, the corresponding lyric note number and/or lyric note length of the first target lyric text.
As shown in fig. 9b, if the currently selected first target lyric text is "field", the corresponding lyric note number and/or lyric note length is displayed at the preset position of each lyric text of the row where "field" is located. Specifically, the corresponding lyric note length is displayed at a first preset position of each lyric text of the line where the 'farmland' is located, and the corresponding lyric note number is displayed at a second preset position of each lyric text of the line where the 'farmland' is located. Wherein the lyric note length is represented by a line segment.
In an embodiment, the lyrics editing panel further comprises a lyrics recommendation control. The method for processing the word graph further comprises the following steps: responding to a trigger operation aiming at the lyric recommendation control, and acquiring a first target lyric text currently selected in a lyric editing panel carried in the trigger operation; providing a lyric recommendation panel in the lyric processing interface, and displaying a plurality of recommended lyric texts in the lyric recommendation panel, wherein the plurality of recommended lyric texts are determined according to a first target lyric text; in response to a text selection operation aiming at a plurality of recommended lyric texts, determining a target recommended lyric text corresponding to the text selection operation; and replacing the first target lyric text with a target recommended lyric text, and adjusting the first mapped lyric text into the target recommended lyric text.
The lyric recommendation control may be, for example, an "AI assist" control as shown below the lyric editing panel in fig. 3. The lyric recommendation panel may be a separate panel or a panel existing in attachment to the lyric editing panel. As shown in fig. 10, the lyrics recommendation panel is shown on the right. The currently selected first target lyric text is 'leaves', a lyric recommendation panel is provided in the lyric processing interface after the lyric recommendation control is triggered, and a plurality of recommended lyric texts corresponding to the 'leaves' are displayed on the lyric recommendation panel. When one of the recommended lyric texts is selected, for example "nightingale", the currently selected "leaf" in the lyric editing panel is replaced by "nightingale", while the lyric text "leaf" in the score editing panel is also adjusted to "nightingale". In the embodiment, the song lyric recommending function is utilized, and the song creating efficiency is improved.
In one embodiment, step 102 includes: determining a processing result of the second editing operation according to the second editing operation aiming at the music score editing panel, and adjusting the display content of the music score editing panel according to the processing result; processing target word and phrase data corresponding to the target word and phrase according to the processing result to obtain a second target processing result; and positioning and selecting a first target lyric text corresponding to the second editing operation in the lyric editing panel, and adjusting the display of the first target lyric text in the music score editing panel according to a second target processing result. Therefore, the processing result of the second editing operation on the music score editing panel is reflected to the target word and song data, and the display of the first target lyric text in the lyric editing panel is adjusted through the target word and song data, so that the effect of word and song linkage is realized, and the processing result of the second editing operation on the music score editing panel is reflected to the lyric editing panel in a linkage manner.
In an embodiment, the step of determining a processing result of the second editing operation according to the second editing operation for the score editing panel includes: determining a target score note object corresponding to a second editing operation according to the second editing operation aiming at the score editing panel; and correspondingly processing the target music note object according to the second editing operation so as to determine a processing result of the second editing operation. Wherein a corresponding second target lyric text is determined according to a second editing operation for the score editing panel, and a corresponding target score note object is determined according to the second target lyric text.
Correspondingly, the step of processing the target vocabulary data corresponding to the target vocabulary according to the processing result to obtain a second target processing result includes: and determining a target note instance object having a mapping relation with the target score note object in the target word music data corresponding to the target word music, and processing the target note instance object according to a second editing operation to obtain a second target processing result.
Correspondingly, the step of positioning and selecting the first target lyric text corresponding to the second editing operation in the lyric editing panel and adjusting the display of the first target lyric text in the music score editing panel according to the second target processing result comprises the following steps: determining a target lyric note object which has a mapping relation with the target note instance object, and modifying the target lyric note object according to a second target processing result; in the lyric editing panel, a first target lyric text of the modified target lyric note object is located and selected, and/or display of the first target lyric text in the lyric editing panel is adjusted.
As shown in fig. 8, the corresponding target lyric data is modified according to the second editing operation on the melody editing panel, and then the update of the lyric editing panel is notified according to the modification of the target lyric data.
In one embodiment, the second editing operation includes a selection operation and a modification operation, step 102, including: in response to a selected operation in the score editing panel, determining a second target lyric text and a target score note corresponding to the second target lyric text in the score editing panel, and automatically locating a first target lyric corresponding to the second target lyric text in the lyric editing panel;
modifying a second target lyric text in response to a modification operation for the second target lyric text, and adjusting display of a second mapped lyric text, wherein the second mapped lyric text is a lyric text corresponding to the first target lyrics positioned in a music editing panel according to the second target lyric text; and/or
Modifying a target melody note and a target lyric note corresponding to the second mapped lyric text in response to a modification operation for the target melody note.
Wherein, for the modification operation of the second target lyrics text, the modification object of the modification operation is the second target lyrics text, i.e. the second target lyrics text is modified by the modification operation, and the second mapped lyrics text is automatically and synchronously displayed by the modification of the first target lyrics text. For the modification operation of the target music score note, the modification object of the modification operation is the target music score note, namely the target music score note is modified through the modification operation, and the target lyric note corresponding to the second mapping lyric text is automatically and synchronously displayed through the modification of the target music score note.
And the selection operation of the music score editing panel is used for selecting music score notes in the music score editing panel, and each music score note corresponds to a lyric text. And responding to the selected operation, and determining a second target lyric text corresponding to the selected operation in the music score editing panel. Referring to fig. 9a, the corresponding lyric text after the lyric text "to field" is "high". If a target song score note is selected in the current selection operation of the song score editing panel, the second target lyric text corresponding to the target song score note is 'high', after the second target lyric text 'high' is selected in the selection operation of the song score editing panel, the first target lyric 'high' corresponding to the selected operation 'high' is automatically positioned in the lyric editing panel, and the first target lyric 'high' and the lyric note number and/or the lyric note length of the corresponding target lyric note are highlighted in the lyric editing panel.
Further, after the second target lyric text is selected in the lyric edit panel, the second target lyric text "high" may be further modified, as illustrated in fig. 9c, to modify the second target lyric text "high" to "large", and to modify the display of the second mapped lyric text, as illustrated in fig. 9d, to adjust "high" in the lyric edit panel to "large".
Further, the target score notes may be modified. And in response to the modification operation aiming at the target music score note, modifying the target music score note and adjusting the target lyric note corresponding to the second mapping lyric text. And e.g. responding to the dragging operation aiming at the target music score note, modifying the position of the target music score note so as to modify the corresponding scale progression of the target music score note. For example, the scale number of the target score note corresponding to the lyric text "wild" is modified from 7 to 2, as shown in fig. 9 e; correspondingly, the corresponding target lyrics note number of the second mapped lyrics text "wild" is adjusted at the same time, and the lyrics note number of the target lyrics note is adjusted from 7 to 2, as shown in fig. 9 f.
It should be noted that the modification operation on the second target lyric text and the modification operation on the target melody note can be implemented in two separate embodiments, or can be implemented in the same embodiment.
In an embodiment, after the step of automatically locating the first target lyrics corresponding to the second target lyrics text in the lyrics editing panel, the method further comprises: acquiring target lyric texts of a line where the first target lyric is located and corresponding lyric notes of the target lyric texts, wherein the lyric notes comprise lyric note series and/or lyric note length, and the target lyric texts are separated by spaces; displaying the lyric note number and/or the lyric note length corresponding to each lyric note at the preset position of each target lyric text, wherein the lyric note length is represented by a line segment with corresponding length; and highlighting the lyric text of the first target lyric, the lyric note number and/or the lyric note length of the lyric note corresponding to the first target lyric.
In one embodiment, the modifying operation of the target melody note includes setting a sentence break operation, and the modifying the target melody note and the adjusting the target word note corresponding to the second mapped lyric text in response to the modifying operation of the target melody note includes: adding a punctuation display identifier at a note position of the target music score note in response to a set punctuation operation for the target music score note; and adding a line feed symbol at a text position corresponding to the second mapped lyric text so as to display a target lyric note corresponding to the second mapped lyric text in a line feed manner at the text position.
Correspondingly, responding to a sentence break setting operation aiming at the target music score notes, determining a target music score note object corresponding to the target music score notes according to the sentence break setting operation, and modifying the sentence break attribute of the target music score note object from a second preset value to a first preset value; adding punctuation display marks at the positions of the notes of the target music score notes; determining a target note instance object having a mapping relation with a target music score note object in target word music data; processing the target note instance object, and modifying the sentence break attribute of the target note instance object from a second preset value to a first preset value; determining a target lyric note object which has a mapping relation with the target note instance object; and adding a line feed symbol at a text position corresponding to a first target lyric text (a second mapping lyric text) corresponding to the target lyric note object in the lyric editing panel so as to feed line display of the target lyric note corresponding to the target lyric note object at the text position. And displaying a sentence break display mark on a music score editing panel to clearly show where the sentence break is and where the sentence break is not, so that the song creation efficiency is improved.
The operation of setting the sentence break can be that after a target music score note is selected, the target music score note is clicked by a right key, and the sentence break is selected to be triggered, and can also be triggered by other modes. As shown in fig. 11a, in response to the sentence-break operation for setting the target score note, a sentence-break display identifier is added at the note handling position of the target score note corresponding to "o", and at the same time, a line is changed from the target lyric note "o" corresponding to the second mapped lyric text in the lyric editing panel, as shown in fig. 11 b.
In one embodiment, the modifying operation of the target melody note includes a sentence break canceling operation, and the modifying the target melody note and the adjusting the target lyric note corresponding to the second mapped lyric text in response to the modifying operation of the target melody note includes: deleting the sentence break display identification at the note position of the target music score note in response to a sentence break canceling operation for the target music score note; and deleting the line feed symbols at the text position corresponding to the second mapped lyric text so as to cancel the line feed display of the target lyric notes corresponding to the second mapped lyric text at the text position.
Correspondingly, responding to a sentence-breaking-canceling operation aiming at the target music score notes, determining a target music score note object corresponding to the target music score notes according to the sentence-breaking-canceling operation, and modifying the sentence-breaking attribute of the target music score note object from a first preset value to a second preset value; deleting the sentence break display mark at the note position of the target music score note; determining a target note instance object having a mapping relation with a target music score note object in target word music data; processing the target note instance object, and modifying the sentence break attribute of the target note instance object from a first preset value to a second preset value; determining a target lyric note object which has a mapping relation with the target note instance object; in the lyric editing panel, a line break symbol is deleted at a text position corresponding to a first target lyric text (second mapped lyric text) corresponding to a target lyric note object to cancel line break display of a target lyric note corresponding to the target lyric note object at the text position.
In an embodiment, the modifying operation of the target melody note includes setting a polyphonic operation, and the modifying the target melody note and the adjusting the target lyric note corresponding to the second mapped lyric text in response to the modifying operation of the target melody note includes:
in response to a setup liaison operation aiming at a target music score note, determining the target music score note as a second target liaison note, and modifying a second target lyric text corresponding to the second target liaison note according to a first preset mode; determining a second target tonic note connected with the second target polyphonic note and a target tonic lyric text corresponding to the second target tonic note; merging the second target tonic note and the second target polyphonic note to obtain a target note length and a target note progression; and deleting the second mapped lyric text, taking the target tonic lyric text as a new second mapped lyric text, modifying the lyric note length of a target lyric note corresponding to the new second mapped lyric text into the target note length, and modifying the lyric note number of the target lyric note corresponding to the new second mapped lyric text into the target musical scale number, wherein a plurality of musical scale numbers in the target musical scale number are connected by using preset symbols. Wherein the content of the first and second substances,
and combining the second target tonic note and the second target chorus note to obtain a target note length and a target note progression, specifically, for example, taking the sum of the note lengths of the second target tonic note and the second target chorus note as the target note length, taking the scale progression of the second target tonic note and the second target chorus note as the target scale progression, or adding the note length of the second target chorus note to the note length of the second target tonic note to obtain the target note length, and adding the scale progression of the second target chorus note to the scale progression of the second target tonic note to obtain the target scale progression.
The operation of setting the sentence break can be that after a target music score note is selected, the target music score note is clicked by a right key, and the sentence break is selected to be triggered, and can also be triggered by other modes. As shown in fig. 11c, the second target lyric text corresponding to the selected target melody note is "bar". Modifying a second target lyric text corresponding to the second target connection note according to a first preset mode, wherein the modifying comprises: and modifying the second target lyric text corresponding to the second target connection note into a preset text, wherein the preset text can be any text or character, such as "-", or the preset text can also be empty, and the like.
As shown in fig. 11d, after the target score note corresponding to the "bar" is set as the second target polyphonic note, the second target lyric text is modified to "-". And determining that the second target tonic note corresponding to the second target tonic note is a score note before the second target tonic note, and determining that the target tonic lyric text corresponding to the second target tonic note is singing. Taking the sum of the note lengths including the second target tonic note (-) and the second target chorus note (sing) as the target note length, and taking the scale progression 7 including the second target tonic note (sing) and the scale progression 5 of the second target chorus note (-) as the target scale progression 75; or the note length of the second target chorus note (sing) is added to the second target tonic note (-) to obtain the target note length, and the scale progression 5 of the second target chorus note (-) is added to the scale progression 7 of the second target tonic note (sing) to obtain the target scale progression 75.
In the lyric editing panel, the second mapped lyric text 'bar' is deleted, and the target master tone lyric text 'sing' is taken as a new second mapped lyric text. The lyric note length of the target lyric note corresponding to the new second mapped lyric text singing is modified to the target note length, and the lyric note number of the target lyric note corresponding to the new second mapped lyric text singing is modified to the target musical scale number 75, wherein a plurality of musical scale numbers in the target musical scale number are connected by using preset symbols, as shown in fig. 11 e.
In one embodiment, the modifying operation of the target melody note includes a break operation, and the modifying operation of the target melody note in response to the modifying operation of the target melody note modifies the target melody note and adjusts the target lyric note corresponding to the second mapped lyric text includes:
responding to a continuous-tone canceling operation aiming at the target music score note, and acquiring a second target key note connected with the target music score note, a target lyric text corresponding to the second target key note and a second target continuous-tone note connected with the target music score note before the continuous-tone canceling operation;
modifying a second target lyric text corresponding to the target music score note according to a second preset mode in the music score editing panel;
in the lyric editing panel, modifying the second mapping lyric text into a target lyric text corresponding to a second target tonic note, taking the sum of the note lengths of the second target tonic note and all the score notes before the target score note as the lyric note length corresponding to the second mapping lyric text, and taking the scale progression of the second target tonic note and all the score notes before the target score note as the lyric note progression corresponding to the second mapping lyric text;
if a second target polyphonic note does not exist, taking the second target lyric text as a next lyric text of the second mapped lyric text, taking the note length of a target music spectrum note corresponding to the second target lyric text as the lyric note length corresponding to the next lyric text, and taking the scale progression of the target music spectrum note corresponding to the second target lyric text as the lyric note progression corresponding to the next lyric text;
and if a second target continuous pitch note exists, taking the second target lyric text as a next lyric text of the second mapped lyric text, taking the sum of the note lengths of all the music notes between the target music note and the second target continuous pitch note as the lyric note length corresponding to the next lyric text, and taking the scale progression of all the music notes between the target music note and the second target continuous pitch note as the lyric note progression corresponding to the next lyric text.
Wherein the cancellation of the polyphonic operation may be triggered in the same manner as the polyphonic operation is set. The flow of the cancellation operation of the polyphonic sound will be described with reference to fig. 11d and 11 f. Referring to fig. 11d, for the target music score note (-) cancellation of the chorus operation, "-" is currently in the selected state, in response to the cancellation of the chorus operation for the target music score note, the second target tonic note ("song score note corresponding to sing") connected to the target music score note before the cancellation of the chorus operation and the target lyric text "sing" corresponding to the second target tonic note are obtained, and the second target chorus note does not exist.
In a music score editing panel, modifying a second target lyric text corresponding to a target music score note according to a second preset mode, wherein the second preset mode comprises the following steps: acquiring an original text of the target music score note, and modifying a second target lyric text corresponding to the target music score note into the original text; and if the original text does not exist, modifying the second target lyric text into a default text, such as 'o' and the like.
In the lyric editing panel, the second mapped lyric text is modified into a target lyric text corresponding to a second target tonic note, in the embodiment, the second mapped lyric text is singing, and the target lyric text of the second target tonic note is also singing without modification. The sum of the note lengths of the second target tonic note (singing) and all the score notes before the target score note (-) is used as the lyric note length corresponding to the second mapped lyric text, and the scale 7 of the second target tonic note (singing) and all the score notes before the target score note (-) including the second target tonic note is used as the lyric note scale corresponding to the second mapped lyric text. That is, in the score editing panel, the lyric text "sing" corresponds to a note number of 7, as shown in fig. 11 f.
In the lyric editing panel, the second target lyric text "bar" is used as the next lyric text of the second mapped lyric text, that is, the next lyric text is "bar", the note length of the target lyric spectrum note corresponding to the second target lyric text is used as the lyric note length corresponding to the next lyric text, and the musical scale 5 of the target lyric spectrum note corresponding to the second target lyric text is used as the lyric note scale 5 corresponding to the next lyric text, as shown in fig. 11 f.
It should be noted that the modification operation for the target score note may also include a copy (note) operation, a paste (note) operation, a delete (note) operation, etc., which are not described herein.
The embodiment can realize the linkage effect of the music score editing panel and the lyric editing panel, and the editing operation of the music score editing panel or the lyric editing panel can be linked and reflected to the editing panel of the other party, so that the song creating efficiency is improved.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
In order to better implement the word song processing method according to the embodiment of the present application, an embodiment of the present application further provides a word song processing apparatus. Referring to fig. 12, fig. 12 is a schematic structural diagram of a word song processing apparatus according to an embodiment of the present application. The apparatus 500 for processing vocabulary may include a providing module 501 and an adjusting module 502.
The providing module 501 is configured to provide a music score editing panel and a lyric editing panel on a music processing interface, where a display content of the lyric editing panel includes one or more lines of lyrics of a target music arranged and displayed in a first direction, a display content of the music score editing panel includes a part of lyrics of the target music displayed in a second direction, and a display position of a lyric text of the part of lyrics in a third direction in the music score editing panel is determined according to a note corresponding to the lyric text.
An adjusting module 502, configured to synchronously adjust display contents of the music score editing panel and the lyric editing panel according to an editing operation on the music score editing panel or the lyric editing panel.
For details corresponding to the providing module 501 and the adjusting module 502, please refer to corresponding descriptions in the above method embodiments, which are not described herein again.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
Correspondingly, the embodiment of the application also provides a computer device, and the computer device can be a terminal or a server. As shown in fig. 13, fig. 13 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer apparatus 600 includes a processor 601 having one or more processing cores, a memory 602 having one or more computer-readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The processor 601 is a control center of the computer apparatus 600, connects various parts of the entire computer apparatus 600 using various interfaces and lines, performs various functions of the computer apparatus 600 and processes data by running or loading software programs (computer programs) and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby monitoring the computer apparatus 600 as a whole.
In the embodiment of the present application, the processor 601 in the computer device 600 loads instructions corresponding to processes of one or more applications into the memory 602, and the processor 601 executes the applications stored in the memory 602 according to the following steps, so as to implement various functions:
acquiring target word and music data, wherein the target word and music data comprise composition data and a plurality of note data, and each note data comprises note basic information and text information corresponding to notes; in a music score editing panel of a word score processing interface, performing music score view mapping on the music score data and the note data to obtain a music score view, wherein the music score view is a view in a rolling piano form; in a lyric editing panel of the lyric processing interface, carrying out lyric view mapping on the note data to obtain a lyric view, wherein the lyric view is a view of lyric information consisting of the note basic information and the text information; and displaying the music score view and the lyric view.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 13, the computer device 600 further includes: a touch display screen 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display screen 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 13 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The touch display screen 603 can be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 603 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 601 to determine the type of the touch event, and then the processor 601 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 603 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display screen 603 can also be used as a part of the input unit 606 to implement an input function.
In the embodiment of the present application, the touch display screen 603 is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface.
The rf circuit 604 may be used for transceiving rf signals to establish wireless communication with a network device or other computer device via wireless communication, and for transceiving signals with the network device or other computer device.
The audio circuit 605 may be used to provide an audio interface between the user and the computer device through speakers, microphones. The audio circuit 605 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 605 and converted into audio data, which is then processed by the audio data output processor 601, and then transmitted to, for example, another computer device via the radio frequency circuit 604, or output to the memory 602 for further processing. The audio circuit 605 may also include an earbud jack to provide communication of peripheral headphones with the computer device.
The input unit 606 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 607 is used to power the various components of the computer device 600. Optionally, the power supply 607 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. The power supply 607 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 13, the computer device 600 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer programs can be loaded by a processor to execute the steps in any of the vocabulary processing methods provided in the embodiments of the present application. For example, the computer program may perform the steps of:
acquiring target word and music data, wherein the target word and music data comprise composition data and a plurality of note data, and each note data comprises note basic information and text information corresponding to notes; in a music score editing panel of a word score processing interface, performing music score view mapping on the music score data and the note data to obtain a music score view, wherein the music score view is a view in a rolling piano form; in a lyric editing panel of the lyric processing interface, carrying out lyric view mapping on the note data to obtain a lyric view, wherein the lyric view is a view of lyric information consisting of the note basic information and the text information; and displaying the music score view and the lyric view.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any of the vocabulary processing methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any of the vocabulary processing methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The method, the apparatus, the storage medium, and the computer device for processing the vocabulary provided by the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (25)

1. A method for processing a vocabulary entry, comprising:
providing a music score editing panel and a lyric editing panel on a song processing interface, wherein the display content of the lyric editing panel comprises one or more lines of lyrics of a target song which are arranged and displayed along a first direction, the display content of the music score editing panel comprises partial lyrics of the target song which are displayed along a second direction, and the display position of lyric texts of the partial lyrics in a third direction in the music score editing panel is determined according to corresponding notes of the lyric texts;
and synchronously adjusting the display contents of the music score editing panel and the lyric editing panel according to the editing operation aiming at the music score editing panel or the lyric editing panel.
2. The vocabulary processing method according to claim 1, wherein the editing operation includes a selection operation and a modification operation; the step of synchronously adjusting the display contents of the music score editing panel and the lyric editing panel according to the editing operation aiming at the music score editing panel or the lyric editing panel comprises the following steps:
in response to a selection operation in the lyric editing panel, determining a first target lyric text corresponding to the selection operation in the lyric editing panel, and automatically locating a portion of target lyrics corresponding to the first target lyric text in the score editing panel;
in response to a modification operation directed to the first target lyric text, modifying the first target lyric text and adjusting a display of a first mapped lyric text, wherein the first mapped lyric text is lyric text corresponding to the portion of the target lyrics automatically located in the music editing panel according to the first target lyric text.
3. The method of claim 2, wherein the modification operation comprises a text entry operation, and wherein modifying the first target lyric text and adjusting the display of the first mapped lyric text in response to the modification operation on the first target lyric text comprises:
responding to a text input operation aiming at the first target lyric text, determining a target text corresponding to the text input operation, and modifying the first target lyric text into the target text;
and adjusting the first mapping lyric text into the target text.
4. The method of claim 2, wherein the modifying operation comprises a line feed operation, and wherein modifying the first target lyric text and adjusting the display of the first mapped lyric text in response to the modifying operation on the first target lyric text comprises:
in response to a line feed operation for the first target lyric text, adding a line feed symbol at a text position corresponding to the first target lyric text to display the first target lyric text in line feed at the text position;
and adding a sentence break display identifier at the position of the note of the corresponding lyric note of the first mapping lyric text.
5. The method of claim 2, wherein the step of determining a first target lyric text corresponding to the selected operation in the lyric editing panel is followed by further comprising:
acquiring each target lyric text of a line where the first target lyric text is located and each lyric note corresponding to each target lyric text, wherein each lyric note comprises a lyric note number and/or a lyric note length, and the target lyric texts are separated by a space;
displaying lyric note number and/or lyric note length corresponding to each lyric note at a preset position of each target lyric text, wherein the lyric note length is represented by a line segment with corresponding length; and highlighting the first target lyric text.
6. The method of claim 2, wherein the lyric editing panel further comprises a lyric recommendation control, and wherein the method further comprises:
responding to a trigger operation aiming at the lyric recommendation control, and acquiring a first target lyric text currently selected in the lyric editing panel carried in the trigger operation;
providing a lyric recommendation panel in the lyric processing interface, and displaying a plurality of recommended lyric texts in the lyric recommendation panel, wherein the plurality of recommended lyric texts are determined according to the first target lyric text;
in response to a text selection operation aiming at a plurality of recommended lyric texts, determining a target recommended lyric text corresponding to the text selection operation;
and replacing the first target lyric text with the target recommended lyric text, and adjusting the first mapped lyric text into the target recommended lyric text.
7. The method according to claim 1, wherein the editing operations include a selecting operation and a modifying operation, and the step of synchronously adjusting the display contents of the score editing panel and the lyric editing panel according to the editing operation for the score editing panel or the lyric editing panel comprises:
in response to a selected operation in the score editing panel, determining a second target lyric text and a target score note corresponding to the second target lyric text in the score editing panel, and automatically locating a first target lyric corresponding to the second target lyric text in the lyric editing panel;
in response to a modification operation for the second target lyric text, modifying the second target lyric text and adjusting display of a second mapped lyric text, wherein the second mapped lyric text is a lyric text corresponding to the first target lyrics positioned in the music editing panel according to the second target lyric text; and/or
And in response to the modification operation aiming at the target music score note, modifying the target music score note and adjusting the target lyric note corresponding to the second mapping lyric text.
8. The lyric processing method according to claim 7, wherein the modification operation of the target melody note comprises a set sentence break operation, and the step of modifying the target melody note and adjusting the target word note corresponding to the second mapped lyric text in response to the modification operation on the target melody note comprises:
adding a punctuation display identifier at a note position of the target music score note in response to a set punctuation operation for the target music score note;
and adding a line feed symbol at a text position corresponding to the second mapped lyric text so as to display a target lyric note corresponding to the second mapped lyric text in a line feed manner at the text position.
9. The lyric processing method according to claim 7, wherein the modification operation of the target melody note comprises a sentence-breaking operation, and the step of modifying the target melody note and adjusting the target lyric note corresponding to the second mapped lyric text in response to the modification operation on the target melody note comprises:
deleting a sentence break display identifier at a note position of the target melody note in response to a sentence break canceling operation for the target melody note;
and deleting the line feed symbol at the text position corresponding to the second mapped lyric text so as to cancel the line feed display of the target lyric note corresponding to the second mapped lyric text at the text position.
10. The method of claim 7, wherein the modifying operation of the target melody note comprises a set liaison operation, and wherein the modifying operation of the target melody note and the adjusting operation of the target lyric note corresponding to the second mapped lyric text in response to the modifying operation of the target melody note comprises:
in response to a setup liaison operation aiming at the target music score note, determining the target music score note as a second target liaison note, and modifying a second target lyric text corresponding to the second target connection note according to a first preset mode;
determining a second target tonic note connected with the second target polyphonic note and a target tonic lyric text corresponding to the second target tonic note;
merging the second target tonic note and the second target polyphonic note to obtain a target note length and a target scale progression;
and deleting the second mapped lyric text, taking the target tonic lyric text as a new second mapped lyric text, modifying the lyric note length of a target lyric note corresponding to the new second mapped lyric text into the target note length, and modifying the lyric note number of the target lyric note corresponding to the new second mapped lyric text into the target musical scale number, wherein a plurality of musical scale numbers in the target musical scale number are connected by using preset symbols.
11. The method of claim 10, wherein the modifying operation of the target musical notation note comprises a break-to-break operation, and wherein the modifying operation of the target musical notation note and the adjusting of the corresponding target lyric note of the second mapped lyric text in response to the modifying operation of the target musical notation note comprises:
responding to a continuous tone canceling operation aiming at the target music score note, and acquiring a second target key note connected with the target music score note and a target lyric text corresponding to the second target key note before the continuous tone canceling operation;
modifying a second target lyric text corresponding to the target music score note according to a second preset mode in the music score editing panel;
modifying the second mapped lyric text into a target lyric text corresponding to a second target tonic note in the lyric editing panel, taking the sum of the note lengths of the second target tonic note and all music notes before the target music note as the lyric note length corresponding to the second mapped lyric text, and taking the note series of the second target tonic note and all music notes before the target music note as the lyric note series corresponding to the second mapped lyric text;
and in the lyric editing panel, taking the second target lyric text as the next lyric text of the second mapped lyric text, taking the note length of the target music note corresponding to the second target lyric text as the lyric note length corresponding to the next lyric text, and taking the scale progression of the target music note corresponding to the second target lyric text as the lyric note progression corresponding to the next lyric text.
12. The method for processing the lyrics according to claim 1, wherein a musical scale is provided in the music score editing panel along the third direction, a plurality of numbers of the musical scale are arranged in a preset manner, and a display position of the lyric text of the partial lyrics in the music score editing panel along the third direction is determined according to a note corresponding to the lyric text, and the method comprises the steps of:
acquiring the scale numbers of notes corresponding to the lyric texts of the partial lyrics;
and determining the display position of the lyric text of the part of the lyrics in the music score editing panel along the third direction according to the musical scale progression and the musical scale set along the third direction.
13. The method of claim 1, wherein the step of providing a music score editing panel and a lyrics editing panel in the music processing interface comprises:
acquiring target word song data corresponding to a target word song, wherein the target word song data comprises composition data and note data of a plurality of notes, and each note data comprises note basic information and a lyric text corresponding to the notes;
performing lyric view mapping on the plurality of note data to obtain a lyric editing panel, wherein the lyric editing panel comprises lyrics formed by the note basic information and the lyric text;
performing score view mapping on the composition data and the note data to obtain a score editing panel, wherein the score editing panel comprises a roller shutter piano;
and displaying the lyric editing panel and the music score editing panel in a lyric processing interface.
14. The method of claim 13, wherein the note data comprises a note instance object, and the step of performing a lyric view mapping on the plurality of note data to obtain a lyric editing panel comprises:
creating a lyric note object according to the lyric note class;
mapping a plurality of the note instance objects to a corresponding plurality of lyric note objects;
and generating a lyric editing panel according to the plurality of lyric note objects.
15. The method of claim 14, wherein the step of generating a lyric editing panel from a plurality of the lyric note objects comprises:
sorting a plurality of the lyric note objects;
obtaining lyric texts in the sequenced lyric note objects and lyric note lengths corresponding to the lyric texts in the lyric note objects;
displaying the lyric note length corresponding to the lyric text at a first preset position of the lyric text according to the pixel value of the lyric note length;
and generating a lyric editing panel according to the lyric text and the lyric note length.
16. The vocabulary processing method according to claim 15, further comprising:
obtaining a scale progression list in the sequenced lyric note objects, wherein the scale progression list comprises at least one lyric note progression;
when the lyric note number is detected to meet the display condition, displaying the lyric note number corresponding to the lyric text at a second preset position of the lyric text;
when the notes in the lyric note object are polyphonic notes, adding preset symbols between the lyric note series of two adjacent polyphonic notes;
the step of generating a lyric editing panel according to the lyric text and the lyric note length comprises the following steps: and generating a lyric editing panel according to the lyric text, the lyric note length and the lyric note number.
17. The vocabulary processing method according to claim 15, further comprising:
and when the attribute value of the sentence break attribute in the lyric note object is a first preset value, increasing a line feed symbol to feed the lyric texts and lyric notes of other lyric note objects behind the lyric note object for line feed display.
18. The word song processing method according to claim 13, wherein the song composition data corresponds to a song composition instance object, the note data corresponds to a note instance object, and the step of performing score view mapping on the song composition data and a plurality of note data to obtain a score editing panel comprises:
creating a score note object according to a score note class, creating a view compilation instance object according to a view compilation class, and creating a key instance object according to a key class;
filling the key instance object, and generating a piano object according to the key instance object;
mapping the composition instance object to a view composition instance object and mapping a plurality of the note instance objects to a plurality of score note objects;
generating a score edit panel from the piano object, the view composition instance object, and a plurality of the score note objects.
19. The method for processing word songs according to claim 1, wherein the step of synchronously adjusting the display contents of the song score editing panel and the lyric editing panel according to the editing operation on the song score editing panel or the lyric editing panel comprises:
determining a processing result of the first editing operation according to the first editing operation aiming at the lyric editing panel, and adjusting the display content of the lyric editing panel according to the processing result;
processing target word and music data corresponding to the target word and music according to the processing result to obtain a first target processing result;
and positioning and selecting a second target lyric text corresponding to the first editing operation in the music score editing panel, and adjusting the display of the second target lyric text in the music score editing panel according to the first target processing result.
20. The method of claim 19, wherein the melody editing panel includes a plurality of melody note objects and the lyric editing panel includes a plurality of lyric note objects;
the step of determining a processing result of the first editing operation according to the first editing operation for the lyric editing panel includes:
determining a target lyric note object corresponding to a first editing operation according to the first editing operation aiming at the lyric editing panel; correspondingly processing the target lyric note object according to the first editing operation to determine a processing result of the first editing operation;
the step of processing the target vocabulary data corresponding to the target vocabulary according to the processing result to obtain a first target processing result comprises the following steps:
determining a target note instance object which has a mapping relation with the target lyric note object in target lyric note data corresponding to the target lyric note, and processing the target note instance object according to the processing result of the first editing operation to obtain a first target processing result;
the step of positioning and selecting a second target lyric text corresponding to the first editing operation in the music score editing panel, and adjusting the display of the second target lyric text in the music score editing panel according to the first target processing result comprises the following steps:
determining a target music note object with a mapping relation with the target note instance object, and modifying the target music note object according to the first target processing result;
and positioning and selecting a second target lyric text of the modified target music note object in the music score editing panel, and synchronously adjusting the display of the second target lyric text in the music score editing panel.
21. The method for processing word songs according to claim 1, wherein the step of synchronously adjusting the display contents of the song score editing panel and the lyric editing panel according to the editing operation on the song score editing panel or the lyric editing panel comprises:
determining a processing result of the second editing operation according to the second editing operation aiming at the music score editing panel, and adjusting the display content of the music score editing panel according to the processing result;
processing target word and music data corresponding to the target word and music according to the processing result to obtain a second target processing result;
and positioning and selecting a first target lyric text corresponding to the second editing operation in the lyric editing panel, and adjusting the display of the first target lyric text in the music score editing panel according to the second target processing result.
22. The method of claim 21, wherein the melody editing panel includes a plurality of melody note objects, and the lyric editing panel includes a plurality of lyric note objects;
the step of determining a processing result of the second editing operation according to the second editing operation for the melody editing panel includes:
determining a target score note object corresponding to a second editing operation according to the second editing operation aiming at the score editing panel; correspondingly processing the target music score note object according to the second editing operation so as to determine a processing result of the second editing operation;
the step of processing the target vocabulary data corresponding to the target vocabulary according to the processing result to obtain a second target processing result comprises the following steps: determining a target note instance object having a mapping relation with the target score note object in target word music data corresponding to the target word music, and processing the target note instance object according to the second editing operation to obtain a second target processing result;
the step of positioning and selecting a first target lyric text corresponding to the second editing operation in the lyric editing panel and adjusting the display of the first target lyric text in the music score editing panel according to the second target processing result comprises the following steps:
determining a target lyric note object which has a mapping relation with the target note instance object, and modifying the target lyric note object according to the second target processing result;
and positioning and selecting a first target lyric text of the modified target lyric note object in the lyric editing panel, and adjusting the display of the first target lyric text in the lyric editing panel.
23. A word-album processing apparatus comprising:
the system comprises a providing module, a lyric editing panel and a lyric editing panel, wherein the display content of the lyric editing panel comprises one or more lines of lyrics of a target lyric arranged and displayed along a first direction, the display content of the lyric editing panel comprises partial lyrics of the target lyric displayed along a second direction, and the display position of lyric texts of the partial lyrics in a third direction in the lyric editing panel is determined according to notes corresponding to the lyric texts;
and the adjusting module is used for synchronously adjusting the display contents of the music score editing panel and the lyric editing panel according to the editing operation aiming at the music score editing panel or the lyric editing panel.
24. A computer-readable storage medium, in which a computer program is stored which is adapted to be loaded by a processor for performing the steps in the method of processing vocabulary according to any of claims 1-22.
25. A computer device, characterized in that the computer device comprises a memory in which a computer program is stored and a processor that executes the steps in the method for processing vocabulary entry according to any one of claims 1 to 22 by calling the computer program stored in the memory.
CN202110940991.1A 2021-08-17 2021-08-17 Word and song processing method and device, computer readable storage medium and computer equipment Pending CN113611267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110940991.1A CN113611267A (en) 2021-08-17 2021-08-17 Word and song processing method and device, computer readable storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110940991.1A CN113611267A (en) 2021-08-17 2021-08-17 Word and song processing method and device, computer readable storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN113611267A true CN113611267A (en) 2021-11-05

Family

ID=78340891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110940991.1A Pending CN113611267A (en) 2021-08-17 2021-08-17 Word and song processing method and device, computer readable storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN113611267A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120034950A (en) * 2010-10-04 2012-04-13 (주)비이소프트 Service method for editing and printing provide the music through internet
CN112699269A (en) * 2020-12-30 2021-04-23 北京达佳互联信息技术有限公司 Lyric display method, device, electronic equipment and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120034950A (en) * 2010-10-04 2012-04-13 (주)비이소프트 Service method for editing and printing provide the music through internet
CN112699269A (en) * 2020-12-30 2021-04-23 北京达佳互联信息技术有限公司 Lyric display method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10997364B2 (en) Operations on sound files associated with cells in spreadsheets
CN111339246B (en) Query statement template generation method, device, equipment and medium
RU2684665C2 (en) Method, device and computer program product for scrolling musical score
CA2372544C (en) Information access method, information access system and program therefor
US20110153330A1 (en) System and method for rendering text synchronized audio
US8440898B2 (en) Automatic positioning of music notation
CN108108094A (en) A kind of information processing method, terminal and computer-readable medium
WO2007078261A1 (en) Method and system for text-editing and playing back a score
CN111653265A (en) Speech synthesis method, speech synthesis device, storage medium and electronic equipment
EP2442299B1 (en) Information processing apparatus, information processing method, and program
CN114023301A (en) Audio editing method, electronic device and storage medium
CN101063919A (en) Point reading machine with three-point locating as basic
US7601906B2 (en) Methods and systems for automated analysis of music display data for a music display system
JP3340581B2 (en) Text-to-speech device and window system
CN113611267A (en) Word and song processing method and device, computer readable storage medium and computer equipment
Hajdu et al. On the evolution of music notation in network music environments
Khan et al. Development of a music score editor based on musicxml
KR102020341B1 (en) System for realizing score and replaying sound source, and method thereof
CN114818605A (en) Font generation and text display method, device, medium and computing equipment
US11694724B2 (en) Gesture-enabled interfaces, systems, methods, and applications for generating digital music compositions
CN107767851B (en) Song playing method and mobile terminal
Garcia et al. PaperComposer: creating interactive paper interfaces for music composition
JP5008248B2 (en) Display processing apparatus, display processing method, display processing program, and recording medium
JP2007086305A (en) Lyrics editing device and lyrics editing program
KR102546902B1 (en) Service providing apparatus and method for providing visual document editing function based on music chord

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Weng Yuchen

Inventor after: Qi Jinglu

Inventor after: Guan Wenhao

Inventor after: Zhang Bowen

Inventor after: He Yuan

Inventor after: Zhang Hangqi

Inventor after: Chen Jie

Inventor after: Fu Mingming

Inventor before: Weng Yuchen

Inventor before: Qi Jinglu

Inventor before: Guan Wenhao

Inventor before: Zhang Bowen

Inventor before: He Yuan

Inventor before: Zhang Hangqi

CB03 Change of inventor or designer information