WO2015000404A1 - 一种演奏乐曲的方法及装置 - Google Patents
一种演奏乐曲的方法及装置 Download PDFInfo
- Publication number
- WO2015000404A1 WO2015000404A1 PCT/CN2014/081407 CN2014081407W WO2015000404A1 WO 2015000404 A1 WO2015000404 A1 WO 2015000404A1 CN 2014081407 W CN2014081407 W CN 2014081407W WO 2015000404 A1 WO2015000404 A1 WO 2015000404A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- music
- information
- score
- picture
- complete
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC 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/00—Details of electrophonic musical instruments
- G10H1/0033—Recording/reproducing or transmission of music for electrophonic musical instruments
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC 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/00—Input/output interfacing specifically adapted for electrophonic musical tools or instruments
- G10H2220/155—User input interfaces for electrophonic musical instruments
- G10H2220/441—Image sensing, i.e. capturing images or optical patterns for musical purposes or musical control purposes
- G10H2220/451—Scanner input, e.g. scanning a paper document such as a musical score for automated conversion into a musical file format
Definitions
- the subject matter disclosed in the disclosure relates to the field of computer technology, and in particular, to a method and apparatus for playing music.
- the song is the music, which is a regular combination of various written symbols for recording the pitch or rhythm of the music.
- the scores, staves, guitar scores, guqin scores, etc. are all called modern music or ancient music scores. Its appearance makes it possible for people to communicate and pass music easily and effectively. Musical works from the past and the present are mostly recorded in paper form.
- embodiments of the present invention provide a method and apparatus for playing music to solve the technical problems mentioned in the background art.
- an embodiment of the present invention provides a method for playing a music piece, the method comprising: generating a sequence of a music score picture of a music piece;
- the extracted score segment information is articulated to generate complete score information of the music piece; and the music piece is played according to the complete piece of music information.
- an embodiment of the present invention provides an apparatus for playing a music piece, the apparatus comprising: a picture generation module, configured to generate a sequence of a music piece segment picture of the music piece;
- An information extraction module configured to identify and extract music score segment information included in each of the music score segment images in the sequence of the music score segment;
- An information convergence module configured to connect the extracted music piece information to generate complete music information of the music piece
- the embodiment of the present invention realizes the coherent and complete playing of the music piece by recognizing and articulating the information of the music piece segment included in the sequence of the music piece image of the music piece, and overcomes the time-consuming and laborious manual input of the music piece. Disadvantages extend the battery life of the terminal applied to the method and device.
- FIG. 1 is a schematic flow chart of a method for playing a music piece according to a first embodiment of the present invention
- FIG. 2 is a flow chart showing a sequence of generating a music piece segment picture sequence of a music piece according to a first embodiment of the present invention
- FIG. 3 is a schematic flow chart of a method for playing a music piece according to a second embodiment of the present invention
- FIG. 4 is a schematic flowchart of a method for playing a music piece according to a third embodiment of the present invention
- FIG. 6 is a schematic structural diagram of an apparatus for playing music according to a fifth embodiment of the present invention
- FIG. 7 is a schematic diagram of a device for playing music according to a sixth embodiment of the present invention
- FIG. 8 is a schematic structural view of a terminal that can be used to implement the solution of the present invention.
- Fig. 1 shows a first embodiment of the invention.
- FIG. 1 is a schematic flow chart of a method for playing a music piece according to a first embodiment of the present invention. Referring to Figure 1, the method includes:
- Step S101 Generate a sequence of score picture pictures of the music piece.
- the sequence of the score picture of the music piece can be obtained by acquiring the picture of each piece of the music piece stored in the image collection device or copied by the external device or downloading the music piece stored in the web page.
- the present embodiment obtains a sequence of music score segments by acquiring images of the music scores of the music pieces collected by the image collection device, wherein the image collection device is a camera carried by the terminal itself.
- Fig. 2 is a flow chart showing the sequence of generating a score picture of a music piece according to the first embodiment of the present invention.
- step S101 further includes:
- Sub-step S1011 acquiring a framing picture collected by the image collection device in real time
- Sub-step S1012 determining whether the captured framing picture overlaps with the previous music piece picture, if not, performing sub-step S1013, otherwise, performing sub-step S1014;
- Sub-step S1013, sending a shooting instruction to the image collecting device, and receiving a picture of the music piece captured by the image collecting device;
- Sub-step S1014 The overlapping area is rendered in a picture displayed by the image capturing device framing interface according to a preset overlapping rendering rule.
- the overlap rendering rule is used to describe and define the rendering mode of the overlapping area.
- the rendering of the overlapped area in the image displayed by the image capturing device in the image capturing interface according to the preset overlapping rendering rule includes: coloring the overlapping area in the image displayed by the image capturing device framing interface .
- the overlapping area is covered with green to prompt the user to overlap the part of the score picture to be taken with the picture of the previous piece of the score, so that the user can take a reasonable picture of the picture of the piece of the score.
- Step S102 Identify and extract music score segment information included in each of the music score segment pictures in the music score segment picture sequence.
- the recognition process includes but is not limited to: tilt correction of the music piece image, Preprocessing such as binarization and culling of lyrics; positioning the note primitives in the score picture; and identifying the note primitives according to the note library. Then, based on the recognition result, the music piece information included in the music piece image is extracted, and the music piece information includes a plurality of notes and a position, a scale, and a beat corresponding to each of the plurality of notes.
- Step S103 Connect the extracted score segment information to generate complete score information of the music.
- the music score segment information included in each of the extracted music score segment images may be sequentially connected in order of each of the music score segment images in the sequence of the music slice image to generate complete music score information of the music.
- Step S104 Perform a performance on the music piece according to the complete piece of music information.
- the name of the instrument corresponding to the piece of music is first acquired.
- the instrument name may be stored in a local memory, and the instrument name corresponding to the music piece is obtained by querying the local memory.
- the acquisition of the instrument name corresponding to the music piece can also be accomplished by accepting an instruction input by the user.
- the data information of the music format corresponding to the name of the musical instrument is generated, wherein the sound stock stores the sounds of different notes corresponding to different musical instrument names, and the data information of the music format includes the music a plurality of notes included in the segment information and a position, a scale, a beat, and a tone corresponding to each of the plurality of notes.
- an analog audio signal corresponding to the data information of the music format is obtained based on the sound wave table, wherein the sound wave table stores a waveform table of different timbres of different notes.
- the power of the audio signal is amplified, and music is played by the audio playback device to effect the performance of the music.
- the technical solution proposed by the first embodiment of the present invention realizes the coherent and complete playing of the music piece by recognizing and coordinating the music piece segment information included in the music piece image sequence of the music piece, and overcomes the manual input music spectrum.
- the time-consuming and laborious drawbacks extend the terminal to which the method and device are applied Battery life time.
- Fig. 3 shows a second embodiment of the invention.
- FIG. 3 is a schematic flow chart of a method for playing a music piece according to a second embodiment of the present invention. Referring to FIG. 3, the method includes:
- Step S301 Generate a sequence of score picture pictures of the music piece.
- step S101 This step is the same as step S101 in the first embodiment, and details are not described herein again.
- Step S302 Identify and extract the music score segment information included in each of the music score segment pictures in the music score segment picture sequence.
- step S102 This step is the same as step S102 in the first embodiment, and details are not described herein again.
- Step S303 Connect the extracted score segment information to generate complete score information of the music.
- step S103 This step is the same as step S103 in the first embodiment, and details are not described herein again.
- Step S304 displaying the complete piece of music information that can be edited.
- the complete piece of music information can be displayed by providing a human-computer interaction interface. All the notes in the displayed score information and the scales and beats corresponding to each note can be edited by the user. Preferably, the edit status of the note can be entered by receiving a double click command for a note.
- Step S305 Receive an input editing operation instruction, and edit the complete piece of music information. After displaying the complete piece of music information that can be edited through the human-computer interaction interface, receiving an editing operation instruction input by the user, completing editing of the note, scale or beat in the track information to implement modification of the music score information .
- Step S306 Perform the performance of the music piece according to the edited complete music score information.
- the technical solution provided by the second embodiment of the present invention through the recognition and cohesion processing of the music piece segment information included in the sequence of the music segment image of the music piece, complete song information is obtained, and the music information can be edited, and further It realizes the accurate, consistent and complete playing of the music, overcomes the disadvantages of time-consuming and laborious manual input of the music score, prolongs the battery life of the terminal applied by the method and the device, and can assist the user to create the music.
- Fig. 4 shows a third embodiment of the invention.
- FIG. 4 is a schematic flow chart of a method for playing a music piece according to a third embodiment of the present invention.
- the method includes: Step S401: Generate a sequence of score picture pictures of the music piece.
- step S101 This step is the same as step S101 in the first embodiment, and details are not described herein again.
- Step S402 identifying and extracting music score segment information included in each of the music score segment pictures in the music score segment picture sequence.
- step S102 This step is the same as step S102 in the first embodiment, and details are not described herein again.
- Step S403 Connect the extracted score segment information to generate complete score information of the music.
- step S103 This step is the same as step S103 in the first embodiment, and details are not described herein again.
- Step S404 Display the complete piece of music information.
- Step S405 Receive an input performance position command to obtain a designated position of the score performance, wherein the designated position includes a start position and an end position.
- the first note selected by the touch control in the music information displayed by the user on the man-machine interface is received, and the position corresponding to the note is used as the starting position of the music performance; the receiving user is in the above-mentioned man-machine
- the second note selected by the touch in the music information displayed on the interface, and the position corresponding to the note is used as the end position of the performance of the score.
- the position corresponding to the note is used as the starting position of the music performance, and the complete music information is obtained.
- the position corresponding to the last note in the middle is used as the end position of the score play.
- an input control can also be provided for the user to directly enter the starting and ending positions of the performance of the score.
- Step S406 Search for the score information corresponding to the start position and the end position from the complete track information.
- Step S407 Perform the performance of the music piece according to the found track information.
- the music piece segment information included in the sequence picture sequence of the music piece is identified and connected, and then the music piece information playing position is specified, thereby enabling the user to be played consistently and completely.
- the scores in any specified location area overcome the drawbacks of time-consuming and labor-intensive manual input of the score, and prolong the battery life of the terminal applied by the method and the device.
- FIG. 5 shows a fourth embodiment of the invention.
- FIG. 5 is a schematic structural diagram of an apparatus for playing music according to a fourth embodiment of the present invention.
- the apparatus includes: a picture generating module 501, configured to generate a sequence of music score segments of the music piece; and an information extracting module 502, configured to identify and extract the music piece information included in each of the music piece image segments in the sequence of the music piece image
- the information interface module 503 is configured to connect the extracted music piece information to generate complete music information of the music piece; and the music performance module 504 is configured to perform the music according to the complete music information.
- the image generating module 501 can obtain a sequence of the music score segment by acquiring images of the music segments stored by the image collection device, copied by the external device, or downloaded the music stored in the web page.
- the image generating module 501 obtains a sequence of music score segments by acquiring images of the music scores of the music collected by the image collection device, wherein the image collection device is a camera carried by the terminal itself.
- the picture generation module 501 further includes:
- the obtaining sub-module 5011 is configured to obtain a framing picture of the real-time image collection by the image concentrating device;
- the overlap recognition sub-module 5012 is configured to determine whether the framing picture of the captured image overlaps with the picture of the previous music piece;
- the receiving sub-module 5013 is configured to send a shooting instruction to the image collecting device when it is determined that no overlap occurs, and receive a music slice image captured by the image collecting device.
- the overlap rendering sub-module 5014 is configured to render the overlapping area in a picture displayed by the image capturing device framing interface according to a preset overlapping rendering rule when determining that an overlap occurs.
- the overlap recognition sub-module 5012 can determine whether the topmost preset area of the framing picture and the lowest preset area of the previous music piece picture reach the set threshold according to the existing image splicing technology. Determine whether the framing image overlaps with the previous score image: If the similarity reaches the set threshold, the framing image overlaps with the previous score image. Otherwise, the framing image does not overlap with the previous score image. . Overlapping rendering rules are used to describe and define how overlapping regions are rendered.
- the overlapping rendering sub-module 5014 performs rendering on the overlapped area in the image displayed by the image capturing device framing interface according to the preset overlapping rendering rule, including: overlapping in the image displayed by the image capturing device framing interface The area is colored.
- the overlap rendering sub-module 5014 covers the overlapping area with green to prompt the user to overlap the portion of the music piece segment to be captured with the previous music piece image, so that the user can perform reasonable shooting of the music piece image accordingly.
- the information extraction module 502 further includes:
- the information recognition sub-module 5021 performs information recognition on each of the music score segment images in the sequence of the music score segment according to the optical character recognition technology, and the recognition includes but is not limited to: tilt correction, binarization, and culling of the music score segment image Preprocessing; positioning the note primitives in the score picture; identifying the note primitives according to the note library;
- the information extraction sub-module 5022 extracts the music piece information included in the music piece image according to the recognition result, and the music piece information includes a plurality of notes and a position, a scale, and a beat corresponding to each of the plurality of notes.
- the information coordinating module 503 may sequentially connect the pieces of the music piece segments included in the extracted music piece image according to the sequence of the pieces of the music piece in the sequence of the music piece image to generate the complete music piece. Quo information.
- the piece of music performance module 504 After obtaining the complete piece of music information of the piece of music, the piece of music performance module 504 first acquires the name of the instrument corresponding to the piece of music, such as a piano, a guitar, a violin, a harmonica, a flute, and the like. Specifically, the instrument name may be stored in a local memory, and the music performance module 504 obtains the instrument name corresponding to the music by querying the local memory. Of course, the acquisition of the instrument name corresponding to the music piece can also be accomplished by accepting an instruction input by the user.
- the music performance module 504 generates data information of a music format corresponding to the musical instrument name according to the sound color library and the complete music score information, wherein the sound color storage stores the sounds of different notes corresponding to different musical instrument names, and the music format
- the data information includes a plurality of notes included in the score piece information and a position, a scale, a beat, and a tone corresponding to each of the plurality of notes.
- the music performance module 504 obtains an analog audio signal corresponding to the data information of the music format according to the sound wave table, wherein the sound wave table stores a waveform table of different sounds of different notes.
- the music performance module 504 amplifies the power of the audio signal and emits music through the audio playback device to effect the performance of the music.
- the fourth embodiment of the present invention and the above-described first embodiment belong to one inventive concept, and the details which are not described in detail in the fourth embodiment can be referred to the first embodiment.
- the technical solution provided by the fourth embodiment of the present invention realizes the coherent and complete playing of the music piece by recognizing and coordinating the music piece segment information included in the sequence picture sequence of the music piece, thereby overcoming the time-consuming input of the music score.
- the laborious drawbacks extend the battery life of the terminal applied to the method and device.
- FIG. 6 shows a fifth embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of an apparatus for playing music according to a fourth embodiment of the present invention.
- the apparatus includes: a picture generating module 601, configured to generate a sequence of music score segments of the music piece; and an information extracting module 602, configured to identify and extract the music piece information included in each of the music piece image sequences in the sequence of the music piece image
- the information connection module 603 is configured to connect the extracted music piece information to generate complete music information of the music piece;
- the information editing module 604 is configured to display complete music information that can be edited, and receive the input edit
- the operation command is used to edit the complete piece of music information;
- the music performance module 605 is configured to perform the performance of the piece according to the edited complete piece of music information.
- the image generation module 601, the information extraction module 602, and the information connection module 603 have the same functions as the image generation module 501, the information extraction module 502, and the information connection module 503 in the fourth embodiment, and are not described herein again.
- the information editing module 604 can display the complete score information by providing a human-computer interaction interface. All the notes in the displayed ridge information and the scales and beats corresponding to each note can be edited by the user. Preferably, the information editing module 604 can enter the edit state of the note by receiving a double click instruction for a note. After displaying the complete music information that can be edited through the human-computer interaction interface, the information editing module 604 receives an editing operation instruction input by the user, and completes editing of the notes, scales or beats in the music information to implement the pair. Modification of the score information.
- the fifth embodiment of the present invention and the above-described second embodiment belong to one inventive concept, and the details which are not described in detail in the fifth embodiment can be referred to the second embodiment.
- the complete music information is obtained by further identifying and coordinating the music score information contained in the sequence of the music score image of the music, and the music information can be edited and realized.
- Accurate, consistent and complete playing of the music overcomes the drawbacks of manual input of music scores, and prolongs the battery life of the terminal applied by the method and device, and can assist the user to create music.
- Fig. 7 shows a sixth embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of an apparatus for playing music according to a sixth embodiment of the present invention.
- the device includes: a picture generating module 701, configured to generate a sequence of music score segments of the music piece; and an information extracting module 702, configured to identify and extract the music piece information included in each of the music piece image sequences in the sequence of the music piece image
- the information connection module 703 is configured to enter the extracted music piece information into The line is connected to generate complete score information of the music piece;
- the performance position specifying module 704 is configured to display the complete music information, and receive the input performance position instruction to obtain a designated position of the music performance, wherein the designated position includes The start position and the end position;
- the music performance module 705 is configured to search for the corresponding song information between the start position and the end position from the complete music information, and perform the performance according to the found score information.
- the image generation module 701, the information extraction module 702, and the information connection module 703 have the same functions as the image generation module 501, the information extraction module 502, and the information connection module 503 in the fourth embodiment, and are not described herein again.
- the performance position specifying module 704 receives the first note selected by the touch control information displayed by the user on the man-machine interface, and the position corresponding to the note is used as the starting position of the music performance;
- the second note selected by touch is displayed in the score information displayed on the man-machine interface, and the position corresponding to the note is used as the end position of the score play.
- the 604 only receives the unique one of the touch selection selected by the user in the music score information displayed on the man-machine interface, and the position corresponding to the note is used as the starting position of the music performance, and the last one of the complete music score information is The position corresponding to the note is used as the end position of the score.
- performance position specifying module 704 can also provide an input control for the user to directly enter the starting and ending positions of the musical performance.
- the music piece information playing position is specified, thereby enabling the user to be played consistently and completely.
- the scores in any specified location area overcome the drawbacks of time-consuming and labor-intensive manual input of the score, and prolong the battery life of the terminal applied by the method and the device.
- Figure 8 is a block diagram showing the structure of a terminal that can be used to implement the solution of the present invention.
- the terminal 80 may include an image collection unit 801, a memory 802, a processor 803, an input unit 804, a display unit 805, an audio circuit 806, a speaker 807, and the like.
- the image acquisition unit 801 can be used to acquire the music piece image sequence data and output the acquired data to the memory 802 for further processing.
- the image collection unit 801 can be a camera.
- the memory 802 can be used to store software programs and modules that implement playing music, and the processor 803 executes various functional applications by running software programs and modules stored in the memory 802, and data processing.
- Input unit 804 can be used to receive input digital or note information and to generate touchpad, keyboard, mouse, joystick signal inputs related to user settings or function controls.
- the display unit 805 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal 80, which can be composed of graphics, text, icons, videos, and any combination thereof, in a preferred In the manner, the display unit 805 is a touch screen display.
- Audio circuit 806, speaker 807 can provide an audio interface between the user and terminal 80.
- the audio circuit 806 can transmit the converted electrical data of the audio data received from the processor 803 to the speaker 807 for conversion to the sound signal output by the speaker 807.
- terminal structure illustrated in Figure 8 does not constitute a limitation to the terminal, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
- All or part of the technical solutions provided by the above embodiments may be implemented by software programming, and the software program is stored in a readable storage medium, such as: a hard disk in a computer, a computer read only memory, a CD or a floppy disk, etc. .
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Auxiliary Devices For Music (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
一种演奏乐曲的方法及装置,所述方法包括:生成乐曲的曲谱片段图片序列;识别并提取所述曲谱片段图片序列中的各张曲谱片段图片所包含的曲谱片段信息;将所提取的曲谱片段信息进行衔接,生成所述乐曲的完整的曲谱信息;根据所述完整的曲谱信息,对所述乐曲进行演奏。上述方法实现了对乐曲连贯、完整地弹奏,克服了手动输入曲谱费时费力的弊端,延长了该方法和装置所应用的终端上电池的续航时间。
Description
一种演奏乐曲的方法及装置 本专利申请要求 2013 年 7 月 2 日提交的中国专利申请号为 201310275056.3 , 发明名称为 "一种演奏乐曲的方法及装置" 的优先权, 该申 请的全文以引用的方式并入本申请中。 技术领域
本发明公开的主题内容涉及计算机技术领域,尤其涉及一种演奏乐曲的方 法及装置。 背景挾术
曲语即乐语, 是记录音乐音高或者节奏的各种书面符号的有规律的组合, 简谱、 五线谱、 吉他谱、 古琴谱等等各种现代的或者古代的乐谱都叫做曲谱。 它的出现使得人们能够方便并且有效的进行音乐的交流和传承。古往今来的音 乐作品大多以纸质形式的曲谱进行记载。
随着计算机技术的迅速发展, 各种终端, 如智能手机、 个人数字助理、 笔 记本电脑、 平板电脑等, 日渐进入人们的工作、 生活和学习中。 终端上的应用 软件亦是日趋繁多, 其功能也越来越强大。现有的某些终端所安装的应用软件 可以通过摄像头对纸质形式的曲谱进行拍摄, 并对所拍摄曲谱图片进行识别、 演奏。 但是, 当一首乐曲的曲语很长时, 需要连续拍摄多张曲谱片段图片, 才 能完整的将该首乐曲的曲谱釆集完毕,而现有的应用软件只能对单张曲谱片段 图片进行单独的识别和演奏, 无法将所拍摄的多张曲谱片段图片进行衔接识 另1 J , 来实现对同一首乐曲连贯、 完整地弹奏。 发明内容
鉴于以上理由, 本发明实施例提出一种演奏乐曲的方法及装置, 来解决以 上背景技术部分提到的技术问题。
一方面, 本发明实施例提供了一种演奏乐曲的方法, 所述方法包括: 生成乐曲的曲谱片段图片序列;
识别并提取所述曲谱片段图片序列中的各张曲谱片段图片所包含的曲谱 片段信息;
将所提取的曲谱片段信息进行衔接, 生成所述乐曲的完整的曲谱信息; 根据所述完整的曲语信息, 对所述乐曲进行演奏。
一方面, 本发明实施例提供了一种演奏乐曲的装置, 所述装置包括: 图片生成模块, 用于生成乐曲的曲谱片段图片序列;
信息提取模块,用于识别并提取所述曲谱片段图片序列中的各张曲谱片段 图片所包含的曲谱片段信息;
信息衔接模块, 用于将所提取的曲谱片段信息进行衔接, 生成所述乐曲的 完整的曲语信息;
乐曲演奏模块, 用于根据所述完整的曲谱信息, 对所述乐曲进行演奏。 相较于现有技术,本发明实施例通过对乐曲的曲谱片段图片序列中所包含 的曲谱片段信息的识别与衔接, 实现了对乐曲连贯、 完整地弹奏, 克服了手动 输入曲谱费时费力的弊端,延长了该方法和装置所应用的终端上电池的续航时 间。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明第一实施例提供的一种演奏乐曲的方法的流程示意图; 图 2 为本发明第一实施例提供的生成乐曲的曲谱片段图片序列的流程示 意图;
图 3为本发明第二实施例提供的一种演奏乐曲的方法的流程示意图; 图 4为本发明第三实施例提供的一种演奏乐曲的方法的流程示意图; 图 5为本发明第四实施例提供的一种演奏乐曲的装置的结构示意图; 图 6为本发明第五实施例提供的一种演奏乐曲的装置的结构示意图; 图 7为本发明第六实施例提供的一种演奏乐曲的装置的结构示意图; 图 8为可用于实施本发明方案的终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图详细描述对本发明的各个实施例, 显 然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得 的所有其他实施例, 都属于本发明保护的范围。
图 1示出了本发明的第一实施例。
图 1为本发明第一实施例提供的一种演奏乐曲的方法的流程示意图。参见 图 1 , 所述方法包括:
步骤 S101、 生成乐曲的曲谱片段图片序列。
在本实施例中, 可通过获取图像釆集装置釆集的、拷贝外接设备存储的或 者下载网页中存有的乐曲的各曲语片段图片,得到曲谱片段图片序列。优选的, 本实施通过获取图像釆集装置釆集的乐曲的各曲谱片段图片,得到曲谱片段图 片序列, 其中所述图像釆集装置为终端自身所携带的照相机。
图 2 为本发明第一实施例提供的生成乐曲的曲谱片段图片序列的流程示 意图。 参见图 2, 步骤 S101进一步包括:
子步骤 S1011、 获取图像釆集装置实时釆集的取景图片;
子步骤 S1012、判断所釆集的取景图片是否与上一张曲谱片段图片发生重 叠, 如果否, 执行子步骤 S1013 , 否则, 执行子步骤 S1014;
子步骤 S1013、 向图像釆集装置发送拍摄指令, 接收图像釆集装置拍摄得 到的曲谱片段图片;
子步骤 S1014、 按照预设的重叠渲染规则, 在图像釆集装置取景界面显示 的图片中对重叠区域进行渲染。
其中, 对于子步骤 S1012 , 可根据现有的图像拼接技术, 通过判断取景图 片的最上面预设区域是否与上一张曲谱片段图片的最下面预设区域相似度达 到设定的阔值, 来判断取景图片是否与上一张曲谱片段图片发生重叠: 如果相 似度达到设定的阈值, 则取景图片与上一张曲谱片段图片发生重叠, 否则, 取 景图片与上一张曲谱片段图片未发生重叠; 对于子步骤 S1014, 重叠渲染规则 用于对重叠区域的渲染方式进行描述和界定。在本实施例中,按照预设的重叠 渲染规则, 在图像釆集装置取景界面显示的图片中对所重叠区域进行渲染包 括: 在图像釆集装置取景界面显示的图片中对重叠区域进行着色处理。 例如,
用绿色覆盖所述重叠区域,以提示用户所要拍摄的曲谱片段图片与上一张曲谱 片段图片的重叠部分, 使得用户能够据此对曲谱片段图片进行合理的拍摄。
步骤 S102、 识别并提取曲谱片段图片序列中的各张曲谱片段图片所包含 的曲谱片段信息。
在生成乐曲的曲谱片段图片序列后, 首先根据光字符识别技术,对所述曲 谱片段图片序列中各张曲谱片段图片进行信息识别, 该识别过程包括但不限 于: 对曲谱片段图片进行倾斜校正、 二值化、 剔除歌词等预处理; 定位曲谱片 段图片中的音符基元;根据音符库,对音符基元进行识别。然后根据识别结果, 提取曲谱片段图片所包含的曲谱片段信息,该曲语片段信息包括多个音符及与 所述多个音符中的每个音符对应的位置、 音阶、 节拍。
步骤 S103、 将所提取的曲谱片段信息进行衔接, 生成所述乐曲的完整的 曲谱信息。
在本实施例中, 可按照曲谱片段图片序列中各张曲谱片段图片的顺序,依 次将所提取的各曲谱片段图片所包含的曲谱片段信息衔接在一起,生成所述乐 曲的完整的曲谱信息。
步骤 S104、 根据所述完整的曲语信息, 对所述乐曲进行演奏。
在得到所述乐曲的完整的曲语信息之后,首先获取与所述乐曲对应的乐器 名称, 例如钢琴、 吉他、 小提琴、 口琴、 笛子等。 具体地, 该乐器名称可以是 本地存储器存储的,通过查询本地存储器获取与所述乐曲对应的乐器名称。 当 然, 与所述乐曲对应的乐器名称的获取也可以是通过接受用户输入的指令完 成。 其次, 根据音色库和所述完整的曲谱片段信息, 生成与乐器名称相对应的 音乐格式的数据信息,其中音色库存储着不同乐器名称所对应的不同音符的音 色,音乐格式的数据信息包括曲语片段信息中所包括的多个音符及与所述多个 音符中的每个音符对应的位置、 音阶、 节拍、 音色。 然后, 根据音波表得到与 音乐格式的数据信息相对应的模拟的音频信号,其中音波表存储着不同音符的 不同音色的波形表。 最后, 将所述音频信号的功率进行放大, 通过音频播放装 置发出音乐, 来实现对所述乐曲的演奏。
本发明第一实施例提出的技术方案,通过对乐曲的曲语片段图片序列中所 包含的曲谱片段信息进行识别与衔接处理, 进而实现了对乐曲连贯、 完整地弹 奏,克服了手动输入曲谱费时费力的弊端,延长了该方法和装置所应用的终端
上电池的续航时间。
图 3示出了本发明的第二实施例。
图 3为本发明第二实施例提供的一种演奏乐曲的方法的流程示意图。参见 图 3 , 所述方法包括:
步骤 S301、 生成乐曲的曲谱片段图片序列。
本步骤与第一实施例中的步骤 S101相同, 这里不再赘述。
步骤 S302、 识别并提取曲谱片段图片序列中的各张曲谱片段图片所包含 的曲谱片段信息。
本步骤与第一实施例中的步骤 S 102相同, 这里不再赘述。
步骤 S303、 将所提取的曲谱片段信息进行衔接, 生成所述乐曲的完整的 曲谱信息。
本步骤与第一实施例中的步骤 S 103相同, 这里不再赘述。
步骤 S304、 显示能够被编辑的所述完整的曲语信息。
在本实施例中, 可通过提供一个人机交互界面, 来显示所述完整的曲语信 息。在所显示的曲谱信息中所有的音符以及与每个音符对应的音阶、节拍均能 够被用户编辑。 优选的, 可通过接收对某个音符的双击指令, 来进入对该音符 的编辑状态。
步骤 S305、 接收输入的编辑操作指令, 对所述完整的曲语信息进行编辑。 在通过人机交互界面显示能够被编辑的所述完整的曲语信息后,接收用户 输入的编辑操作指令, 完成对曲语信息中音符、 音阶或者节拍进行的编辑, 以 实现对曲谱信息的修改。
步骤 S306、 根据经过编辑后的完整的曲谱信息, 对所述乐曲进行演奏。 本发明第二实施例提供的技术方案,通过对乐曲的曲语片段图片序列中所 包含的曲谱片段信息进而识别与衔接处理,得到完整的曲语信息, 同时能够对 曲语信息进行编辑, 进而实现了对乐曲准确、 连贯、 完整地弹奏, 克服了手动 输入曲谱费时费力的弊端,延长了该方法和装置所应用的终端上电池的续航时 间, 同时能够协助用户进行乐曲创作。
图 4示出了本发明的第三实施例。
图 4为本发明第三实施例提供的一种演奏乐曲的方法的流程示意图。参见 图 4 , 所述方法包括:
步骤 S401、 生成乐曲的曲谱片段图片序列。
本步骤与第一实施例中的步骤 S101相同, 这里不再赘述。
步骤 S402、 识别并提取曲谱片段图片序列中的各张曲谱片段图片所包含 的曲谱片段信息。
本步骤与第一实施例中的步骤 S102相同, 这里不再赘述。
步骤 S403、 将所提取的曲谱片段信息进行衔接, 生成所述乐曲的完整的 曲谱信息。
本步骤与第一实施例中的步骤 S 103相同, 这里不再赘述。
步骤 S404、 显示所述完整的曲语信息。
在得到完整的曲语信息后,提供一个人机交互界面,用于显示该曲谱信息。 步骤 S405、 接收输入的演奏位置指令, 得到曲谱演奏的指定位置, 其中 指定位置包括起始位置和终止位置。
在本实施例中,接收用户在上述人机界面上显示的曲 i香信息中触控选择的 第一个音符,将该音符对应的位置作为曲谱演奏的起始位置; 接收用户在上述 人机界面上显示的曲语信息中触控选择的第二个音符,将该音符对应的位置作 为曲谱演奏的终止位置。特别的, 当只接收到用户在上述人机界面上显示的曲 谱信息中触控选择的唯一的一个音符时,将该音符对应的位置作为曲谱演奏的 起始位置,将上述完整的曲语信息中的最后一个音符对应的位置作为曲谱演奏 的终止位置。
当然, 本领域的普通技术人员应该知道, 还可通过提供一个输入控件, 供 用户直接输入曲谱演奏的起始位置和终止位置。
步骤 S406、 从完整的曲语信息中查找起始位置和终止位置之间所对应的 曲谱信息。
步骤 S407、 根据所查找到的曲语信息, 对所述乐曲进行演奏。
本发明第三实施例提供的技术方案,通过对乐曲的曲谱片段图片序列中所 包含的曲谱片段信息进行识别与衔接处理, 而后对曲谱信息演奏位置加以指 定, 进而能够连贯、 完整地弹奏用户所任意指定位置区域内的曲谱, 克服了手 动输入曲谱费时费力的弊端,延长了该方法和装置所应用的终端上电池的续航 时间。
图 5示出了本发明的第四实施例。
图 5为本发明第四实施例提供的一种演奏乐曲的装置的结构示意图。参见 图 5 , 该装置包括: 图片生成模块 501 , 用于生成乐曲的曲谱片段图片序列; 信息提取模块 502, 用于识别并提取曲谱片段图片序列中的各张曲谱片段图片 所包含的曲谱片段信息; 信息衔接模块 503 , 用于将所提取的曲谱片段信息进 行衔接, 生成所述乐曲的完整的曲谱信息; 乐曲演奏模块 504, 用于根据完整 的曲语信息, 对所述乐曲进行演奏。
在本实施例中, 图片生成模块 501可通过获取图像釆集装置釆集的、拷贝 外接设备存储的或者下载网页中存有的乐曲的各曲语片段图片,得到曲谱片段 图片序列。优选的, 本实施图片生成模块 501通过获取图像釆集装置釆集的乐 曲的各曲谱片段图片,得到曲谱片段图片序列, 其中所述图像釆集装置为终端 自身所携带的照相机。
图片生成模块 501进一步包括:
获取子模块 5011 , 用于获取图像釆集装置实时釆集的取景图片; 重叠识别子模块 5012, 用于判断所釆集的取景图片是否与上一张曲谱片 段图片发生重叠;
接收子模块 5013 , 用于在判断未发生重叠时, 向图像釆集装置发送拍摄 指令, 接收所述图像釆集装置拍摄得到的曲谱片段图片。
重叠渲染子模块 5014, 用于在判断发生重叠时, 按照预设的重叠渲染规 则, 在图像釆集装置取景界面显示的图片中对所述重叠区域进行渲染。
其中, 重叠识别子模块 5012可根据现有的图像拼接技术, 通过判断取景 图片的最上面预设区域是否与上一张曲谱片段图片的最下面预设区域相似度 达到设定的阔值, 来判断取景图片是否与上一张曲谱片段图片发生重叠: 如果 相似度达到设定的阔值, 取景图片与上一张曲谱片段图片发生重叠, 否则, 取 景图片与上一张曲谱片段图片未发生重叠。重叠渲染规则用于对重叠区域的渲 染方式进行描述和界定。 在本实施例中, 重叠渲染子模块 5014按照预设的重 叠渲染规则,在图像采集装置取景界面显示的图片中对所重叠区域进行渲染包 括: 在图像釆集装置取景界面显示的图片中对重叠区域进行着色处理。 例如, 重叠渲染子模块 5014用绿色覆盖所述重叠区域, 以提示用户所要拍摄的曲谱 片段图片与上一张曲谱片段图片的重叠部分,使得用户能够据此对曲谱片段图 片进行合理的拍摄。
信息提取模块 502进一步包括:
信息识别子模块 5021根据光字符识别技术, 对所述曲谱片段图片序列中 各张曲谱片段图片进行信息识别, 所述识别包括但不限于: 对曲谱片段图片进 行倾斜校正、 二值化、 剔除歌词等预处理; 定位曲谱片段图片中的音符基元; 根据音符库, 对音符基元进行识别;
信息提取子模块 5022根据识别结果, 提取曲谱片段图片所包含的曲谱片 段信息,该曲谱片段信息包括多个音符及与所述多个音符中的每个音符对应的 位置、 音阶、 节拍。
在本实施例中,信息衔接模块 503可按照曲谱片段图片序列中各张曲谱片 段图片的顺序,依次将所提取的各曲谱片段图片所包含的曲谱片段信息衔接在 一起, 生成所述乐曲的完整的曲语信息。
在得到所述乐曲的完整的曲语信息之后,乐曲演奏模块 504首先获取与所 述乐曲对应的乐器名称, 例如钢琴、 吉他、 小提琴、 口琴、 笛子等。 具体地, 该乐器名称可以是本地存储器存储的,乐曲演奏模块 504通过查询本地存储器 获取与所述乐曲对应的乐器名称。 当然, 与所述乐曲对应的乐器名称的获取也 可以是通过接受用户输入的指令完成。其次, 乐曲演奏模块 504根据音色库和 所述完整的曲谱片段信息, 生成与乐器名称相对应的音乐格式的数据信息, 其 中音色库存储着不同乐器名称所对应的不同音符的音色,音乐格式的数据信息 包括曲谱片段信息中所包括的多个音符及与所述多个音符中的每个音符对应 的位置、 音阶、 节拍、 音色。 然后, 乐曲演奏模块 504才艮据音波表得到与音乐 格式的数据信息相对应的模拟的音频信号,其中音波表存储着不同音符的不同 音色的波形表。 最后, 乐曲演奏模块 504将所述音频信号的功率进行放大, 通 过音频播放装置发出音乐, 来实现对所述乐曲的演奏。
本发明第四实施例与上述第一实施例属于一个发明构思,在第四实施例中 未详尽描述的细节内容, 可以参考第一实施例。
本发明第四实施例提供的技术方案,通过对乐曲的曲谱片段图片序列中所 包含的曲谱片段信息进行识别与衔接处理, 进而实现了对乐曲连贯、 完整地弹 奏,克服了手动输入曲谱费时费力的弊端,延长了该方法和装置所应用的终端 上电池的续航时间。
图 6示出了本发明的第五实施例。
图 6为本发明第四实施例提供的一种演奏乐曲的装置的结构示意图。参见 图 6, 该装置包括: 图片生成模块 601 , 用于生成乐曲的曲谱片段图片序列; 信息提取模块 602, 用于识别并提取曲谱片段图片序列中的各张曲谱片段图片 所包含的曲谱片段信息; 信息衔接模块 603 , 用于将所提取的曲谱片段信息进 行衔接, 生成所述乐曲的完整的曲谱信息; 信息编辑模块 604, 用于显示能够 被编辑的完整的曲语信息,接收输入的编辑操作指令,对完整的曲语信息进行 编辑; 乐曲演奏模块 605用于才艮据经过编辑后的完整的曲语信息,对所述乐曲 进行演奏。
在本实施例中, 图片生成模块 601、信息提取模块 602、信息衔接模块 603 与第四实施例中的图片生成模块 501、 信息提取模块 502、 信息衔接模块 503 功能对应相同, 这里不再赘述。
在本实施例中,信息编辑模块 604可通过提供一个人机交互界面, 来显示 所述完整的曲谱信息。在所显示的曲 i脊信息中所有的音符以及与每个音符对应 的音阶、 节拍均能够被用户编辑。 优选的, 信息编辑模块 604可通过接收对某 个音符的双击指令, 来进入对该音符的编辑状态。在通过人机交互界面显示能 够被编辑的所述完整的曲语信息后,信息编辑模块 604接收用户输入的编辑操 作指令, 完成对曲语信息中音符、 音阶或者节拍进行的编辑, 以实现对曲谱信 息的修改。
本发明第五实施例与上述第二实施例属于一个发明构思,在第五实施例中 未详尽描述的细节内容, 可以参考第二实施例。
本发明第五实施例提供的技术方案,通过对乐曲的曲谱片段图片序列中所 包含的曲谱片段信息进而识别与衔接处理,得到完整的曲语信息, 同时能够对 曲语信息进行编辑, 进而实现了对乐曲准确、 连贯、 完整地弹奏, 克服了手动 输入曲谱费时费力的弊端,延长了该方法和装置所应用的终端上电池的续航时 间, 同时能够协助用户进行乐曲创作。
图 7示出了本发明的第六实施例。
图 7为本发明第六实施例提供的一种演奏乐曲的装置的结构示意图。参见 图 7 , 该装置包括: 图片生成模块 701 , 用于生成乐曲的曲谱片段图片序列; 信息提取模块 702, 用于识别并提取曲谱片段图片序列中的各张曲谱片段图片 所包含的曲谱片段信息; 信息衔接模块 703 , 用于将所提取的曲谱片段信息进
行衔接, 生成所述乐曲的完整的曲谱信息; 演奏位置指定模块 704 , 用于显示 所述完整的曲语信息, 接收输入的演奏位置指令, 得到曲谱演奏的指定位置, 其中所述指定位置包括起始位置和终止位置;乐曲演奏模块 705用于从完整的 曲语信息中查找起始位置和终止位置之间对应的曲语信息,根据所查找到的曲 谱信息, 对所述乐曲进行演奏。
在本实施例中, 图片生成模块 701、信息提取模块 702、信息衔接模块 703 与第四实施例中的图片生成模块 501、 信息提取模块 502、 信息衔接模块 503 功能对应相同, 这里不再赘述。
在本实施例中,演奏位置指定模块 704接收用户在上述人机界面上显示的 曲语信息中触控选择的第一个音符,将该音符对应的位置作为曲谱演奏的起始 位置; 接收用户在上述人机界面上显示的曲谱信息中触控选择的第二个音符, 将该音符对应的位置作为曲谱演奏的终止位置。特别的, 当演奏位置指定模块
604 只接收到用户在上述人机界面上显示的曲谱信息中触控选择的唯一的一 个音符时, 将该音符对应的位置作为曲谱演奏的起始位置,将上述完整的曲谱 信息中的最后一个音符对应的位置作为曲谱演奏的终止位置。
当然, 本领域的普通技术人员应该知道, 演奏位置指定模块 704还可通过 提供一个输入控件, 供用户直接输入曲谱演奏的起始位置和终止位置。
本发明第六实施例提供的技术方案,通过对乐曲的曲谱片段图片序列中所 包含的曲谱片段信息进行识别与衔接处理, 而后对曲谱信息演奏位置加以指 定, 进而能够连贯、 完整地弹奏用户所任意指定位置区域内的曲谱, 克服了手 动输入曲谱费时费力的弊端,延长了该方法和装置所应用的终端上电池的续航 时间。
图 8为可用于实施本发明方案的终端的结构示意图。 参见图 8, 终端 80 可以包括图像釆集单元 801、 存储器 802、 处理器 803、 输入单元 804、 显示单 元 805、 音频电路 806、 扬声器 807等部件。
图像采集单元 801可用于获取曲谱片段图片序列数据,并将所获取的数据 输出至存储器 802 以便进一步处理, 在一个优选方式中, 图像釆集单元 801 可以为照相机。
存储器 802 可用于存储实现演奏乐曲的软件程序以及模块, 处理器 803 通过运行存储在存储器 802的软件程序以及模块,从而执行各种功能应用以及
数据处理。
输入单元 804可用于接收输入的数字或音符信息,以及产生与用户设置或 功能控制有关的触控板、 键盘、 鼠标、 操作杆信号输入。
显示单元 805 可用于显示由用户输入的信息或提供给用户的信息以及终 端 80的各种图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视 频和其任意组合来构成, 在一个优选方式中, 显示单元 805为触摸屏显示器。
音频电路 806、 扬声器 807可提供用户与终端 80之间的音频接口。 音频 电路 806可将从处理器 803接收到的音频数据转换后的电信号 ,传送至扬声器 807 , 由扬声器 807转换为声音信号输出。
本领域技术人员可以理解, 图 8 中示出的终端结构并不构成对终端的限 定, 可以包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的部件 布置。
以上实施例提供的技术方案中的全部或部分内容可以通过软件编程实现, 其软件程序存储在可读取的存储介质中, 存储介质例如: 计算机中的硬盘、 计 算机只读存储器、 光盘或软盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。
Claims
1、 一种演奏乐曲的方法, 其特征在于, 所述方法包括:
生成乐曲的曲谱片段图片序列;
识别并提取所述曲谱片段图片序列中的各张曲谱片段图片所包含的曲谱 片段信息;
将所提取的曲谱片段信息进行衔接, 生成所述乐曲的完整的曲谱信息; 根据所述完整的曲语信息, 对所述乐曲进行演奏。
2、 根据权利要求 1所述的演奏乐曲的方法, 其特征在于, 所述生成乐曲 的曲语片段图片序列的步骤包括:获取图像釆集装置釆集的所述乐曲的各曲谱 片段图片, 生成所述曲谱片段图片序列。
3、 根据权利要求 2所述的演奏乐曲的方法, 其特征在于, 所述获取图像 釆集装置釆集的所述乐曲的各曲谱片段图片的步骤包括:
获取所述图像釆集装置实时釆集的取景图片;
判断所釆集的取景图片是否与上一张曲谱片段图片发生重叠;
如果未发生重叠, 则向所述图像釆集装置发送拍摄指令,接收所述图像釆 集装置拍摄得到的曲谱片段图片。
4、 根据权利要求 3所述的演奏乐曲的方法, 其特征在于, 如果发生重叠, 则按照预设的重叠渲染规则,在所述图像釆集装置取景界面显示的图片中对所 述重叠区域进行渲染。
5、 根据权利要求 1所述的演奏乐曲的方法, 其特征在于, 所述识别并提 取所述曲谱片段图片序列中的各张曲谱片段图片所包含的曲谱片段信息的步 骤包括:
根据光字符识别技术,对所述曲谱片段图片序列中的各张曲谱片段图片进 行信息识别;
提取所述曲谱片段图片序列中的各张曲谱片段图片所包含的曲谱片段信 息, 所述曲谱片段信息包括多个音符及所述多个音符中的每个音符对应的位 置、 音阶、 节拍。
6、 根据权利要求 1所述的演奏乐曲的方法, 其特征在于, 所述将所提取
的曲谱片段信息进行衔接, 生成所述乐曲的完整的曲语信息的步骤包括: 按照 所述曲谱片段图片序列中各张曲谱片段图片的顺序,依次将所提取的曲谱片段 信息衔接在一起, 生成所述乐曲的完整的曲语信息。
7、 根据权利要求 1所述的演奏乐曲的方法, 其特征在于, 所述将所提取 的曲谱片段信息进行衔接, 生成所述乐曲的完整的曲谱信息的步骤之后还包 括:
显示能够被编辑的所述完整的曲谱信息;
接收输入的编辑操作指令, 对所述完整的曲语信息进行编辑。
8、 根据权利要求 7所述的演奏乐曲的方法, 其特征在于, 根据所述完整 的曲语信息的对所述乐曲进行演奏的步骤包括:根据经过编辑后的所述完整的 曲语信息, 对所述乐曲进行演奏。
9、 根据权利要求 1所述的演奏乐曲的方法, 其特征在于, 所述将所提取 的曲谱片段信息进行衔接, 生成所述乐曲的完整的曲谱信息的步骤之后还包 括:
显示所述完整的曲谱信息;
接收输入的演奏位置指令,得到曲谱演奏的指定位置, 其中所述指定位置 包括起始位置和终止位置。
10、根据权利要求 9所述的演奏乐曲的方法, 其特征在于, 根据所述完整 的曲语信息对所述乐曲进行演奏的步骤包括:
从所述完整的曲谱信息中查找所述起始位置和所述终止位置之间对应的 曲谱信息;
根据所查找到的曲语信息, 对所述乐曲进行演奏。
11、 一种演奏乐曲的装置, 其特征在于, 所述装置包括:
图片生成模块, 用于生成乐曲的曲谱片段图片序列;
信息提取模块,用于识别并提取所述曲谱片段图片序列中的各张曲谱片段 图片所包含的曲谱片段信息;
信息衔接模块, 用于将所提取的曲谱片段信息进行衔接, 生成所述乐曲的 完整的曲语信息;
乐曲演奏模块, 用于根据所述完整的曲谱信息, 对所述乐曲进行演奏。
12、 根据权利要求 11所述的演奏乐曲的装置, 其特征在于, 所述图片生 成模块具体用于: 获取图像釆集装置釆集的所述乐曲的各曲谱片段图片, 生成 所述曲谱片段图片序列。
13、 根据权利要求 12所述的演奏乐曲的装置, 其特征在于, 所述图片生 成模块包括:
获取子模块, 用于获取所述图像釆集装置实时釆集的取景图片; 重叠识别子模块,用于判断所釆集的取景图片是否与上一张曲谱片段图片 发生重叠;
接收子模块, 用于在判断未发生重叠时, 向所述图像釆集装置发送拍摄指 令, 接收所述图像釆集装置拍摄得到的曲谱片段图片。
14、 根据权利要求 13所述的演奏乐曲的装置, 其特征在于, 所述图片生 成模块还包括重叠渲染子模块, 用于在判断发生重叠时,按照预设的重叠渲染 规则, 在所述图像釆集装置取景界面显示的图片中对所述重叠区域进行渲染。
15、 根据权利要求 11所述的演奏乐曲的装置, 其特征在于, 所述信息提 取模块包括:
信息识别子模块, 用于根据光字符识别技术,对所述曲谱片段图片序列中 各张曲谱片段图片进行信息识别;
信息提取子模块,用于提取所述曲谱片段图片序列中各张曲谱片段图片所 包含的曲语片段信息,所述曲谱片段信息包括多个音符及所述多个音符中的每 个音符对应的位置、 音阶、 节拍。
16、 根据权利要求 11所述的演奏乐曲的装置, 其特征在于, 所述信息衔 接模块具体用于: 按照所述曲谱片段图片序列中各张曲谱片段图片的顺序,依 次将所提取的曲谱片段信息衔接在一起, 生成所述乐曲的完整的曲语信息。
17、 根据权利要求 11所述的演奏乐曲的装置, 其特征在于, 所述装置还 包括信息编辑模块,用于在所述信息衔接模块将所提取的曲谱片段信息进行衔 接, 生成所述乐曲的完整的曲谱信息之后,显示能够被编辑的所述完整的曲谱 信息, 接收输入的编辑操作指令, 对所述完整的曲语信息进行编辑。
18、 根据权利要求 17所述的演奏乐曲的装置, 其特征在于, 所述乐曲演 奏模块具体用于: 根据经过编辑后的所述完整的曲语信息,对所述乐曲进行演
奏。
19、 根据权利要求 11所述的演奏乐曲的装置, 其特征在于, 所述装置还 包括演奏位置指定模块,用于在所述信息衔接模块将所提取的曲谱片段信息进 行衔接, 生成所述乐曲的完整的曲谱信息之后, 显示所述完整的曲语信息, 接 收输入的演奏位置指令,得到曲谱演奏的指定位置, 其中所述指定位置包括起 始位置和终止位置。
20、 根据权利要求 19所述的演奏乐曲的装置, 其特征在于, 所述乐曲演 奏模块具体用于:从所述完整的曲谱信息中查找所述起始位置和所述终止位置 之间对应的曲语信息, 根据所查找到的曲语信息, 对所述乐曲进行演奏。
21、一种计算机存储介质,其特征在于,所述计算机存储介质存储有程序, 该程序执行时包括如权利要求 1-10任一项所述的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310275056.3A CN104078035B (zh) | 2013-07-02 | 2013-07-02 | 一种演奏乐曲的方法及装置 |
| CN201310275056.3 | 2013-07-02 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015000404A1 true WO2015000404A1 (zh) | 2015-01-08 |
Family
ID=51599258
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/081407 Ceased WO2015000404A1 (zh) | 2013-07-02 | 2014-07-01 | 一种演奏乐曲的方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104078035B (zh) |
| WO (1) | WO2015000404A1 (zh) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105760386B (zh) * | 2014-12-16 | 2019-10-25 | 广州爱九游信息技术有限公司 | 电子图片曲谱滚动方法、装置及系统 |
| CN106485984B (zh) * | 2015-08-27 | 2020-06-12 | 中国移动通信集团公司 | 一种钢琴的智能教学方法和装置 |
| CN108268530B (zh) * | 2016-12-30 | 2022-04-29 | 阿里巴巴集团控股有限公司 | 一种歌词的配乐生成方法和相关装置 |
| CN106584479B (zh) * | 2016-12-30 | 2019-02-01 | 中国地质大学(武汉) | 基于实时信息流的扬琴机器人双臂协同防交叉演奏方法 |
| CN107945780A (zh) * | 2017-11-23 | 2018-04-20 | 北京物灵智能科技有限公司 | 一种基于计算机视觉的乐器演奏方法及装置 |
| CN108769846A (zh) * | 2018-05-15 | 2018-11-06 | 广东小天才科技有限公司 | 一种识别乐谱的方法及麦克风 |
| CN109376776A (zh) * | 2018-10-15 | 2019-02-22 | 百度在线网络技术(北京)有限公司 | 用于播放音乐的方法和装置 |
| CN111524493A (zh) * | 2020-05-27 | 2020-08-11 | 珠海格力智能装备有限公司 | 调试曲谱的方法及装置 |
| CN112183658B (zh) * | 2020-10-14 | 2024-01-26 | 小叶子(北京)科技有限公司 | 一种曲谱识别方法、装置、电子设备及存储介质 |
| CN115329124A (zh) * | 2022-07-29 | 2022-11-11 | 腾讯音乐娱乐科技(深圳)有限公司 | 曲谱数据展示方法、设备及可读存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1862656A (zh) * | 2005-05-13 | 2006-11-15 | 杭州波导软件有限公司 | 一种将乐谱转换成音乐输出的方法及其装置 |
| CN101222564A (zh) * | 2007-01-13 | 2008-07-16 | 海尔集团公司 | 一种具有扫描功能的移动终端 |
| TW201044374A (en) * | 2009-06-12 | 2010-12-16 | Univ Nat Taiwan Science Tech | Method and system for recognizing music scores |
| CN202512877U (zh) * | 2012-03-08 | 2012-10-31 | 苏州市职业大学 | 一种用于乐谱识别及自动演奏的装置 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6137041A (en) * | 1998-06-24 | 2000-10-24 | Kabashiki Kaisha Kawai Gakki | Music score reading method and computer-readable recording medium storing music score reading program |
| KR100735444B1 (ko) * | 2005-07-18 | 2007-07-04 | 삼성전자주식회사 | 오디오데이터 및 악보이미지 추출방법 |
-
2013
- 2013-07-02 CN CN201310275056.3A patent/CN104078035B/zh active Active
-
2014
- 2014-07-01 WO PCT/CN2014/081407 patent/WO2015000404A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1862656A (zh) * | 2005-05-13 | 2006-11-15 | 杭州波导软件有限公司 | 一种将乐谱转换成音乐输出的方法及其装置 |
| CN101222564A (zh) * | 2007-01-13 | 2008-07-16 | 海尔集团公司 | 一种具有扫描功能的移动终端 |
| TW201044374A (en) * | 2009-06-12 | 2010-12-16 | Univ Nat Taiwan Science Tech | Method and system for recognizing music scores |
| CN202512877U (zh) * | 2012-03-08 | 2012-10-31 | 苏州市职业大学 | 一种用于乐谱识别及自动演奏的装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104078035A (zh) | 2014-10-01 |
| CN104078035B (zh) | 2016-10-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2015000404A1 (zh) | 一种演奏乐曲的方法及装置 | |
| US9558727B2 (en) | Performance method of electronic musical instrument and music | |
| JP4389330B2 (ja) | 演奏位置検出方法および楽譜表示装置 | |
| US10354627B2 (en) | Singing voice edit assistant method and singing voice edit assistant device | |
| CN105280170A (zh) | 一种乐谱演奏的方法和装置 | |
| CN115437598A (zh) | 虚拟乐器的互动处理方法、装置及电子设备 | |
| CN105786162A (zh) | 一种用于进行虚拟演奏指挥的方法和装置 | |
| Kyriakou et al. | Virtual instrument performances (vip): A comprehensive review | |
| Wang et al. | PipaSet and TEAS: A multimodal dataset and annotation platform for automatic music transcription and expressive analysis dedicated to Chinese traditional plucked string instrument pipa | |
| Gan et al. | Pianomotion10m: Dataset and benchmark for hand motion generation in piano performance | |
| CN208507176U (zh) | 一种影音交互系统 | |
| US20250299657A1 (en) | Dj performance data conversion | |
| CN115294591A (zh) | 一种乐谱智能翻页方法及装置、电子设备、存储介质 | |
| US20240080566A1 (en) | System and method for camera handling in live environments | |
| JP7288491B2 (ja) | 情報処理装置、及び制御方法 | |
| WO2023160713A1 (zh) | 音乐生成方法、装置、设备、存储介质及程序 | |
| CN119520894A (zh) | 视频处理方法、装置、电子设备及存储介质 | |
| JP6728572B2 (ja) | 撥弦楽器演奏評価装置、楽曲演奏装置及び撥弦楽器演奏評価プログラム | |
| Ghaleb et al. | TapToTab: Video-Based Guitar Tabs Generation using AI and Audio Analysis | |
| JP6950180B2 (ja) | 楽音データ処理方法及び楽音データ処理装置 | |
| JP7671322B2 (ja) | プログラム、情報処理方法及び情報処理装置 | |
| JP6149917B2 (ja) | 音声合成装置および音声合成方法 | |
| KR102770580B1 (ko) | 멀티모달 기타 연주 채보 방법 및 장치 | |
| Fremerey | SyncPlayer–a Framework for Content-Based Music Navigation | |
| JP5754449B2 (ja) | 楽曲コード譜生成装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14820375 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24.05.2016) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14820375 Country of ref document: EP Kind code of ref document: A1 |