Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3778044B2 - Mobile phone device and control method thereof - Google Patents
[go: Go Back, main page]

JP3778044B2 - Mobile phone device and control method thereof - Google Patents

Mobile phone device and control method thereof Download PDF

Info

Publication number
JP3778044B2
JP3778044B2 JP2001310610A JP2001310610A JP3778044B2 JP 3778044 B2 JP3778044 B2 JP 3778044B2 JP 2001310610 A JP2001310610 A JP 2001310610A JP 2001310610 A JP2001310610 A JP 2001310610A JP 3778044 B2 JP3778044 B2 JP 3778044B2
Authority
JP
Japan
Prior art keywords
mobile phone
phone device
input
azimuth
pitch
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.)
Expired - Fee Related
Application number
JP2001310610A
Other languages
Japanese (ja)
Other versions
JP2003116177A (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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2001310610A priority Critical patent/JP3778044B2/en
Publication of JP2003116177A publication Critical patent/JP2003116177A/en
Application granted granted Critical
Publication of JP3778044B2 publication Critical patent/JP3778044B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a portable telephone system with which the input operation of musical score data can be easily performed in composing a piece of music. SOLUTION: This portable telephone system has an XY biaxial geomagnetic sensor 110 for detecting the direction of a device main body, a ROM 102 for storing a direction/musical interval conversion table showing a relation between a direction and an musical interval, a RAM 104 for storing musical score data, an operation inputting part 106 for inputting various data and setting an operation mode, a displaying part 118 for displaying various data, and a CPU 100 for fetching a detection output of the XY biaxial geomagnetic sensor 110, referring to the direction/musical score conversion table to display a musical interval corresponding to a direction shown by the detection output together with the direction on the displaying part 118, and also storing musical score data including the musical interval in the RAM 104 in the case the operation inputting part 106 sets a musical score data input mode.

Description

【0001】
【発明の属する技術分野】
本発明は、携帯電話装置に係り、特に方位検出機能を有する携帯電話装置に関する。
【0002】
【従来の技術】
最近では、オリジナルの楽曲(メロディ)を作曲し、オリジナルメロディとして登録して、このオリジナルメロディを着信音や目覚まし時計のアラーム音として使用できるようにした携帯電話装置がある。
このような従来の携帯電話装置にあっては、楽曲を作曲する際に、楽譜データとして、音符や休符を入力する必要があるが、音符や休符の入力を操作入力部のキーを操作することにより行っていた。
【0003】
【発明が解決しようとする課題】
上述したように、従来の携帯電話装置では、作曲する際に、音符や休符の入力を操作入力部のキーを操作することにより行っていたが、これは人間の感覚に合わないばかりでなく、音程と音長の2つの情報をキー入力するのは操作が煩雑であるという問題が有った。
本発明はこのような事情に鑑みてなされたものであり、作曲する際に楽譜データの入力操作を容易に行うことができる携帯電話装置を提供することを目的とする。
【0004】
【課題を解決するための手段】
上記目的を達成するために請求項1に記載の発明は、方位検出機能を有する携帯電話装置の制御方法であって、方位と音階とを対応づけ、前記携帯電話装置を特定の方位に向けることにより該特定の方位に対応づけられた音程を入力可能としたことを特徴とする。
【0005】
また、請求項2に記載の発明は、請求項1に記載携帯電話装置の制御方法において、前記携帯電話装置を特定の方位に向けることにより該特定の方位に対応づけられた音程を決めた際に音長を決めるためのデータを入力することを特徴とする。
【0006】
また、請求項3に記載の発明は、請求項1または2のいずれかに記載の携帯電話装置の制御方法において、12方位に12音階を割り当てて、1回転で1オクターブアップまたはダウンに対応させたことを特徴とする。
【0007】
また、請求項4に記載の発明は、装置本体の方位を検出する方位検出手段と、方位と音程との関係を示す方位/音程変換テーブルが格納されている第1の記憶手段と、楽譜データを記憶する第2の記憶手段と、各種データの入力及び動作モードの設定を行う入力手段と、各種データを表示する表示手段と、前記方位検出手段の検出出力を取り込み、かつ前記第1の記憶手段に格納されている方位/音程変換テーブルを参照し、前記検出出力が示す方位に対応する音程を方位と共に前記表示手段に表示すると共に、前記入力手段により楽譜データ入力モードに設定された場合に前記音程を含む楽譜データを前記第2の記憶手段に格納する制御手段とを有することを特徴とする。
【0008】
また、請求項5に記載の発明は、請求項4に記載の携帯電話装置において、前記楽譜データは、音程、オクターブ、音長からなる音符データと、休符長を示す休符データとからなり、前記音符データは、12方位に12音階を割り当てて、1回転で1オクターブアップまたはダウンに対応させ、音程及びオクターブ以外のデータは前記入力手段により入力されることを特徴とする。
【0009】
また、請求項6に記載の発明は、請求項4または5のいずれかに記載の携帯電話装置において、さらに、入力された際に楽譜データに基づいて楽音を生成する楽音生成手段と、該楽音生成手段により生成された楽音を放音する発音手段とを有することを特徴とする。
【0010】
【発明の実施の形態】
以下、本発明の実施の形態を、図面を参照して詳細に説明する。 以下、本発明の実施の形態を、図面を参照して詳細に説明する。本発明の実施の形態に係る携帯電話装置の電気的構成を図1に示す。同図において、携帯電話装置1は、各種プログラムを実行することにより電話機、あるいは、ゲーム機、音楽再生機等としての機能を有するように各部の動作を制御するCPU100と、各種プログラム及び固定データが格納されるROM102と、RAM104と、操作入力部106と、GPSモジュール108と、XY2軸地磁気センサ110と、無線通信部112と、音声コーデック(CODEC)114と、楽曲再生部116と、表示部118と、インターフェース(I/F)120と、送話用マイク122と、受話用スピーカ124と、着信用スピーカ126とを有している。
【0011】
ROM102には、各種プログラムの他に、着信メロディ用の楽曲シーケンスデータ等の固定データや、ゲームソフト等のアプリケーションプログラムが記憶されている。
また、ROM102にはXY2軸地磁気センサ110の出力である磁界を方位に変換するための磁界と方位との関係を示す磁界/方位変換テーブルが格納されている。
【0012】
さらに、ROM102には、方位と音源パラメータとの関係を示す方位/音源パラメータ変換テーブル、方位と音程との関係を示す方位/音程変換テーブルが格納されている。
また、RAM104には、インターネット等のネットワークを介してダウンロードした各種データ、またはインターフェース120を介して外部のオーディオ機器から取り込んだ楽曲データが格納されるようになっている。
【0013】
操作入力部106は、通話を開始する際に使用する開始キー、通話を終了する終了キー、数字キー、各種機能キー、電源キー等から構成されている。これらのキーのうち楽曲を作曲する際に音符を入力する音符入力モード、休符を入力する休符入力モードを指定するキーが特定のキーに割り当てられている。例えば、#キーが音符入力モードに、*キーが休符入力モードに割り当てられる。
なお、本明細書では、音符入力モード及び休符入力モードを楽譜入力モードと総称することとする。
また、複数の所定の音長(または休符長)が複数のキー、例えば、数字キー1〜7に割り当てられている。音長入力用のキーと休符長入力用のキーとは兼用される。
【0014】
GPSモジュール108は、所定時間毎に、複数(3個以上)のGPS衛星からの位置測定用の電波を受信し、その生データをGPS基地局に送信し、GPS基地局から測位演算結果を受信してRAM104の所定のメモリエリアに格納し、更新する機能を有している。
【0015】
XY2軸地磁気センサ110は、自局の方位を検出するセンサであり、地磁気のX軸成分及びY軸成分の変化を電圧変化として検出するものである。
本実施の形態では、XY2軸地磁気センサ110の出力を、例えば、所定時間毎に検出し、その出力データをRAM104の所定のメモリエリアに格納し、更新する機能を有している。
【0016】
無線通信部112は、アンテナ20を介して受信する信号を復調し、外部に送信する信号を変調してアンテナ20を介して送信する。
音声CODEC 114は、無線通信部112から受け取った音声信号を復号して受話用スピーカに124に出力し、送話用マイク122から入力された音声信号を圧縮符号化して無線通信部20に送出する。
【0017】
楽曲再生部116は、着信時に着信を報知する着信メロディとしての楽曲を再生して着信用スピーカ126に出力し、あるいはROM102またはRAM104に格納された楽曲データに基づいて楽曲を再生する。楽曲再生部116における音源は、XY2軸地磁気センサ110の出力に基づいて駆動されることにより方位を音階でも通知するようになっている。
【0018】
表示部118は、各種データを表示する、例えば、液晶ディスプレイ(LCD)である。インターフェース(I/F)120の入力端は、図示してない入力端子に接続されており、該入力端子を介して外部のオーディオ機器と接続して所望の楽曲データをRAM104に格納することができるようになっている。
【0019】
CPU100、ROM102、RAM104、操作入力部106、GPSモジュール108、XY2軸地磁気センサ110、無線通信部112、音声CODEC114、楽曲再生部116、表示部118及びインターフェース(I/F)120は、バス90を介して相互に接続されている。操作入力部は本発明の入力手段に、ROM102は本発明の第1の記憶手段に、RAM104は本発明の第2の記憶手段に、XY2軸地磁気センサ110は本発明の方位検出手段に、CPU100は本発明の制御手段に、表示部118は本発明の表示手段に、それぞれ相当する。
【0020】
次に、XY2軸地磁気センサ110の電気的構成を図2に示す。同図において、XY2軸地磁気センサ110は、GMR(Giant Magneto Resistive)回路1110と、電圧/磁界変換回路1111とを有している。
GMR回路1110は、定電流バイアス回路1112と、地磁気のX成分を検出するX軸GMR素子1113と、地磁気のY成分を検出するY軸GMR素子1114とを有している。
【0021】
また、定電流バイアス回路1112は、ON信号を受けてX軸GMR素子1113及びY軸GMR素子1114に一定電流を供給する。X軸GMR素子1113、Y軸GMR素子1114は、磁気の変化に応じて抵抗値が変化する素子であり、これらの素子に一定電流をバイアスとして流すことにより、磁気の変化を電圧の変化として検出する。すなわち、XY2軸地磁気センサ110を構成するX軸GMR素子1113、Y軸GMR素子1114が回転すると、地磁気のX軸成分、Y軸成分が変化し、それが電圧変化として現れる。
電圧/磁界変換回路1111は、GMR回路1110より出力される電圧を磁界に変換し、出力する機能を有している。
【0022】
次に、本発明の実施の形態に係る携帯電話装置における方位表示時の動作を図3のフローチャートを参照して説明する。同図において、XY2軸地磁気センサ110がON状態とされると(ステップ200)、XY2軸地磁気センサ110内の定電流バイアス回路1112よりX軸GMR素子1113及びY軸GMR素子1114に一定電流が供給され、X軸GMR素子1113及びY軸GMR素子1114より出力される電圧が電圧/磁界変換回路1111により地磁気による磁界のX成分、Y成分に変換され、出力される。
【0023】
次いで、XY2軸地磁気センサ110より出力される地磁気による磁界のX成分、Y成分が取り込まれ(ステップ201)、取り込まれた磁界のX成分、Y成分についてオフセット補正がなされ(ステップ202)、その後にROM102に格納されている磁界/方位変換テーブルを参照し、XY2軸地磁気センサ110の検出出力に応じた方位データを取得する(ステップ203)。さらに、取得した方位データに基づいて図4に示すように表示部118に携帯電話装置1の方位を表示する(ステップ204)。
【0024】
次いで、ROM102より方位/音源パラメータ変換テーブルを参照し、ステップ202で取得した方位データに対応する音源パラメータを取得し(ステップ205)、楽曲再生部116内の音源を駆動する(ステップ206)。これにより方位は、ステップ204における表示部による表示のみでなく、楽曲再生部116内の音源により音階でも通知される。そして、携帯電話装置1の方位が表示及び音階により通知された後、XY2軸地磁気センサ110にOFF信号が出力され、方位表示動作を終了する(ステップ207)。
【0025】
次に、図5に方位と音程との関係を示す。本実施の形態では、同図に示すように、12方位で方位を表し、各方位に12音階(符号A〜Gと#及び♭で表す。)を割り当てる。携帯電話装置1の表示部118において、図5に示すように方位針のN(北)が所定の音程を示している状態で操作入力部106における所望の音長が割り当てられているキーを操作することにより音符が入力される。このとき、オクターブは、携帯電話装置1の時計回り方向(オクターブアップ)の回転数と反時計回り方向(オクターブダウン)の回転数に基づいて決定される。
【0026】
回転数は、地磁気センサをON状態にしたときからセンサ出力を監視して把握している。尚、オクターブについては別途、操作入力部106における特定のキーを割り当てて、指定するようにしてもよい。
休符に関しては、所定のキーで休符入力モードを選択して、各音長が割り当てられたキーを操作することにより入力する。既述したように音長入力と休符長入力のキーは兼用される。携帯電話装置1のユーザが音符と休符を順次、入力することにより楽譜データが完成する。
【0027】
次に、ユーザが本発明の実施の形態に係る携帯電話装置1を使用して作曲する際の携帯電話装置1の動作を図6及び図7のフローチャートを参照して説明する。同図において、XY2軸地磁気センサ110がON状態とされると(ステップ300)、XY2軸地磁気センサ110内の定電流バイアス回路1112よりX軸GMR素子1113及びY軸GMR素子1114に一定電流が供給され、X軸GMR素子1113及びY軸GMR素子1114より出力される電圧が電圧/磁界変換回路1111により地磁気による磁界のX成分、Y成分に変換され、出力される。
【0028】
次いで、XY2軸地磁気センサ110より出力される地磁気による磁界のX成分、Y成分が取り込まれ(ステップ301)、取り込まれた磁界のX成分、Y成分についてオフセット補正がなされ(ステップ302)、その後にROM102に格納されている磁界/方位変換テーブルを参照し、XY2軸地磁気センサ110の検出出力に応じた方位データを取得する(ステップ303)。さらに、取得した方位データに基づいて図5に示すように表示部118に携帯電話装置1の方位(背景は音程を表示)を表示する(ステップ304)。
【0029】
次いで、XY2軸地磁気センサ110の検出出力に基づいて、携帯電話装置1の回転方向及び、回転数からオクターブを決定し、RAM104の所定のメモリエリアに格納する(ステップ305)。
次いで、モード指定キーが入力されたか否かが判定される(ステップ306)。ステップ306の判定が否定された場合には、ステップ308に移行する。
【0030】
また、ステップ306の判定が肯定された場合には音符入力及び休符入力が可能な状態に切り換えられ(ステップ307)、次いで、ステップ308で音長(休符長)キーが操作されたか否かが判定される。ステップ308の判定が否定された場合には、ステップ312に移行する。
ステップ308の判定が肯定された場合には、音符入力モードであるか否か、すなわち#キーが操作されたか否かが判定される(ステップ309)。
【0031】
音符入力モードに設定されている場合には、ROM102に格納されている方位/音程変換テーブルを参照し音程を取得し、さらに、オクターブ、音長の各データを音符データとしてRAM104の所定のエリアに格納する(ステップ310)。
他方、ステップ309の判定が否定された場合、すなわち、*キーが操作され、休符入力モードに設定されている場合には、入力された休符長を休符データとしてRAM104の所定のエリアに格納する(ステップ311)。
【0032】
次いで、ステップ312では作曲が終了したか否かが判定される。ステップ312で作曲が終了していないと判定された場合には301に戻り、既述した処理を繰り返す。
また、ステップ312で作曲が終了したと判定された場合には、XY2軸地磁気センサ110にOFF信号が出力され、この動作を終了する(ステップ313)。
【0033】
本発明の実施の形態に係る携帯電話装置によれば、方位と音階とを対応づけ、前記携帯電話装置を特定の方位に向けることにより該特定の方位に対応づけられた音程を入力可能としたので、作曲をする際に音程の入力を操作入力部におけるキーを操作する必要がなく、楽譜データの入力操作を容易に行うことができる。
【0034】
また、12方位で方位を表し、該12方位に12音階を割り当てて、1回転で1オクターブに対応させたので、作曲時における入力操作方法が直感的に非常に判り易いという効果がある。
【0035】
【発明の効果】
請求項1乃至3に記載の発明によれば、作曲をする際に音程の入力を操作入力部におけるキーを操作する必要がなく、楽譜データの入力操作を容易に行うことができる。
【0036】
また、請求項3に記載の発明によれば、12方位で方位を表し、該12方位に12音階を割り当てて、1回転で1オクターブアップまたはダウンに対応させたので、作曲時における入力操作方法が直感的に非常に判り易いという効果がある。
【0037】
また、請求項4乃至6に記載の発明によれば、作曲をする際に音程の入力を操作入力部におけるキーを操作する必要がなく、楽譜データの入力操作を容易に行うことができる。
【0038】
また、請求項6に記載の発明によれば、さらに、入力された際に楽譜データに基づいて楽音を生成する楽音生成手段と、該楽音生成手段により生成された楽音を放音する発音手段とを有するので、楽譜データの入力結果をモニタすることができる。
【図面の簡単な説明】
【図1】 本発明の実施の形態に係る携帯電話装置の電気的構成を示すブロック図。
【図2】 図1に示した本発明の実施の形態に係る携帯電話装置におけるXY2軸地磁気センサの電気的構成を示すブロック図。
【図3】 本発明の実施の形態に係る携帯電話装置における方位表示時の動作を示すフローチャート。
【図4】 本発明の実施の形態に係る携帯電話装置における方位表示時の動作状態を示す説明図。
【図5】 本発明の実施の形態に係る携帯電話装置における方位と音程との関係を示す説明図。
【図6】 本発明の実施の形態に係る携帯電話装置を使用して作曲する際の携帯電話装置の動作を示すフローチャート。
【図7】 本発明の実施の形態に係る携帯電話装置を使用して作曲する際の携帯電話装置の動作を示すフローチャート。
【符号の説明】
1…携帯電話装置、20…アンテナ、100…CPU、102…ROM、104…RAM、106…操作入力部、108…GPSモジュール、110…XY2軸地磁気センサ、112…無線通信部、114…音声CODEC、116…楽曲再生部、118…表示部、120…インターフェース。122…マイク、124…受話用スピーカ、126…着信用スピーカ、1110…GMR回路、1111…電圧/磁界変換回路、1112…定電流バイアス回路、1113…X軸GMR素子、1114…Y軸GMR素子
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a mobile phone device, and more particularly to a mobile phone device having an orientation detection function.
[0002]
[Prior art]
Recently, there is a mobile phone device that composes an original music (melody) and registers it as an original melody so that the original melody can be used as a ringtone or alarm clock alarm sound.
In such a conventional cellular phone device, it is necessary to input notes and rests as musical score data when composing music, but the keys of the operation input unit are operated by inputting notes and rests. It was done by doing.
[0003]
[Problems to be solved by the invention]
As described above, in the conventional cellular phone device, when composing music, a note or a rest is input by operating a key of the operation input unit. However, this is not only suitable for human sense. There is a problem that the key input of two pieces of information, pitch and tone length, is complicated.
The present invention has been made in view of such circumstances, and an object of the present invention is to provide a mobile phone device capable of easily inputting musical score data when composing music.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, the invention described in claim 1 is a method for controlling a mobile phone device having a direction detection function, which associates a direction with a scale and directs the mobile phone device to a specific direction. Thus, it is possible to input a pitch associated with the specific orientation.
[0005]
According to a second aspect of the present invention, in the method for controlling the mobile phone device according to the first aspect, when the pitch associated with the specific direction is determined by directing the mobile phone device to the specific direction. It is characterized by inputting data for determining the sound length.
[0006]
Further, the invention according to claim 3 is the method for controlling a mobile phone device according to claim 1 or 2, wherein 12 scales are assigned to 12 directions so that one rotation corresponds to one octave up or down. It is characterized by that.
[0007]
According to a fourth aspect of the present invention, there is provided azimuth detecting means for detecting the azimuth of the apparatus main body, first storage means for storing an azimuth / pitch conversion table indicating the relationship between the azimuth and pitch, and score data. A second storage means for storing various data, an input means for inputting various data and setting an operation mode, a display means for displaying various data, a detection output of the azimuth detecting means, and the first storage When the azimuth / pitch conversion table stored in the means is referred to, the pitch corresponding to the azimuth indicated by the detection output is displayed on the display means together with the azimuth, and the score data input mode is set by the input means. Control means for storing score data including the pitch in the second storage means.
[0008]
According to a fifth aspect of the present invention, in the mobile phone device according to the fourth aspect, the musical score data is composed of musical note data composed of a pitch, an octave and a musical note length, and rest data indicating a rest length. The note data is characterized by allocating 12 scales in 12 directions, corresponding to one octave up or down by one rotation, and data other than the pitch and octave are inputted by the input means.
[0009]
According to a sixth aspect of the present invention, there is provided the mobile phone device according to the fourth or fifth aspect, further comprising a musical sound generating means for generating a musical sound based on score data when input, and the musical sound. And a sound generation means for emitting the musical sound generated by the generation means.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 shows an electrical configuration of the mobile phone device according to the embodiment of the present invention. In the figure, the mobile phone device 1 includes a CPU 100 that controls the operation of each unit so as to function as a telephone, a game machine, a music player, etc. by executing various programs, and various programs and fixed data. ROM 102, RAM 104, operation input unit 106, GPS module 108, XY biaxial geomagnetic sensor 110, wireless communication unit 112, audio codec (CODEC) 114, music playback unit 116, and display unit 118 are stored. And an interface (I / F) 120, a microphone 122 for transmission, a speaker 124 for reception, and a speaker 126 for incoming call.
[0011]
In addition to various programs, ROM 102 stores fixed data such as music sequence data for incoming melody and application programs such as game software.
In addition, the ROM 102 stores a magnetic field / azimuth conversion table indicating the relationship between the magnetic field and the azimuth for converting the magnetic field output from the XY biaxial geomagnetic sensor 110 into the azimuth.
[0012]
Further, the ROM 102 stores an azimuth / sound source parameter conversion table indicating the relationship between the azimuth and the sound source parameter, and an azimuth / pitch conversion table indicating the relationship between the azimuth and the pitch.
The RAM 104 stores various data downloaded via a network such as the Internet or music data taken from an external audio device via the interface 120.
[0013]
The operation input unit 106 includes a start key used for starting a call, an end key for ending the call, numeric keys, various function keys, a power key, and the like. Among these keys, a key for designating a note input mode for inputting a note when composing a musical piece and a rest input mode for inputting a rest are assigned to specific keys. For example, the # key is assigned to the note input mode and the * key is assigned to the rest input mode.
In this specification, the note input mode and rest input mode are collectively referred to as a score input mode.
A plurality of predetermined sound lengths (or rest lengths) are assigned to a plurality of keys, for example, numeric keys 1 to 7. The key for inputting the sound length and the key for inputting the rest length are combined.
[0014]
The GPS module 108 receives position measurement radio waves from a plurality of (three or more) GPS satellites at predetermined time intervals, transmits the raw data to the GPS base station, and receives positioning calculation results from the GPS base station. Then, it has a function of storing and updating in a predetermined memory area of the RAM 104.
[0015]
The XY two-axis geomagnetic sensor 110 is a sensor that detects the direction of its own station, and detects changes in the X-axis component and the Y-axis component of geomagnetism as voltage changes.
In the present embodiment, the output of the XY biaxial geomagnetic sensor 110 is detected, for example, every predetermined time, and the output data is stored in a predetermined memory area of the RAM 104 and updated.
[0016]
The wireless communication unit 112 demodulates a signal received via the antenna 20, modulates a signal to be transmitted to the outside, and transmits the modulated signal via the antenna 20.
The audio CODEC 114 decodes the audio signal received from the wireless communication unit 112 and outputs the decoded signal to the reception speaker 124. The audio codec 114 compresses and encodes the audio signal input from the transmission microphone 122 and sends the audio signal to the wireless communication unit 20. .
[0017]
The music reproducing unit 116 reproduces a music as an incoming melody for notifying an incoming call when the incoming call is received and outputs the music to the incoming speaker 126, or reproduces a music based on music data stored in the ROM 102 or the RAM 104. The sound source in the music reproducing unit 116 is driven based on the output of the XY biaxial geomagnetic sensor 110 so as to notify the azimuth even in the scale.
[0018]
The display unit 118 is, for example, a liquid crystal display (LCD) that displays various data. An input terminal of the interface (I / F) 120 is connected to an input terminal (not shown), and can connect to an external audio device via the input terminal to store desired music data in the RAM 104. It is like that.
[0019]
The CPU 100, ROM 102, RAM 104, operation input unit 106, GPS module 108, XY biaxial geomagnetic sensor 110, wireless communication unit 112, voice CODEC 114, music playback unit 116, display unit 118, and interface (I / F) 120 are connected to the bus 90. Are connected to each other. The operation input unit is the input means of the present invention, the ROM 102 is the first storage means of the present invention, the RAM 104 is the second storage means of the present invention, the XY biaxial geomagnetic sensor 110 is the azimuth detection means of the present invention, and the CPU 100 Are equivalent to the control means of the present invention, and the display unit 118 is equivalent to the display means of the present invention.
[0020]
Next, an electrical configuration of the XY biaxial geomagnetic sensor 110 is shown in FIG. In the figure, an XY biaxial geomagnetic sensor 110 has a GMR (Giant Magneto Resistive) circuit 1110 and a voltage / magnetic field conversion circuit 1111.
The GMR circuit 1110 includes a constant current bias circuit 1112, an X-axis GMR element 1113 for detecting the geomagnetic X component, and a Y-axis GMR element 1114 for detecting the geomagnetic Y component.
[0021]
The constant current bias circuit 1112 receives the ON signal and supplies a constant current to the X-axis GMR element 1113 and the Y-axis GMR element 1114. The X-axis GMR element 1113 and the Y-axis GMR element 1114 are elements whose resistance values change in accordance with changes in magnetism, and a change in magnetism is detected as a change in voltage by flowing a constant current through these elements as a bias. To do. That is, when the X-axis GMR element 1113 and the Y-axis GMR element 1114 constituting the XY two-axis geomagnetic sensor 110 rotate, the X-axis component and Y-axis component of the geomagnetism change, and appear as voltage changes.
The voltage / magnetic field conversion circuit 1111 has a function of converting the voltage output from the GMR circuit 1110 into a magnetic field and outputting the magnetic field.
[0022]
Next, the operation at the time of orientation display in the mobile phone device according to the embodiment of the present invention will be described with reference to the flowchart of FIG. In this figure, when the XY biaxial geomagnetic sensor 110 is turned on (step 200), a constant current is supplied from the constant current bias circuit 1112 in the XY biaxial geomagnetic sensor 110 to the X axis GMR element 1113 and the Y axis GMR element 1114. The voltage output from the X-axis GMR element 1113 and the Y-axis GMR element 1114 is converted into an X component and a Y component of the magnetic field by the geomagnetism by the voltage / magnetic field conversion circuit 1111 and output.
[0023]
Next, the X component and Y component of the magnetic field generated by the geomagnetism output from the XY biaxial geomagnetic sensor 110 are captured (step 201), and offset correction is performed on the X component and Y component of the captured magnetic field (step 202). With reference to the magnetic field / orientation conversion table stored in the ROM 102, orientation data corresponding to the detection output of the XY biaxial geomagnetic sensor 110 is acquired (step 203). Further, based on the obtained azimuth data, the azimuth of the mobile phone device 1 is displayed on the display unit 118 as shown in FIG. 4 (step 204).
[0024]
Next, referring to the azimuth / sound source parameter conversion table from the ROM 102, the sound source parameter corresponding to the azimuth data obtained in step 202 is obtained (step 205), and the sound source in the music reproducing unit 116 is driven (step 206). Thus, the azimuth is notified not only on the display unit in step 204 but also on the scale by the sound source in the music reproduction unit 116. After the orientation of the mobile phone device 1 is notified by display and scale, an OFF signal is output to the XY biaxial geomagnetic sensor 110, and the orientation display operation is terminated (step 207).
[0025]
Next, FIG. 5 shows the relationship between the bearing and the pitch. In this embodiment, as shown in the figure, the azimuth is represented by 12 directions, and 12 scales (represented by symbols A to G, #, and ♭) are assigned to each direction. On the display unit 118 of the mobile phone device 1, as shown in FIG. 5, a key to which a desired tone length is assigned in the operation input unit 106 is operated in a state where N (north) of the direction hand indicates a predetermined pitch. By doing so, a note is input. At this time, the octave is determined based on the number of rotations of the mobile phone device 1 in the clockwise direction (octave up) and the number of rotations in the counterclockwise direction (octave down).
[0026]
The rotational speed is grasped by monitoring the sensor output from when the geomagnetic sensor is turned on. Note that the octave may be specified by assigning a specific key in the operation input unit 106 separately.
The rest is input by selecting a rest input mode with a predetermined key and operating a key to which each tone length is assigned. As described above, the keys for the sound length input and the rest length input are shared. The user of the mobile phone device 1 inputs musical notes and rests sequentially, thereby completing the musical score data.
[0027]
Next, the operation of the mobile phone device 1 when the user composes music using the mobile phone device 1 according to the embodiment of the present invention will be described with reference to the flowcharts of FIGS. In this figure, when the XY biaxial geomagnetic sensor 110 is turned on (step 300), a constant current is supplied from the constant current bias circuit 1112 in the XY biaxial geomagnetic sensor 110 to the X axis GMR element 1113 and the Y axis GMR element 1114. The voltage output from the X-axis GMR element 1113 and the Y-axis GMR element 1114 is converted into an X component and a Y component of the magnetic field by the geomagnetism by the voltage / magnetic field conversion circuit 1111 and output.
[0028]
Next, the X and Y components of the magnetic field generated by the geomagnetism output from the XY biaxial geomagnetic sensor 110 are captured (step 301), and the X and Y components of the captured magnetic field are offset corrected (step 302). With reference to the magnetic field / orientation conversion table stored in the ROM 102, orientation data corresponding to the detection output of the XY biaxial geomagnetic sensor 110 is acquired (step 303). Further, based on the obtained azimuth data, as shown in FIG. 5, the azimuth of the cellular phone device 1 (background indicates a pitch) is displayed on the display unit 118 (step 304).
[0029]
Next, based on the detection output of the XY biaxial geomagnetic sensor 110, the octave is determined from the rotation direction and the rotation speed of the mobile phone device 1, and stored in a predetermined memory area of the RAM 104 (step 305).
Next, it is determined whether or not a mode designation key has been input (step 306). If the determination in step 306 is negative, the process proceeds to step 308.
[0030]
If the determination in step 306 is affirmative, the state is switched to a state where note input and rest input are possible (step 307), and then in step 308 whether or not the sound length (rest length) key is operated. Is determined. If the determination in step 308 is negative, the process proceeds to step 312.
If the determination in step 308 is affirmative, it is determined whether or not it is a note input mode, that is, whether or not the # key has been operated (step 309).
[0031]
When the note input mode is set, the pitch is obtained by referring to the azimuth / pitch conversion table stored in the ROM 102, and the octave and pitch data are stored in a predetermined area of the RAM 104 as note data. Store (step 310).
On the other hand, if the determination in step 309 is negative, that is, if the * key is operated and the rest input mode is set, the rest length that has been input is stored in a predetermined area of the RAM 104 as rest data. Store (step 311).
[0032]
Next, at step 312, it is determined whether or not the composition has been completed. If it is determined in step 312 that the composition has not ended, the process returns to 301 and the above-described processing is repeated.
If it is determined in step 312 that the composition has ended, an OFF signal is output to the XY biaxial geomagnetic sensor 110, and this operation is ended (step 313).
[0033]
According to the mobile phone device according to the embodiment of the present invention, it is possible to input a pitch associated with the specific orientation by associating the azimuth and the scale and directing the mobile phone device to the specific orientation. Therefore, it is not necessary to operate a key in the operation input unit for inputting a pitch when composing music, and it is possible to easily input musical score data.
[0034]
Further, since the azimuth is represented by 12 azimuths, 12 scales are assigned to the 12 azimuths, and one rotation is made to correspond to one octave, there is an effect that the input operation method at the time of composition is very easy to understand intuitively.
[0035]
【The invention's effect】
According to the first to third aspects of the present invention, it is not necessary to operate a key in the operation input unit to input a pitch when composing music, and an operation for inputting musical score data can be easily performed.
[0036]
According to the third aspect of the present invention, the azimuth is expressed in 12 directions, 12 scales are assigned to the 12 directions, and one rotation is made to correspond to one octave up or down. Is intuitively very easy to understand.
[0037]
According to the fourth to sixth aspects of the present invention, it is not necessary to operate a key in the operation input unit for inputting a pitch when composing music, and it is possible to easily input musical score data.
[0038]
According to the invention described in claim 6, the musical sound generating means for generating a musical sound based on the musical score data when inputted, and the sound generating means for emitting the musical sound generated by the musical sound generating means. Therefore, it is possible to monitor the input result of the score data.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an electrical configuration of a mobile phone device according to an embodiment of the present invention.
2 is a block diagram showing an electrical configuration of an XY biaxial geomagnetic sensor in the mobile phone device according to the embodiment of the present invention shown in FIG. 1;
FIG. 3 is a flowchart showing an operation during azimuth display in the mobile phone device according to the embodiment of the present invention.
FIG. 4 is an explanatory diagram showing an operation state at the time of orientation display in the mobile phone device according to the embodiment of the present invention.
FIG. 5 is an explanatory diagram showing a relationship between an azimuth and a pitch in the mobile phone device according to the embodiment of the present invention.
FIG. 6 is a flowchart showing the operation of the mobile phone device when composing using the mobile phone device according to the embodiment of the present invention.
FIG. 7 is a flowchart showing the operation of the mobile phone device when composing using the mobile phone device according to the embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Mobile telephone apparatus, 20 ... Antenna, 100 ... CPU, 102 ... ROM, 104 ... RAM, 106 ... Operation input part, 108 ... GPS module, 110 ... XY biaxial geomagnetic sensor, 112 ... Wireless communication part, 114 ... Voice CODEC 116: Music reproduction unit 118: Display unit 120: Interface DESCRIPTION OF SYMBOLS 122 ... Microphone, 124 ... Reception speaker, 126 ... Incoming speaker, 1110 ... GMR circuit, 1111 ... Voltage / magnetic field conversion circuit, 1112 ... Constant current bias circuit, 1113 ... X-axis GMR element, 1114 ... Y-axis GMR element

Claims (6)

方位検出機能を有する携帯電話装置の制御方法であって、
方位と音階とを対応づけ、前記携帯電話装置を特定の方位に向けることにより該特定の方位に対応づけられた音程を入力可能としたことを特徴とする携帯電話装置の制御方法。
A method for controlling a mobile phone device having an orientation detection function,
A method for controlling a mobile phone device, characterized in that an azimuth and a scale are associated with each other and a pitch associated with the specific orientation can be input by directing the mobile phone device to a specific orientation.
前記携帯電話装置を特定の方位に向けることにより該特定の方位に対応づけられた音程を決めた際に音長を決めるためのデータを入力することを特徴とする請求項1に記載の携帯電話装置の制御方法。2. The mobile phone according to claim 1, wherein data for determining a sound length is input when a pitch associated with the specific orientation is determined by directing the mobile phone device to a specific orientation. Control method of the device. 12方位に12音階を割り当てて、1回転で1オクターブアップまたはダウンに対応させたことを特徴とする請求項1または2のいずれかに記載の携帯電話装置の制御方法。The method for controlling a mobile phone device according to claim 1, wherein 12 scales are assigned to 12 directions and one rotation corresponds to one octave up or down. 装置本体の方位を検出する方位検出手段と、
方位と音程との関係を示す方位/音程変換テーブルが格納されている第1の記憶手段と、
楽譜データを記憶する第2の記憶手段と、
各種データの入力及び動作モードの設定を行う入力手段と、
各種データを表示する表示手段と、
前記方位検出手段の検出出力を取り込み、かつ前記第1の記憶手段に格納されている方位/音程変換テーブルを参照し、前記検出出力が示す方位に対応する音程を方位と共に前記表示手段に表示すると共に、前記入力手段により楽譜データ入力モードに設定された場合に前記音程を含む楽譜データを前記第2の記憶手段に格納する制御手段と、
を有することを特徴とする携帯電話装置。
Orientation detection means for detecting the orientation of the apparatus body;
A first storage means storing an azimuth / pitch conversion table showing a relationship between the azimuth and the pitch;
Second storage means for storing score data;
Input means for inputting various data and setting operation modes;
Display means for displaying various data;
The detection output of the azimuth detection means is taken in, and the azimuth / pitch conversion table stored in the first storage means is referred to, and the pitch corresponding to the azimuth indicated by the detection output is displayed on the display means together with the azimuth. And control means for storing score data including the pitch in the second storage means when the score data input mode is set by the input means;
A mobile phone device characterized by comprising:
前記楽譜データは、音程、オクターブ、音長からなる音符データと、休符長を示す休符データとからなり、前記音符データは、12方位に12音階を割り当てて、1回転で1オクターブアップまたはダウンに対応させ、音程及びオクターブ以外のデータは前記入力手段により入力されることを特徴とする請求項4に記載の携帯電話装置。The musical score data is composed of note data consisting of a pitch, an octave, and a note length, and rest data indicating a rest length. 5. The cellular phone device according to claim 4, wherein data other than a pitch and an octave are input by the input means in response to a down. さらに、入力された際に楽譜データに基づいて楽音を生成する楽音生成手段と、
該楽音生成手段により生成された楽音を放音する発音手段と、
を有することを特徴とする請求項4または5のいずれかに記載の携帯電話装置。
Furthermore, a tone generation means for generating a tone based on the score data when input,
Sound generation means for emitting the musical sound generated by the musical sound generation means;
The mobile phone device according to claim 4, wherein the mobile phone device includes:
JP2001310610A 2001-10-05 2001-10-05 Mobile phone device and control method thereof Expired - Fee Related JP3778044B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001310610A JP3778044B2 (en) 2001-10-05 2001-10-05 Mobile phone device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001310610A JP3778044B2 (en) 2001-10-05 2001-10-05 Mobile phone device and control method thereof

Publications (2)

Publication Number Publication Date
JP2003116177A JP2003116177A (en) 2003-04-18
JP3778044B2 true JP3778044B2 (en) 2006-05-24

Family

ID=19129553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001310610A Expired - Fee Related JP3778044B2 (en) 2001-10-05 2001-10-05 Mobile phone device and control method thereof

Country Status (1)

Country Link
JP (1) JP3778044B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101189214B1 (en) 2006-02-14 2012-10-09 삼성전자주식회사 Apparatus and method for generating musical tone according to motion
JP5703558B2 (en) * 2009-11-06 2015-04-22 船井電機株式会社 Electronic and mobile devices
US11167206B2 (en) 2019-05-22 2021-11-09 Casio Computer Co., Ltd. Portable music playing game device

Also Published As

Publication number Publication date
JP2003116177A (en) 2003-04-18

Similar Documents

Publication Publication Date Title
JP3596401B2 (en) Mobile phone
KR20100021594A (en) Methods and devices for generating multimedia content in response to simultaneous inputs from related portable devices
KR100617719B1 (en) Apparatus and method for generating sound dependent on movement in mobile communication terminal
JP2001086203A (en) Apparatus and method for outputting data sound from display unit of mobile phone
JP2004364122A (en) Portable information processing apparatus and operation mode control method thereof
WO2007086581A1 (en) Mobile electronic device and its direction display method
JP3778044B2 (en) Mobile phone device and control method thereof
KR100531930B1 (en) Mobile terminal apparatus and control method therefor
KR100709119B1 (en) Musical tune playback method and portable device
JP4147840B2 (en) Mobile phone equipment
JP2003256129A (en) Portable terminal unit and its control method
JP3882601B2 (en) Mobile phone equipment
JP3508751B2 (en) Mobile phone device and control method thereof
JP5014645B2 (en) Portable electronic device and control method thereof
JP4066643B2 (en) Direction detecting device and portable terminal device
JP3733904B2 (en) Mobile phone device and control method thereof
JP2006148773A (en) Mobile terminal device and control method therefor
JP4462141B2 (en) Mobile terminal device
KR100678122B1 (en) How to implement an electronic metronome using a wireless terminal
JP4593440B2 (en) Direction measuring device and direction measuring method
JP4669751B2 (en) Direction measuring apparatus with wireless communication function, direction measuring method, and program
JP2009229062A (en) Portable electronic apparatus
JP2003125455A (en) Portable terminal device
JP3843856B2 (en) Mobile terminal device
JP4093404B2 (en) Mobile communication terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060201

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060220

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090310

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120310

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130310

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140310

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees