This application claims priority to Chinese Patent Application No. 201410593961.8 filed on Oct. 28, 2014, the contents of which are incorporated by reference herein.
Embodiments of the present disclosure relate to music processing technology, and particularly to a computing device and a method for processing music.
A musician may create and/or play music using various musical instruments, such as an electronic organ, a piano, a dulcimer, a guitar, a drum or the like. When creating the music the musician may need to write a musical score for each instrument used in playing the music.
Many aspects of the disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features. The description is not to be considered as limiting the scope of the embodiments described herein.
Several definitions that apply throughout this disclosure will now be presented. The term “module” refers to logic embodied in computing or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an erasable programmable read only memory (EPROM). The modules described herein may be implemented as either software and/or computing modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY™, flash memory, and hard disk drives. The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series and the like.
The input device 3, such as a keyboard and/or a mouse, can be used to input various computing device signals or software interfaces. The computing device 1 provides an operation interface for a user to control one or more operations of the computing device 1.
The music keyboard 4 is used to simulate various musical instruments, such as an electronic organ, a piano, a dulcimer, a guitar, drum or the like. In at least one embodiment, the music keyboard 4 can be made in a shape of the dulcimer as shown in
The audio device 5 is used to play the sound which is generated by the music keyboard 4. The audio device 5 can be, but is not limited to, a speaker, a sound box or the like. In addition, the audio device 5 can be integrated into the music keyboard 4, and become a part of the music keyboard 4.
In at least one embodiment, the computing device 1 includes, but is not limited to, a music processing system 10, a storage device 12, and at least one processor 14. The computing device 1 can be, but is not limited to, mobile phones, tablet computers, personal digital assistants (PDAs), personal computers or any other computing devices which provide functions of network connections.
In one embodiment, the storage device 12 can be an internal storage device, such as a flash memory, a random access memory (RAM) for temporary storage of information, and/or a read-only memory (ROM) for permanent storage of information. The storage device 12 can also be an external storage device, such as an external hard disk, a storage card, or a data storage medium. The at least one processor 14 can be a central processing unit (CPU), a microprocessor, or other data processor chip that performs functions of the computing device 1. In addition, the storage device 12 stores tones of each musical instrument. For example, the storage device 12 stores 88 tones of the piano.
Referring to
At block 301, a setting module configures the music keyboard to simulate a musical instrument. In at least one embodiment, the music keyboard is simulating the musical instrument upon a condition that keys of the music keyboard are selected and each selected key is associated with a tone of the musical instrument. That is, the tone of the musical instrument is generated when the selected key corresponding to the tone of the musical instrument is pressed. For example, if the music keyboard is simulating a piano, 88 keys of the music keyboard are selected and each of 88 keys of the music keyboard is associated with a tone of the piano.
At block 302, a receiving module receives input signals from the music keyboard when the keys of the music keyboard are pressed. In at least one embodiment, the input signals are generated when the keys of the music keyboard are pressed by fingers of a user. Each input signal includes a name of the key of the music keyboard which is pressed. For example, if the user presses the C key an input signal is generated and sent to the computing device and the input signal includes the name of the C key. In addition, the more strength that the user uses to press the selected keys of the music keyboard is, the stronger the input signal.
At block 303, a conversion module converts each input signal corresponding to the key into a tone of the musical instrument associated with the key. In at least one embodiment, due to each input signal including the name of the key, the conversion module searches for the tone according to a name of the key in the storage device 12.
At block 304, an outputting module outputs each tone of the musical instrument using an audio device. In at least one embodiment, each tone of the musical instrument is played using the audio device when the tone of the musical instrument is sent to the audio device.
At block 305, a generation module converts each tone of the musical instrument into a note and stores the note into a musical score. The musical score can be, but is not limited to, a numbered musical notation, or a score. The musical score can be displayed in a displaying device and stored as a file in a format, such as a portable document format (PDF), a TXT format, or an image. The musical score can be generated in real-time when the keys of the music keyboard are pressed. Furthermore, the musical score can be generated after the keys of the music keyboard are pressed more than a predetermined time (for example, five minutes). The user can read the musical score when the user uses the music keyboard to play a song. In addition, the generation module further generates an audio file which includes the tones of the musical instrument. The audio file can be, but is not limited to, an audio video interleaved (AVI) file, a moving picture experts group audio layer III (MP3) file, a shock wave flash (SWF) file, a JPG file, a musical instrument digital interface (MID) file or any other audio file.
The embodiments shown and described above are only examples. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, including in particular the matters of shape, size and arrangement of parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims.
Number | Date | Country | Kind |
---|---|---|---|
2014 1 0593961 | Oct 2014 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5533903 | Kennedy | Jul 1996 | A |
5693903 | Heidorn | Dec 1997 | A |
6066791 | Renard | May 2000 | A |
6169239 | Aiardo | Jan 2001 | B1 |
20040049540 | Wood | Mar 2004 | A1 |
20040069122 | Wilson | Apr 2004 | A1 |
20060117935 | Sitrick | Jun 2006 | A1 |
20060156906 | Haeker | Jul 2006 | A1 |
20070227335 | Fukada | Oct 2007 | A1 |
20110283867 | Ihara | Nov 2011 | A1 |
20120234159 | Forrest | Sep 2012 | A1 |