1. Field of the Invention
Embodiments of the present disclosure relate to vibration output, and more particularly to a method and a system for providing different vibration outputs on a portable electronic device.
2. Description of Related Art
Currently, mechanical vibrators are employed in typical electronic devices for a variety of purposes. Mobile phones and pagers utilize the mechanical vibrators to provide a vibrating notification for replacing ringing tones of incoming calls or messages. In addition, in a noisy environment, users may enable the ringing tones and the vibrators at the same time to avoid missing the calls.
However, typical vibrators are usually driven with a fixed frequency allowing only monotone vibration and such monotone vibration provides poor tactile feedback.
Accordingly, a method and a system for providing different vibration outputs on a portable electronic device are called for in order to overcome the limitations described.
A method for providing different vibration outputs in an electronic device having a vibrator is provided. The method includes assigning different intensity parameters to a plurality of pitches, selecting a music file comprising a plurality of musical notes, acquiring the pitch and duration for each musical notes of a selected music file and associating the corresponding intensity parameters to the respective pitches, and controlling the intensity and duration of the vibrator according to the intensity parameters and duration derived from the acquiring step.
Other advantages and novel features of the present method and system for providing different vibration outputs will become more apparent from the following detailed description of certain inventive embodiments when taken in conjunction with the accompanying drawings.
In one embodiment, the system 10 includes a music module 111, a vibration module 112, a selection module 113, an analysis module 114 and a control module 115, in addition to other hardware and software components of the electronic device 1. All of the processes described may be embodied in, and fully automated via, software code modules executed by one or more general purpose computers or processors. The code modules may be stored in any type of computer-readable medium or other storage device. Some or all of the methods may alternatively be embodied in specialized computer hardware or communication apparatus.
The music module 111 is configured for assigning intensity parameters to a plurality of pitches. As shown in
The vibration module 112 is configured for defining a plurality of vibration modes. In one embodiment, as shown in
The selection module 113 is configured for selecting music files or vibration modes. The music files may be encoded in a Music Instrument Digital Interface (MIDI) format, a Moving Picture Experts Group Audio Layer III (MP3) format, a Windows Media Audio (WMA) format, or an Advanced Streaming Format (ASF) format, but the disclosure is not limited there.
The analysis module 114 is configured for acquiring the pitch and duration for each musical notes of a selected music file, and then associating the musical notes with corresponding intensity parameters according to rules defined by the intensity module 111. The associated intensity parameter and duration for each musical notes are then utilized for conducting a vibration by the vibrator 11. The analysis module 114 is also configured for acquiring the intensity parameters and duration of each vibrations for a selected vibration mode defined by the vibration module 112. For example, if the selected music file is encoded in the MP3 format, the analysis module 114 acquires the pitch and duration for each musical notes of the selected MP3 music file, and then associates the corresponding intensity parameters to the respective musical notes.
The control module 115 is configured for controlling the intensity of the vibrator 11 according to the intensity parameters and duration retrieved from the analysis module 114.
In block S11, the music module 111 assigns different intensity parameters to a plurality of musical notes. In block S12, the vibration module 112 defines a plurality of vibration modes and corresponding intensity parameters and duration of each vibration for the vibration modes. As mentioned previously, the vibration modes includes: “Off-vibration,” “Slow-vibration,” “Fast-vibration” and “Hybrid-vibration,” although the disclosure is not limited thereto.
In block S13, the selection module 113 selects a music file or a vibration mode. If one music file is selected, in block S14, the analysis module 114 acquires the pitch and duration for each musical notes of the selected music file. In block S15, the analysis module 114 associates the corresponding intensity parameters to the respective pitch. In block S17, the control module 115 controls the intensity of the vibrator 11 according to the intensity parameters and duration of the vibration retrieved from the analysis module 114.
If one of the vibration mode is selected in block S13, in block S16, the analysis module 114 acquires the intensity parameters and duration of each vibrations for the selected vibration mode. In block S17, the control module 115 controls the intensity of the vibrator 11 according to the intensity parameters and duration of the vibration retrieved from the analysis module 114.
It should be emphasized that the described inventive embodiments are merely possible examples of implementations, and set forth for a clear understanding of the principles of the present disclosure. Many variations and modifications may be made to the above-described inventive embodiments without departing substantially from the spirit and principles of the present disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and the above-described inventive embodiments, and the present disclosure is protected by the following claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 200810302220.4 | Jun 2008 | CN | national |