JP2004133135A - Electronic musical instrument with terminal for connection to external instrument terminal - Google Patents

Electronic musical instrument with terminal for connection to external instrument terminal Download PDF

Info

Publication number
JP2004133135A
JP2004133135A JP2002296609A JP2002296609A JP2004133135A JP 2004133135 A JP2004133135 A JP 2004133135A JP 2002296609 A JP2002296609 A JP 2002296609A JP 2002296609 A JP2002296609 A JP 2002296609A JP 2004133135 A JP2004133135 A JP 2004133135A
Authority
JP
Japan
Prior art keywords
external device
terminal
connection
electronic musical
musical instrument
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.)
Pending
Application number
JP2002296609A
Other languages
Japanese (ja)
Inventor
Hideyuki Tanaka
田中 秀幸
Toru Suzuki
鈴木 亨
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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP2002296609A priority Critical patent/JP2004133135A/en
Publication of JP2004133135A publication Critical patent/JP2004133135A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To make it easy to connect external equipment to an electronic musical instrument and to make a jack substrate small-sized. <P>SOLUTION: A one-chip microcomputer 21 detects the external equipment being connected to a USB terminal 5 and outputs a USE signal. A host microcomputer 13 once receiving the USE signal makes a port SIO1 effective and breaks a port SIO2. Consequently, the USB terminal 5 is given priority to MIDI terminals 3 and 4. In priority processing of the USB terminal 5, a signal being transmitted at present is not held active, but lowered in level substantially to zero. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、電子楽器に関し、特に、外部機器を接続するための接続端子を複数備え、これらの接続端子に優先度を付加させるのに好適な電子楽器に関する。
【0002】
【従来の技術】
図8は複数の外部接続端子を有する従来の電子楽器の側面図である。同図において、電子楽器100には、MIDI−IN端子101およびMIDI−OUT端子102とパーソナルコンピュータのシリアル信号入出力端子103とが設けられる。これらの端子を通じて電子楽器100と図示しない外部機器とで行われる通信は互いにフォーマットが異なる。そして、端子101,102および端子103のいずれかを選択するセレクタスイッチ104を備えていた。ユーザは、このセレクタスイッチ104を操作してどの外部機器を電子楽器100に接続したいかを明確に指示する必要がある。
【0003】
【発明が解決しようとする課題】
前記セレクタスイッチを適切に切り替えることがユーザによって必ずしも実行されない場合があった。ユーザがこのような機器の取り扱いに不慣れであったり、誤操作したりすることがあるからである。
【0004】
一方、外部機器を接続するためのジャック基板を小型化したいという要望もある。レイアウトの自由度やコストダウンを図るためである。そのためには、セレクタスイッチを省略できれば好都合である。
【0005】
また、上記複数の外部接続端子を有する電子楽器であっても、それらを同時に使用することはできなかった。従来、複数の外部機器を同時に接続して使用する要求がなかったためである。しかし、近年、電子楽器の種類が豊富になり、使用形態も多様化していることから、複数の外部接続を同時に処理することができる電子楽器が望まれる。
【0006】
本発明は、上記課題に鑑み、使いやすさとコストダウンとを図ることができるとともに、使用形態の拡張を図ることができる外部機器接続端子付き電子楽器を提供することを目的とする。
【0007】
【課題を解決するための手段】
上記の課題を解決し、目的を達成するための本発明は、互いに異なるフォーマットで情報の双方向転送が可能な複数の接続端子と、前記接続端子のうち、予定の接続端子に外部機器が接続されたことを検出する手段と、前記予定の接続端子に外部機器が接続されたことを検出した場合に、該接続端子に接続された外部機器との通信を可能にし、その他の接続端子に接続された外部機器との通信を不可にする優先接続手段とを具備した点に第1の特徴がある。
【0008】
また、本発明は、前記外部機器との通信を不可にするに際して、その時点で既に送信した情報をリセットするためのデータを出力する点に第2の特徴がある。
【0009】
第1および第2の特徴によれば、複数の接続端子に外部機器が接続された場合、予定の接続端子が優先的に選択され、該接続端子に接続された外部機器と電子楽器間でだけ情報の双方向転送が可能になる。したがって、ユーザによるセレクタスイッチの操作を省略して、優先付けられた外部機器を使用することができる。
【0010】
また、本発明は、前記複数の接続端子を介して転送された情報を記憶する記憶手段と、前記記憶手段の容量が前記情報を同時に記憶するのに十分であるかどうかを判断する記憶容量検出手段とを具備し、前記記憶手段の記憶容量が前記複数の接続端子を介して転送された情報を同時に記憶するのに十分であると判断された場合に、前記優先接続手段を無効にし、前記複数の接続端子を介して転送された情報を前記記憶手段で同時に受け付けて処理する点に第3の特徴がある。
【0011】
第3の特徴によれば、十分な記憶容量を確保することにより、接続端子に接続された外部機器を複数同時に使用して情報転送を行う選択が可能であり、機能が拡張される。
【0012】
【発明の実施の形態】
以下、図面を参照して本発明を詳細に説明する。図1は、本発明の一実施形態に係る電子楽器の側面図である。この電子楽器は具体的には電子ピアノである。電子ピアノ1の側面に設けられたジャック基板2には、MIDI−IN端子3およびMIDI−OUT端子4(以下、統合的に「MIDI端子」という)とパーソナルコンピュータ等の外部機器と接続可能なUSB端子5とが設けられる。これらの端子を通じて電子ピアノ1と図示しない外部機器とで互いに通信が行われ、例えば、電子ピアノ1による演奏に基づいて外部機器で発音させたり、MIDI機器やパソコン等からの演奏情報に基づいて電子ピアノ1で自動演奏させたりすることができる。
【0013】
MIDI端子3,4とUSB端子5とに外部機器が同時に接続された場合は、USB端子5を優先して使用することができる。近年、パソコンと電子楽器とを接続して使用するユーザが多くなっており、予めUSB端子5を優先させておくことが望まれるからである。この機能は、セレクタスイッチをユーザが接続の都度選択したりするのではなく、ユーザの操作を介さずに内部で判断することができる。詳細は後述する。
【0014】
上記各端子の下方には、ペダルスイッチの接続端子6、内部スピーカのオン・オフスイッチ7、オーディオ入力端子8、オーディオ出力端子9,10、およびヘッドフォン接続端子11,12が設けられる。
【0015】
図2は、上記電子ピアノの要部ハード構成を示すブロック図である。電子ピアノ1は該電子ピアノ1の全体を制御するホストマイコン13を有する。ホストマイコン13は鍵盤14および操作パネル15から入力される検出信号によって予定の処理を行う。鍵盤14は押鍵・離鍵操作を感知するセンサを備え、キーオンデータ、キーオフデータ、ベロシティデータ等(鍵盤情報)を出力する。操作パネル15は、メインスイッチ、効果スイッチ等、各種スイッチとホストマイコン13の処理結果に応じた表示を行うLED表示器とを備える(いずれも図示しない)。
【0016】
ホストマイコン13は、鍵盤情報およびスイッチ操作の検出信号に基づいて演奏データを作成し、音源装置(音源LSI)16に出力する。音源装置16は複数の楽音を同時発生できるよう複数の楽音発生チャンネルを備え、例えば、正弦波加算方式で楽音を合成する。入力された演奏データに従って形成された波形データはDSP(デジタル・シグナル・プロセッサ)17でエフェクトを付加され、さらにD/A変換器18でアナログ信号に変換される。このアナログ信号はアンプ19を介してサウンドシステム20に入力される。
【0017】
ホストマイコン13は、鍵盤14や操作パネル15から入力されるデータだけでなく、MIDI端子3,4とUSB端子5を通じて外部機器から入力されるデータを処理する。この外部機器とホストマイコン13とは双方向で情報転送が可能である。外部機器とホストマイコン13とで互いに送受されるデータのうち、USB端子5を介するデータを他に優先させる処理のためのワンチップマイコン21が設けられる。
【0018】
USB端子5はワンチップマイコン21を介してホストマイコン13のシリアルポートSIO1に接続され、MIDI端子3,4はホストマイコン13のシリアルポートSIO2に接続される。また、ワンチップマイコン21の出力側の一つの端子はホストマイコン13のIN端子に接続される。
【0019】
USB端子5を介して例えばパソコンが接続されると、ワンチップマイコン21は、該USB端子5を通して外部パソコン等とのコミュニケートを行い、アクティブであることを判別し、アクティブであることが検出されれば、USE信号をホストマイコン13に入力する。ホストマイコン13は、このUSE信号が入力されると、シリアルポートSIO1を有効にし、シリアルポートSIO2を無効にする。これによって、USB端子5がMIDI端子3,4に優先する。なお、USB端子5が接続されたことは、特定のピンがアクティブになったことで判断できるが、外部接続されるパソコンと1チップマイコン21との間で、互いを識別するコマンドを送受することによって判断することができる。
【0020】
前記USE信号に応答してシリアルポートSIO1のみを有効にし、シリアルポートSIO2を無効にする際には、その時点で送信中の情報をアクティブのままにしない処理を行うのがよい。図3は、USE信号入力時に中断されるMIDI信号の処理例を示す図である。図3に示すように、MIDI−IN端子を通じたキーデータおよびMIDI−OUT端子を通じたキーデータは、USE信号に応答してローレベルに下げられる。
【0021】
図4は、図2の変形例を示す要部ブロック図である。図2では、MIDI端子3,4と、USB端子5とはホストマイコン13に接続され(USB端子5はワンチップマイコン21を介して接続)、ホストマイコン13側で、USB端子5との接続を優先する処理を行った。一方、この変形例では、ワンチップマイコン21の出力側およびMIDI端子3,4を一旦セレクタ22で受け、そこで選択された側をホストマイコン13に接続するよう構成した。つまり、ワンチップマイコン21がUSB端子5を検出して出力されるUSE信号はセレクタ22に入力される。セレクタはUSE信号に応答して、USB端子5をホストマイコン13に接続するように切り替えを行う。この変形例では、セレクタ22を付加しなければならないが、ホストマイコン13の負荷は軽減されるという効果がある。
【0022】
また、USB端子5を介して入力されるデータは必ずしもホストマイコン13を通じて処理されるものに限らない。例えば、音声情報がデジタルデータとしてUSB端子5を通じて入力されることがある。この場合、音声情報はホストマイコン13を介さず、直接DSP17に入力することができる。
【0023】
図5は音声情報の処理を行うための構成例を示す図である。同図において、DSP17には、ワンチップマイコン21からホストマイコン13を介さずに音声情報が入力される。なお、この場合、ワンチップマイコン21は入力データが音声情報かどうかを判別する機能を有し、音声情報の場合にのみDSP17にデータを出力する。
【0024】
上述の実施形態では、USB端子5を優先させたが、MIDI端子3,4およびUSB端子5を介して接続される外部接続機器の両方と通信可能にしてもよい。図6は、MIDI端子3,4およびUSB端子5の双方を同時に使用する場合のホストマイコン13の要部処理を示すフローチャートである。
【0025】
図6において、ステップS1では、メモリに該メモリの残容量を判断するためのテストデータを書き込む。テストデータのサイズは特定されており、書き込みエリアも特定されている。ステップS2では、前記テストデータを読み出す。ステップS3では、テストデータが読み出せたか否かを判断する。ステップS3が肯定ならば、ステップS4でフラグF1に「1」をセットする。テストデータが読み出せなかった場合はステップS5でフラグF1に「0」をセットする。
【0026】
図7は、端子セレクト処理のフローチャートである。まず、ステップS10では、USB端子5が接続されているか否かを判断する。USB端子5が接続されていれば、ステップS11に進み、フラグF1に「1」がセットされているか否かを判別する。フラグF1に「1」がセットされていれば、ステップS12でシリアルポートSIO1,SIO2を双方とも有効にする。一方、フラグF1に「0」がセットされていればステップS13に進んでシリアルポートSIO1だけを有効にし、シリアルポートSIO2は無効にする。
【0027】
例えば、MIDI端子3,4から入力される演奏情報およびUSB端子5から入力される音声情報をホストマイコン13のメモリで受けてDSP17で混合し、出力することができる。
【0028】
上述のように、メモリ容量が所定量以上有る場合に同時処理が可能であると判断してUSB端子5を優先させる処理モードを禁止するので、十分な記憶容量を確保するためホストマイコン13の内部メモリの他、内部メモリより大きい外部メモリを設けるのがよい。
【0029】
メモリの容量が十分であると判断された場合に自動的に同時処理するようにすることにより、外部メモリを付けない設定と、外部メモリを付けた設定とで、一つの接続端子を優先させる処理を行うか、同時処理するかを決定できる。しかし、この例に限らず、同時処理モードを予め選択した場合にだけ同時処理が選択されるようにしてもよい。この場合、同時処理モードを選択しなかった場合は一つの接続端子を優先させる優先処理が実行される。同時処理モードは予めシステムデータとして組み込んでおいても良いし、スイッチなどの入力手段で同時処理モードと優先処理モードとを選択できるようにしてもよい。
【0030】
【発明の効果】
以上の説明から明らかなように、請求項1,2の発明によれば、複数の外部機器接続端子をユーザがスイッチで使い分けることなく、予め設定された外部機器接続端子が自動的に選択される。したがって、使用する外部機器を指定する手間を省略できるし、外部機器接続端子を設ける基板からスイッチを取り除くことができるので、該基板上のレイアウトの自由度が増すし、基板の小型化でコスト削減も果たされる。
【0031】
請求項3の発明によれば、記憶容量が十分確保されておくことにより、複数の外部機器接続端子を介して同時に情報を送受し、処理することができる。したがって、外部メモリを設けて十分な記憶容量を確保している場合に、この外部メモリを取り除いた設定とすることにより自動的に優先接続手段による処理が可能となる。一方、外部メモリを付加した場合は優先接続手段が無効にされて同時処理が可能になる。
【0032】
このように、本発明によれば、複数の外部機器接続端子を有する場合に、ユーザのスイッチ操作を少なくして煩雑さを排除することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る電子ピアノの側面図である。
【図2】本発明の一実施形態に係る電子ピアノの要部構成を示すブロック図である。
【図3】優先接続されたときのMIDI情報の処理例を示す図である。
【図4】変形例に係る電子ピアノの要部構成を示すブロック図である。
【図5】別の変形例に係る電子ピアノの奥羽構成を示すブロック図である。
【図6】メモリチェックのフローチャートである。
【図7】端子セレクト処理のフローチャートである。
【図8】従来技術に係る電子ピアノの側面図である。
【符号の説明】
1…電子ピアノ、 2…ジャック基板、 3,4…MIDI端子、 5…USB端子、 13…ホストマイコン、 14…鍵盤、 15…操作パネル、 16…音源装置、 17…DSP、 18…D/A変換器、 21…ワンチップマイコン、 22…セレクタ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electronic musical instrument, and more particularly to an electronic musical instrument that includes a plurality of connection terminals for connecting external devices, and is suitable for giving priority to these connection terminals.
[0002]
[Prior art]
FIG. 8 is a side view of a conventional electronic musical instrument having a plurality of external connection terminals. In FIG. 1, an electronic musical instrument 100 is provided with a MIDI-IN terminal 101 and a MIDI-OUT terminal 102, and a serial signal input / output terminal 103 of a personal computer. Communication performed between the electronic musical instrument 100 and an external device (not shown) through these terminals has different formats. Further, a selector switch 104 for selecting one of the terminals 101 and 102 and the terminal 103 was provided. The user needs to operate the selector switch 104 to clearly indicate which external device the user wants to connect to the electronic musical instrument 100.
[0003]
[Problems to be solved by the invention]
Switching the selector switch appropriately may not always be performed by the user. This is because the user may be unfamiliar with the handling of such a device or may perform an erroneous operation.
[0004]
On the other hand, there is also a demand for miniaturizing a jack board for connecting an external device. This is for the purpose of reducing the layout flexibility and cost. For that purpose, it is convenient if the selector switch can be omitted.
[0005]
Further, even with the electronic musical instrument having the plurality of external connection terminals, they cannot be used at the same time. This is because there has been no request to connect and use a plurality of external devices at the same time. However, in recent years, the types of electronic musical instruments have been abundant and the usage forms have been diversified. Therefore, electronic musical instruments that can simultaneously process a plurality of external connections are desired.
[0006]
An object of the present invention is to provide an electronic musical instrument with an external device connection terminal that can achieve ease of use and cost reduction, and that can be used in an expanded manner.
[0007]
[Means for Solving the Problems]
The present invention for solving the above problems and achieving the object has a plurality of connection terminals capable of bidirectional transfer of information in mutually different formats, and an external device is connected to a predetermined connection terminal among the connection terminals. Means for detecting that an external device has been connected to the predetermined connection terminal, and enabling communication with the external device connected to the connection terminal, and connecting to the other connection terminals. The first feature is that the communication device has a priority connection unit that disables communication with the external device.
[0008]
Further, the present invention has a second feature in that when disabling communication with the external device, data for resetting information already transmitted at that time is output.
[0009]
According to the first and second features, when an external device is connected to a plurality of connection terminals, a predetermined connection terminal is preferentially selected, and only between the external device connected to the connection terminal and the electronic musical instrument. Bidirectional transfer of information becomes possible. Therefore, it is possible to omit the operation of the selector switch by the user and use the external device with the higher priority.
[0010]
The present invention also provides a storage unit for storing information transferred through the plurality of connection terminals, and a storage capacity detection unit for determining whether a capacity of the storage unit is sufficient to store the information at the same time. Means, when it is determined that the storage capacity of the storage means is sufficient to simultaneously store the information transferred through the plurality of connection terminals, disabling the priority connection means, A third feature is that information transferred via a plurality of connection terminals is simultaneously received and processed by the storage means.
[0011]
According to the third feature, by securing a sufficient storage capacity, it is possible to select information transfer by simultaneously using a plurality of external devices connected to the connection terminal, and the function is expanded.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a side view of an electronic musical instrument according to one embodiment of the present invention. This electronic musical instrument is specifically an electronic piano. A jack substrate 2 provided on a side surface of the electronic piano 1 has a MIDI-IN terminal 3 and a MIDI-OUT terminal 4 (hereinafter collectively referred to as a “MIDI terminal”) and a USB that can be connected to an external device such as a personal computer. A terminal 5 is provided. The electronic piano 1 and an external device (not shown) communicate with each other through these terminals. It can be automatically played on the piano 1.
[0013]
When external devices are simultaneously connected to the MIDI terminals 3 and 4 and the USB terminal 5, the USB terminal 5 can be used with priority. In recent years, the number of users who connect and use a personal computer and an electronic musical instrument has increased, and it is desired to prioritize the USB terminal 5 in advance. This function can be determined internally without the user's operation, instead of selecting the selector switch every time the user connects. Details will be described later.
[0014]
Below the terminals, a connection terminal 6 for a pedal switch, an on / off switch 7 for an internal speaker, an audio input terminal 8, audio output terminals 9 and 10, and headphone connection terminals 11 and 12 are provided.
[0015]
FIG. 2 is a block diagram showing a hardware configuration of a main part of the electronic piano. The electronic piano 1 has a host microcomputer 13 for controlling the entire electronic piano 1. The host microcomputer 13 performs a predetermined process based on detection signals input from the keyboard 14 and the operation panel 15. The keyboard 14 includes a sensor for detecting a key press / key release operation, and outputs key-on data, key-off data, velocity data, and the like (keyboard information). The operation panel 15 includes various switches, such as a main switch and an effect switch, and an LED display for performing a display according to the processing result of the host microcomputer 13 (none of them is shown).
[0016]
The host microcomputer 13 creates performance data based on the keyboard information and the switch operation detection signal, and outputs the performance data to the tone generator (sound source LSI) 16. The tone generator 16 is provided with a plurality of tone generation channels so that a plurality of tone can be generated simultaneously, and synthesizes tone by a sine wave addition method, for example. The waveform data formed in accordance with the input performance data is added with an effect by a DSP (Digital Signal Processor) 17 and further converted into an analog signal by a D / A converter 18. This analog signal is input to the sound system 20 via the amplifier 19.
[0017]
The host microcomputer 13 processes not only data input from the keyboard 14 and the operation panel 15 but also data input from an external device through the MIDI terminals 3 and 4 and the USB terminal 5. This external device and the host microcomputer 13 can transfer information bidirectionally. A one-chip microcomputer 21 is provided for processing of prioritizing data via the USB terminal 5 among data transmitted and received between the external device and the host microcomputer 13.
[0018]
The USB terminal 5 is connected to the serial port SIO1 of the host microcomputer 13 via the one-chip microcomputer 21, and the MIDI terminals 3 and 4 are connected to the serial port SIO2 of the host microcomputer 13. One terminal on the output side of the one-chip microcomputer 21 is connected to the IN terminal of the host microcomputer 13.
[0019]
When, for example, a personal computer is connected via the USB terminal 5, the one-chip microcomputer 21 communicates with an external personal computer or the like through the USB terminal 5, determines that it is active, and detects that it is active. For example, a USE signal is input to the host microcomputer 13. When the USE signal is input, the host microcomputer 13 enables the serial port SIO1 and disables the serial port SIO2. Thus, the USB terminal 5 has priority over the MIDI terminals 3 and 4. The connection of the USB terminal 5 can be determined by activating a specific pin. However, a command for identifying each other between the externally connected personal computer and the one-chip microcomputer 21 is transmitted and received. Can be determined by:
[0020]
When only the serial port SIO1 is enabled and the serial port SIO2 is disabled in response to the USE signal, it is preferable to perform a process of not keeping the information being transmitted at that time active. FIG. 3 is a diagram illustrating an example of processing of a MIDI signal interrupted when a USE signal is input. As shown in FIG. 3, the key data through the MIDI-IN terminal and the key data through the MIDI-OUT terminal are lowered to a low level in response to the USE signal.
[0021]
FIG. 4 is a main block diagram showing a modification of FIG. In FIG. 2, the MIDI terminals 3 and 4 and the USB terminal 5 are connected to the host microcomputer 13 (the USB terminal 5 is connected via the one-chip microcomputer 21). Priority processing was performed. On the other hand, in this modification, the output side of the one-chip microcomputer 21 and the MIDI terminals 3 and 4 are once received by the selector 22, and the selected side is connected to the host microcomputer 13. That is, the USE signal output by the one-chip microcomputer 21 detecting the USB terminal 5 is input to the selector 22. The selector performs switching so as to connect the USB terminal 5 to the host microcomputer 13 in response to the USE signal. In this modification, the selector 22 must be added, but there is an effect that the load on the host microcomputer 13 is reduced.
[0022]
Further, data input via the USB terminal 5 is not necessarily limited to data processed through the host microcomputer 13. For example, audio information may be input as digital data through the USB terminal 5. In this case, the audio information can be directly input to the DSP 17 without passing through the host microcomputer 13.
[0023]
FIG. 5 is a diagram showing a configuration example for performing processing of audio information. In the figure, audio information is input to the DSP 17 from the one-chip microcomputer 21 without passing through the host microcomputer 13. In this case, the one-chip microcomputer 21 has a function of determining whether the input data is audio information, and outputs data to the DSP 17 only when the input data is audio information.
[0024]
In the above-described embodiment, the USB terminal 5 is prioritized. However, communication may be made with both the MIDI terminals 3 and 4 and the externally connected device connected via the USB terminal 5. FIG. 6 is a flowchart showing the main processing of the host microcomputer 13 when both the MIDI terminals 3 and 4 and the USB terminal 5 are used simultaneously.
[0025]
In FIG. 6, in step S1, test data for determining the remaining capacity of the memory is written to the memory. The size of the test data is specified, and the writing area is also specified. In step S2, the test data is read. In step S3, it is determined whether the test data has been read. If step S3 is positive, "1" is set to the flag F1 in step S4. If the test data cannot be read, "0" is set to the flag F1 in step S5.
[0026]
FIG. 7 is a flowchart of the terminal selection process. First, in step S10, it is determined whether the USB terminal 5 is connected. If the USB terminal 5 is connected, the process proceeds to step S11, and it is determined whether or not "1" is set in the flag F1. If "1" is set in the flag F1, both serial ports SIO1 and SIO2 are enabled in step S12. On the other hand, if "0" is set in the flag F1, the process proceeds to step S13 to enable only the serial port SIO1 and disable the serial port SIO2.
[0027]
For example, the performance information input from the MIDI terminals 3 and 4 and the audio information input from the USB terminal 5 can be received by the memory of the host microcomputer 13, mixed by the DSP 17, and output.
[0028]
As described above, when the memory capacity is equal to or more than the predetermined amount, it is determined that simultaneous processing is possible, and the processing mode in which the USB terminal 5 is prioritized is prohibited. It is preferable to provide an external memory larger than the internal memory in addition to the memory.
[0029]
Automatically perform simultaneous processing when it is determined that the memory capacity is sufficient, so that one connection terminal has priority over settings with no external memory and settings with external memory Or simultaneous processing. However, not limited to this example, the simultaneous processing may be selected only when the simultaneous processing mode is selected in advance. In this case, when the simultaneous processing mode is not selected, priority processing for giving priority to one connection terminal is executed. The simultaneous processing mode may be incorporated as system data in advance, or the simultaneous processing mode and the priority processing mode may be selected by input means such as a switch.
[0030]
【The invention's effect】
As is apparent from the above description, according to the first and second aspects of the present invention, a preset external device connection terminal is automatically selected without a user using a plurality of external device connection terminals with a switch. . Therefore, it is possible to omit the trouble of specifying the external device to be used, and to remove the switch from the substrate on which the external device connection terminals are provided, thereby increasing the degree of freedom in layout on the substrate and reducing the cost by reducing the size of the substrate. Is also fulfilled.
[0031]
According to the third aspect of the present invention, by ensuring a sufficient storage capacity, information can be transmitted and received simultaneously through a plurality of external device connection terminals and processed. Therefore, when the external memory is provided and a sufficient storage capacity is secured, by setting the external memory to be removed, the processing by the priority connection means can be automatically performed. On the other hand, when an external memory is added, the priority connection means is invalidated and simultaneous processing becomes possible.
[0032]
As described above, according to the present invention, when a plurality of external device connection terminals are provided, it is possible to reduce the number of switch operations by the user and eliminate complexity.
[Brief description of the drawings]
FIG. 1 is a side view of an electronic piano according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a main configuration of the electronic piano according to the embodiment of the present invention.
FIG. 3 is a diagram illustrating a processing example of MIDI information when priority connection is established;
FIG. 4 is a block diagram showing a main configuration of an electronic piano according to a modification.
FIG. 5 is a block diagram showing a back blade configuration of an electronic piano according to another modification.
FIG. 6 is a flowchart of a memory check.
FIG. 7 is a flowchart of a terminal selection process.
FIG. 8 is a side view of an electronic piano according to the related art.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Electronic piano, 2 ... Jack board, 3 ... MIDI terminal, 5 ... USB terminal, 13 ... Host microcomputer, 14 ... Keyboard, 15 ... Operation panel, 16 ... Sound source device, 17 ... DSP, 18 ... D / A Converter, 21 ... one-chip microcomputer, 22 ... selector

