CN109981893B - Lyric display method and device - Google Patents

Lyric display method and device Download PDF

Info

Publication number
CN109981893B
CN109981893B CN201910151163.2A CN201910151163A CN109981893B CN 109981893 B CN109981893 B CN 109981893B CN 201910151163 A CN201910151163 A CN 201910151163A CN 109981893 B CN109981893 B CN 109981893B
Authority
CN
China
Prior art keywords
time interval
lyrics
modification
sound
word
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.)
Active
Application number
CN201910151163.2A
Other languages
Chinese (zh)
Other versions
CN109981893A (en
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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201910151163.2A priority Critical patent/CN109981893B/en
Publication of CN109981893A publication Critical patent/CN109981893A/en
Application granted granted Critical
Publication of CN109981893B publication Critical patent/CN109981893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/36Accompaniment arrangements
    • G10H1/361Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems
    • G10H1/365Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems the accompaniment information being stored on a host computer and transmitted to a reproducing terminal by means of a network, e.g. public telephone lines
    • 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/36Accompaniment arrangements
    • G10H1/361Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems
    • G10H1/366Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems with means for modifying or correcting the external signal, e.g. pitch correction, reverberation, changing a singer's voice
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The application discloses a lyric display method and device, and belongs to the technical field of networks. The method comprises the following steps: the method comprises the steps of obtaining tone correcting information corresponding to a plurality of standard time intervals of a target song respectively, obtaining a time interval corresponding to each character included in lyrics of the target song, determining the character subjected to tone correction from the lyrics according to the tone correcting information corresponding to the standard time intervals respectively and the time interval corresponding to each character in the lyrics, and displaying the character subjected to tone correction in the lyrics of the target song in a display interface of the lyrics of the target song in a highlighted mode. The words subjected to the voice modification in the lyrics are highlighted in the lyrics display interface, so that a user can visually know which words in the song are specifically subjected to the voice modification in the voice modification, the display form of the voice modification result is enriched, the user can practice the highlighted words in the future singing, and the singing level of the user is improved.

Description

Lyric display method and device
Technical Field
The present application relates to the field of network technologies, and in particular, to a lyric display method and apparatus.
Background
At present, singing software can provide a tone modifying function for a user after the user finishes singing to obtain a singing song so as to modify errors such as inaccurate tone pitch, beat-to-beat and the like in the singing song.
Fig. 1 is a schematic diagram of a lyric display interface provided in the related art, and referring to fig. 1, if a user selects the voice modification function, after modifying a singing song to obtain a voice modification result, the singing class software may respectively score the singing song before modifying and the singing song after modifying, and display the lyrics in the lyric display interface 1, and simultaneously display the total score of the singing song before modifying and the total score of the singing song after modifying.
As can be seen from the above, in the related art, the masking sound result can be displayed only by displaying the scores of the songs before and after masking sound, and the display form of the masking sound result is single.
Disclosure of Invention
The embodiment of the application provides a lyric display method, a lyric display device and a storage medium, which can be used for solving the problem that the display content of a voice modification result is single in the related art. The technical scheme is as follows:
in one aspect, a lyric display method is provided, the method comprising:
acquiring tone modification information respectively corresponding to a plurality of standard time intervals of a target song and a time interval corresponding to each word included in lyrics of the target song;
the target song is subjected to sound modification processing, the standard time intervals are obtained by dividing the target song according to time, and the sound modification information can indicate whether the corresponding standard time interval is subjected to sound modification;
determining words subjected to voice modification from the lyrics according to the voice modification information respectively corresponding to the standard time intervals and the time interval corresponding to each word in the lyrics;
and highlighting the words subjected to voice modification in the lyrics display interface of the target song.
Optionally, the determining, according to the trimming information respectively corresponding to the plurality of standard time intervals and the time interval corresponding to each word in the lyrics, the word subjected to trimming from the lyrics includes:
acquiring tone modification time intervals from the plurality of standard time intervals according to tone modification information corresponding to the plurality of standard time intervals respectively, wherein each tone modification time interval is a standard time interval subjected to tone modification;
determining characters included in each voice modification time interval according to the acquired voice modification time interval and the time interval corresponding to each character in the lyrics;
and determining the words included in each obtained voice modification time interval as the words subjected to voice modification in the lyrics.
Optionally, the sound modification information is a sound modification degree, the sound modification degree is used for indicating the degree of the corresponding standard time interval subjected to sound modification processing, and when the sound modification degree is a standard value, the sound modification degree is used for indicating that the corresponding standard time interval is not subjected to sound modification;
the obtaining of the sound modification time intervals from the plurality of standard time intervals according to the sound modification information respectively corresponding to the plurality of standard time intervals includes:
and for each standard time interval in the plurality of standard time intervals, if the sound modifying interval degree corresponding to each standard time interval is not equal to the standard value, determining each standard time interval as a sound modifying time interval.
Optionally, the pitch length restoration degree comprises a pitch restoration degree and a time restoration degree;
if the pitch trimming degree corresponding to each standard time interval is not equal to the standard value, determining each standard time interval as a pitch trimming time interval, including:
and if the pitch restoration degree and the time restoration degree in the sound restoration degree corresponding to each standard time interval are the standard values, determining each standard time interval as a sound restoration time interval.
Optionally, the obtaining, according to the sound modification information respectively corresponding to the plurality of standard time intervals, a sound modification time interval from the plurality of standard time intervals includes:
traversing each line of lyrics in the lyrics;
in the traversing process, for a traversed line of lyrics, at least one standard time interval with intersection in the time intervals corresponding to the traversed line of lyrics is obtained from the plurality of standard time intervals;
if the sound modification time interval exists in the at least one standard time interval according to the sound modification information corresponding to the at least one standard time interval, acquiring the sound modification time interval existing in the at least one standard time interval to obtain at least one sound modification time interval;
determining the words included in each modifying time interval according to the obtained modifying time interval and the time interval corresponding to each word in the lyrics, wherein the determining comprises the following steps:
according to the time interval corresponding to the traversed line of lyrics, determining the time interval corresponding to each word in the traversed line of lyrics from the time interval corresponding to each word in the lyrics;
determining words included in each modifying time interval in the at least one modifying time interval according to the time interval corresponding to each word in the traversed lyrics in one line;
the determining the words included in each obtained modifying time interval as modified words in the lyrics includes:
determining the words included in each voice modification time interval in the at least one voice modification time interval as the words subjected to voice modification in the traversed line of lyrics;
and determining the words subjected to the sound modification in all the traversed lines of the lyrics as the words subjected to the sound modification in the lyrics.
Optionally, before highlighting the word with the modified tone in the lyric display interface of the target song, the method further includes:
determining the position of the word subjected to sound modification in the lyrics;
the highlighting of the words subjected to the voice modification in the lyrics in the lyric display interface of the target song comprises the following steps:
and highlighting the words subjected to the sound modification in the lyrics in a lyric display interface of the target song according to the positions of the words subjected to the sound modification in the lyrics.
Optionally, the determining, according to the position of each word in the lyrics, the position of the word in the lyrics, which is subjected to the modifying, in the lyrics includes:
determining an index of each word subjected to sound modification in the lyrics, wherein the index is used for indicating a line position of each word in the lyrics and a word position of the line where each word is located;
the highlighting of the word subjected to the sound modification in the lyrics in the lyric display interface of the target song according to the position of the word subjected to the sound modification in the lyrics comprises the following steps:
and highlighting the words subjected to the sound modification in the lyrics in a lyric display interface of the target song according to the index of each word subjected to the sound modification in the lyrics.
Optionally, the highlighting the word subjected to the voice modification in the lyric includes:
and displaying the words subjected to the sound modification in the lyrics according to a display format different from the display format of the words not subjected to the sound modification in the lyrics, wherein the display format comprises at least one of color, font, background or special effect.
Optionally, before highlighting the word with the modified tone in the lyric, the method further includes:
determining the tone modification degree corresponding to each word subjected to tone modification in the lyrics according to the tone modification information corresponding to the standard time intervals respectively;
and highlighting the words subjected to the sound modification in the lyrics at different levels according to the sound modification degree corresponding to each word subjected to the sound modification in the lyrics.
In one aspect, there is provided a lyric display apparatus, the apparatus including:
the acquisition module is used for acquiring the sound modification information corresponding to a plurality of standard time intervals of the target song respectively and the time interval corresponding to each word included in the lyrics of the target song;
the target song is subjected to sound modification processing, the standard time intervals are obtained by dividing the target song according to time, and the sound modification information can indicate whether the corresponding standard time interval is subjected to sound modification;
the first determining module is used for determining the words subjected to voice modification from the lyrics according to the voice modification information respectively corresponding to the standard time intervals and the time interval corresponding to each word in the lyrics;
and the display module is used for highlighting the words subjected to the voice modification in the lyrics in the lyric display interface of the target song.
Optionally, the first determining module includes:
a first obtaining unit, configured to obtain tone modification time intervals from the plurality of standard time intervals according to tone modification information corresponding to the plurality of standard time intervals, respectively, where each tone modification time interval is a standard time interval subjected to tone modification;
the first determining unit is used for determining the words included in each voice modification time interval according to the acquired voice modification time interval and the time interval corresponding to each word in the lyrics;
and the second determining unit is used for determining the words included in each obtained voice modification time interval as the words subjected to voice modification in the lyrics.
Optionally, the sound modification information is a sound modification degree, the sound modification degree is used for indicating the degree of the corresponding standard time interval subjected to sound modification processing, and when the sound modification degree is a standard value, the sound modification degree is used for indicating that the corresponding standard time interval is not subjected to sound modification;
the first obtaining unit is specifically configured to:
and for each standard time interval in the plurality of standard time intervals, if the sound modifying interval degree corresponding to each standard time interval is not equal to the standard value, determining each standard time interval as a sound modifying time interval.
Optionally, the pitch length restoration degree comprises a pitch restoration degree and a time restoration degree;
the first obtaining unit is further specifically configured to:
and if the pitch restoration degree and the time restoration degree in the sound restoration degree corresponding to each standard time interval are the standard values, determining each standard time interval as a sound restoration time interval.
Optionally, the apparatus further comprises:
the traversal module is used for traversing each line of lyrics in the lyrics;
the first acquisition unit includes:
the first obtaining subunit is configured to, in the traversing process, obtain, from the multiple standard time intervals, at least one standard time interval in which an intersection exists between time intervals corresponding to a traversed line of lyrics;
a second obtaining subunit, configured to, if it is determined that a sound modification time interval exists in the at least one standard time interval according to sound modification information corresponding to the at least one standard time interval, obtain the sound modification time interval existing in the at least one standard time interval, and obtain at least one sound modification time interval;
the first determination unit includes:
the first determining subunit is configured to determine, according to the time interval corresponding to the traversed row of lyrics, a time interval corresponding to each word in the traversed row of lyrics from the time interval corresponding to each word in the lyrics;
the second determining subunit is configured to determine, according to the time interval corresponding to each word in each traversed line of lyrics, a word included in each modifying time interval in the at least one modifying time interval;
the second determination unit includes:
a third determining subunit, configured to determine, as a word subjected to the masking in each traversed line of lyrics, a word included in each masking time interval of the at least one masking time interval;
and the fourth determining subunit is used for determining the word subjected to the sound modification in all the lines of the traversed song as the word subjected to the sound modification in the lyrics.
Optionally, the apparatus further comprises:
the second determining module is used for determining the position of the word subjected to the voice modification in the lyrics;
the display module is specifically configured to:
and highlighting the words subjected to the sound modification in the lyrics in a lyric display interface of the target song according to the positions of the words subjected to the sound modification in the lyrics.
Optionally, the second determining module includes:
a third determining unit, configured to determine an index of each word subjected to the masking in the lyrics, where the index is used to indicate a line position of each word in the lyrics and a word position of a line where the word is located;
the display module is specifically configured to:
and highlighting the words subjected to the sound modification in the lyrics in a lyric display interface of the target song according to the index of each word subjected to the sound modification in the lyrics.
Optionally, the display module comprises:
and displaying the words subjected to the sound modification in the lyrics according to a display format different from the display format of the words not subjected to the sound modification in the lyrics, wherein the display format comprises at least one of color, font, background or special effect.
Optionally, the display module further comprises:
a fourth determining unit, configured to determine, according to the tone modification information respectively corresponding to the multiple standard time intervals, a tone modification degree corresponding to each word subjected to tone modification in the lyrics;
and the display unit is used for highlighting the words subjected to the voice modification in the lyrics in different levels according to the voice modification degree corresponding to each word subjected to the voice modification in the lyrics.
In one aspect, there is provided a lyric display apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the lyric display method.
In one aspect, a computer-readable storage medium is provided, which has instructions stored thereon, and when executed by a processor, implements the lyric display method described above.
The technical scheme provided by the embodiment of the application can at least bring the following beneficial effects:
in the embodiment of the application, the tone modification information corresponding to a plurality of standard time intervals of a target song and the time interval corresponding to each word included in the lyrics of the target song can be acquired, wherein the target song is a song after tone modification processing, the plurality of standard time intervals are obtained by dividing the target song according to time, the tone modification information can indicate whether the corresponding standard time intervals are subjected to tone modification, the words subjected to tone modification are determined from the lyrics according to the tone modification information corresponding to the plurality of standard time intervals and the time interval corresponding to each word in the lyrics, and the words subjected to tone modification in the lyrics of the target song are highlighted in a lyrics display interface of the target song. That is, the words subjected to sound modification in the lyrics can be highlighted in the lyrics display interface of the target song, so that the user can visually know which words in the target song are specifically subjected to sound modification in the sound modification result, the display form of the sound modification result is enriched, the user can practice the highlighted words in future singing, and the singing level of the user 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. 1 is a schematic diagram of a lyrics display interface provided in the related art;
FIG. 2 is a flowchart of a lyric display method according to an embodiment of the present application;
FIG. 3 is a flow chart of another lyric display method provided by the embodiment of the present application;
FIG. 4 is a schematic diagram of a lyric display interface provided by an embodiment of the present application;
fig. 5 is a block diagram of a lyric display apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of a terminal according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Before explaining the embodiments of the present application in detail, an application scenario in the embodiments of the present application will be explained.
The lyric display method provided by the embodiment of the application can be applied to a display scene of a voice modification result after singing is finished and a singing song is subjected to voice modification, and in practical application, the display scene can also be called a lyric display scene, a voice modification result display scene or a rating scene, and the like, and the method is not limited by the embodiment of the application. For example, a user can sing in a singing mode provided by a music application installed on the terminal, after the singing is finished, the music application can modify a singing song, and the modification result is displayed on a lyric display interface through the method provided by the embodiment of the application, so that the user can clearly know the modification result. In addition, the lyric display method provided in the embodiment of the present application may also be applied to a K-song terminal provided in a song-singing entertainment place such as KTV (karaoke), or may also be applied to a K-song system at a TV end used in a home, or may also be applied to a professional recording device in a recording studio, and the like, which is not limited in the embodiment of the present application.
Fig. 2 is a flowchart of a lyric display method according to an embodiment of the present application, where the method is used in a terminal or a multimedia application installed in the terminal, where the terminal may be a mobile phone, a tablet computer, a television, or a professional recording device, and the multimedia application may be a music application, a video application, or a live application. Referring to fig. 2, the method includes:
step 201: the method comprises the steps of obtaining sound modification information corresponding to a plurality of standard time intervals of a target song respectively and a time interval corresponding to each word included by lyrics of the target song, wherein the target song is a song after sound modification, the standard time intervals are obtained by dividing the target song according to time, and the sound modification information can indicate whether the corresponding standard time intervals are subjected to sound modification or not.
Step 202: and determining the words subjected to voice modification from the lyrics according to the voice modification information respectively corresponding to the standard time intervals and the time interval corresponding to each word in the lyrics.
Step 203: and highlighting the words subjected to sound modification in the lyrics display interface of the target song.
In the embodiment of the application, the tone modification information corresponding to a plurality of standard time intervals of a target song and the time interval corresponding to each word included in the lyrics of the target song can be acquired, wherein the target song is a song after tone modification processing, the plurality of standard time intervals are obtained by dividing the target song according to time, the tone modification information can indicate whether the corresponding standard time intervals are subjected to tone modification, the words subjected to tone modification are determined from the lyrics according to the tone modification information corresponding to the plurality of standard time intervals and the time interval corresponding to each word in the lyrics, and the words subjected to tone modification in the lyrics of the target song are highlighted in a lyrics display interface of the target song. That is, the words subjected to the sound modification in the lyrics can be highlighted in the lyrics display interface of the target song, so that the user can visually know which words in the song are specifically modified in the sound modification, the display form of the sound modification result is enriched, the user can practice the highlighted words in the future singing, and the singing level of the user is improved.
Optionally, determining the word subjected to the voice modification from the lyric according to the voice modification information respectively corresponding to the plurality of standard time intervals and the time interval corresponding to each word in the lyric, including:
acquiring tone modification time intervals from a plurality of standard time intervals according to tone modification information corresponding to the plurality of standard time intervals respectively, wherein each tone modification time interval is a standard time interval subjected to tone modification;
determining characters included in each voice modification time interval according to the acquired voice modification time interval and the time interval corresponding to each character in the lyrics;
and determining the words included in each obtained voice modification time interval as the words subjected to voice modification in the lyrics.
Optionally, the sound modification information is a sound modification degree, the sound modification degree is used for indicating the degree of the corresponding standard time interval subjected to sound modification processing, and when the sound modification degree is a standard value, the sound modification degree is used for indicating that the corresponding standard time interval is not subjected to sound modification;
acquiring the sound modification time interval from the plurality of standard time intervals according to the sound modification information respectively corresponding to the plurality of standard time intervals, wherein the sound modification information comprises:
and for each standard time interval in the plurality of standard time intervals, if the pitch trimming degree corresponding to each standard time interval is not equal to the standard value, determining each standard time interval as a pitch trimming time interval.
Optionally, the pitch interval degrees include a pitch restoration degree and a time restoration degree;
if the pitch trimming degree corresponding to each standard time interval is not equal to the standard value, determining each standard time interval as a pitch trimming time interval, including:
and if the pitch restoration degree and the time restoration degree in the sound restoration degree corresponding to each standard time interval are standard values, determining each standard time interval as a sound restoration time interval.
Optionally, before obtaining the mute time interval from the plurality of standard time intervals according to the mute information respectively corresponding to the plurality of standard time intervals, the method further includes:
traversing each line of lyrics in the lyrics;
in the traversing process, for a traversed line of lyrics, at least one standard time interval with intersection in the time intervals corresponding to the traversed line of lyrics is obtained from a plurality of standard time intervals;
if the sound modification time interval exists in the at least one standard time interval according to the sound modification information corresponding to the at least one standard time interval, acquiring the sound modification time interval existing in the at least one standard time interval to obtain the at least one sound modification time interval;
determining the words included in each modifying time interval according to the obtained modifying time interval and the time interval corresponding to each word in the lyrics, wherein the determining comprises the following steps:
according to the time interval corresponding to the traversed line of lyrics, determining the time interval corresponding to each word in the traversed line of lyrics from the time interval corresponding to each word in the lyrics;
determining words included in each modification time interval in at least one modification time interval according to the time interval corresponding to each word in the traversed line of lyrics;
determining the words included in each obtained voice modification time interval in the voice modification time intervals as the words subjected to voice modification in the lyrics, wherein the method comprises the following steps:
determining the words included in each voice modification time interval in at least one voice modification time interval as the words subjected to voice modification in a traversed line of lyrics;
and determining the words subjected to the sound modification in all the traversed lines of the lyrics as the words subjected to the sound modification in the lyrics.
Optionally, before highlighting the modified words in the lyrics in the lyric display interface of the target song, the method further includes:
determining the position of the word subjected to voice modification in the lyrics;
highlighting the words subjected to sound modification in the lyrics in a lyric display interface of a target song, wherein the method comprises the following steps:
and highlighting the words subjected to the voice modification in the lyrics in a lyric display interface of the target song according to the positions of the words subjected to the voice modification in the lyrics.
Optionally, determining the position of the word subjected to the voice modification in the lyric according to the position of each word in the lyric, including:
determining an index of each word subjected to sound modification in the lyrics, wherein the index is used for indicating the line position of each word in the lyrics and the word position of the line where each word is located;
according to the position of the word subjected to the sound modification in the lyric, highlighting the word subjected to the sound modification in the lyric in a lyric display interface of a target song, wherein the method comprises the following steps:
and highlighting the words subjected to the sound modification in the lyrics in a lyric display interface of the target song according to the index of each word subjected to the sound modification in the lyrics.
Optionally, highlighting the vocalized word in the song includes:
and displaying the words subjected to the sound modification in the lyrics according to a display format different from the display format of the words not subjected to the sound modification in the lyrics, wherein the display format comprises at least one of color, font, background or special effect.
Optionally, before highlighting the vocalized word in the song, the method further includes:
determining the tone modifying degree corresponding to each word subjected to tone modification in the lyrics according to the tone modifying information respectively corresponding to the standard time intervals;
and highlighting the words subjected to sound modification in the lyrics at different levels according to the sound modification degree corresponding to each word subjected to sound modification in the lyrics.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present application, and the present application embodiment is not described in detail again.
Fig. 3 is a flowchart of a lyric display method according to an embodiment of the present application, where the method is used in a terminal or a multimedia application installed in the terminal, where the terminal may be a mobile phone, a tablet computer, a television, or a professional recording device, and the multimedia application may be a music application, a video application, or a live application. The embodiment of the present application will take the application of the method in multimedia applications as an example, and the method will be described in detail with reference to fig. 3, where the method includes:
step 301: and acquiring the sound modification information respectively corresponding to the plurality of standard time intervals of the target song and the time interval corresponding to each word included by the lyrics of the target song.
The target song is a song after sound modifying processing, and the sound modifying processing refers to an audio processing method for processing the pitch and/or the duration of an audio frequency in a certain time interval in the song so as to enable the pitch of the audio frequency in the time interval to be the same as or similar to the pitch in the original singing audio frequency of the song and/or enable the duration of the audio frequency in the time interval to be the same as or similar to the duration in the original singing audio frequency of the song. Alternatively, the user may select a song to be dubbed in the multimedia application and dub it. For example, in the multimedia application, the user may select a song obtained after the user sings on the terminal or a song obtained after other users sing and stored on the terminal or the server according to a prompt of the multimedia application, and after selecting the song, the multimedia application may modify the selected song and determine the modified song as the target song.
Specifically, the terminal is provided with a multimedia application, the multimedia application can provide a singing mode for a user to enable the user to perform singing in the singing mode, and the multimedia application can also provide a sound modifying function for the user to enable the user to modify a singing song of the user after the singing is finished, or modify a song uploaded by the user, or modify a song selected and stored on the terminal or the server and obtained after the singing by other users.
The target songs are obtained by dividing the plurality of standard time intervals according to time, each target time interval is continuous, and the duration of the two continuous time intervals can be the same or different. In particular, the target songs may be divided by time by the terminal or a multimedia application installed in the terminal. For example, when the user determines the target song through the multimedia application, an interval division standard may be determined according to the total duration of the target song, and the target song may be divided into a plurality of standard time intervals according to the interval division standard, where the interval division standard may be used to indicate the duration of the standard time intervals.
For example, assuming that the total duration of the target song is 3 minutes and 54 seconds, and the multimedia application can determine that the interval division criterion is 1s, according to the interval division criterion, the multimedia application divides the target song into 234 standard time intervals, the duration of each standard time interval is 1s, and the 234 standard time intervals are continuous time intervals. For example, in 234 standard time intervals, the 1 st standard time interval is [0,1), and the 2 nd standard time interval is [1,2), where the unit of the standard time interval is s, and the standard time interval includes the start time and does not include the end time.
In another possible embodiment, the multimedia application may further determine the interval division criterion as an ordered sequence of 1s, 2s, and 3s, and determine that the duration of the nth standard time interval is 1s, the duration of the (n + 1) th standard time interval is 2s, the duration of the (n + 2) th standard time interval is 3s, and the duration of the (n + 4) th standard time interval is 1s according to the ordered sequence. As long as the divided standard time interval is a continuous time interval and corresponds to the duration of the target song, this is not specifically limited in the embodiment of the present application.
Wherein, the sound modification information can indicate whether the corresponding standard time interval is subjected to sound modification. Specifically, the sound modification information may be sound modification indication information or a sound modification degree. And the sound modification indication information is used for indicating whether the corresponding standard time interval is subjected to sound modification or not. For example, if the sound modification instruction information is the first sound modification instruction information, it indicates that the corresponding standard time interval has undergone sound modification, and if the sound modification instruction information is the second sound modification instruction information, it indicates that the corresponding standard time interval has not undergone sound modification. For example, the first update instruction information is 1, and the second update instruction information is 0. The sound modifying interval degree is used for indicating the degree of the corresponding standard time interval subjected to sound modifying processing, and when the sound modifying degree is a standard value, the sound modifying interval degree is used for indicating that the corresponding standard time interval is not subjected to sound modifying, and when the sound modifying degree is a non-standard value, namely other values except the standard value, the sound modifying interval degree is used for indicating that the corresponding standard time interval is subjected to sound modifying. For example, the standard value may be 1.
In practical application, after the multimedia application modifies the target song, a modification file is output, and a plurality of standard time intervals obtained by dividing the target song according to time by the multimedia application and modification information corresponding to each time interval in the plurality of standard time intervals are stored in the modification file. If the standard time interval indicated by the sound modification information does not pass the sound modification, the multimedia application is not subjected to sound modification on the target song in the standard time interval, and if the standard time interval indicated by the sound modification information passes the sound modification, the multimedia application is subjected to sound modification on the target song in the standard time interval.
Optionally, when the tone modification information indicates the tone modification degree, the tone modification information may indicate a tone pitch repair degree when the tone pitch is repaired by the multimedia application, a time repair degree when the time is repaired, or a tone pitch repair degree and a time repair degree when the tone pitch and the time are repaired at the same time. When the sound modification information indicates the sound modification degree, a standard value may be set, when the sound modification degree is the standard value, the standard time interval corresponding to the sound modification interval degree indication is not subjected to sound modification, when the sound modification degree is not the standard value, the standard time interval corresponding to the sound modification interval degree indication is subjected to sound modification, and the sound modification interval degree is higher as the value of the sound modification interval degree is larger.
Assuming that the standard value is 1.0, when the sound modification degree is a sound modification degree indicating a sound modification of a pitch, if the sound modification degree is 1.0, the standard time interval corresponding to the sound modification degree indication is not subjected to sound modification, and if the sound modification degree is a value other than 1.0, the standard time interval corresponding to the sound modification degree indication is subjected to sound modification.
Assuming that the standard value is 1.0, when the sound modification degree is a time modification degree indicating time modification, if the sound modification degree is 1.0, the standard time interval corresponding to the sound modification degree indication is not subjected to sound modification, and if the sound modification degree is a value other than 1.0, the standard time interval corresponding to the sound modification degree indication is subjected to sound modification.
Assuming that the standard value is 1.0, when the sound modification degree is a pitch modification degree and a time modification degree indicating that the pitch and the time are modified at the same time, the sound modification information may be an array of sound modification degrees. For example, the sound modification information is [ pitch modification degree, time modification degree ], when the sound modification information is a standard value, the sound modification information indicates that the corresponding standard time interval is not modified, and when any value in the array of the sound modification information is a value other than 1.0, the multimedia application is described to modify the standard time interval.
It should be noted that the data of the sound modification information is all exemplary data in the embodiment of the present application, and is not limited to the embodiment of the present application, and the sound modification information in practical application may also be other data, which is not specifically limited in the embodiment of the present application.
Step 302: and acquiring the sound modification time interval from the plurality of standard time intervals according to the sound modification information respectively corresponding to the plurality of standard time intervals.
Wherein, each sound modification time interval refers to a standard time interval after sound modification. Each standard time in the plurality of standard time intervals corresponds to one piece of sound modification information, and the sound modification information can indicate whether the sound modification is performed on the corresponding standard time interval, so that when the sound modification information indicates that the sound modification is performed on the corresponding standard time interval, the standard time interval corresponding to the sound modification information is the sound modification time interval.
Specifically, when the sound modification time interval is acquired from the plurality of standard time intervals, for each of the plurality of standard time intervals, whether the sound modification has been performed on each of the standard time intervals may be determined according to the sound modification information corresponding to each of the standard time intervals. And when the standard time interval corresponding to the sound modification information indication is the standard time interval subjected to sound modification, determining the standard time interval corresponding to the sound modification information as the sound modification time interval, and when the standard time interval corresponding to the sound modification information indication is the standard time interval not subjected to sound modification, not processing the standard time interval corresponding to the sound modification information.
Optionally, if the sound modification information is a sound modification degree, for each of the plurality of standard time intervals, if the sound modification degree corresponding to each of the standard time intervals is not equal to the standard value, determining each of the standard time intervals as a sound modification time interval.
The sound modifying interval degree is used for indicating the degree of the corresponding standard time interval subjected to sound modifying processing, when the sound modifying interval degree is a standard value, the sound modifying interval degree is used for indicating that the corresponding standard time interval is not subjected to sound modifying, and when the sound modifying interval degree is other values except the standard value, the sound modifying interval degree is used for indicating that the corresponding standard time interval is subjected to sound modifying. After the standard value of the sound modification degree is determined, the higher the multiple of the sound modification degree and the standard value is, the higher the degree of sound modification processing performed on the corresponding standard time interval is. For example, if the standard value of the sound modification degree is 1.0, and if the sound modification degree of the standard time interval a is 2.0 times the standard value and the sound modification degree of the standard time interval B is 5.0 times the standard value, the sound modification degree of the standard time interval B is higher than the sound modification degree of the standard time interval a.
Specifically, whether the corresponding standard time interval is the mute time interval may be determined according to whether the mute interval is a standard value. For example, assuming that the standard value is 1.0, if the sound modification degree corresponding to the standard time interval a is 2.0 and the value of the sound modification degree is not the standard value, the standard time interval may be determined as the sound modification time interval. If the sound modifying degree corresponding to the standard time interval B is 1.0, and the value of the sound modifying degree is a standard value, the standard time interval is a non-sound modifying time interval.
Optionally, the pitch repair degree may include a pitch repair degree and a time repair degree, and if both the pitch repair degree and the time repair degree in the pitch repair degree corresponding to each standard time interval are standard values, each standard time interval is determined as a pitch repair time interval.
It should be noted that, if the pitch length correction degree includes a pitch correction degree and a time correction degree, the pitch correction degree corresponding to one standard time interval is an array. For example, the standard time interval a corresponds to a pitch restoration degree of (1.0 ), where the first value is a pitch restoration degree, and the second value is a time restoration degree.
Optionally, assuming that the standard values corresponding to the pitch restoration degree and the time restoration degree are both 1.0, if the sound restoration degree corresponding to the standard time interval a is (1.0 ), it indicates that the standard time interval a has not been subjected to sound restoration, and the standard time interval a cannot be determined as the sound restoration time interval; if the sound modification degree corresponding to the standard time interval B is (1.0,2.0), indicating that the time of the standard time interval B is modified, determining the standard time interval B as a sound modification time interval; when the tone modification degree corresponding to the standard time interval C is (2.0,1.0), which indicates that the pitch of the standard time interval C is modified, the standard time interval C may be determined as a tone modification time interval; when the sound modification degree corresponding to the standard time interval D is (2.0 ), it is described that both the pitch and the time of the standard time interval D are modified, and the standard time interval D may be determined as the sound modification time interval.
It should be noted that the data of the sound modification information is all exemplary data in the embodiment of the present application, and is not limited to the embodiment of the present application, and the sound modification information in practical application may also be other data, which is not specifically limited in the embodiment of the present application.
Step 303: and determining the words included in each voice modification time interval according to the acquired voice modification time interval and the time interval corresponding to each word in the lyrics.
It should be noted that when determining the words included in each of the modifying time intervals according to the obtained modifying time interval and the time interval corresponding to each word in the lyrics, the words included in each of the modifying time intervals may be determined directly according to the obtained modifying time interval and the time interval corresponding to each word in the lyrics, or the words included in each of the modifying time intervals may be determined first according to the obtained modifying time interval, and then the words included in each of the modifying time intervals may be determined according to the time interval corresponding to each word in the lyrics and the time interval corresponding to each word in the lyrics.
Alternatively, if the words included in each of the modifying time intervals are directly determined according to the obtained modifying time interval and the time interval corresponding to each word in the lyrics, since the modifying time interval is represented by the start time and the end time of the interval, and the time interval corresponding to each word in the lyrics is also represented by the start time and the end time of the time interval, the words included in each of the modifying time intervals can be directly determined according to whether a time intersection exists between the time interval corresponding to each word in the lyrics and the modifying time interval.
For example, the word b, the word c and the word d can be determined as the words included in the phonetic modification time interval a because the time intervals corresponding to the word b, the word c and the word d have an intersection with the phonetic modification time interval a and the time intervals corresponding to the word e and the phonetic modification time interval a have no intersection with each other.
Optionally, if a corresponding time interval in the lyrics is determined according to the obtained modifying time interval, then a word included in each modifying time interval is determined according to the corresponding time interval in the lyrics and the corresponding time interval of each word in the lyrics, marking the corresponding time in the lyrics according to the start time and the end time in the modifying time interval, then determining a word having an interplay between the corresponding time interval and the time interval corresponding to each word in the lyrics according to the marked time interval and the corresponding time interval of each word in the lyrics, and finally determining the words as the words included in each modifying time interval.
For example, if the time length of the target song is 3 minutes and 54 seconds, the total time interval of the target song is [0,234 ], and the modification time interval a is [100,102), so that the time interval corresponding to the modification time interval a can be determined in the total time interval of the target song, the words in the time interval can be searched for in the lyrics, and finally, the words in the time interval can be determined as the words included in the modification time interval a.
Step 304: and determining the words included in each obtained voice modification time interval as the words subjected to voice modification in the lyrics.
It should be noted that after determining the words included in each of the modifying time intervals, the words included in each of the modifying time intervals in all the obtained modifying time intervals are determined as modified words in the lyrics, that is, the finally determined modified words in the lyrics are the words included in all the modified standard time intervals in the target song. For example, the target song includes a phonetic modification time interval a and a phonetic modification time interval B, the words included in the phonetic modification time interval a are words a, B and c, the words included in the phonetic modification time interval B are words d, e and f, and the words subjected to phonetic modification in the finally determined lyrics are words a, B, c, d, e and f.
Optionally, when displaying the lyrics, displaying each lyric in a row unit, for example, two lyrics in one lyric, when the number of words in the first lyric and the second lyric is small and each lyric can be displayed in one row, displaying the lyric of the first sentence in the first row and the lyric of the second sentence in the second row; if the number of words of the lyrics of the first sentence is large and one line cannot be completely displayed, a part of words of the lyrics of the first sentence can be displayed on the first line, a part of words which are not displayed on the first line in the lyrics of the first sentence can be displayed on the second line, and the lyrics of the second sentence can be displayed on the third line.
Based on the display mode, when the words subjected to the voice modification in the lyrics are determined, traversing can be performed on each line of lyrics to determine the words subjected to the voice modification in each line of lyrics, and further obtain the words subjected to the voice modification in all the lyrics, so that the time of the determination process can be shortened, and the efficiency of the determination result can be improved.
Specifically, each line of lyrics in the lyrics may be traversed, in the traversing process, for one traversed line of lyrics, at least one standard time interval having an intersection with a time interval corresponding to the traversed line of lyrics is obtained from a plurality of standard time intervals, if a sound modification time interval is determined to exist in at least one standard time interval according to sound modification information corresponding to at least one standard time interval, the sound modification time interval existing in at least one standard time interval is obtained to obtain at least one sound modification time interval, a time interval corresponding to each word in the traversed line of lyrics is determined from the time interval corresponding to each word in the lyrics according to the time interval corresponding to the traversed line of lyrics, a word included in each sound modification time interval in at least one sound modification time interval is determined according to the time interval corresponding to each word in the traversed line of lyrics, determining the words included in each voice modification time interval in at least one voice modification time interval as the words subjected to voice modification in the traversed row of lyrics, and determining the words subjected to voice modification in all the traversed rows of lyrics as the words subjected to voice modification in the lyrics.
It should be noted that, because the lyrics are displayed in a row unit when being displayed, when determining the words subjected to the sound modification in the lyrics, a time interval of each row in the lyrics may be determined, and then at least one standard time interval having an intersection between the time interval of each row and the standard time intervals may be determined according to the time interval of each row and the standard time intervals. Therefore, when words subjected to sound modification in the lyrics are determined, the total time interval of the song can be decomposed into the time interval of each line, so that during each time of traversal, the time interval of each line only needs to be traversed, the total time interval of the song does not need to be traversed, the time of the determination process is greatly shortened, and the efficiency of the determination result is improved.
Specifically, the line number corresponding to the standard time interval in the lyric may be determined according to the start time and the end time of the standard time interval and the start time and the end time of the time interval of each line in the lyric, and then the time interval of each word in the line corresponding to the standard time interval may be traversed according to the start time and the end time of the standard time interval. Since the time interval of each word corresponds to the start time and the end time of the word, or the time interval of each word corresponds to the start time and the duration of the word, the word at the start time and the word at the end time in the standard time can be determined according to the standard time interval and the time interval of each word in the line, and the word between the word at the start time and the word at the end time can be determined as the word subjected to the sound modification in the lyrics of the line.
It should be noted that, in the embodiment of the present application, the word subjected to the correction in each line of lyrics is determined by performing traversal only in units of each line of lyrics, and then the word subjected to the correction in all the lyrics is obtained as an example for description.
Step 305: and highlighting the words subjected to sound modification in the lyrics display interface of the target song.
Specifically, when the words subjected to the correction in the lyrics are highlighted, the words subjected to the correction in the lyrics may be displayed in a display format different from the display format of the words not subjected to the correction in the lyrics, where the display format includes at least one of a color, a font, a background, or a special effect. That is, in the lyric display interface, the words that have not been subjected to the correction may be displayed in a first display format, and the words that have been subjected to the correction may be displayed in a second display format, where the first display format is different from the second display format.
For example, in the lyric display interface of the target song, the display format of the non-vocalized words may be set as: the color is white, the font is Song style, the font size is No. 4, no background and no special effect, and the display format of the word after sound modification is set as follows: the color is changed into green, the font is Microsoft elegant black, the font size is No. 3, the white background, the special effect of rotation and the like. It should be noted that the above change of the display format of the modified word is only exemplary data, and other data may also be used in practical applications, which is not specifically limited in this embodiment of the present application.
Optionally, in the lyric display interface of the target song, besides displaying the words that are not subjected to the trimming in the first display format and displaying the words that are subjected to the trimming in the second display format, and the first display format is different from the second display format, the total score and the singing level of the singing song before the trimming of the target song, the total score and the singing level of the singing song after the trimming, a play progress control bar, a play time and other controls that can control the target song may be displayed.
For example, referring to fig. 4, after the modified words in the lyrics are determined, the modified words in the lyrics may be highlighted in the lyrics display interface 01 of the target song as shown in fig. 4.
Furthermore, before highlighting the word subjected to the voice modification in the lyrics, the position of the word subjected to the voice modification in the lyrics can be determined, so that the word subjected to the voice modification in the lyrics can be highlighted in the lyrics display interface of the target song according to the position of the word subjected to the voice modification in the lyrics. The words subjected to the voice modification correspond to the lyrics of the target song, so that the words needing to be highlighted can be quickly and accurately positioned in a lyric display interface of the target song, and the display efficiency is improved.
Specifically, when the position of the word subjected to the voice modification in the lyric is determined according to the position of each word in the lyric, the index of each word subjected to the voice modification in the lyric can be determined, and then the word subjected to the voice modification in the lyric is highlighted in the lyric display interface of the target song according to the index of each word subjected to the voice modification in the lyric.
Wherein the index of each word comprises a row index and a word index. The line index is used for indicating the line position of each word in the lyrics, for example, the line index is used for indicating the line sequence number; the word index indicates the word position of each word in the row, for example, the word index indicates the word number.
Since each word has not only the start time and end time information but also the line sequence number of all lines and the word sequence number of the word in the line when each word subjected to the correction in the lyric is determined, the index of each word can be determined when each word subjected to the correction in the lyric is determined. For example, the index of word a is 1(1), which indicates that word a is located in line 1 of the lyric and is the 1 st word in line 1; for another example, the index of word b is 5(9), indicating that word b is located on line 5 of the lyric and is the 9 th word in line 5. The embodiment of the present application does not limit the specific data of the index.
Optionally, if the word subjected to the voice modification in the lyric has the following condition: in the indexes of at least two words, the line numbers of the at least two words are the same, and the word sequence numbers in the line are consecutive word sequence numbers, then the indexes of the at least two words can be merged to form a word sequence number set, so as to identify the positions of the at least two words in the lyrics in a mode of the word sequence number set. For example, the index of the word a is 2(1), the index of the word b is 2(2), the index of the word c is 2(3), the index of the word d is 2(4), and the index of the word e is 2(5), since the row numbers of the word a, the word b, the word c, the word d, and the word e are all 2, and the word sequence numbers of the word a, the word b, the word c, the word d, and the word e in the 2 nd row are consecutive word sequence numbers, the word sequence numbers of the word a, the word b, the word c, the word d, and the word e can be combined to form a word sequence number set, which can be represented as 2(1,5), wherein 2 represents the 2 nd row of the word sequence number set in the lyrics, and 1,5) represents the word sequence number set as five words of the word sequence numbers 1-5 in the 2 nd row of the lyrics.
Alternatively, since the word included in each of the modification time intervals is determined as the word subjected to modification in the lyric in step 304, after the index of each word is determined, the index of the word included in the modification time interval may be recorded in units of the modification time interval, and at this time, the index may be a line number (a start word number, an end word number). For example, the modification time interval a includes a word a, a word b, and a word c, and the index of the word a is 2(1), the index of the word b is 2(2), and the index of the word c is 2(3), then the modification time interval a records the index of the word included in the modification time interval as 2(1,3), where 2 indicates that the word included in the modification time interval is located in the 2 nd line of the lyrics, 1 indicates that the first word included in the modification time interval is located in the position of the first word in the 2 nd line of the lyrics, and 3 indicates that the last word included in the modification time interval is located in the position of the third word in the 2 nd line of the lyrics.
In addition, when the line numbers of the indexes of the words included in the two sound modification time intervals are the same and the word sequence numbers are continuous, the indexes of the words included in the two sound modification time intervals can be combined into a new index, so that the storage space is saved. For example, if the index of the word included in the modification time interval a is 2(1,3) and the index of the word included in the modification time interval B is 2(3,5), the index of the word included in the modification time interval a and the index of the word included in the modification time interval B may be merged into a new index 2(1, 5). Similarly, if the index of the word included in the sound modification time interval C is 2(1,2), and the index of the word included in the sound modification time interval D is 2(3,5), the index of the word included in the sound modification time interval C and the index of the word included in the sound modification time interval D may be merged into a new index 2(1,5)
It should be noted that, after the index of each word subjected to the sound modification in the lyric is determined, the terminal may output a file including the index of each word subjected to the sound modification to store the index of each word subjected to the sound modification. For example, the terminal may output a file with a data structure of map, where the key of map is the row index of each word subjected to sound modification, and the key value is the word index of each word subjected to sound modification in the corresponding row.
Specifically, the file with the output data structure of map may store indexes in various index forms, such as a single-word index, a multi-word index merged index, or a multi-word index merged index included in a plurality of sound modification time intervals. Moreover, according to different types of stored indexes, whether each index corresponds to a single-word index, an index obtained by combining indexes of multiple words or an index obtained by combining indexes of words included in multiple tone-modifying time intervals can be determined.
Optionally, in order to more finely display the modified words, when the modification information is modification degrees, the modification degree corresponding to each modified word in the lyrics may be determined according to the modification information corresponding to each of the plurality of standard time intervals, and then the modified words in the lyrics may be highlighted in different levels according to the modification degree corresponding to each modified word in the lyrics.
Specifically, a pitch update degree level and a display format model are established in the multimedia application. The level of the sound modifying degree can be input by a user, can be sent by other equipment, and can be determined according to a sound modifying method adopted when the target song is modified. For example, when the target song is modified, the standard value of the degree of modification obtained by the modification method is 1.0, and the maximum value is 5.0, the degree of modification can be classified into 5 levels, where 1.0 is the first level, (1.0,2.0) is the second level, (1.0,2.0) is the third level, (1.0,2.0) is the fourth level, and (1.0,2.0) is the fifth level.
After the level of the degree of the consonant modification is determined, a model of the degree of the consonant modification and a display format can be established. Table 1 shows a possible pitch length class and display format model, in which the first column is a pitch length class, the second column is a color display format, the third column is a font display format, the fourth column is a background display format, and the fifth column is a special effect display format.
TABLE 1
Figure BDA0001981588360000201
After the degree grade of the voice modification interval and the display format model are determined, the words subjected to voice modification in the lyrics can be highlighted in different grades according to the voice modification degree corresponding to each word subjected to voice modification in the lyrics. For example, if the degree of the modified musical interval corresponding to the character a is the second level, the font color of the character a is changed to be cyan-green, and the font of the character a is changed to be the song style in the lyric display interface of the target song according to the corresponding relationship between the degree of the modified musical interval and the display format in table 1.
It should be noted that the data in table 1 is only exemplary data listed in the embodiment of the present application, and in time application, the pitch length level and the display format model may also be other data, which is not specifically limited in the embodiment of the present application.
In the embodiment of the application, the tone modification information corresponding to a plurality of standard time intervals of a target song and the time interval corresponding to each word included in the lyrics of the target song can be acquired, wherein the target song is a song after tone modification processing, the plurality of standard time intervals are obtained by dividing the target song according to time, the tone modification information can indicate whether the corresponding standard time intervals are subjected to tone modification, the words subjected to tone modification are determined from the lyrics according to the tone modification information corresponding to the plurality of standard time intervals and the time interval corresponding to each word in the lyrics, and the words subjected to tone modification in the lyrics of the target song are highlighted in a lyrics display interface of the target song. That is, the words subjected to sound modification in the lyrics can be highlighted in the lyrics display interface of the target song, so that the user can visually know which words in the target song are specifically subjected to sound modification in the sound modification result, the display form of the sound modification result is enriched, the user can practice the highlighted words in future singing, and the singing level of the user is improved.
Fig. 5 is a block diagram of a structure of a lyric display apparatus according to an embodiment of the present application, where the apparatus may be a terminal, and as shown in fig. 5, the apparatus includes:
the obtaining module 501 is configured to obtain trimming information corresponding to a plurality of standard time intervals of a target song, and a time interval corresponding to each word included in lyrics of the target song, where the target song is a song after trimming, the plurality of standard time intervals are obtained by dividing the target song according to time, and the trimming information can indicate whether the corresponding standard time interval is subjected to trimming.
The first determining module 502 is configured to determine words subjected to voice modification from the lyrics according to the voice modification information respectively corresponding to the plurality of standard time intervals and the time interval corresponding to each word in the lyrics.
And the display module 503 is configured to highlight the modified words in the lyrics display interface of the target song.
Optionally, the first determining module includes:
a first obtaining unit, configured to obtain a sound modification time interval from a plurality of standard time intervals according to sound modification information corresponding to the plurality of standard time intervals, respectively, where each sound modification time interval is a standard time interval subjected to sound modification;
the first determining unit is used for determining the words included in each voice modification time interval according to the acquired voice modification time interval and the time interval corresponding to each word in the lyrics;
and the second determining unit is used for determining the words included in each of the obtained voice modification time intervals as the words subjected to voice modification in the lyrics.
Optionally, the sound modification information is a sound modification degree, the sound modification degree is used for indicating the degree of the corresponding standard time interval subjected to sound modification processing, and when the sound modification degree is a standard value, the sound modification degree is used for indicating that the corresponding standard time interval is not subjected to sound modification;
the first obtaining unit is specifically configured to:
and for each standard time interval in the plurality of standard time intervals, if the pitch trimming degree corresponding to each standard time interval is not equal to the standard value, determining each standard time interval as a pitch trimming time interval.
Optionally, the pitch interval degrees include a pitch restoration degree and a time restoration degree;
the first obtaining unit is further specifically configured to:
and if the pitch restoration degree and the time restoration degree in the sound restoration degree corresponding to each standard time interval are standard values, determining each standard time interval as a sound restoration time interval.
Optionally, the apparatus further comprises:
the traversal module is used for traversing each line of lyrics in the lyrics;
the first acquisition unit includes:
the first obtaining subunit is configured to, in the traversing process, obtain, from the multiple standard time intervals, at least one standard time interval in which an intersection exists between time intervals corresponding to a traversed line of lyrics;
a second obtaining subunit, configured to, if it is determined that a sound modification time interval exists in the at least one standard time interval according to sound modification information corresponding to the at least one standard time interval, obtain the sound modification time interval existing in the at least one standard time interval, and obtain at least one sound modification time interval;
the first determination unit includes:
the first determining subunit is configured to determine, according to the time interval corresponding to the traversed row of lyrics, a time interval corresponding to each word in the traversed row of lyrics from the time interval corresponding to each word in the lyrics;
the second determining subunit is configured to determine, according to the time interval corresponding to each word in each traversed line of lyrics, a word included in each modifying time interval in the at least one modifying time interval;
the second determination unit includes:
a third determining subunit, configured to determine, as a word subjected to the masking in each traversed line of lyrics, a word included in each masking time interval of the at least one masking time interval;
and the fourth determining subunit is used for determining the word subjected to the sound modification in all the lines of the traversed song as the word subjected to the sound modification in the lyrics.
Optionally, the apparatus further comprises:
the second determining module is used for determining the position of the word subjected to the voice modification in the lyrics;
the display module is specifically configured to:
and highlighting the words subjected to the voice modification in the lyrics in a lyric display interface of the target song according to the positions of the words subjected to the voice modification in the lyrics.
Optionally, the second determining module includes:
the third determining unit is used for determining the index of each word subjected to sound modification in the lyrics, and the index is used for indicating the line position of each word in the lyrics and the word position of the line where the word is located;
the display module is specifically configured to:
and highlighting the words subjected to the sound modification in the lyrics in a lyric display interface of the target song according to the index of each word subjected to the sound modification in the lyrics.
Optionally, the display module comprises:
and displaying the words subjected to the sound modification in the lyrics according to a display format different from the display format of the words not subjected to the sound modification in the lyrics, wherein the display format comprises at least one of color, font, background or special effect.
Optionally, the display module further comprises:
the fourth determining unit is used for determining the voice modification degree corresponding to each word subjected to voice modification in the lyrics according to the voice modification information respectively corresponding to the standard time intervals;
and the display unit is used for highlighting the words subjected to the voice modification in the lyrics at different levels according to the voice modification degree corresponding to each word subjected to the voice modification in the lyrics.
In the embodiment of the application, the tone modification information corresponding to a plurality of standard time intervals of a target song and the time interval corresponding to each word included in the lyrics of the target song can be acquired, wherein the target song is a song after tone modification processing, the plurality of standard time intervals are obtained by dividing the target song according to time, the tone modification information can indicate whether the corresponding standard time intervals are subjected to tone modification, the words subjected to tone modification are determined from the lyrics according to the tone modification information corresponding to the plurality of standard time intervals and the time interval corresponding to each word in the lyrics, and the words subjected to tone modification in the lyrics of the target song are highlighted in a lyrics display interface of the target song. That is, the words subjected to sound modification in the lyrics can be highlighted in the lyrics display interface of the target song, so that the user can visually know which words in the target song are specifically subjected to sound modification in the sound modification result, the display form of the sound modification result is enriched, the user can practice the highlighted words in future singing, and the singing level of the user is improved.
It should be noted that: in the lyric display device provided in the above embodiment, when displaying the voice modification result of the user, only the division of the above functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the lyric display device and the lyric display method provided by the above embodiments belong to the same concept, and the specific implementation process is described in the method embodiments in detail, which is not described herein again.
Fig. 6 is a block diagram of a terminal 600 according to an embodiment of the present disclosure. The terminal 600 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal 600 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal 600 includes: a processor 601 and a memory 602.
The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 601 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 602 is used to store at least one instruction for execution by the processor 601 to implement the lyric display method provided by the method embodiments herein.
In some embodiments, the terminal 600 may further optionally include: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 604, a touch screen display 605, a camera 606, an audio circuit 607, a positioning component 608, and a power supply 609.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 604 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 604 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 604 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 604 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display 605 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 605 is a touch display screen, the display screen 605 also has the ability to capture touch signals on or over the surface of the display screen 605. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display 605 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 605 may be one, providing the front panel of the terminal 600; in other embodiments, the display 605 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folded design; in still other embodiments, the display 605 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 600. Even more, the display 605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 605 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 606 is used to capture images or video. Optionally, camera assembly 606 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 606 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 607 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing or inputting the electric signals to the radio frequency circuit 604 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 601 or the radio frequency circuit 604 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 607 may also include a headphone jack.
The positioning component 608 is used for positioning the current geographic Location of the terminal 600 to implement navigation or LBS (Location Based Service). The Positioning component 608 can be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union's galileo System.
Power supply 609 is used to provide power to the various components in terminal 600. The power supply 609 may be ac, dc, disposable or rechargeable. When the power supply 609 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 600 also includes one or more sensors 610. The one or more sensors 610 include, but are not limited to: acceleration sensor 611, gyro sensor 612, pressure sensor 613, fingerprint sensor 614, optical sensor 615, and proximity sensor 616.
The acceleration sensor 611 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 600. For example, the acceleration sensor 611 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 601 may control the touch screen display 605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 611. The acceleration sensor 611 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 612 may detect a body direction and a rotation angle of the terminal 600, and the gyro sensor 612 and the acceleration sensor 611 may cooperate to acquire a 3D motion of the user on the terminal 600. The processor 601 may implement the following functions according to the data collected by the gyro sensor 612: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 613 may be disposed on a side frame of the terminal 600 and/or on a lower layer of the touch display screen 605. When the pressure sensor 613 is disposed on the side frame of the terminal 600, a user's holding signal of the terminal 600 can be detected, and the processor 601 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 613. When the pressure sensor 613 is disposed at the lower layer of the touch display screen 605, the processor 601 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 605. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 614 is used for collecting a fingerprint of a user, and the processor 601 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 614, or the fingerprint sensor 614 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 601 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 614 may be disposed on the front, back, or side of the terminal 600. When a physical button or vendor Logo is provided on the terminal 600, the fingerprint sensor 614 may be integrated with the physical button or vendor Logo.
The optical sensor 615 is used to collect the ambient light intensity. In one embodiment, processor 601 may control the display brightness of touch display 605 based on the ambient light intensity collected by optical sensor 615. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 605 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 605 is turned down. In another embodiment, the processor 601 may also dynamically adjust the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 615.
A proximity sensor 616, also known as a distance sensor, is typically disposed on the front panel of the terminal 600. The proximity sensor 616 is used to collect the distance between the user and the front surface of the terminal 600. In one embodiment, when the proximity sensor 616 detects that the distance between the user and the front surface of the terminal 600 gradually decreases, the processor 601 controls the touch display 605 to switch from the bright screen state to the dark screen state; when the proximity sensor 616 detects that the distance between the user and the front surface of the terminal 600 gradually becomes larger, the processor 601 controls the touch display 605 to switch from the breath screen state to the bright screen state.
That is, not only is the present application embodiment provide a terminal including a processor and a memory for storing processor-executable instructions, where the processor is configured to execute the method in the embodiment shown in fig. 2 or fig. 3, but also the present application embodiment provides a computer-readable storage medium having a computer program stored therein, where the computer program can implement the lyric display method in the embodiment shown in fig. 2 or fig. 3 when executed by the processor.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is not intended to be limiting of terminal 600 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A method for displaying lyrics, the method comprising:
acquiring tone modification information respectively corresponding to a plurality of standard time intervals of a target song and a time interval corresponding to each word included in lyrics of the target song;
the target song is subjected to sound modification processing, the standard time intervals are obtained by dividing the target song according to time, and the sound modification information can indicate whether the corresponding standard time interval is subjected to sound modification;
traversing each line of lyrics in the lyrics; in the traversing process, for a traversed line of lyrics, at least one standard time interval with intersection in the time intervals corresponding to the traversed line of lyrics is obtained from the plurality of standard time intervals; if the sound modification time interval exists in the at least one standard time interval according to the sound modification information corresponding to the at least one standard time interval, acquiring the sound modification time interval existing in the at least one standard time interval to obtain at least one sound modification time interval; according to the time interval corresponding to the traversed line of lyrics, determining the time interval corresponding to each word in the traversed line of lyrics from the time interval corresponding to each word in the lyrics; determining words included in each modifying time interval in the at least one modifying time interval according to the time interval corresponding to each word in the traversed lyrics in one line; determining the words included in each of the at least one voice modification time interval as the modified words in the traversed one line of lyrics, and obtaining an index of the modified words in the traversed one line of lyrics, wherein the index is used for indicating the line position of the modified words in the traversed one line of lyrics and the word position of the line in which the modified words are located; determining the words subjected to sound modification in all traversed lines of lyrics as the words subjected to sound modification in the lyrics, and obtaining the index of each word subjected to sound modification in the lyrics;
and highlighting the words subjected to the sound modification in the lyrics according to the index of each word subjected to the sound modification in the lyrics in the lyric display interface of the target song.
2. The method according to claim 1, wherein the voicing information is a voicing level indicating a level of voicing processing performed on the corresponding standard time interval, and when the voicing level is a standard value, indicating that the corresponding standard time interval has not undergone voicing;
the obtaining of the sound modification time intervals from the plurality of standard time intervals according to the sound modification information respectively corresponding to the plurality of standard time intervals includes:
for each standard time interval in the plurality of standard time intervals, if the sound modifying interval degree corresponding to each standard time interval is not equal to the standard value, not determining each standard time interval as a sound modifying time interval.
3. The method of claim 2, wherein the degrees of partialization include a degree of pitch restoration and a degree of temporal restoration;
if the pitch trimming degree corresponding to each standard time interval is not equal to the standard value, determining each standard time interval as a pitch trimming time interval, including:
and if the pitch restoration degree and the time restoration degree in the sound restoration degree corresponding to each standard time interval are the standard values, determining each standard time interval as a sound restoration time interval.
4. The method of any of claims 1-3, wherein highlighting the vocalized word in the lyrics comprises:
and displaying the words subjected to the sound modification in the lyrics according to a display format different from the display format of the words not subjected to the sound modification in the lyrics, wherein the display format comprises at least one of color, font, background or special effect.
5. The method of any of claims 1-3, wherein prior to highlighting the modified words of the lyrics, further comprising:
determining the tone modification degree corresponding to each word subjected to tone modification in the lyrics according to the tone modification information corresponding to the standard time intervals respectively;
and highlighting the words subjected to the sound modification in the lyrics at different levels according to the sound modification degree corresponding to each word subjected to the sound modification in the lyrics.
6. A lyric display apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring the sound modification information corresponding to a plurality of standard time intervals of the target song respectively and the time interval corresponding to each word included in the lyrics of the target song;
the target song is subjected to sound modification processing, the standard time intervals are obtained by dividing the target song according to time, and the sound modification information can indicate whether the corresponding standard time interval is subjected to sound modification;
the traversal module is used for traversing each line of lyrics in the lyrics; the first obtaining subunit is configured to, in the traversing process, obtain, from the multiple standard time intervals, at least one standard time interval in which an intersection exists between time intervals corresponding to a traversed line of lyrics; a second obtaining subunit, configured to, if it is determined that a sound modification time interval exists in the at least one standard time interval according to sound modification information corresponding to the at least one standard time interval, obtain the sound modification time interval existing in the at least one standard time interval, and obtain at least one sound modification time interval; the first determining subunit is configured to determine, according to the time interval corresponding to the traversed row of lyrics, a time interval corresponding to each word in the traversed row of lyrics from the time interval corresponding to each word in the lyrics; the second determining subunit is configured to determine, according to the time interval corresponding to each word in each traversed line of lyrics, a word included in each modifying time interval in the at least one modifying time interval; a third determining subunit, configured to determine, as a word subjected to sound modification in each traversed line of lyrics, a word included in each sound modification time interval in the at least one sound modification time interval, and obtain an index of the word subjected to sound modification in the traversed line of lyrics, where the index is used to indicate a line position of the word subjected to sound modification in the traversed line of lyrics and a word position of a line in which the word is located; the fourth determining subunit is configured to determine the word subjected to the sound modification in all the lines of the traversed song as the word subjected to the sound modification in the song lyrics, and obtain an index of each word subjected to the sound modification in the song lyrics;
and the display module is used for highlighting the words subjected to the sound modification in the lyrics according to the index of each word subjected to the sound modification in the lyrics in the lyric display interface of the target song.
7. The apparatus according to claim 6, wherein the sound modification information is a sound modification degree indicating a degree to which a corresponding standard time zone is subjected to sound modification processing, and when the sound modification degree is a standard value, indicating that the corresponding standard time zone is not subjected to sound modification;
the first obtaining unit is specifically configured to:
for each standard time interval in the plurality of standard time intervals, if the sound modifying interval degree corresponding to each standard time interval is not equal to the standard value, not determining each standard time interval as a sound modifying time interval.
8. The apparatus of claim 7, wherein the degrees of partialization include a degree of pitch restoration and a degree of temporal restoration;
the first obtaining unit is further specifically configured to:
and if the pitch restoration degree and the time restoration degree in the sound restoration degree corresponding to each standard time interval are the standard values, determining each standard time interval as a sound restoration time interval.
9. The apparatus of any of claims 6-8, wherein the display module comprises:
and displaying the words subjected to the sound modification in the lyrics according to a display format different from the display format of the words not subjected to the sound modification in the lyrics, wherein the display format comprises at least one of color, font, background or special effect.
10. The apparatus of any of claims 6-8, wherein the display module further comprises:
a fourth determining unit, configured to determine, according to the tone modification information respectively corresponding to the multiple standard time intervals, a tone modification degree corresponding to each word subjected to tone modification in the lyrics;
and the display unit is used for highlighting the words subjected to the voice modification in the lyrics in different levels according to the voice modification degree corresponding to each word subjected to the voice modification in the lyrics.
11. A lyric display apparatus, characterized in that the apparatus comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 1-5.
12. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 1-5.
CN201910151163.2A 2019-02-28 2019-02-28 Lyric display method and device Active CN109981893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910151163.2A CN109981893B (en) 2019-02-28 2019-02-28 Lyric display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910151163.2A CN109981893B (en) 2019-02-28 2019-02-28 Lyric display method and device

