JPH0476750A - Data communication terminal equipment and data communication system - Google Patents

Data communication terminal equipment and data communication system

Info

Publication number
JPH0476750A
JPH0476750A JP2191084A JP19108490A JPH0476750A JP H0476750 A JPH0476750 A JP H0476750A JP 2191084 A JP2191084 A JP 2191084A JP 19108490 A JP19108490 A JP 19108490A JP H0476750 A JPH0476750 A JP H0476750A
Authority
JP
Japan
Prior art keywords
program
data communication
data
performance
communication terminal
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
JP2191084A
Other languages
Japanese (ja)
Inventor
Tsutomu Saito
勉 斎藤
Akira Yoyogi
代々城 晃
Mikio Takemura
竹村 幹男
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.)
JAPAN INSTR KK
Hitachi Microcomputer System Ltd
Original Assignee
JAPAN INSTR KK
Hitachi Microcomputer Engineering 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 JAPAN INSTR KK, Hitachi Microcomputer Engineering Ltd filed Critical JAPAN INSTR KK
Priority to JP2191084A priority Critical patent/JPH0476750A/en
Publication of JPH0476750A publication Critical patent/JPH0476750A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Electrophonic Musical Instruments (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PURPOSE:To efficiently change an operation program for a data communication terminal equipment by receiving the operation program for executing a specific function from a host device in accordance with the operation program included in the data communication terminal equipment for controlling I/O and communication and storing the received program in a storage means. CONSTITUTION:An automatic playing control device 4 for controlling I/O and communication receives the operation program for executing the specific function from the host device 2 in accordance with the operation program stored in a program ROM and stores the received program in a RAM to execute automatic playing control. In the case of changing a sound source module 1 in a playing terminal or increasing the version of a program, labor for individually setting up the program ROM 11 in the device 4 in each time can be saved. Consequently, the operation program of the device 4 can be efficiently executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ通信端末装置並びにこれを複数個含む
データ通信システムに係り、特にデータ通信端末装置の
ための特定動作プログラムの変更若しくはバージョンア
ップへの対応技術に関するものであり、例えばシンセサ
イザなどの電子楽器を自動演奏するための自動演奏制御
装置並びにそれを用いた自動演奏システムに適用して有
効な技術に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a data communication terminal device and a data communication system including a plurality of the devices, and in particular to a change or version upgrade of a specific operation program for the data communication terminal device. For example, it relates to a technology that is effective when applied to an automatic performance control device for automatically playing an electronic musical instrument such as a synthesizer, and an automatic performance system using the same.

〔従来の技術〕[Conventional technology]

シンセサイザなどの電子楽器の外部インタフェースは一
般的にMIDI (ミュージカル・インストルメント・
ディジタル・インタフェース)と呼ばれる規格に従って
おり、電子楽器をコンピュータと接続して演奏する場合
には、コンピュータから送られてくる楽譜データを前記
MIDI規格のデータフォーマットに従って演奏データ
 (メツセージ)を作成し、これを所定の手順で電子楽
器の音源発生回路に送るためのシーケンサを介在させる
ことになる。
The external interface for electronic musical instruments such as synthesizers is generally MIDI (musical instrument).
When an electronic musical instrument is connected to a computer for performance, musical score data sent from the computer is created into performance data (messages) according to the data format of the MIDI standard. A sequencer is interposed to send the information to the sound source generation circuit of the electronic musical instrument according to a predetermined procedure.

本発明者はシーケンサに音源発生回路を接続した電子楽
器を複数個の演奏端末として、これらをコンピュータに
接続して自動演奏を行うシステムについて検討した。こ
のシステムは、演奏端末としての電子楽器側から曲目を
選択してホスト装置としてのコンピュータに送り、これ
を受付けたコンピュータが該当する楽譜データをシーケ
ンサに送り、シーケンサはこれをMIDI規格のデータ
フォーマットに従った演奏データに変換して、電子楽器
に送ることにより自動演奏を達成するものである。
The present inventor has studied a system in which a plurality of performance terminals are electronic musical instruments each having a sequencer connected to a sound source generating circuit, and these are connected to a computer for automatic performance. This system selects a piece of music from an electronic musical instrument as a performance terminal and sends it to a computer as a host device.The computer that receives the selection sends the corresponding score data to a sequencer, which converts it into a MIDI standard data format. Automatic performance is achieved by converting the performance data into compliant performance data and sending it to the electronic musical instrument.

尚、MIDI規格並びにそれを適用するハードウェアに
ついて記載された文献の例としては1MIDI規格協議
会発行(1983年8月5日)のrM I D I規格
Document  No、MIDI−1,OJがある
An example of a document describing the MIDI standard and the hardware to which it is applied is 1 MIDI Standard Document No. MIDI-1, OJ published by the MIDI Standards Council (August 5, 1983).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記自動演奏システムにおいて、演奏端末はホスト装置
から送られてくる楽譜データをその音源発生回路に対応
してMIDI規格のデータフォーマットに変換しなけれ
ばならないため、演奏端末に接続される音源モジュール
などの音源発生回路の種類が変更された場合には、演奏
端末特にシーケンサの動作プログラムを変更する必要が
ある。
In the above automatic performance system, the performance terminal must convert the musical score data sent from the host device into a MIDI standard data format corresponding to the sound source generation circuit, so the performance terminal must convert the musical score data sent from the host device into a MIDI standard data format, When the type of sound source generation circuit is changed, it is necessary to change the operating program of the performance terminal, especially the sequencer.

このような動作プログラムの変更はプログラムのバージ
ョンアップなどにも必要になる。しかしながら、従来の
シーケンサはそれに接続される単一若しくは複数個の音
源発生回路を想定してその動作プログラムがROM (
リード・オンリ・メモリ)で提供されているため、音源
発生回路の変更やプログラムバージョンの変更の度にプ
ログラムROMを差替なければならず、ユーザともども
そのための対応に手間がかかる上に、対応も遅くなると
いう問題点があった。このようなことは自動演奏システ
ム固有の問題だけではなく、ホスト装置から情報を受け
て処理する種々の通信端末装置にもあてはまる事柄であ
る。
Such changes in the operating program are also required for program version upgrades. However, the conventional sequencer assumes that a single or multiple sound source generation circuits are connected to it, and its operation program is stored in ROM (
Because it is provided as a read-only memory (read-only memory), the program ROM must be replaced every time the sound source generation circuit or program version is changed, which requires time and effort for both the user and the user. The problem was that it was slow. This problem is not only unique to automatic performance systems, but also applies to various communication terminal devices that receive and process information from a host device.

本発明の目的は、データ通信端末装置に対する動作プロ
グラムの変更を能率的に行うことができるようにしたデ
ータ通信端末装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data communication terminal device that enables efficient modification of an operating program for the data communication terminal device.

また、本発明の別の目的は、データ通信端末装置に対す
る動作プログラムを能率的に変更することができると共
に、動作プログラムの変更やバージョンアップに伴う各
データ通信端末の管理を容易且つ正確に行うことができ
るデータ通信システムを提供することにある。
Another object of the present invention is to be able to efficiently change the operating program for a data communication terminal device, and to easily and accurately manage each data communication terminal as the operating program is changed or upgraded. The goal is to provide a data communication system that allows

本発明の前記並びにその他の目的と新規な特徴は本明細
書の記述並びに添付図面から明らかになるであろう。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

〔課題を解決するための手段〕[Means to solve the problem]

本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば下記の通りである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、プログラム制御によって動作し、通信回線を
介してホスト装置に接続されるデータ通信端末装置にお
いて、入出力及び通信制御のために保有する動作プログ
ラムに従って、特定機能を実行するための動作プログラ
ムをホスト装置から受信して書換え可能に保有する記憶
手段を設けたものである。
In other words, in a data communication terminal device that operates under program control and is connected to a host device via a communication line, an operating program for executing a specific function is hosted in accordance with an operating program held for input/output and communication control. It is provided with a storage means that receives information from the device and stores it in a rewritable manner.

このデータ通信端末装置は複数個が通信回線を介してホ
スト装置に接続されることにより、データ通信システム
を構成する。このとき、前記ホスト装置は、データ通信
端末装置に特定機能を実行させるための複数種類の動作
プログラムを格納したプログラムファイルと、このプロ
グラムファイルに含まれるプログラムと複数個のデータ
通信端末装置とを関連付ける管理ファイルを有し、通信
端末装置からのプログラムダウンロード要求に従って要
求元端末装置に対応する動作プログラムを選択して送信
するように構成することができる。
A plurality of data communication terminal devices are connected to a host device via a communication line to constitute a data communication system. At this time, the host device associates a program file storing a plurality of types of operation programs for causing a data communication terminal device to execute a specific function, and a program included in this program file with a plurality of data communication terminal devices. It can be configured to have a management file and to select and transmit an operating program corresponding to a request source terminal device in accordance with a program download request from a communication terminal device.

また、自動演奏システムにおいて前記端末装置は。Further, in the automatic performance system, the terminal device is:

順次送られてくる演奏データに従って音の発生/停止を
行いながら楽譜データに応する演奏を行う音源発性手段
に接続可能にされていて、楽譜データを前記音源発生手
段のための所定フォーマットを持つ演奏データに加工し
て当該音源発生手段に与える演奏制御装置として構成す
ることができる。
It is connectable to a sound source generating means that performs a performance corresponding to the musical score data while generating and stopping sounds according to performance data that are sequentially sent, and the musical score data has a predetermined format for the sound source generating means. It can be configured as a performance control device that processes performance data and provides it to the sound source generating means.

このとき、演奏制御装置は前記楽譜データを前記ホスト
装置から受信することができる。
At this time, the performance control device can receive the musical score data from the host device.

〔作 用〕[For production]

上記した手段よれば、入出力及び通信制御のためにデー
タ通信端末装置が保有する動作プログラムに従って、特
定機能を実行するための動作プログラムをホスト装置か
ら受信して記憶手段をに保持することは1個々の通信端
末装置のプログラムメモリを個別的に差換える手間を省
き、データ通信端末装置に対する動作プログラムの変更
を能率化するように作用する。
According to the above-mentioned means, it is possible to receive an operation program for executing a specific function from the host device and store it in the storage means according to the operation program held by the data communication terminal device for input/output and communication control. This eliminates the trouble of individually replacing the program memory of each communication terminal device, and acts to streamline changing the operating program for the data communication terminal device.

斯る一部の動作プログラム転送制御をシステムのホスト
装置が行うことは、動作プログラムの変更やバージョン
アップに伴う各種データ通信端末装置の管理を容易且つ
正確に行うことを可能にする。
Having the host device of the system control the transfer of some of the operating programs makes it possible to easily and accurately manage various data communication terminal devices as the operating programs are changed or upgraded.

〔実 施 例〕〔Example〕

第1図には本発明の一実施例に係る自動演奏システムが
示される。
FIG. 1 shows an automatic performance system according to an embodiment of the present invention.

同図において1は順次送信されてくる演奏データに従っ
て楽譜データに応する演奏を行うリズムマシンなどの音
源モジュール、2は楽譜データを送信するホストコンピ
ュータ3などを含むホスト装置、4は前記ホスト装置2
から与えられる楽譜データを受は取り、これを前記音源
モジュール1のための所定フォーマット例えばMIDI
規格に対応するデータフォーマット(以下単にMIDI
データフォーマットとも記す)を持つ演奏データに加工
して送信する自動演奏制御装置である。前記自動演奏制
御装置4とホスト族[2はモデム5゜6を通して公衆回
線7で接続され、楽譜データ以外の制御データや信号の
やりとりも行われる。尚、ホスト装置2は、特に制限さ
れないが、図示しないその他の演奏端末にも接続されて
いる。本実施例において前記演奏端末は、音源モジュー
ル1と自動演奏制御装置4を含む。
In the figure, reference numeral 1 denotes a sound source module such as a rhythm machine that performs a performance according to musical score data according to performance data that is sequentially transmitted; 2 a host device including a host computer 3 that transmits musical score data; and 4 the host device 2.
The receiver receives musical score data given from
Data format compatible with the standard (hereinafter simply referred to as MIDI)
This is an automatic performance control device that processes and transmits performance data in a format (also referred to as data format). The automatic performance control device 4 and the host family [2 are connected via a public line 7 through a modem 5.6, and control data and signals other than musical score data are exchanged. Note that the host device 2 is also connected to other performance terminals (not shown), although this is not particularly limited. In this embodiment, the performance terminal includes a sound source module 1 and an automatic performance control device 4.

前記ホスト装置2は、各種楽譜データを保有する楽譜デ
ータファイルDFや自動演奏制御装置4にダウンロード
するプログラムファイルPFI〜PFn、そして夫々の
演奏端末に対する通信制御情報やプログラムファイルの
管理情報などの制御情報を保有する端末管理ファイルC
Fを備える。
The host device 2 stores a score data file DF containing various score data, program files PFI to PFn to be downloaded to the automatic performance control device 4, and control information such as communication control information and program file management information for each performance terminal. Terminal management file C that holds
Equipped with F.

前記自動演奏制御装置4は、特に制限されないが、1チ
ツプ化されたシングルチップマイクロコンピュータ10
と、その動作プログラムを保有するプログラムROM 
(リード・オンリ・メモリ)11と、シングルチップマ
イクロコンピュータ10の作業領域並びに情報記憶領域
とされるRAM(ランダム・アクセス・メモリ)12な
どを含む。
The automatic performance control device 4 may include, but is not limited to, a single-chip microcomputer 10.
and a program ROM that holds its operating program.
(read-only memory) 11, and a RAM (random access memory) 12 which serves as a work area and an information storage area of the single-chip microcomputer 10.

前記RAM12には、ホスト族!2から受信した楽譜デ
ータを一時的に保持する複数面分のデータバッファDB
UFと、前記データバッファDBUFのライトアドレス
ポインタWAP及びリードアドレスポインタRAP、そ
してシングルチップマイクロコンピュータ10の一部の
動作プログラムを書換え可能に保持するプログラム格納
領域PREが割り当てられている5 前記シングルチップマイクロコンピュータ10は、中央
処理装置(以下単にCPUとも記す)14を中心に、音
源モジュール1に接続されるシリアルコミュニケーショ
ンインタフェース(以下単にSCIとも記す)15、モ
デム6に接続される5CI6、タイマカウンタ17、割
込みコントローラ18、外部のRAM12やプログラム
ROM11などに接続されるバスインタフェース19、
曲目選択などを行うための入出力装置20に接続される
5CI21などを1個の半導体基板に備えて成る。尚、
22は外部バス、23は内部バスである。
The RAM 12 contains the host group! A data buffer DB for multiple pages that temporarily holds the score data received from 2.
UF, a write address pointer WAP and a read address pointer RAP of the data buffer DBUF, and a program storage area PRE that rewritably holds a part of the operating program of the single-chip microcomputer 10 are allocated. The computer 10 includes a central processing unit (hereinafter simply referred to as CPU) 14, a serial communication interface (hereinafter simply referred to as SCI) 15 connected to the sound source module 1, a 5CI 6 connected to the modem 6, a timer counter 17, An interrupt controller 18, a bus interface 19 connected to external RAM 12, program ROM 11, etc.
A single semiconductor substrate is provided with a 5CI 21 connected to an input/output device 20 for selecting a music program, etc. still,
22 is an external bus, and 23 is an internal bus.

ここで、楽譜データは楽曲を構成する個々の音階やその
発生時間並びに強弱などを指定する情報を含んでいる。
Here, the musical score data includes information specifying the individual scales composing the music, their occurrence times, dynamics, and the like.

これに基づいて自動演奏制御装置4が生成する演奏デー
タはMIDIデータフォーマットに準拠し、演奏データ
の一例であるボイスメツセージ24(第3図参照)は音
源の発生/停止を指示するノート・オン/オフコード、
音源の種別例えば鍵盤におけるキーの種別を意味するノ
ート・コード、並びに音の強弱などを指示するタッチ・
コードなどを含む。例えば鍵盤の1キーを押したときの
音に応するボイスメツセージは音の発生を指示するノー
ト・オン・ボイスメツセージとその発生停止を指示する
ノート・オフ・ボイスメツセージから成り、その音の発
生時間Tは、音源モジュールがノート・オン・ボイスメ
ツセージを受は取ってからノート・オフ・ボイスメツセ
ージを受は取るまでの時間とされる。この時間やボイス
メツセージに含むべき情報は楽譜データに含まれ、これ
をCPU14がその動作プログラムに従ってMIDIデ
ータフォーマットに変換して音源モジュール1に送信す
ることにより、音源モジュール1の自動演奏を行う。
The performance data generated by the automatic performance control device 4 based on this conforms to the MIDI data format, and the voice message 24 (see Figure 3), which is an example of the performance data, is a note-on/stop message that instructs the generation/stop of the sound source. off code,
Type of sound source For example, note chords, which indicate the type of keys on a keyboard, and touch chords, which indicate the strength of the sound, etc.
Including code etc. For example, the voice message that corresponds to the sound when a key is pressed on a keyboard consists of a note-on voice message that instructs the generation of the sound, a note-off voice message that instructs the generation of the sound to stop, and a note-off voice message that instructs the generation of the sound. T is the time from when the sound source module receives a note-on voice message to when it receives a note-off voice message. This time and information to be included in the voice message are included in the musical score data, and the CPU 14 converts this into a MIDI data format according to its operating program and transmits it to the tone generator module 1, thereby causing the tone generator module 1 to perform automatically.

CPU14が上記楽譜データをMIDIデータフォーマ
ットの演奏データに変換するための動作プログラムは前
記RAM12のプログラム格納領域PREに保持されて
いて、ホスト装置2から転送される。プログラムROM
IIが保有するCPU14の動作プログラムはホスト装
置2との間での通信制御並びに5C115,16,21
やバスインタフェース19を介する入出力制御のための
動作プログラムとされる。
An operation program for the CPU 14 to convert the musical score data into performance data in the MIDI data format is held in the program storage area PRE of the RAM 12 and transferred from the host device 2. Program ROM
The operating program of the CPU 14 owned by the II is for communication control with the host device 2 and 5C115, 16, 21.
This is an operating program for input/output control via the bus interface 19.

ホスト装置2から自動演奏端末装置4にダウンロードさ
れるべき動作プログラム(以下単にダウンロード用プロ
グラムモジュールとも記す)は前記プログラムファイル
PFI〜PFnに格納されている。このダウンロード用
プログラムモジュールは、音源モジュールの種類やプロ
グラムバージョン毎に区別されて、対応するプログラム
ファイルPFI〜PFnに格納されている。そして、各
種演奏端末に含まれる夫々の自動演奏制御装置4がどの
音源モジュールを利用するか、そしてダウンロード用プ
ログラムモジュールの現在のバージョンがどれかなどの
管理情報は、個々の演奏端末毎にその端末識別番号をイ
ンデックスとして端末管理ファイルCFで管理れている
Operation programs to be downloaded from the host device 2 to the automatic performance terminal device 4 (hereinafter simply referred to as download program modules) are stored in the program files PFI to PFn. These download program modules are stored in corresponding program files PFI to PFn, distinguished by type of sound source module and program version. Management information such as which sound source module is used by each automatic performance control device 4 included in each performance terminal and the current version of the download program module is stored for each performance terminal. It is managed in the terminal management file CF using the identification number as an index.

第2図にはダウンロード用プログラムモジュールの転送
制御処理手順の一例が示されている。
FIG. 2 shows an example of a transfer control processing procedure for a download program module.

例えば自動演奏制御装置4のイニシャライズ動作におい
て、自動演奏制御装置4はプログラムROM11の動作
プログラムに従って自分の端末番号とダウンロード用プ
ログラムモジュールの転送要求をホスト装置2に与える
。ホスト装置2がその要求を受は付けると、その端末番
号に該当する管理情報を端末管理ファイルCFから検索
し、検索された管理情報に基づいて当該演奏端末のプロ
グラムバージョンや音源モジュールに対応するダウンロ
ード用プログラムモジュールをプログラムファイルPF
I〜PFnから検索し、これを転送要求元の演奏端末に
送信する。演奏端末は、送信されてくるダウンロード用
プログラムを受信して、同プログラムをRAM12のプ
ログラム格納領域PREに格納する。これにより、入出
力装置20などで曲目を指定してホスト装W2に与える
と、自動演奏端末装置4は、これに応じて転送されてく
る楽譜データをそのRAM12が保有する動作プログラ
ムに従ってMIDIデータフォーマットの演奏データに
変換して、音源モジュール1に送信することにより、音
源モジュール1はその種類や動作プログラムバージョン
に従って自動演奏を行う。ここで、演奏端末のバージョ
ンアップとは、動作プログラムのバグの修正、機能向上
、画像処理などの新たな機能追加など特定動作プログラ
ムの相互に連関する変更を意味する。
For example, in the initialization operation of the automatic performance control device 4, the automatic performance control device 4 provides its own terminal number and a request to transfer a download program module to the host device 2 according to the operating program of the program ROM 11. When the host device 2 accepts the request, it searches the terminal management file CF for management information corresponding to that terminal number, and downloads the program version and sound source module of the performance terminal based on the searched management information. Program module for program file PF
It searches from I to PFn and transmits it to the performance terminal that made the transfer request. The performance terminal receives the transmitted download program and stores the program in the program storage area PRE of the RAM 12. As a result, when the input/output device 20 or the like specifies a music piece and sends it to the host device W2, the automatic performance terminal device 4 formats the musical score data transferred in response to this into a MIDI data format according to the operating program held in its RAM 12. By converting the data into performance data and transmitting it to the sound source module 1, the sound source module 1 performs automatic performance according to its type and operating program version. Here, the version upgrade of the performance terminal refers to mutually related changes in the specific operating program, such as bug fixes in the operating program, functional improvements, and addition of new functions such as image processing.

また、前記自動演奏制御装置4は、音源モジュール1へ
の一連の演奏データの送信に並行してホスト装置2から
楽譜データの受信を行い得るように構成されている。第
4A図には自動演奏制御装置4による楽譜データの受信
制御処理手順が示され、第4B図には自動演奏制御装置
4による演奏制御処理手順が示される。双方の処理はと
もに割込みで行われ、割込み要求は割込みコントローラ
18からCPU14に与えられる。
Further, the automatic performance control device 4 is configured to be able to receive musical score data from the host device 2 in parallel with transmitting a series of performance data to the sound source module 1. FIG. 4A shows a musical score data reception control processing procedure by the automatic performance control device 4, and FIG. 4B shows a performance control processing procedure by the automatic performance control device 4. Both processes are performed by interrupts, and interrupt requests are given to the CPU 14 from the interrupt controller 18.

ホスト装置4からの楽譜データ送信要求に基づいて受信
割込みが受付けられると、CPU14は必要な状態の保
存を行った後、前記楽譜データバッファDBUFのライ
トアドレスポインタWAPを設定し、そのポインタWA
Pが指す領域に楽譜データを格納してから状態復帰を行
う。この受信割込み処理は、特に制限されないが、1度
の転送時間があまり長くなってその処理にCPU14が
長く占有されないように一定のデータ転送語数単位で行
うようにすることが望ましい。尚、音源モジュール側で
必要とされる楽譜データの曲目指定は入出力装置20を
介してホスト装置2に与えられており、ホスト装置2は
その指定に対応する楽譜データを送信する。
When a reception interrupt is accepted based on a score data transmission request from the host device 4, the CPU 14 saves the necessary state, sets the write address pointer WAP of the score data buffer DBUF, and writes the pointer WA.
After storing the musical score data in the area pointed to by P, the state is restored. This reception interrupt processing is not particularly limited, but it is desirable to perform it in units of a certain number of data transfer words so that the CPU 14 is not occupied for a long time due to one transfer time being too long. Note that the designation of the music score data required on the sound source module side is given to the host device 2 via the input/output device 20, and the host device 2 transmits the music score data corresponding to the designation.

演奏制御処理は所定間隔時間毎にタイマカウンタ17の
8力に基づくタイマ割込みとして発生され、最初にボイ
スメツセージの送信間隔時間を管理するタイマ値の更新
を行い、その値が楽譜データによって指定された時間に
到達していないときはそのままメインルーチンに復帰し
、該時間に到達している場合には、リードアドレスポイ
ンタRAPの指す楽譜データバッファDBUFから次の
楽譜データを取り出して、これをMIDIデータフォー
マットに変換し、次のボイスメツセージとして音源モジ
ュール1に送信処理する。
The performance control processing is generated as a timer interrupt based on the 8 outputs of the timer counter 17 at predetermined intervals.First, the timer value that manages the voice message transmission interval time is updated, and the value is specified by the musical score data. If the time has not yet been reached, the process returns to the main routine; if the time has been reached, the next score data is retrieved from the score data buffer DBUF pointed to by the read address pointer RAP, and converted into MIDI data format. , and transmits it to the sound source module 1 as the next voice message.

自動演奏制御装置4による楽譜データの受信制御処理は
演奏制御処理中にも受付は可能になっているが、途中で
演奏が中断されないようにするためには少なくとも演奏
中の全ての段階において未処理の楽譜データが楽譜デー
タバッファDBUFに残っていなければならないが、実
際の演奏時間に比べて楽譜データの転送時間は比較的短
くて済むため、例えば1曲分の楽譜データの転送が終了
された後に演奏処理を開始するようにしたり、或いはデ
ータバッファDBUFの格納データ語数が所定の語数以
上になってから演奏を開始するように制御すれば充分で
ある。さらに、演奏の待ち時間を極力短くしたいならば
、リードアドレスポインタRAPとライトアドレスポイ
ンタWAPの値をCPU14で管理し、楽譜データの格
納語数が臨界語数以上になったとき即座に演奏を開始す
るようにすればよい。尚、タイマ割込みと受信割込みが
競合したときは、高品位の演奏を保つためにタイマ割込
みを優先するとよい。
The automatic performance control device 4 can receive musical score data even during the performance control process, but in order to prevent the performance from being interrupted in the middle, it is necessary to leave the score data unprocessed at least at all stages during the performance. Although the musical score data must remain in the musical score data buffer DBUF, the transfer time of the musical score data is relatively short compared to the actual performance time, so for example, after the musical score data for one song has been transferred, It is sufficient to control the performance process to start, or to start the performance after the number of data words stored in the data buffer DBUF reaches a predetermined number or more. Furthermore, if you want to shorten the waiting time for performance as much as possible, the values of the read address pointer RAP and write address pointer WAP should be managed by the CPU 14, and the performance should be started immediately when the number of stored words of musical score data exceeds the critical number of words. Just do it. Note that when a timer interrupt and a reception interrupt conflict with each other, it is preferable to give priority to the timer interrupt in order to maintain high-quality performance.

上記実施例によれば以下の作用効果を得る。According to the above embodiment, the following effects are obtained.

(1)入出力及び通信制御のために自動演奏制御装置4
がROMIIに保有する動作プログラムに従って、特定
機能を実行するための動作プログラムをホスト族Wi2
から受信し、これをRAM12に保持して自動演奏制御
を行うから、演奏端末における音源モジュー1の変更や
プログラムのバージョンアップに際して、個々の自動演
奏制御装置のプログラムROMIIをその都度を個別的
に差換える手間を省くことができ、自動演奏制御装置4
に対する動作プログラムの変更を能率的に行うことがで
きる。
(1) Automatic performance control device 4 for input/output and communication control
In accordance with the operating program held in the ROMII, the operating program for executing a specific function is transferred to the host family Wi2.
Since this data is received from the computer and stored in the RAM 12 to perform automatic performance control, when changing the sound source module 1 in the performance terminal or upgrading the program version, the program ROMII of each automatic performance control device can be individually changed each time. Automatic performance control device 4
The operating program can be changed efficiently.

(2)この動作プログラム(ダウンロード用プログラム
)の転送制御をホスト装置2が一括集中管理することに
より、動作プログラムの変更やバージョンアップに伴う
演奏端末の管理を容易且つ正確に行うことができる。
(2) By centrally managing the transfer control of the operating program (download program) by the host device 2, it is possible to easily and accurately manage performance terminals in response to changes and version upgrades of the operating program.

(3)一連の演奏データの送信に並行して楽譜データの
受信を行うことができるから5曲の演奏途上で新たな曲
目の楽譜データを受信でき、また、複数の曲目を一括し
て選択する場合には、全ての曲目の楽譜データを受信す
るまで待たずに演奏を開始することができ、これにより
、曲目の選択から演奏開始までの時間を短縮することが
できる。
(3) Since it is possible to receive score data in parallel with the transmission of a series of performance data, it is possible to receive score data for a new song in the middle of playing five songs, and it is also possible to select multiple songs at once. In this case, the performance can be started without waiting until the musical score data of all the songs are received, and thereby the time from the selection of the songs to the start of the performance can be shortened.

(4)ノート・オン・ボイスメツセージとノート・オフ
・ボイスメツセージとの間隔時間は楽譜データの転送時
間に比べて比較的長いため、自動演奏制御袋W4による
楽譜データの受信制御処理と演奏制御処理の双方を割込
みで行うようにすることにより、演奏動作を乱すことな
く双方の並列的な処理を比較的簡単に行うことができる
(4) Since the interval time between note-on voice messages and note-off voice messages is relatively long compared to the transfer time of musical score data, automatic performance control bag W4 performs musical score data reception control processing and performance control processing. By performing both of these processes using an interrupt, it is possible to relatively easily process both processes in parallel without disturbing the musical performance.

以上本発明者によってなされた発明を実施例に基づいて
具体的に説明したが、本発明はそれに限定されるもので
はなく、その要旨を逸脱しない範囲において種々変更可
能である。
Although the invention made by the present inventor has been specifically explained based on examples, the present invention is not limited thereto, and can be modified in various ways without departing from the gist thereof.

例えば前記RAM12が揮発性である場合にはダウンロ
ード用プログラムは演奏端末のイニシャライズの度に転
送されなければならないが、これをバッテリーなどでバ
ックアップしたりメモリセルそれ自体を不揮発性にすれ
ばその動作プログラムの転送回数を減らすことができる
。演奏データのフォーマツは上記実施例に限定されず、
また、自動演奏装置に接続されるホスト装置は公衆回線
で接続されるシステム構成に限定されない。
For example, if the RAM 12 is volatile, the download program must be transferred every time the performance terminal is initialized, but if this is backed up with a battery or the memory cell itself is made non-volatile, the operating program can be transferred. The number of transfers can be reduced. The format of the performance data is not limited to the above embodiments,
Furthermore, the host device connected to the automatic performance device is not limited to a system configuration in which it is connected via a public line.

以上本発明者によってなされた発明をその背景となった
利用分野である自動演奏制御装置やそれを用いた自動演
奏システムに適用した場合について説明したが、本発明
はそれに限定されるものではなく、プログラム制御によ
って動作し、通信回線を介してホスト装置に接続される
データ通信端末装置やこれを含むデータ通信システムに
広く適用することができる。
Although the invention made by the present inventor is applied to an automatic performance control device and an automatic performance system using the same, which are the field of application that formed the background of the invention, the present invention is not limited thereto. The present invention can be widely applied to data communication terminal devices that operate under program control and are connected to a host device via a communication line, and data communication systems including the same.

〔発明の効果〕〔Effect of the invention〕

本願において開示された発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば下記の通りである。
A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows.

すなわち、入出力及び通信制御のためにデータ通信端末
装置が保有する動作プログラムに従って、特定機能を実
行するための動作プログラムをホスト装置から受信し、
受信したプログラムを記憶手段に保持してその特定動作
が可能にされることにより、個々の通信端末装置のハー
ドウェア変更に伴うプログラムの変更やプログラムのバ
ージョンアップに際して同プログラムメモリを個別的に
差換える手間を省くことができると共に、データ通信端
末装置に対する動作プログラムの変更を能率化すること
ができるという効果がある。
That is, according to the operating program held by the data communication terminal device for input/output and communication control, receiving an operating program for executing a specific function from the host device,
By retaining the received program in the storage means and enabling its specific operation, the program memory can be individually replaced when changing the program or upgrading the program due to hardware changes of individual communication terminal devices. This has the effect that it is possible to save time and effort, and to streamline the modification of the operating program for the data communication terminal device.

また、斯る一部の動作プログラム転送制御をシステムの
ホスト装置が行うことにより、動作プログラムの変更や
バージョンアップに伴う演奏端末の管理を容易且つ正確
に行うことができる。
Further, by having the host device of the system perform some of the operation program transfer control, it is possible to easily and accurately manage the performance terminals in response to changes and version upgrades of the operation programs.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例に係る自動演奏システムのブ
ロック図、 第2図はホスト装置から自動演奏制御装置に所定の動作
プログラムをダウンロードする処理のフローチャート、 第3図は演奏データの一例であるボイスメツセージの説
明図、 第4A図は楽譜データの受信制御処理フローチャート、 第4B図は楽譜データによる演奏制御処理フローチャー
トである。 1・・・音源モジュール、2・・・ホスト装置、3・・
・ホストコンピュータ、4・・・自動演奏制御装置、1
0・・シングルチップマイクロコンピュータ、llRO
M、12・・・RAM、PRE・・プログラム格納領域
、14・・・CPU、15,16・・・SCI、19・
・・バスインタフェース、CF・・・端末管理ファイル
、PFI〜PFn・・・プログラムファイル。 第 図 第 図 第 図 第 4A図 (慢そ却j郷)
FIG. 1 is a block diagram of an automatic performance system according to an embodiment of the present invention, FIG. 2 is a flowchart of a process for downloading a predetermined operation program from a host device to an automatic performance control device, and FIG. 3 is an example of performance data. FIG. 4A is a flowchart of reception control processing of musical score data, and FIG. 4B is a flowchart of performance control processing using musical score data. 1... Sound source module, 2... Host device, 3...
・Host computer, 4... Automatic performance control device, 1
0...Single chip microcomputer, llRO
M, 12...RAM, PRE...program storage area, 14...CPU, 15, 16...SCI, 19...
...Bus interface, CF...Terminal management file, PFI to PFn...Program file. Figure Figure Figure 4A (Hakusorej-go)

Claims (1)

【特許請求の範囲】 1、プログラム制御によって動作し、通信回線を介して
ホスト装置に接続されるデータ通信端末装置であって、 入出力及び通信制御のために保有する動作プログラムに
従って、特定機能を実行するための動作プログラムをホ
スト装置から受信して書換え可能に保有する記憶手段を
備えることを特徴とするデータ通信端末装置。 2、プログラム制御によって動作し、通信回線を介して
ホスト装置に接続されるデータ通信端末装置を複数個含
むデータ通信システムにおいて、前記データ通信端末装
置は、入出力及び通信制御のために保有する動作プログ
ラムに従って、特定機能を実行するための動作プログラ
ムをホスト装置から受信して書換え可能に保有する記憶
手段を備えることを特徴とするデータ通信システム。 3、前記ホスト装置は、データ通信端末装置に特定機能
を実行させるための複数種類の動作プログラムを格納し
たプログラムファイルと、このプログラムファイルに含
まれるプログラムと複数個のデータ通信端末装置とを関
連付けるための管理ファイルとを有し、データ通信端末
装置からのプログラムダウンロード要求に従って要求元
端末装置に対応する動作プログラムを選択して送信する
ようにされて成るものであることを特徴とする請求項2
記載のデータ通信システム。 4、前記データ通信端末装置は、順次送られてくる演奏
データに従って音の発生/停止を行いながら楽譜データ
に応する演奏を行う音源発生手段に接続可能にされてい
て、楽譜データを前記音源発生手段のための所定フォー
マットを持つ演奏データに加工して当該音源モジュール
に与える演奏制御装置であることを特徴とする請求項2
乃至3の何れか1項記載のデータ通信システム。 5、前記楽譜データを前記ホスト装置から受信するよう
にされて成る請求項4記載のデータ通信システム。
[Claims] 1. A data communication terminal device that operates under program control and is connected to a host device via a communication line, which performs specific functions according to an operating program held for input/output and communication control. 1. A data communication terminal device comprising storage means for receiving and rewritably storing an operating program to be executed from a host device. 2. In a data communication system including a plurality of data communication terminal devices that operate under program control and are connected to a host device via a communication line, the data communication terminal devices have operations for input/output and communication control. 1. A data communication system comprising storage means for receiving and rewritably storing an operation program for executing a specific function according to the program from a host device. 3. The host device associates a program file storing a plurality of types of operation programs for causing a data communication terminal device to execute a specific function, and a program included in this program file with a plurality of data communication terminal devices. and a management file, and is configured to select and transmit an operating program corresponding to a requesting terminal device in accordance with a program download request from a data communication terminal device.
The data communication system described. 4. The data communication terminal device is connectable to a sound source generating means that generates/stops sounds in accordance with sequentially sent performance data and performs a performance corresponding to the musical score data, and the data communication terminal device is configured to be connectable to a sound source generating means that performs a performance according to the musical score data while generating and stopping sounds according to performance data that is sequentially sent. Claim 2 characterized in that the performance control device is a performance control device that processes the performance data into a predetermined format for the device and provides the data to the sound source module.
4. The data communication system according to any one of 3 to 3. 5. The data communication system according to claim 4, wherein the musical score data is received from the host device.
JP2191084A 1990-07-19 1990-07-19 Data communication terminal equipment and data communication system Pending JPH0476750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2191084A JPH0476750A (en) 1990-07-19 1990-07-19 Data communication terminal equipment and data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2191084A JPH0476750A (en) 1990-07-19 1990-07-19 Data communication terminal equipment and data communication system

Publications (1)

Publication Number Publication Date
JPH0476750A true JPH0476750A (en) 1992-03-11

Family

ID=16268595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2191084A Pending JPH0476750A (en) 1990-07-19 1990-07-19 Data communication terminal equipment and data communication system

Country Status (1)

Country Link
JP (1) JPH0476750A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011123462A (en) * 2009-11-16 2011-06-23 Yamaha Corp Sound processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011123462A (en) * 2009-11-16 2011-06-23 Yamaha Corp Sound processing apparatus
US9460203B2 (en) 2009-11-16 2016-10-04 Yamaha Corporation Sound processing apparatus

Similar Documents

Publication Publication Date Title
US5442789A (en) System and method for efficiently loading and removing selected functions on digital signal processors without interrupting execution of other functions on the digital signal processors
US5833469A (en) Method of operating a karaoke network system with system program distribution and karaoke network system
US6140566A (en) Music tone generating method by waveform synthesis with advance parameter computation
US5804749A (en) Sound source chip having variable clock to optimize external memory access
JP2743726B2 (en) Electronic musical instrument
US6570082B2 (en) Tone color selection apparatus and method
US7279628B2 (en) Editing apparatus of setting information for electronic music apparatuses
US6274799B1 (en) Method of mapping waveforms to timbres in generation of musical forms
EP0531670B1 (en) Data transmission high-speed processing device
JPH0476750A (en) Data communication terminal equipment and data communication system
US5864082A (en) Tone synthesizing apparatus and method based on ensemble of arithmetic processor and dedicated tone generator device
US7030309B2 (en) Electronic musical apparatus and program for electronic music
JP3541718B2 (en) Music generator
JP3152198B2 (en) Music sound generation method and music sound generation device
JPH0477791A (en) Automatic play controller and automatic play system
KR20030087418A (en) Method for upgrading firmware using modem
JP3339372B2 (en) Storage medium storing program for realizing musical sound generating apparatus and musical sound generating method
JP3197620B2 (en) Performance information communication device
US7663050B2 (en) Automatic accompaniment apparatus, method of controlling the same, and program for implementing the method
JP3228394B2 (en) Electronic musical instrument
JP3026344B2 (en) Electronics
JPH05334162A (en) Data processing system
JPH02263231A (en) Control system for program product
JPH0944157A (en) Signal processor
US6772023B1 (en) Apparatus for tone control and recording medium of tone control program