Claims (3)

互いに異なるフォーマットで情報の双方向転送が可能な複数の接続端子と、
前記接続端子のうち、予定の接続端子に外部機器が接続されたことを検出する手段と、
前記予定の接続端子に外部機器が接続されたことを検出した場合に、該接続端子に接続された外部機器との通信を可能にし、その他の接続端子に接続された外部機器との通信を不可にする優先接続手段とを具備したことを特徴とする外部機器接続端子付き電子楽器。
A plurality of connection terminals capable of bidirectional transfer of information in mutually different formats,
Means for detecting that an external device is connected to a predetermined connection terminal among the connection terminals,
When detecting that an external device is connected to the scheduled connection terminal, communication with the external device connected to the connection terminal is enabled, and communication with the external device connected to other connection terminals is disabled. An electronic musical instrument with an external device connection terminal, characterized by comprising priority connection means.
前記外部機器との通信を不可にするに際して、その時点で既に送信した情報をリセットするためのデータを出力することを特徴とする請求項1記載の外部機器接続端子付き電子楽器。2. The electronic musical instrument with an external device connection terminal according to claim 1, wherein when disabling communication with the external device, data for resetting information already transmitted at that time is output. 前記複数の接続端子を介して転送された情報を記憶する記憶手段と、
前記記憶手段の容量が前記情報を同時に記憶するのに十分であるかどうかを判断する記憶容量検出手段と、
前記記憶手段の記憶容量が前記複数の接続端子を介して転送された情報を同時に記憶するのに十分であると判断された場合に、前記優先接続手段を無効にし、前記複数の接続端子を介して転送された情報を前記記憶手段で同時に受け付けて処理することを特徴とする請求項1または2記載の外部機器接続端子付き電子楽器。
Storage means for storing information transferred through the plurality of connection terminals,
Storage capacity detection means for determining whether the capacity of the storage means is sufficient to simultaneously store the information,
If it is determined that the storage capacity of the storage means is sufficient to simultaneously store the information transferred through the plurality of connection terminals, the priority connection means is disabled, and the connection via the plurality of connection terminals is disabled. 3. The electronic musical instrument with an external device connection terminal according to claim 1, wherein the information transferred by the storage unit is simultaneously received and processed by the storage unit.
JP2002296609A 2002-10-09 2002-10-09 Electronic musical instrument with terminal for connection to external instrument terminal Pending JP2004133135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002296609A JP2004133135A (en) 2002-10-09 2002-10-09 Electronic musical instrument with terminal for connection to external instrument terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002296609A JP2004133135A (en) 2002-10-09 2002-10-09 Electronic musical instrument with terminal for connection to external instrument terminal