Publications (2)

Publication Number Publication Date
CN109981893A CN109981893A (en) 2019-07-05
CN109981893B true CN109981893B (en) 2021-05-14

Family

ID=67077610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910151163.2A Active CN109981893B (en) 2019-02-28 2019-02-28 Lyric display method and device

Country Status (1)

Country Link
CN (1) CN109981893B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715760A (en) * 2015-02-13 2015-06-17 朱威 KTV song matching analyzing method and system
CN106157979A (en) * 2016-06-24 2016-11-23 广州酷狗计算机科技有限公司 A kind of method and apparatus obtaining voice pitch data
CN107103915A (en) * 2016-02-18 2017-08-29 广州酷狗计算机科技有限公司 A kind of audio data processing method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9147385B2 (en) * 2009-12-15 2015-09-29 Smule, Inc. Continuous score-coded pitch correction
US9305530B1 (en) * 2014-09-30 2016-04-05 Amazon Technologies, Inc. Text synchronization with audio
CN105989824B (en) * 2015-02-16 2021-01-12 北京天籁传音数字技术有限公司 Karaoke system of mobile equipment and mobile equipment
CN105810211B (en) * 2015-07-13 2019-11-29 维沃移动通信有限公司 A kind of processing method and terminal of audio data
CN105788610B (en) * 2016-02-29 2018-08-10 广州酷狗计算机科技有限公司 Audio-frequency processing method and device
CN108630240B (en) * 2017-03-23 2020-05-26 北京小唱科技有限公司 Chorus method and apparatus
CN108231048B (en) * 2017-12-05 2021-09-28 北京小唱科技有限公司 Method and device for correcting audio rhythm
CN108492807B (en) * 2018-03-30 2020-09-11 北京小唱科技有限公司 Method and device for displaying sound modification state
CN108665881A (en) * 2018-03-30 2018-10-16 北京小唱科技有限公司 Repair sound controlling method and device
CN108810241B (en) * 2018-04-03 2020-12-18 北京小唱科技有限公司 Audio data-based sound modification display method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715760A (en) * 2015-02-13 2015-06-17 朱威 KTV song matching analyzing method and system
CN107103915A (en) * 2016-02-18 2017-08-29 广州酷狗计算机科技有限公司 A kind of audio data processing method and device
CN106157979A (en) * 2016-06-24 2016-11-23 广州酷狗计算机科技有限公司 A kind of method and apparatus obtaining voice pitch data

