CN1160694C - Method capable of implementing music performance on handset and handset capable of implementing music performance - Google Patents

Method capable of implementing music performance on handset and handset capable of implementing music performance Download PDF

Info

Publication number
CN1160694C
CN1160694C CNB001195212A CN00119521A CN1160694C CN 1160694 C CN1160694 C CN 1160694C CN B001195212 A CNB001195212 A CN B001195212A CN 00119521 A CN00119521 A CN 00119521A CN 1160694 C CN1160694 C CN 1160694C
Authority
CN
China
Prior art keywords
key
note
sound
control
music
Prior art date
Application number
CNB001195212A
Other languages
Chinese (zh)
Other versions
CN1321966A (en
Inventor
朱明宇
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CNB001195212A priority Critical patent/CN1160694C/en
Publication of CN1321966A publication Critical patent/CN1321966A/en
Application granted granted Critical
Publication of CN1160694C publication Critical patent/CN1160694C/en

Links

Abstract

本发明公开一种在手机上实现乐曲弹奏的方法及可实现乐曲弹奏的手机,所述方法包括以下步骤:从键盘接受用户的按键信息;根据键值/音符频率映射关系,将按键的键值信息翻译成乐谱音符的频率,将按键的时长转换为音符的时长,形成控制数据;把控制数据传递给发声设备驱动程序;利用控制数据控制发声设备发声。 The present invention discloses a method implemented on a mobile phone and music playing music played phone can be achieved, said method comprising the steps of: receiving a user key information from the keyboard; based on a key / note frequency mapping relationship, the key key information translated into frequency music note, when the key length is converted to a note length of time, the control data is formed; passes control data to the sound device driver; sound generating device using control data utterance. 所述装置用于实现上述方法。 The means for implementing the above method. 本发明可实现用手机模拟乐器奏乐,增加了手机的功能。 The present invention may be implemented using analog phones play music instrument, mobile phone functionality increases.

Description

在手机上实现乐曲弹奏的方法及可实现乐曲弹奏的手机 Way to achieve the music playing on the phone and music playing phones can be achieved

本发明涉及一种在移动通讯手机上用手机键盘实现乐曲弹奏的方法及可实现乐曲弹奏的手机。 The present invention relates to a method of music played on the mobile phone implemented with a phone keypad, and the phone can be realized music played.

手机市场的市场竞争越来越激烈,现在的手机在人们眼里不仅是一个通信工具,而且是生活中不可缺少的助手,比如手机的闹钟、日历、计算器等功能。 Market competition in the mobile phone market more competitive, and now mobile phones in people's eyes is not only a communication tool, but can not live without aides, such as the phone's alarm clock, calendar, calculator and other functions. 但市场上现在还没有具有弹奏功能的手机。 However, the market has not yet played-enabled mobile phones.

虽然现在某些手机有自编铃音功能,比如SIEMENS S2588手机可以通过键盘输入音符,编辑完成后播放出来,但是自编铃音功能不能反映音符的时间长短,而且在弹奏时不能听到乐曲弹出来的效果。 Although some phones have composing ring tones features, such as SIEMENS S2588 phone can be input via the keyboard notes after editing play out, but does not reflect the length of the notes composing ring tones function of time, and can not hear the music while you play to the effect pop.

本发明的目的就是为了解决以上问题,提供一种在手机上实现乐曲弹奏的方法及装置,能够模拟乐器(如电子琴弹等)奏出音乐,从而增加手机的使用功能。 The object of the present invention is to solve the above problems, there is provided a method and apparatus to realize the music played on the phone, it can be simulated instruments (e.g., keyboard playing, etc.) to play music, thereby increasing the use of the phone function.

本发明实现上述目的的方案包括:一种在手机上实现乐曲弹奏的方法,包括以下步骤:从键盘接受用户的按键信息;确定手机按键键值与音符频率的映射关系:按键上的数字标号与按键所代表的音符的简谱标记相同,即按键“1”代表简谱音符“1”,按键“2”代表简谱音符“2”,并依此类推;按上位控制键则升高一个音阶,按下位控制键则降低一个音阶;根据键值/音符频率映射关系,将按键的键值信息翻译成乐谱音符的频率,将按键的时长转换为音符的时长,形成控制数据;把控制数据传递给发声设备驱动程序;发声设备驱动程序根据收到的控制数据控制发声设备发声。 Embodiment of the present invention to achieve the above object includes: a method for playing music on the phone is implemented, comprising the steps of: receiving a user key information from the keyboard; determining a mapping between the phone keys and key note frequencies: numerical designations on the key with the same notation numerals represent the notes of the key, i.e. the key "1" notation note "1", "2" key on behalf notation note "2", and so on; upper control key press is raised by one octave, by slave control keys is reduced by one octave; based on a key / note frequency mapping relationship, the translated key value information key into music notes frequency, the key length of time is converted to a note length of time, forming a control data; passes control data to sound device drivers; audible sound device driver controls the device in accordance with the control data received utterance.

一种在可实现乐曲弹奏的手机,包括键盘、主机,其特征是还包括:一键盘驱动装置,用于从键盘接受用户的按键信息;一转换装置,用于根据键盘/音符频率映射关系,将按键键值信息翻译成乐谱音符的频率,将按键的时长转换为音符的时长,形成控制数据;所述手机按键键值与音符频率的映射关系为:按键上的数字标号与按键所代表的音符的简谱标记相同,即按键“1”代表简谱音符“1”,按键“2”代表简谱音符“2”,并依此类推;按上位控制键则升高一个音阶,按下位控制键则降低一个音阶;一数据传送装置,用于把控制数据传递给发声设备驱动程序;一包含发声设备驱动程序的发声设备驱动装置,用于根据从数据传送装置传递过来的控制数据控制发声设备发声;一发声设备,用于在驱动程序的控制下发声。 A mobile phone can be realized music can play, including a keyboard, a host, characterized by further comprising: a keyboard driver means for receiving a user's key information from the keyboard; a converting means for frequency mapping relationship according to the keyboard / note the translation of key information into key note music frequencies, when the length of the key is converted to the note length of time, the control data is formed; mapping relationship between the frequency of the note phone keypad keys are as follows: digital numerals represent keys on the key same notation numerals note, i.e., the key "1" notation note "1", "2" key on behalf notation note "2", and so on; upper control key press is raised by one octave, press the control key bit a reduced scale; a data transfer means for transferring the control data to the sound device driver; sound generating device comprising a drive means sound device driver, for controlling the utterance sound generating device according to control data transmitted from the data transfer apparatus over; a sound generating device for sounding under the control of the driver.

由于采用了以上的方案,通过把按键的键值和时长的不同转换成不同音高和时长的音符,并转化成发声控制参数,控制发声设备发出声音,其声音可模拟乐器的发声效果,从而实现了用手机进行乐曲弹奏。 With the above scheme, by keys keys and duration different converted into a different pitch and duration of notes, and converted into sound control parameters, controlling sound generating device emits a sound, the sound may simulate the sound effect instruments, thereby It is achieved using a mobile phone to play music.

图1是本发明手机硬件结构图。 FIG. 1 is a hardware configuration diagram of a mobile phone according to the present invention.

图2是本发明手机软件结构图。 FIG 2 is a software configuration diagram of a mobile phone according to the present invention.

图3是本发明实施例键盘和音符映射图。 FIG 3 is a keyboard and a note map embodiment of the present invention.

图4是发声过程流程简图。 FIG 4 is a process flow diagram of the utterance.

下面通过具体的实施例并结合附图对本发明作进一步详细的描述。 Following through specific embodiments with the accompanying drawings of the present invention will be described in further detail.

手机基本结构如图1所示,硬件由主板和键盘、扬声器、液晶显示屏、SIM卡等部分组成。 The basic structure of the mobile phone shown in Figure 1, the hardware part of the motherboard and the keyboard, speakers, LCD, SIM card, and other components. 软件由系统、人机界面、通信协议和底层驱动程序等部分组成。 Consists of the system software, HMI, communication protocols and other low-level drivers.

本发明涉及到手机部分的硬件模块和软件模块分别说明如下,1.硬件模块包括键盘、主机、发声设备(如扬声器)等,见图1。 The present invention relates to the handset hardware and software modules are described below, one hardware module comprises a keyboard, a host, sound device (e.g. a speaker), etc., shown in Figure 1. 键盘用来接受用户的输入,扬声器用来发声。 Keyboard used to accept user input, speaker for sound.

2.软件模块包括人机界面软件和发声设备驱动软件,见图2。 2. The HMI software modules include software and device driver software sound, shown in Figure 2.

如图1所示,乐曲的弹奏由键盘、主机、蜂鸣器协同完成。 As shown in FIG. 1, the music playing collaboratively by a keyboard, the host, the buzzer. 具体的实现根据键盘的布置有所不同。 Specific implementation vary according to the arrangement of the keyboard. 比如键盘由1、2、3、4、5、6、7,和上下位控制键组成(比如上下选择键↑↓等)。 1,2,3,4,5,6,7 such as a keyboard, and is composed of upper and lower control keys (such as down select keys ↑ ↓, etc.). 那么,如图4所示,乐谱弹奏的原理具体实现包括如下步骤:键盘驱动程序从键盘接受用户的按键信息;应用层软件根据键值/音符频率映射关系,将键值信息翻译成乐谱音符的频率,将按键时长转化为发音时长,形成控制数据; Then, as shown in FIG. 4, the specific implementation principle of playing music comprising the steps of: receiving a user keyboard driver key information from the keyboard; application layer software frequency mapping relationship based on a key / note, the translated key value information into music notes frequency, when the key length is long pronunciation conversion, the control data is formed;

应用层软件把控制数据传递给发声设备驱动程序;发声设备驱动程序根据从应用层软件传递过来的控制数据,与其他的控制数据一起,控制发声设备发声;发声设备在驱动程序的控制下发声。 Application layer software passes control data to the sound device driver; sound device driver according to the control data transmitted from the application layer software over, and other control data together with the control sound generating device utterance; sound generating device utterance under the control of the driver.

弹奏的音乐可以记录下来,作为手机的一种铃音播放使用。 Playing music can be recorded and used as a cell phone ring tone playback.

本例中中按键/音符映射关系如图3所示,发声设备可以是扬声器,也可以是蜂鸣器,如果发声设备采用蜂鸣器(如一个正常工作电压为3V,中心频率为2700Hz的蜂鸣器,通过调节电压可以控制它发出从200Hz到4KHz之间的任何频率的声音,其最小输出声压90dB,控制其发声/关闭的最短时间小于40毫秒,完全可以满足一般乐曲弹奏的需要),其发声频率的对应关系如表一所示:表一:实施例中键盘/音符频率映射关系表按键 音阶(简谱) 频率(Hz)↓1 低音1 440↓2 低音2 495↓3 低音3 550↓4 低音4 587↓5 低音5 660↓6 低音6 733↓7 低音7 8251 1 8802 2 9903 3 11004 4 11735 5 13206 6 14677 7 In the present embodiment, the key / note mapping relationship shown in Figure 3, sound generating device may be a speaker, a buzzer may be, if using a buzzer sound generating device (e.g., a normal operating voltage is 3V, the center frequency of 2700Hz bee buzzer, it can control any sound emitted from the frequency between 200Hz to 4KHz, the output sound pressure minimum 90dB, which control sound on / off time of less than 40 ms minimum, fully meet the needs of general music played by adjusting the voltage ), which corresponds to the utterance versus frequency as shown in table I: table I: Example keyboard / frequency mapping table key note scale (notation) frequency (Hz) ↓ 1 embodiment 1 440 ↓ 2 bass woofer bass 3 2 495 ↓ 3 550 ↓ 4 bass subwoofer 4 587 ↓ 5 5 660 ↓ 6 6 733 ↓ 7 bass bass 7,825,118,802,299,033 11004 4,117,355,132,066,146,777 1650↑1 高音1 1760↑2 高音2 1980↑3 高音3 2200 1650 ↑ 1 Treble 1 1760 ↑ 2 2 1980 ↑ 3 treble treble 32200

↑4 高音4 2347↑5 高音5 2640↑6 高音6 2933↑7 高音7 3300采用上述映射关系的优点是:由于按键标号与音符标识相同,形象、直观,使不懂简谱的人也可以尝试弹奏。 Tweeter advantage ↑ 4 4 2347 ↑ 5 5 2640 ↑ 6 treble treble tweeter 6 2933 ↑ 7 73300 using the above mapping relationship is: the same as the key note identification numbers, image, intuitive, so that people can not understand the notation try playing played.

当然,按键与音符的对应关系也可以采用其他方式,如按照按键在键盘上的位置与音符进行一一对应等。 Of course, the assignment of buttons of the notes may be used in other ways, such as for-one correspondence with the position of the key according to the notes on the keyboard, and the like. 总之,只要用不同的按键对应不同的音符,每一个音符都有相应的按键相对应即可,关键在于发声控制参数的选择要保证发声的准确性。 In short, as long as the keys have different notes, each note has a corresponding key corresponding to the key parameters that control the selection of the utterance to ensure the accuracy of the utterance.

扬声器(或蜂鸣器)驱动软件可根据不同的乐器的音色选择不同的发声控制参数,控制扬声器(或蜂鸣器)发出声音,以模拟不同的乐器。 A speaker (or a buzzer) the driver software may select different sounds audible tone control parameters, the control speaker (or buzzer) according to different instruments to simulate different instruments.

本发明可实现如下优点:1.普通手机用户不需要音乐方面的知识,也可以轻松享受弹奏音乐的乐趣。 The present invention can achieve the following advantages: 1. ordinary mobile phone users do not need knowledge of music, you can also enjoy playing music. 在旅途中或等车的时候,用户可以弹奏音乐来消遣。 On the road or waiting for the bus, the user can play music pastime.

2.本技术促使了手机的发声设备升级,通过发声设备升级,可以实现在手机上弹奏不同音色的各种乐器的声音。 2. This technology led to the phone's sound equipment upgrades, equipment upgrades through the sound, the sound can play a variety of instruments to achieve different sounds on the phone.

Claims (8)

1.一种在手机上实现乐曲弹奏的方法,包括以下步骤:从键盘接受用户的按键信息;确定手机按键键值与音符频率的映射关系:按键上的数字标号与按键所代表的音符的简谱标记相同,即按键“1”代表简谱音符“1”,按键“2”代表简谱音符“2”,并依此类推;按上位控制键则升高一个音阶,按下位控制键则降低一个音阶;根据键值与音符频率映射关系,将按键的键值信息翻译成乐谱音符的频率,将按键的时长转换为音符的时长,形成控制数据;把控制数据传递给发声设备驱动程序;发声设备驱动程序根据收到的控制数据控制发声设备发声。 CLAIMS 1. A method implemented on a mobile phone playing music, comprising the steps of: receiving a user key information from the keyboard; determining a mapping between the phone keys and key note frequencies: note number keys on the key reference numerals represent the same notation numerals, i.e., the key "1" notation note "1", "2" key on behalf notation note "2", and so on; upper control key press is raised by one octave, is reduced by pressing a control key bit scale ; based on a key with the note frequency mappings translate key information key into a frequency music note, when the key length is converted to a note length of time, forming a control data; passes control data to the sound device driver; sound device driver program control utterance sound generating device according to the received control data.
2.如权利要求1所述的在手机上实现乐曲弹奏的方法,其特征是:发声设备驱动程序根据不同的乐器的音色选择不同的发声控制参数,控制发声设备发出声音,以模拟不同的乐器。 2. The method implemented in the music played on the mobile phone according to claim 1, wherein: the sound device driver to select different sound control parameters, controls the utterance sound device, according to the different voices of different instruments to simulate musical instruments.
3.如权利要求1所述的在手机上实现乐曲弹奏的方法,其特征是:将弹奏的音乐记录下来,作为手机的一种铃音使用。 The method implemented in the music played on the mobile phone according to claim 1, wherein: the recorded music played using mobile phones as a ringtone.
4.如权利要求2所述的在手机上实现乐曲弹奏的方法,其特征是:将弹奏的音乐记录下来,作为手机的一种铃音使用。 The method implemented in the music played on the mobile phone according to claim 2, wherein: the recorded music played using mobile phones as a ringtone.
5.一种可实现乐曲弹奏的手机,包括键盘、主机,其特征是还包括:一键盘驱动装置,用于从键盘接受用户的按键信息;一转换装置,用于根据键盘/音符频率映射关系,将按键键值信息翻译成乐谱音符的频率,将按键的时长转换为音符的时长,形成控制数据;所述手机按键键值与音符频率的映射关系为:按键上的数字标号与按键所代表的音符的简谱标记相同,即按键“1”代表简谱音符“1”,按键“2”代表简谱音符“2”,并依此类推;按上位控制键则升高一个音阶,按下位控制键则降低一个音阶;一数据传送装置,用于把控制数据传递给发声设备驱动程序;一包含发声设备驱动程序的发声设备驱动装置,用于根据从数据传送装置传递过来的控制数据控制发声设备发声;一发声设备,用于在驱动程序的控制下发声。 A mobile phone can be realized music play, including a keyboard, a host, characterized by further comprising: a keyboard driver means for receiving a user's key information from the keyboard; a converting means for frequency mapping in accordance with a keyboard / note relationship, the frequency translation of key information into key music note, when the key length is converted to a note length of time, the control data is formed; mapping relationship between the key and the phone keypad is the frequency of the note: the reference number of the keys on the key same notation numerals notes, i.e., the key "1" notation note "1", "2" key on behalf notation note "2", and so on; upper control key press is raised by one octave, press the control key bit it is a reduced scale; a data transmission means for transmitting the control data to the sound device driver; a sound generating device comprising a sound device driver drive means, for sound generating device according to control data transmitted from the data transfer means control over the sounding ; a sound generating device for sounding under the control of the driver.
6.如权利要求5所述的手机,其特征是:还包括发声控制参数选择装置,用于根据不同的乐器的音色选择不同的发声控制参数,控制发声设备发出声音,以模拟不同的乐器。 6. The phone as claimed in claim 5, characterized in that: further comprising a sound control parameter selecting means for selecting different sound control parameters, the control device audible sound to simulate different musical instruments according to the different voices.
7.如权利要求5所述的手机,其特征是:还包括记录装置,用于将弹奏的音乐记录下来;播放装置,用于将记录的乐曲重放,作为手机的一种铃音使用。 Playback means for reproducing the recorded song using the mobile phone as a ringtone; further comprising recording means for playing music recorded: a mobile phone as claimed in claim 5, characterized in that .
8.如权利要求6所述的手机,其特征是:还包括记录装置,用于将弹奏的音乐记录下来;播放装置,用于将记录的乐曲重放,作为手机的一种铃音使用。 Playback means for reproducing the recorded song using the mobile phone as a ringtone; further comprising recording means for playing music recorded: The mobile phone as claimed in claim 6, characterized in that .
CNB001195212A 2000-07-24 2000-07-24 Method capable of implementing music performance on handset and handset capable of implementing music performance CN1160694C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001195212A CN1160694C (en) 2000-07-24 2000-07-24 Method capable of implementing music performance on handset and handset capable of implementing music performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001195212A CN1160694C (en) 2000-07-24 2000-07-24 Method capable of implementing music performance on handset and handset capable of implementing music performance

Publications (2)

Publication Number Publication Date
CN1321966A CN1321966A (en) 2001-11-14
CN1160694C true CN1160694C (en) 2004-08-04

Family

ID=4587765

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001195212A CN1160694C (en) 2000-07-24 2000-07-24 Method capable of implementing music performance on handset and handset capable of implementing music performance

Country Status (1)

Country Link
CN (1) CN1160694C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100437442C (en) 2005-06-25 2008-11-26 华为技术有限公司 Chord score input method for hand-held terminal
JP2007286312A (en) 2006-04-17 2007-11-01 Yamaha Corp Musical sound signal generation apparatus
CN101577113B (en) * 2009-03-06 2013-07-24 北京中星微电子有限公司 Music synthesis method and device
CN101673540A (en) * 2009-08-13 2010-03-17 上海酷吧信息技术有限公司 Method and device for realizing playing music of mobile terminal
CN101883177A (en) * 2010-04-26 2010-11-10 华为终端有限公司 Mobile communication terminal and playing method thereof
CN101902530B (en) * 2010-07-28 2013-04-10 青岛海信移动通信技术股份有限公司 Mobile terminal and method for outputting music
CN103531188B (en) * 2012-07-03 2015-12-02 上海斐讯数据通信技术有限公司 A system and method for playing midi music and midi music generator
CN103729141A (en) * 2013-12-26 2014-04-16 安徽科大讯飞信息科技股份有限公司 Method and system for implementing music playing on keyboard by using input method
CN104216612A (en) * 2014-08-04 2014-12-17 联想(北京)有限公司 Information processing method and electronic equipment
CN107205043A (en) * 2017-07-03 2017-09-26 武汉理工大学 Networked virtual violin-like musical instrument

Also Published As

Publication number Publication date
CN1321966A (en) 2001-11-14

Similar Documents

Publication Publication Date Title
US7655855B2 (en) Systems and methods for creating, modifying, interacting with and playing musical compositions
CN100559459C (en) Device and method for reproducing speech as music simultaneously
US6998966B2 (en) Mobile communication device having a functional cover for controlling sound applications by motion
CN1121108C (en) Protable cellular phone
CN1235187C (en) Phonetics synthesizing method and synthesizer and its rhythm data distributing method
US5583965A (en) Methods and apparatus for training and operating voice recognition systems
EP0675666A1 (en) Karaoke microphone
US7554026B2 (en) Electronic device for the production, playing, accompaniment and evaluation of sounds
CN100489961C (en) Telephone terminal device
US20060150803A1 (en) System and method for music score capture and synthesized audio performance with synchronized presentation
US6985913B2 (en) Electronic book data delivery apparatus, electronic book device and recording medium
JP2012500526A (en) Mountable (wearable) headset using the internal audio feedback and voice commands
CN1897766A (en) Hearing-aid and corresponding method for adjusting the same
KR100496620B1 (en) Musical composition reproducing apparatus, portable terminal, musical composition reproducing method, and storage medium
JP2002010355A (en) Communication apparatus and mobile telephone
KR100735444B1 (en) Method for outputting audio data and music image
JPH1124686A (en) Musical sound playback system
CN101180798B (en) Phonetic input using a keypad
JP3570332B2 (en) Mobile telephone apparatus and method for incoming melody input
JP4727346B2 (en) Ring tone to be adjusted in the terminal
JP3690224B2 (en) Mobile phone and mobile phone system
US20030167906A1 (en) Musical information processing terminal, control method therefor, and program for implementing the method
KR100675437B1 (en) Central processing unit For singing room machinery and MP3
WO2002097787A1 (en) Music reproducing apparatus and method and cellular terminal apparatus
JPH11112615A (en) Portable telephone set

Legal Events

Date Code Title Description
C10 Entry into substantive examination
C06 Publication
C14 Grant of patent or utility model
LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2007.11.6 TO 2013.11.6; CHANGE OF CONTRACT

Name of requester: SHENZHEN CITY ZHONGXING MOBILE COMMUNICATION CO.,

Effective date: 20081020