Publications (1)

Publication Number Publication Date
JP2004133135A true JP2004133135A (en) 2004-04-30

Family

ID=32286539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002296609A Pending JP2004133135A (en) 2002-10-09 2002-10-09 Electronic musical instrument with terminal for connection to external instrument terminal

Country Status (1)

Country Link
JP (1) JP2004133135A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316266A (en) * 2006-05-25 2007-12-06 Yamaha Corp Electronic musical device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316266A (en) * 2006-05-25 2007-12-06 Yamaha Corp Electronic musical device

Similar Documents

Publication Publication Date Title
US7130656B2 (en) Automotive information system and method of controlling the same, recording medium storing control program, disk playback apparatus, and semiconductor integrated circuit
US6516359B1 (en) Information processing method and apparatus, automotive information system and method of controlling the same, and storage medium on which an information processing program is stored
US20120204704A1 (en) Electronic drum kit and module for a tablet computing device
KR900011493A (en) Electronic Gaming Apparatus with the Ability to Generate Pseudo-Stereo Sounds
US20040122543A1 (en) Method of selecting a frequency band of an output audio signal by a computer
US20040168565A1 (en) Method and apparatus for reproducing digital data in a portable device
JP2005341111A (en) Information processor
US6654839B1 (en) Interrupt controller, asic, and electronic equipment
EP0950570A2 (en) Automotive information system, automotive computer system, and method of controlling the automotive information system
JP2004133135A (en) Electronic musical instrument with terminal for connection to external instrument terminal
GB2409788A (en) Mobile terminal with accessory functions support
JP3896810B2 (en) Control equipment
KR0184034B1 (en) Apparatus and method for reinforcing sound of a portable computer
JP5229990B2 (en) 1-chip electronic musical tone generator
JP3528279B2 (en) Sound source device
EP1696313B1 (en) An audio signal switching apparatus
US20220392424A1 (en) Virtual drum kit device
US5900569A (en) Music playing data fetch circuit
JP3176995B2 (en) Performance information processing apparatus and performance information processing system
JPH06195066A (en) Electronic musical instrument
KR100716307B1 (en) Portable terminal and method for servicing multi button voice for portable terminal
JP2023092596A (en) Information processor, electronic musical instrument, pitch picking-out system, method, and program
JPH0944152A (en) Power source system for electronic musical instrument
JP5229993B2 (en) 1-chip electronic musical tone generator
JPH10282968A (en) On-vehicle sound device