Also Published As

Publication number Publication date
CN109981893A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN108008930B (en) Method and device for determining K song score
CN108769561B (en) Video recording method and device
CN109033335B (en) Audio recording method, device, terminal and storage medium
WO2021068903A1 (en) Method for determining volume adjustment ratio information, apparatus, device and storage medium
CN108538302B (en) Method and apparatus for synthesizing audio
CN111061405B (en) Method, device and equipment for recording song audio and storage medium
CN109192218B (en) Method and apparatus for audio processing
CN110931053B (en) Method, device, terminal and storage medium for detecting recording time delay and recording audio
CN109448761B (en) Method and device for playing songs
CN111083526B (en) Video transition method and device, computer equipment and storage medium
CN108922506A (en) Song audio generation method, device and computer readable storage medium
CN112487940B (en) Video classification method and device
CN110996167A (en) Method and device for adding subtitles in video
CN109743461B (en) Audio data processing method, device, terminal and storage medium
CN109192223B (en) Audio alignment method and device
CN108922562A (en) Sing evaluation result display methods and device
CN111081277B (en) Audio evaluation method, device, equipment and storage medium
CN108053832B (en) Audio signal processing method, audio signal processing device, electronic equipment and storage medium
CN110600034B (en) Singing voice generation method, singing voice generation device, singing voice generation equipment and storage medium
CN113963707A (en) Audio processing method, device, equipment and storage medium
CN112118482A (en) Audio file playing method and device, terminal and storage medium
CN109003627B (en) Method, device, terminal and storage medium for determining audio score
CN109036463B (en) Method, device and storage medium for acquiring difficulty information of songs
CN108763521B (en) Method and device for storing lyric phonetic notation
CN108831423A (en) Extract method, apparatus, terminal and the storage medium of theme track in audio data

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
GR01 Patent grant
GR01 Patent grant