CN101183524B - Lyric characters display process and system - Google Patents

Lyric characters display process and system Download PDF

Info

Publication number
CN101183524B
CN101183524B CN200710124510A CN200710124510A CN101183524B CN 101183524 B CN101183524 B CN 101183524B CN 200710124510 A CN200710124510 A CN 200710124510A CN 200710124510 A CN200710124510 A CN 200710124510A CN 101183524 B CN101183524 B CN 101183524B
Authority
CN
China
Prior art keywords
lyric characters
play
contour area
window
lyric
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
CN200710124510A
Other languages
Chinese (zh)
Other versions
CN101183524A (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
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN200710124510A priority Critical patent/CN101183524B/en
Publication of CN101183524A publication Critical patent/CN101183524A/en
Priority to PCT/CN2008/072928 priority patent/WO2009067878A1/en
Application granted granted Critical
Publication of CN101183524B publication Critical patent/CN101183524B/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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/11Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information not detectable on the record carrier
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/34Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators for rolling or scrolling
    • 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
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/005Non-interactive screen display of musical or status data
    • G10H2220/011Lyrics displays, e.g. for karaoke applications

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention relates to a lyric display method and system, belonging to the technical field of word processing. The method comprises the following steps: first, obtaining the lyric rendering the lyric on the lyric screen; second, acquiring the contour area of the lyric that has been played and that has not been played according to the current playing time point of the audio file; third, filling the contour area of the lyric that has been played and that has not been played with different colors or bitmaps; and the last step is adjusting the window of the lyric to be transparent against the background window. The invention has the advantages that through the lyric provided by the embodiment of the invention, a transparent and dynamic lyric can be displayed on the desktop while displaying the auto file to achieve more realistic audio-video (AV) effects of singing.

Description

A kind of display packing of lyric characters and system
Technical field
The invention belongs to word processing field, relate in particular to a kind of display packing and system of lyric characters.
Background technology
Existing various player in played songs, to the lyric characters that the user shows song, is convenient to the user with singing in order to increase recreational and convenience.
Existing player shows that to the user mode of lyric characters of song is following in played songs: create a lyrics window independently, the lyric characters that will from lyrics file, read is plotted in this lyrics window.Owing to comprised the reproduction time section of every capable lyrics in this lyrics file; Even the play time of each lyrics in every capable lyrics; Thereby in songs playing process; Can calculate the play position that the lyrics of current broadcast are capable and be expert at dynamically according to current play position, through adopting various colors to repaint once to the lyric characters of having play in that the lyrics of current broadcast are capable, can be in songs playing process; At lyrics window synchronously displaying lyrics literal, reach audio-visual with the effect of singing.Its weak point is, repaints in lyrics window through the lyric characters that adopts different colours to have play, and the form of expression of its lyric characters is too single, and audio-visual the following that is difficult to reach true to nature sung effect.This lyrics window generally has background color simultaneously, and can't make this lyrics window is transparent with respect to other windows, thereby makes the lyric characters of presenting to the user can't reach the effect of transparent demonstration on the table.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of display packing of lyric characters; Be intended to solve in the prior art to repaint and play lyric characters according to the current play time of audio file; When realizing dynamically showing lyric characters, the problem of the audio-visual vocal accompaniment effect that is difficult to reach true to nature.
The embodiment of the invention is achieved in that a kind of display packing of lyric characters, and said method comprises the steps:
Obtain lyric characters, said lyric characters is drawn on lyrics window;
Specify literal and calculate type path automatically through the GraphicsPath::AddString interface; Adopt GraphicsPath structure Region interface class; Region interface class through structure is obtained the contour area that is plotted in the lyric characters on the lyrics window; Do not play the contour area of lyric characters again through the deletion of Region::Exclude interface, play the contour area of lyric characters; Play the contour area of lyric characters simultaneously through the deletion of Region::Exclude interface, do not play the contour area of lyric characters;
Adopt various colors or bitmap to fill the said contour area of having play the contour area of lyric characters and not play lyric characters;
It is transparent in the backdrop window that shows said lyrics window to adjust said lyrics window.
Another purpose of the embodiment of the invention is to provide a kind of display packing of lyric characters, and said method comprises:
Obtain lyric characters, said lyric characters is drawn on lyrics window;
Specify literal and calculate type path automatically through the GraphicsPath::AddString interface; Adopt GraphicsPath structure Region interface class; Region interface class through structure is obtained the contour area that is plotted in the lyric characters on the lyrics window; Do not play the contour area of lyric characters again through the deletion of Region::Exclude interface, play the contour area of lyric characters; Play the contour area of lyric characters simultaneously through the deletion of Region::Exclude interface, do not play the contour area of lyric characters;
Adopt various colors or bitmap to fill the said contour area of having play the contour area of lyric characters and not play lyric characters;
The shape of said lyrics window is set to the said shape of combination zone of having play the contour area of lyric characters and not play the contour area of lyric characters.
Another purpose of the embodiment of the invention is to provide a kind of display system of lyric characters, and said system comprises:
The lyric characters drawing unit is used to obtain lyric characters, and said lyric characters is drawn on lyrics window;
The contour area acquiring unit; Be used for specifying literal and calculating type path automatically through the GraphicsPath::AddString interface; Adopt GraphicsPath structure Region interface class; Region interface class through structure is obtained the contour area that is plotted in the lyric characters on the lyrics window, does not play the contour area of lyric characters again through the deletion of Region::Exclude interface, has been play the contour area of lyric characters; Play the contour area of lyric characters simultaneously through the deletion of Region::Exclude interface, do not play the contour area of lyric characters;
The contour area filler cells is used to adopt various colors or bitmap to fill the said contour area of having play the contour area of lyric characters and not play lyric characters;
The window adjustment unit, it is transparent in the backdrop window that shows said lyrics window to be used to adjust said lyrics window.
Another purpose of the embodiment of the invention is to provide a kind of display system of lyric characters, and said system comprises:
The lyric characters drawing unit is used to obtain lyric characters, and said lyric characters is drawn on lyrics window;
The contour area acquiring unit; Be used for specifying literal and calculating type path automatically through the GraphicsPath::AddString interface; Adopt GraphicsPath structure Region interface class; Region interface class through structure is obtained the contour area that is plotted in the lyric characters on the lyrics window, does not play the contour area of lyric characters again through the deletion of Region::Exclude interface, has been play the contour area of lyric characters; Play the contour area of lyric characters simultaneously through the deletion of Region::Exclude interface, do not play the contour area of lyric characters;
The contour area filler cells is used to adopt various colors or bitmap to fill the said contour area of having play the contour area of lyric characters and not play lyric characters;
Window is provided with the unit, and the shape that is used for said lyrics window is set to the said shape of combination zone of having play the contour area of lyric characters and not play the contour area of lyric characters.
Through the lyric characters that obtains is plotted in the lyrics window; According to current voice playing time point; Obtain the contour area of playing lyric characters and the contour area of not playing lyric characters; Play the contour area of lyric characters and the contour area of not playing lyric characters through adopting various colors to fill, and it is transparent in the backdrop window of this lyrics window of demonstration to adjust this lyrics window, thereby when being implemented in displaying audio file; Transparent on the table dynamic demonstration lyric characters reaches audio-visual following more true to nature and sings effect.
Description of drawings
Fig. 1 is the realization flow figure of the lyric characters display packing that provides of the embodiment of the invention;
Fig. 2 is the realization flow figure of the lyric characters display packing that provides of another embodiment of the present invention;
Fig. 3 is the realization flow figure of the shape of the shape of the lyrics window that provides of the embodiment of the invention lyric characters contour area that is set to obtain;
Fig. 4 is the structural representation of the lyric characters display system that provides of the embodiment of the invention;
Fig. 5 is the structural representation of the lyric characters display system that provides of another embodiment of the present invention;
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention; Through the lyric characters that obtains is plotted in the lyrics window; It is transparent being adjusted to this lyrics window with respect to the backdrop window that shows this lyrics window, and according to current voice playing time point, obtains the contour area of playing lyric characters and the contour area of not playing lyric characters; Fill the contour area of having play the contour area of lyric characters and not play lyric characters through adopting various colors; Thereby when being implemented in displaying audio file, transparent on the table dynamic demonstration lyric characters reaches audio-visual following more true to nature and sings effect.
Fig. 1 shows the realization flow of the display packing of the lyric characters that the embodiment of the invention provides, and details are as follows:
In step S101, from lyrics file, obtain lyric characters, the lyric characters that obtains is drawn in the lyrics window.
When the user opens player, create a lyrics window, be used to show lyric characters.According to the audio file of the current broadcast of player, search corresponding lyrics file, from this lyrics file, read lyric characters and the lyric characters that reads is drawn in the lyrics window of above-mentioned establishment.Can adopt GDI storehouse (the Graphics Device Interface that is exclusively used in the character and graphic processing like the user; GDI) the various GDIs that provide; Like CDC::DrawText interface etc.; The various GDIs that perhaps adopt GDI expanding library (GDI+) to provide are drawn on the lyric characters that reads in the lyrics window of establishment.Wherein the CDC::DrawText interface is the DrawText interface that the CDC class in GDI storehouse provides, and its main users is drawn literal.GDI+ is the expansion in GDI storehouse, and it provides abundanter character and graphic Processing Interface.
In step S102, obtain the contour area that is plotted in the contour area of playing lyric characters in the lyrics window and does not play lyric characters according to the current play time of audio frequency.
In embodiments of the present invention; Graphics (figure) interface class and Region (zone) interface class that can adopt the GDI+ storehouse to provide are specified the lyric characters in the lyrics window and are calculated the path of specifying lyric characters automatically, thereby obtain the contour area of specifying lyric characters in the lyrics window.Its detailed process is following:
The GraphicsPath::AddString interface that provides through the Graphics interface class is specified in the lyrics window need obtain the lyric characters of its contour area, and calculates the path of the lyric characters of this appointment automatically;
Adopt GraphicsPath structure Region interface class, obtain the contour area that is plotted in the lyric characters on the lyrics window through the Region interface class of structure.In embodiments of the present invention; When obtaining the contour area of lyric characters through the Region interface class of GraphicsPath structure; Can delete the contour area of part lyric characters of the contour area of the lyric characters that the Region interface class obtains through the Region::Exclude interface that the Region interface class provides as required, the contour area of the lyric characters that reservation needs.
Be appreciated that the graphics process interface that the user also can adopt other graphics process storehouses to provide obtains the contour area that is plotted in the lyric characters on the lyrics window.
In the voice playing process; When the form of lyrics file is the LRC form; Because in the song files of LRC form; The initial reproduction time and the finishes time that comprise each lyric characters, thereby the play time current, can calculate and play the position of cutting apart with the lyric characters of not playing according to audio frequency.
The Region::Exclude interface that the Region interface class of constructing through GraphicsPath provides; And play the position of cutting apart with the lyric characters of not playing, can be play the contour area of lyric characters and do not play the contour area of lyric characters.Its concrete realization can be following: specify literal and calculate type path automatically through the GraphicsPath::AddString interface; Adopt GraphicsPath structure Region interface class; Region interface class through structure is obtained the contour area that is plotted in the lyric characters on the lyrics window; Do not play the contour area of lyric characters again through the deletion of Region::Exclude interface, play the contour area of lyric characters; Play the contour area of lyric characters simultaneously through the deletion of Region::Exclude interface, do not play the contour area of lyric characters.
In step S103, adopt various colors or bitmap to fill the contour area of playing lyric characters that obtains and the contour area of not playing lyric characters, thereby in the voice playing process, reach audio-visual following more true to nature and sing effect.
Fill the contour area of the contour area of playing lyric characters that obtains and the lyric characters of not playing in embodiments of the present invention through the different paintbrush of Graphics::FillPath interface (it is Graphics operand and the calling interface of GDI) employing.
When filling the lyric characters contour area of broadcast that obtains with various colors respectively and not playing the lyric characters contour area; Through importing the value of various colors into the SolidBrush interface object; To create pure color paintbrush object, adopt the paintbrush of above-mentioned different colours to fill the lyric characters contour area of broadcast that obtains respectively and do not play the lyric characters contour area again;
When filling the lyric characters contour area of broadcast that obtains with bitmap respectively and not playing the lyric characters contour area; Adopt different specified file structure Bitmap bitmap objects; Import the Bitmap object of structure into TextureBrush (texture paintbrush) object as parameter; To construct texture paintbrush object, to adopt above-mentioned various textures paintbrush to fill respectively again the lyric characters contour area of broadcast that obtains and not play the lyric characters contour area.
In step S104, it is transparent in the backdrop window that shows this lyrics window to adjust this lyrics window.As the background colour of adjusting this lyrics window is transparent, perhaps the backdrop window that shows this lyrics window carried out grabgraf, obtains the figure of the backdrop window that shows this lyrics window; This figure that obtains is set to the background of this lyrics window, at this moment, and with respect to the backdrop window that shows this lyrics window; This lyrics window is transparent, as being desktop when the backdrop window that shows this lyrics window, is transparent through the background colour of adjusting this lyrics window; Perhaps through desktop is carried out grabgraf; Obtain the picture of this lyrics window place desktop, and this picture is set to the background of this lyrics window, makes this lyrics window transparent in desktop.
In embodiments of the present invention, step S104 can be before step S101, step S102 or the step S103 or after execution, do not influence effect of the present invention.
Fig. 2 shows the realization flow of the display packing of the lyric characters that another embodiment of the present invention provides, and details are as follows:
In step S201, from lyrics file, obtain lyric characters, the lyric characters that obtains is drawn in the lyrics window.Its drawing process is the same, repeats no more at this.
In step S202, obtain the lyric characters contour area of broadcast that is plotted in the lyrics window and do not play the lyric characters contour area according to the current play time of audio frequency.In embodiments of the present invention; Graphics (figure) interface class and Region (zone) interface class that can adopt the GDI+ storehouse to provide are specified the lyric characters in the lyrics window and are calculated the path of specifying lyric characters automatically, thereby obtain the contour area of specifying lyric characters in the lyrics window.Its detailed process repeats no more at this with step S102 shown in Figure 1.
Be appreciated that the graphics process interface that the user also can adopt other graphics process storehouses to provide obtains the contour area that is plotted in the lyric characters on the lyrics window.
In step S203, adopt various colors or bitmap to fill the contour area of playing lyric characters that obtains and the contour area of not playing lyric characters, thereby in the voice playing process, reach audio-visual following more true to nature and sing effect.Its concrete implementation procedure repeats no more at this with step S103 shown in Figure 1.
In step S204; The shape of the combination zone of the contour area of playing lyric characters that the shape of lyrics window is set to obtain and the contour area of not playing lyric characters; Thereby make this lyrics window transparent, reach the lyric characters effect of transparent demonstration on the table in the backdrop window that shows this lyrics window.As the shape of the combination zone of the win32 that can adopt SetWindowRgn to provide shape that window area interface lyrics window the is set contour area that is set to play the contour area of lyric characters and do not play lyric characters; Make the shape of lyrics window and the contour area of playing lyric characters and do not play the shape of combination zone of contour area of lyric characters consistent, reach audio-visual vocal accompaniment effect more true to nature.
Lyrics window for fear of this abnormity shape is blocked by other application windows easily, and the lyrics position of window that this abnormity shape can be set is defaulted as top layer.
When carrying out audio-visual vocal accompaniment; In order to reach the effect of lyric characters stereo display preferably; The realization flow of the shape of the combination zone of the contour area that the lyrics window that Fig. 3 shows the embodiment of the invention to be provided is set to play the contour area of lyric characters and do not play lyric characters, details are as follows:
In step S301; According to the contour area of playing lyric characters that obtains with do not play the lyric characters contour area; The paintbrush that adopts designated color is for play lyric characters and do not play lyric characters and draw frame; To enlarge the frame of lyric characters, make lyric characters reach its peripheral band color frame and present stereoeffect.Its concrete realization can be following: at first adopt designated color, like black, Pen (paintbrush) interface object of structure GDI+ is imported this paintbrush interface object into interface Graphics::DrawPath to draw the frame of lyric characters as parameter.
In step S302; The lyric characters of broadcast after step S301 handled and do not play lyric characters and be plotted in the memory bitmap; And each pixel in the bitmap of lining by line scan; Record and desktop background look pixels with different dot information after the been scanned, have been play the pixel information of record lyric characters as parameter acquiring and have not been play the contour area of lyric characters.
In step S303, the shape of lyrics window is set to that step S302 obtains plays lyric characters and does not play the shape of combination zone of the contour area of lyric characters, thereby realizes the lyric characters effect of transparent demonstration on the table.As the win32 that adopts SetWindowRgn to provide shape that window area interface lyrics window is set be set to that step S302 obtains play lyric characters and do not play the special-shaped shape of combination zone of the contour area of lyric characters.
In embodiments of the present invention; Fill the lyric characters contour area that obtains owing to adopted various colors or bitmap; Simultaneously through drawing frame, thereby make the lyric characters of presenting to the user become stereoeffect, make audio-visual vocal accompaniment more true to nature for the lyric characters contour area that obtains.
Fig. 4 shows the structure of the display system of the lyric characters that the embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.This system can be the software unit that is built in the audio-visual playback equipment, hardware cell, the perhaps unit that combines of software and hardware.
Lyric characters drawing unit 41 obtains lyric characters from lyrics file, and the lyric characters that obtains is drawn in the lyrics window.When the user opens player, create a lyrics window, be used to show lyric characters.And, search corresponding lyrics file according to the audio file of the current broadcast of player, from this lyrics file, read lyric characters and the lyric characters that reads is drawn in the lyrics window of above-mentioned establishment.Can adopt GDI storehouse (the Graphics Device Interface that is exclusively used in the character and graphic processing like the user; GDI) the various GDIs that provide; Like CDC::DrawText interface etc.; The various GDIs that perhaps adopt GDI expanding library (GDI+) to provide are drawn on the lyric characters that reads in the lyrics window of establishment.
The play time that contour area acquiring unit 42 is current according to audio file is obtained the contour area that is plotted in the contour area of playing lyric characters in the lyrics window and does not play lyric characters.As the various pictograph Processing Interface that can adopt the GDI+ storehouse to provide are obtained the contour area that is plotted in the contour area of playing lyric characters in the lyrics window and does not play lyric characters.Its concrete acquisition process is the same, repeats no more at this.
The contour area of playing lyric characters that contour area filler cells 43 employing various colors or bitmap filling contour area acquiring unit 42 obtain and the contour area of not playing lyric characters.Thereby in the playing process of audio file, reach the effect of dynamic demonstration lyric characters.
Window adjustment unit 44 these lyrics windows of adjustment are transparent in the backdrop window that shows this lyrics window.It can be provided with the background colour of adjusting these lyrics windows in unit 442 through background is transparent, thereby realizes that this lyrics window is transparent in the backdrop window that shows this lyrics window.Also can grasp the figure of the backdrop window that shows this lyrics window through backdrop window picture acquiring unit 441; Through background the background that figure that unit 442 backdrop window picture acquiring units 441 grasp is set to this lyrics window is set again, realizes that this lyrics window is transparent in the backdrop window that shows this lyrics window.Window adjustment unit 44 can be adjusted lyrics window before lyrics window creation; Promptly before lyric characters drawing unit 41 is drawn lyric characters, lyrics window is adjusted, also can be before contour area acquiring unit 42 or contour area filler cells 43 or after lyrics window is adjusted.
Fig. 5 shows the display system of the lyric characters that another embodiment of the present invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.This system can be the software unit that is built in the audio-visual playback equipment, hardware cell, the perhaps unit that combines of software and hardware.
Lyric characters drawing unit 51 obtains lyric characters from lyrics file, the lyric characters that obtains is drawn in the lyrics window.
The play time that contour area acquiring unit 52 is current according to audio file is obtained the contour area that is plotted in the contour area of playing lyric characters in the lyrics window and does not play lyric characters.As the various pictograph Processing Interface that can adopt the GDI+ storehouse to provide are obtained the contour area that is plotted in the contour area of playing lyric characters in the lyrics window and does not play lyric characters.Its concrete acquisition process is the same, repeats no more at this.
The contour area of playing lyric characters that contour area filler cells 53 employing various colors or bitmap filling contour area acquiring unit 42 obtain and the contour area of not playing lyric characters.Thereby in the playing process of audio file, reach the effect of dynamic demonstration lyric characters.
The shape that window is provided with unit 54 lyrics windows is set to the special-shaped shape of the combination zone of the contour area of playing lyric characters that contour area acquiring unit 52 obtains and the contour area of not playing lyric characters; Thereby make this lyrics window transparent, reach the effect of the transparent demonstration of lyric characters in the backdrop window that shows this lyrics window.As the win32 that can adopt SetWindowRgn to provide is provided with the special-shaped shape of the combination zone of the contour area of playing lyric characters that window area interface lyrics window is set to obtain and the contour area of not playing lyric characters; Make the shape of lyrics window and the contour area of playing lyric characters and do not play the special-shaped shape of combination zone of contour area of lyric characters consistent; Thereby realize the effect of the transparent demonstration of lyric characters, reached audio-visual vocal accompaniment effect more true to nature.
When carrying out audio-visual vocal accompaniment, in order to reach the effect of lyric characters stereo display preferably, this window is provided with unit 54 and comprises that lyric characters frame drawing unit 541, lyric characters contour area acquiring unit 542 and lyrics window are provided with unit 543.
The wherein contour area of playing lyric characters that obtains according to contour area acquiring unit 21 of lyric characters frame drawing unit 541 and the contour area of not playing lyric characters; The paintbrush that adopts designated color is for play lyric characters and do not play lyric characters and draw frame; To enlarge the frame of lyric characters, make lyric characters present stereoscopic sensation.
The lyric characters of broadcast that lyric characters contour area acquiring unit 542 will show through the needs after lyric characters frame drawing unit 541 is handled and do not play lyric characters and be plotted in the memory bitmap; And each pixel in the bitmap of lining by line scan; Record and desktop background look pixels with different dot information; After the been scanned; The pixel information of record as parameter, is obtained playing lyric characters and not playing the contour area of lyric characters after lyric characters frame drawing unit 541 is handled.
Lyrics window is provided with unit 543 and plays lyric characters and do not play the contour area of lyric characters according to what lyric characters contour area acquiring unit 542 obtained; The special-shaped shape of the combination zone of the contour area that the shape of lyrics window is set to play the contour area of lyric characters and do not play lyric characters, thus realize the transparent display effect of lyric characters.
In embodiments of the present invention; Through the lyric characters that obtains is drawn in the lyrics window; According to the current play time of audio file; Obtain the contour area that is plotted in the contour area of playing lyric characters in the lyrics window and does not play lyric characters, fill the contour area of playing lyric characters that obtains and the contour area of not playing lyric characters through adopting various colors or bitmap, thereby in the playing process of audio file, show lyric characters dynamically; It is transparent in the backdrop window that shows this lyrics window to adjust lyrics window simultaneously; The perhaps shape of this lyrics window contour area of playing lyric characters that is set to obtain and the combined shaped of not playing the contour area of lyric characters; Thereby it is transparent making lyric characters with respect to the backdrop window that is shown to lyrics window, reaches audio-visual following more true to nature and sings effect.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the display packing of a lyric characters is characterized in that, said method comprises the steps:
Obtain lyric characters, said lyric characters is drawn on lyrics window;
Specify literal and calculate type path automatically through the GraphicsPath::AddString interface; Adopt GraphicsPath structure Region interface class; Region interface class through structure is obtained the contour area that is plotted in the lyric characters on the lyrics window; Do not play the contour area of lyric characters again through the deletion of Region::Exclude interface, play the contour area of lyric characters; Play the contour area of lyric characters simultaneously through the deletion of Region::Exclude interface, do not play the contour area of lyric characters;
Adopt various colors or bitmap to fill the said contour area of having play the contour area of lyric characters and not play lyric characters;
It is transparent in the backdrop window that shows said lyrics window to adjust said lyrics window.
2. display packing as claimed in claim 1 is characterized in that, adjusts the transparent step in the backdrop window that shows said lyrics window of said lyrics window and is specially:
Obtain the picture of the backdrop window that shows said lyrics window;
The background of said lyrics window is set to said picture.
3. display packing as claimed in claim 1 is characterized in that, adjusts the transparent backdrop window in the said lyrics window of demonstration of said lyrics window and is specially:
The background of adjusting said lyrics window is transparent.
4. the display packing of a lyric characters is characterized in that, said method comprises the steps:
Obtain lyric characters, said lyric characters is drawn on lyrics window;
Specify literal and calculate type path automatically through the GraphicsPath::AddString interface; Adopt GraphicsPath structure Region interface class; Region interface class through structure is obtained the contour area that is plotted in the lyric characters on the lyrics window; Do not play the contour area of lyric characters again through the deletion of Region::Exclude interface, play the contour area of lyric characters; Play the contour area of lyric characters simultaneously through the deletion of Region::Exclude interface, do not play the contour area of lyric characters;
Adopt various colors or bitmap to fill the said contour area of having play the contour area of lyric characters and not play lyric characters;
The shape of said lyrics window is set to the said shape of combination zone of having play the contour area of lyric characters and not play the contour area of lyric characters.
5. display packing as claimed in claim 4 is characterized in that, the shape of said lyrics window is set to the said step of shape of combination zone of having play the contour area of lyric characters and not play the contour area of lyric characters and is specially:
The paintbrush that adopts designated color is for play lyric characters and do not play lyric characters and draw frame;
With said play lyric characters and do not play lyric characters be plotted in the memory bitmap; Line by line scan each pixel in the bitmap; Will with desktop background look pixels with different dot information as parameter, obtain the said contour area of having play lyric characters and not play lyric characters;
The shape of said lyrics window is set to adopt the paintbrush of designated color to draw the contour area of playing lyric characters of frame and does not play the shape of combination zone of the contour area of lyric characters.
6. the display system of a lyric characters is characterized in that, said system comprises:
The lyric characters drawing unit is used to obtain lyric characters, and said lyric characters is drawn on lyrics window;
The contour area acquiring unit; Be used for specifying literal and calculating type path automatically through the GraphicsPath::AddString interface; Adopt GraphicsPath structure Region interface class; Region interface class through structure is obtained the contour area that is plotted in the lyric characters on the lyrics window, does not play the contour area of lyric characters again through the deletion of Region::Exclude interface, has been play the contour area of lyric characters; Play the contour area of lyric characters simultaneously through the deletion of Region::Exclude interface, do not play the contour area of lyric characters;
The contour area filler cells is used to adopt various colors or bitmap to fill the said contour area of having play the contour area of lyric characters and not play lyric characters;
The window adjustment unit, it is transparent in the backdrop window that shows said lyrics window to be used to adjust said lyrics window.
7. display system as claimed in claim 6 is characterized in that, said window adjustment unit comprises:
Backdrop window picture acquiring unit is used to obtain the picture of the backdrop window that shows said lyrics window;
Background is provided with the unit, and the background that is used for said lyrics window is set to said picture.
8. the display system of a lyric characters is characterized in that, said system comprises:
The lyric characters drawing unit is used to obtain lyric characters, and said lyric characters is drawn on lyrics window;
The contour area acquiring unit; Be used for specifying literal and calculating type path automatically through the GraphicsPath::AddString interface; Adopt GraphicsPath structure Region interface class; Region interface class through structure is obtained the contour area that is plotted in the lyric characters on the lyrics window, does not play the contour area of lyric characters again through the deletion of Region::Exclude interface, has been play the contour area of lyric characters; Play the contour area of lyric characters simultaneously through the deletion of Region::Exclude interface, do not play the contour area of lyric characters;
The contour area filler cells is used to adopt various colors or bitmap to fill the said contour area of having play the contour area of lyric characters and not play lyric characters;
Window is provided with the unit, and the shape that is used for said lyrics window is set to the said shape of combination zone of having play the contour area of lyric characters and not play the contour area of lyric characters.
9. display system as claimed in claim 8 is characterized in that, said window is provided with the unit and comprises:
Lyric characters frame drawing unit, the paintbrush that is used to adopt designated color are saidly to have play lyric characters and do not play lyric characters and draw frame;
Lyric characters contour area acquiring unit; Be used for said play lyric characters and do not play lyric characters be plotted to memory bitmap; Line by line scan each pixel in the bitmap; Will with desktop background look pixels with different dot information as parameter, obtain the said contour area of having play lyric characters and not play lyric characters;
Lyrics window is provided with the unit, and the shape that is used for said lyrics window is set to adopt the paintbrush of designated color to draw the contour area of playing lyric characters of frame and does not play the shape of combination zone of the contour area of lyric characters.
CN200710124510A 2007-11-08 2007-11-08 Lyric characters display process and system Active CN101183524B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200710124510A CN101183524B (en) 2007-11-08 2007-11-08 Lyric characters display process and system
PCT/CN2008/072928 WO2009067878A1 (en) 2007-11-08 2008-11-04 Lyrics characters display method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710124510A CN101183524B (en) 2007-11-08 2007-11-08 Lyric characters display process and system

Publications (2)

Publication Number Publication Date
CN101183524A CN101183524A (en) 2008-05-21
CN101183524B true CN101183524B (en) 2012-10-10

Family

ID=39448774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710124510A Active CN101183524B (en) 2007-11-08 2007-11-08 Lyric characters display process and system

Country Status (2)

Country Link
CN (1) CN101183524B (en)
WO (1) WO2009067878A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183524B (en) * 2007-11-08 2012-10-10 腾讯科技(深圳)有限公司 Lyric characters display process and system
CN101567184B (en) * 2009-03-24 2013-07-10 广州酷狗计算机科技有限公司 Method for producing dynamic karaoke lyrics
JP5596938B2 (en) * 2009-06-02 2014-09-24 キヤノン株式会社 Image processing apparatus, image processing method, and program
CN101625867B (en) * 2009-08-04 2011-12-28 腾讯科技(深圳)有限公司 Method and device for realizing audio broadcasting performance
CN102868822B (en) * 2012-09-24 2014-09-03 广东欧珀移动通信有限公司 Lyric display method implemented by mobile terminal
CN104423949A (en) * 2013-09-02 2015-03-18 联想(北京)有限公司 Information processing method and electronic equipment
CN103473016B (en) * 2013-09-25 2016-08-24 东莞宇龙通信科技有限公司 Multi-window display method and touch control terminal
CN104778735B (en) * 2014-01-14 2019-03-01 腾讯科技(深圳)有限公司 A kind of animation producing method and device based on irregular figure
CN105573746B (en) * 2015-12-10 2019-04-26 Oppo广东移动通信有限公司 A kind of control property processing method and processing device
CN106098088B (en) * 2016-06-01 2018-09-04 广州酷狗计算机科技有限公司 A kind of method and apparatus of the display lyrics
CN106445542B (en) * 2016-09-30 2020-02-28 广州华多网络科技有限公司 Method and device for simulating audio waveform on player
CN111383620B (en) * 2018-12-29 2022-10-11 广州市百果园信息技术有限公司 Audio correction method, device, equipment and storage medium
CN112616084B (en) * 2020-12-10 2022-11-22 广州酷狗计算机科技有限公司 Lyric display method, device, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1117191A (en) * 1994-06-22 1996-02-21 三星电子株式会社 Accompaniment data format and video-song accompaniment apparatus adopting the same
CN1152161A (en) * 1995-08-21 1997-06-18 兄弟工业株式会社 Caption display method and device
JP2000276182A (en) * 1999-03-23 2000-10-06 Yamaha Corp Karaoke device
CN1570858A (en) * 2003-07-16 2005-01-26 英业达股份有限公司 Accompanying captions editing system, edit and display method thereof
CN1774759A (en) * 2004-02-28 2006-05-17 三星电子株式会社 Storage medium recording text-based subtitle stream, apparatus and method reproducing thereof
CN1825428A (en) * 2005-02-25 2006-08-30 雅马哈株式会社 Wireless terminal installation and karaoke system
CN1922682A (en) * 2004-02-21 2007-02-28 三星电子株式会社 Storage medium for storing text-based subtitle data including style information, and reproducing apparatus and method for reproducing text-based subtitle data including style information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064177A (en) * 2006-04-26 2007-10-31 松下电器产业株式会社 Caption display control apparatus
CN101149957B (en) * 2007-09-30 2010-06-23 炬力集成电路设计有限公司 Voice and word synchronous playing method and player
CN101183524B (en) * 2007-11-08 2012-10-10 腾讯科技(深圳)有限公司 Lyric characters display process and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1117191A (en) * 1994-06-22 1996-02-21 三星电子株式会社 Accompaniment data format and video-song accompaniment apparatus adopting the same
CN1152161A (en) * 1995-08-21 1997-06-18 兄弟工业株式会社 Caption display method and device
JP2000276182A (en) * 1999-03-23 2000-10-06 Yamaha Corp Karaoke device
CN1570858A (en) * 2003-07-16 2005-01-26 英业达股份有限公司 Accompanying captions editing system, edit and display method thereof
CN1922682A (en) * 2004-02-21 2007-02-28 三星电子株式会社 Storage medium for storing text-based subtitle data including style information, and reproducing apparatus and method for reproducing text-based subtitle data including style information
CN1774759A (en) * 2004-02-28 2006-05-17 三星电子株式会社 Storage medium recording text-based subtitle stream, apparatus and method reproducing thereof
CN1825428A (en) * 2005-02-25 2006-08-30 雅马哈株式会社 Wireless terminal installation and karaoke system

Also Published As

Publication number Publication date
CN101183524A (en) 2008-05-21
WO2009067878A1 (en) 2009-06-04

Similar Documents

Publication Publication Date Title
CN101183524B (en) Lyric characters display process and system
CN107124624B (en) Method and device for generating video data
AU756265B2 (en) Apparatus and method for presenting sound and image
CN111899322B (en) Video processing method, animation rendering SDK, equipment and computer storage medium
MY140124A (en) Storage medium storing interactive graphics stream, and reproducing apparatus and method
JP2024523812A (en) Audio sharing method, device, equipment and medium
CN103325131B (en) Animation reproducting method and player for movie contents
CN102111631A (en) Image processing device, image processing method, and program
CN110214343B (en) Information processing apparatus, information processing method, and program therefor
CN107079189A (en) Lamp is controlled
CN105763923A (en) Video and video template editing methods and device thereof
JP2000209500A (en) Method for synthesizing portrait image separately photographed with recorded background video image and for outputting the synthesized image for display and karaoke machine adopting this method
KR100798556B1 (en) Digital apparatus comprising active display linking function
CN105635784A (en) Audio-image synchronous display method and system
KR20190132072A (en) Electronic apparatus, method for controlling thereof and recording media thereof
CN205943139U (en) Interactive teaching system
KR20030083249A (en) method of displaying cartoon images to be scrolled in a landscape form on a mobile phone to which cartoon image contents are provided over wireless internet
JP4226563B2 (en) Lyric display method, lyrics display program, mobile information terminal that displays the lyrics and changes color in sync with the performance of the song
JP3879830B2 (en) Image display device, image display method, program for image display method, recording medium recording program for image display method, audio device, control method for audio device, program for control method for audio device, and program for control method for audio device Recorded recording medium
JP2011053345A (en) Karaoke system including stereoscopic display function of lyric character
CN102118584B (en) Method and device for generating caption moving pictures with curve extension dynamic effect
KR100540994B1 (en) Method for displaying images on the multi screen
JP2005141424A (en) Information processing method and information processor
JP5201204B2 (en) Karaoke apparatus and lyrics telop display method
KR100878369B1 (en) System and method of adapting subpicture data for being displayed on mini-screens

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161129

Address after: 2, 16, 1301 rooms, 518044 Yun Yun Road, Tianhe District, Guangdong, Guangzhou

Patentee after: Guangzhou KuGou Networks Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.