JPH02265340A - Music information processing system - Google Patents

Music information processing system

Info

Publication number
JPH02265340A
JPH02265340A JP1086560A JP8656089A JPH02265340A JP H02265340 A JPH02265340 A JP H02265340A JP 1086560 A JP1086560 A JP 1086560A JP 8656089 A JP8656089 A JP 8656089A JP H02265340 A JPH02265340 A JP H02265340A
Authority
JP
Japan
Prior art keywords
packet
memory
cpu
music information
playback
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
JP1086560A
Other languages
Japanese (ja)
Inventor
Mioji Tsumura
津村 三百次
Shinnosuke Taniguchi
谷口 眞之輔
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP1086560A priority Critical patent/JPH02265340A/en
Publication of JPH02265340A publication Critical patent/JPH02265340A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reproduce music information processed into plural packets consecutively by dividing a CPU memory into plural number storing a packet and replacing a reception function and a reproduction function of each memory at each end of the reproduction of one packet so as to apply reception and reproduction processing in real time. CONSTITUTION:Music information is extracted from a database 1 by a request at a terminal equipment side, processed into a packet with a prescribed size by a packet switching exchange 2 and sent to a communication line 3. The packet is restored by a packet exchange 2, at the triennial equipment side and outputted to a terminal equipment 4 via a MODEM 9. The packet outputted to the terminal equipment 4 is stored in a memory 1 of the CPU 5 one by one packet each, and subject to reproduction processing by the CPU 5. The succeeding packet sent during that time is stored into another memory 2 of the CPU 5 receiving an interrupt signal. When the processing is finished, the CPU 5 restores to the reproduction processing of the memory having implemented and when the processing is finished, the packet stored in the other memory is subject to reproduction processing and the packet received succeedingly is stored in the memory 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、パケット化されたデジタルの音楽情報を伝
送・再生する際に途切れることなく処理が行えるように
した音楽情報処理システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a music information processing system that can perform processing without interruption when transmitting and reproducing packetized digital music information.

〔従来の技術〕[Conventional technology]

一般にパケット通信は、伝送されるデータの大きさを比
較的短いパケット単位に区切り、この各パケットにアド
レス情報や伝送制御情報を付し、これを1パケット単位
ごとに正しい順序で時分割的に伝送するようにしたもの
である。従って、通信回線を専有することがないので、
ユーザが回線をオフにするまで専有され続ける電話のよ
うな回線交換よりも使用効率が大幅に向上し、通信コス
トも小さ(て済む、また上記パケットに誤りの検出/訂
正情報も付加できるから、より正確にデータを伝送でき
る。この他、通信距離で決定されるデータの伝送料金の
遠近格差が通常の回線に比べて少なく、特に遠距離伝送
に有利である等々のメリットがあることから、近年、上
記パケット通信の利用率が高まっている。
In general, packet communication divides the size of data to be transmitted into relatively short packet units, attaches address information and transmission control information to each packet, and transmits each packet in the correct order in a time-sharing manner. It was designed to do so. Therefore, since the communication line is not monopolized,
It is much more efficient than switching circuits such as telephones, where the line remains occupied until the user turns it off, and the communication costs are lower.Also, error detection/correction information can be added to the packets. Data can be transmitted more accurately.In addition, the difference in data transmission charges determined by the communication distance is smaller than that of normal lines, which is especially advantageous for long-distance transmission. , the usage rate of the above packet communication is increasing.

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

しかしホストコンピュータにデータベースとしてデジタ
ル化した音楽情報が蓄積され、これをパケット通信によ
って伝送し、端末側でBGMとして利用する場合には、
適当な長さの再生時間毎に分けられたパケットによる必
要があるが、パケットの伝送時間に比べると、その信号
に基づいて音楽が再生される時間が長いので、受信と再
生との間にタイムラグが生じる。ところがパケットは常
時送り出されているので、これらを整合させることは技
術的に難しく、パケット通信で高音質の音楽再生を提供
するには、猶多くの解決すべき課題が残されていた。
However, when digitized music information is stored as a database on the host computer, transmitted via packet communication, and used as BGM on the terminal side,
It is necessary to use packets divided into playback times of appropriate length, but compared to the packet transmission time, the time it takes to play music based on the signal is long, so there is a time lag between reception and playback. occurs. However, since packets are constantly being sent out, it is technically difficult to match them, and many issues remain to be resolved in order to provide high-quality music playback using packet communications.

本発明は、パケットを格納するメモリを複数に分け、1
パケットの再生が終了する毎に各メモリの受信機能と再
生機能を入れ換えて受信と再生処理をリアルタイムで行
うことにより、複数のパケット化された音楽情報を連続
して再生するようにした処理システムを提供することを
目的とする。
In the present invention, the memory for storing packets is divided into multiple parts, and one
A processing system that can continuously play multiple packetized music information by swapping the reception function and playback function of each memory every time the playback of a packet is completed and performs reception and playback processing in real time. The purpose is to provide.

〔課題を解決するための手段〕 二進符号化した音楽情報を複数個にパケット化し、これ
らのパケットを通信回線で伝送し、パケット交換機によ
って上記各パケット信号を元の状態に復元して端末装置
のCPUに出力する音楽情報処理システムであって、上
記CPUのメモリをそれぞれ1パケットを記憶できる複
数のメモリに分割し、1つのメモリの再生と別のメモリ
の受信機能を割り込み信号によって交互に行うと共に、
順次上記各メモリの再生及び受信機能を切り換える手段
を採用した。
[Means for solving the problem] Binary-encoded music information is packetized into multiple pieces, these packets are transmitted over a communication line, each packet signal is restored to its original state by a packet switch, and then sent to a terminal device. A music information processing system that outputs data to a CPU, in which the memory of the CPU is divided into a plurality of memories each capable of storing one packet, and the playback function of one memory and the reception function of another memory are performed alternately by interrupt signals. With,
A means for sequentially switching the playback and reception functions of each of the above memories was adopted.

またパケット信号の受信時間よりも再生時間を長くし、
これらの時間差分をパケット送信の送出間隔とする手段
をも採用した。
In addition, the playback time is longer than the packet signal reception time,
We also adopted a method that uses these time differences as the packet transmission interval.

〔作 用〕[For production]

データベース化された音楽情報は、パケット交換機によ
って所定の大きさにパケット化され、−定の間隔で順次
伝送される。伝送されたパケットは端末側のパケット交
換機で元に復元された状態でCPUの1のメモリに格納
され、CPUで再生処理する。この間に送られてきた次
のパケットは、割り込み信号を受けたCPUによっても
う1つのメモリに格納される。この処理が終わるとCP
Uはそれまで行っていたメモリの再生処理に戻り、この
処理が終了すると、直ちにもう1つのメモリに格納され
たパケットを再生処理し、続いて受信するパケットを1
のメモリに格納する。このように2つのメモリを交互に
再生機能と受信機能に切替えることにより、数パケット
からなる一曲分の音楽情報を連続して再生処理する。
The music information in the database is packetized into a predetermined size by a packet switch and transmitted sequentially at predetermined intervals. The transmitted packets are restored to their original state by the packet switch on the terminal side and stored in the memory of CPU 1, and are reproduced by the CPU. The next packet sent during this time is stored in another memory by the CPU that received the interrupt signal. When this process is finished, CP
U returns to the memory playback process that was being performed up to that point, and when this process is finished, it immediately plays back the packet stored in the other memory, and then the received packet is
store in memory. By alternately switching the two memories to the playback function and the reception function in this way, music information for one song consisting of several packets is continuously played back.

〔実施例〕〔Example〕

以下、本発明の構成を図面に示す実施例に基づいて更に
具体的に述べると、1はBGM等の音楽情報を二進符号
化して蓄積されたデータベースを制御するホストコンピ
ュータ、2・2゛は上記ホストコンピュータ側と端末側
に設置されるパケット交換機(PAD)で、上記音楽情
報を約8にバイトのサイズにパケット化して通信回線3
に蔵出する一方、パケット化された音楽情報を端末装置
4に出力するものである。5は上記端末装置のCPUで
、上記パケットを格納するための2分割されたメモリ(
1)・(2)を備え、割り込み信号を受けて交互に上記
パケット信号の受信・再生機能に切り換わるものである
。6は出力装置で、上記CPU5で処理された音楽情報
は、アンプ7及びスピーカ8等で再生・演奏する。
Hereinafter, the configuration of the present invention will be described in more detail based on the embodiment shown in the drawings. 1 is a host computer that controls a database in which music information such as BGM is binary encoded and stored; 2 and 2 are A packet switching device (PAD) installed on the host computer side and the terminal side packetizes the music information into approximately 8 bytes in size and connects it to the communication line 3.
While the packetized music information is stored in the terminal device 4, it is also outputted to the terminal device 4. 5 is a CPU of the above-mentioned terminal device, and a memory divided into two for storing the above-mentioned packets (
1) and (2), and alternately switches to the packet signal reception/reproduction function upon receiving an interrupt signal. 6 is an output device, and the music information processed by the CPU 5 is reproduced and performed by an amplifier 7, a speaker 8, etc.

尚、図中9は通信速度2400bpsのモデムを示すが
、通信回線としてl5DNを利用する場合は、直接デジ
タル通信が行えるので、上記モデムに代えてインターフ
ェイスを用いる。
Note that 9 in the figure indicates a modem with a communication speed of 2400 bps, but when using 15DN as a communication line, direct digital communication can be performed, so an interface is used instead of the modem.

次に上記音楽情報処理システムの動作について述べる。Next, the operation of the music information processing system will be described.

上記音楽情報は、予めパケット化のためにフォーマット
された状態でデータベース化されており、このデータベ
ースから端末側の要求によって取り出され、パケット交
換機2でパケット化すると共に、各パケットにアドレス
情報や伝送制御情報等′をつけて通信回線3に送出する
。送出された上記パケットは、端末側のパケット交換機
2゛で元に復元された状態、即ちアドレス情報や伝送制
御情報を取り除いた状態でモデム9を介して端末装置4
に出力される。
The above-mentioned music information is preformatted for packetization into a database, and is extracted from this database at the request of the terminal side, and is packetized by the packet switch 2. Address information and transmission control are added to each packet. It is sent to the communication line 3 with information etc.' added thereto. The transmitted packet is restored to its original state by the packet switch 2 on the terminal side, that is, with address information and transmission control information removed, and then sent to the terminal device 4 via the modem 9.
is output to.

この端末装置4に出力されるパケットは、1バケラトづ
つCPU5のメモ1月1)に格納される。尚、1パケッ
トのサイズは固定されているので、予め規定された長さ
により1パケットを判定することができる。また格納さ
れたパケットが曲の先頭かどうかは、フォーマットの際
に設けられたパケットステータスの情報によって判定し
、もし先頭でない場合は再生を行わず、次のパケットの
受信待ちとなる。
The packets outputted to the terminal device 4 are stored one by one in the memo of the CPU 5. Note that since the size of one packet is fixed, one packet can be determined based on a predefined length. Whether the stored packet is at the beginning of the song is determined based on the packet status information provided at the time of formatting, and if it is not at the beginning, playback is not performed and the process waits for the next packet to be received.

一方、そのパケットが曲の先頭であると判定した場合は
、第1番目のパケットの音楽情報を再生処理するのであ
るが、この再生処理中にも次のパケットが送られて来る
ので、このパケットの受信と第1番目のパケットの再生
をリアルタイムで行う必要がある。そのため、データ受
信に際してモデム9が1バイト毎に割り込み要求信号を
出すこととし、上記CPU5がこの割り込み信号を受け
ると、第2番目のパケットを直ちにメモリ(2)に格納
し、格納場所に1を加算する。またこの処理が終わると
CPU5はそれまで行っていた再生処理に戻るという1
バイト毎の動作を繰り返す。この場合、割り込み信号を
メモリ(2)に格納している間は、メモ1月1)のパケ
ットの再生が中断されるが、8ビツトCPUでも1ミリ
sec以内で終了するので、聴覚上では音楽が途切れる
ことはな(、実際には殆ど影響がない。
On the other hand, if it is determined that the packet is the beginning of the song, the music information of the first packet is played back, but the next packet is sent even during this playback process, so this packet It is necessary to receive the first packet and reproduce the first packet in real time. Therefore, when receiving data, the modem 9 issues an interrupt request signal for each byte, and when the CPU 5 receives this interrupt signal, it immediately stores the second packet in the memory (2) and writes 1 to the storage location. to add. Also, when this process is finished, the CPU 5 returns to the playback process that was being performed up to that point.
Repeat the operation for each byte. In this case, while the interrupt signal is stored in the memory (2), the playback of the packet in Memo (January 1) is interrupted, but even with an 8-bit CPU, the playback ends within 1 millisecond, so the music does not sound audible. There is no interruption (in fact, there is almost no effect.

尚、1パケットの受信時間を約30秒前後に設定すると
、1曲が数パケットで構成される曲の場合は、1パケッ
トの再生時間が受信時間以上になるようにデータ制作上
のアレンジを施す。具体的には楽曲情報における「発音
開始後の周波数の変化」や「周波数変調」を多用しない
ことである。
If the reception time of one packet is set to around 30 seconds, if a song consists of several packets, the data production will be arranged so that the playback time of one packet is longer than the reception time. . Specifically, avoid making frequent use of "changes in frequency after the start of pronunciation" or "frequency modulation" in music information.

要するにパケットの受信と再生では、受信時間の方を再
生時間より短くしておく。
In short, when receiving and reproducing packets, the reception time is made shorter than the reproduction time.

上記メモ1月1)の再生が終了すると、直ちにメモリ(
2)に格納されたパケットをその先頭から再生し、次に
受信するパケットはメモリ(1)に格納する。このよう
にメモ1月1)とメモリ(2)を交互に再生機能と受信
機能に切替えて行くことにより、複数のパケットの音楽
情報を連続的に再生処理することができる。
As soon as the above memo (January 1) finishes playing, the memory (
The packet stored in 2) is played back from the beginning, and the next received packet is stored in memory (1). By alternately switching the memo (January 1) and the memory (2) to the playback function and the reception function in this way, music information of a plurality of packets can be continuously played back.

尚、パケット交換機2のパケット送出には一定の時間間
隔を設ける。これは送出間隔(待ち時間)を設けなかっ
た場合、上述したように再生時間は受信(送信)時間よ
りも長いため、受信・再生を順に繰り返して行くと、時
間差分だけ受信処理が先行してしまって再生中のメモリ
に新たな信号がセーブされることになり、必要な再生メ
モリが破壊され、処理に混乱が生じるからである。従っ
て再生時間よりも短い時間を待ち時間として送信間隔を
開ける必要がある。即ち、情報センタから送出されるパ
ケットの間隔と再生とは次の関係にある。
Note that the packet switching device 2 sends packets at fixed time intervals. This is because if a transmission interval (waiting time) is not set, the playback time will be longer than the reception (transmission) time as described above, so if reception and playback are repeated in order, the reception processing will precede by the time difference. This is because a new signal will be saved in the memory that is being played back, destroying the necessary playback memory and causing confusion in the processing. Therefore, it is necessary to set the transmission interval by using a time shorter than the playback time as a waiting time. That is, the interval between packets sent from the information center and reproduction have the following relationship.

Wt=T−受信時間 Wt:送出間隔 T :パケットに予め指定された再生時間このような時
間間隔を保ちつつ次の受信処理を行うこととすれば、再
生メモリの破壊は防止できる。また受信時間と再生時間
の差が大きければ大きい程、送信パケット数を多くする
ことができるのでBGMのマルチチャンネル化も可能で
ある。
Wt=T-Receiving time Wt: Transmission interval T: Playback time specified in advance for the packet If the next reception process is performed while maintaining such a time interval, destruction of the playback memory can be prevented. Furthermore, the greater the difference between the reception time and the playback time, the greater the number of packets to be transmitted, so it is possible to make BGM multi-channel.

尚、本実施例では、メモリを2分割としたが、これに限
らず、3分割、もしくはそれ以上でも可能であり、その
分メモリの機能に余裕ができる。
In this embodiment, the memory is divided into two parts, but the memory is not limited to this, and can be divided into three parts or more, and the function of the memory can be increased accordingly.

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

本発明の音楽情報処理システムは、パケットを格納する
CPUのメモリを交互に受信機能と再生機能に切り換え
て処理するようにしたものであるから、複数のパケット
の受信と再生を繰り返して処理してもタイムラグが生じ
ず、複数のパケットからなる音楽情報を途切れることな
く連続再生できる。
The music information processing system of the present invention processes the data by alternately switching the memory of the CPU that stores the packets between the reception function and the playback function. There is no time lag, and music information consisting of multiple packets can be played continuously without interruption.

従って本発明によれば、高音質のBGM等の音楽を提供
できる上、通信回線の使用効率の向上、特に遠距離通信
コストの抑制等々のパケット通信のメリットを最大限に
生かすことができるシステムを提供することが可能にな
る。
Therefore, according to the present invention, a system is provided that can not only provide music such as high-quality BGM, but also make maximum use of the advantages of packet communication, such as improving communication line usage efficiency and, in particular, reducing long-distance communication costs. It becomes possible to provide.

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

第1図は本発明システムの概略を示すブロック図である
。 尚、図中1・・・ホストコンピュータ、2・2”・・・
バケラト交換機、3・・・通信回線、4・・・端末装置
、・・・CPU、6・・・出力装置、9・・・モデム。 以
FIG. 1 is a block diagram showing an outline of the system of the present invention. In addition, in the figure 1... host computer, 2.2"...
Baquerato exchange, 3... communication line, 4... terminal device,... CPU, 6... output device, 9... modem. Below

Claims (1)

【特許請求の範囲】 1、二進符号化した音楽情報を複数個にパケット化し、
これらのパケットを通信回線で伝送し、パケット交換機
によって上記各パケット信号を元の状態に復元して端末
装置のCPUに出力する音楽情報処理システムにおいて
、上記CPUのメモリをそれぞれ1パケットを記憶でき
る複数のメモリに分割し、1つのメモリの再生と別のメ
モリの受信機能を割り込み信号によって交互に行うと共
に、順次上記各メモリの再生及び受信機能を切り換える
ことをを特徴とした音楽情報処理システム。 2、パケット信号の受信時間よりも再生時間を長くし、
これらの時間差分をパケット送信の送出間隔とした請求
項1記載の音楽情報処理システム。
[Claims] 1. Binary encoded music information is packetized into a plurality of pieces,
In a music information processing system that transmits these packets through a communication line, restores each packet signal to its original state using a packet switch, and outputs it to a CPU of a terminal device, the memory of the CPU is configured to have multiple memories each capable of storing one packet. 1. A music information processing system characterized in that the music information processing system is divided into two memories, alternately performs the playback function of one memory and the reception function of another memory by an interrupt signal, and sequentially switches the playback and reception functions of each of the memories. 2. Make the playback time longer than the packet signal reception time,
2. The music information processing system according to claim 1, wherein these time differences are used as packet transmission intervals.
JP1086560A 1989-04-05 1989-04-05 Music information processing system Pending JPH02265340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1086560A JPH02265340A (en) 1989-04-05 1989-04-05 Music information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1086560A JPH02265340A (en) 1989-04-05 1989-04-05 Music information processing system

Publications (1)

Publication Number Publication Date
JPH02265340A true JPH02265340A (en) 1990-10-30

Family

ID=13890400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1086560A Pending JPH02265340A (en) 1989-04-05 1989-04-05 Music information processing system

Country Status (1)

Country Link
JP (1) JPH02265340A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100394771B1 (en) * 1995-11-30 2003-11-28 야마하 가부시키가이샤 Information processing system and music information processing system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6017533A (en) * 1983-07-09 1985-01-29 Ricoh Co Ltd Double buffer switching control
JPS6158359A (en) * 1984-08-30 1986-03-25 Toshiba Corp Data transmission equipment
JPS64580A (en) * 1986-11-20 1989-01-05 Konica Corp Color image forming device
JPS6486193A (en) * 1987-09-29 1989-03-30 Hitachi Ltd Changeover control of double buffer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6017533A (en) * 1983-07-09 1985-01-29 Ricoh Co Ltd Double buffer switching control
JPS6158359A (en) * 1984-08-30 1986-03-25 Toshiba Corp Data transmission equipment
JPS64580A (en) * 1986-11-20 1989-01-05 Konica Corp Color image forming device
JPS6486193A (en) * 1987-09-29 1989-03-30 Hitachi Ltd Changeover control of double buffer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100394771B1 (en) * 1995-11-30 2003-11-28 야마하 가부시키가이샤 Information processing system and music information processing system and method

Similar Documents

Publication Publication Date Title
JP6290829B2 (en) Haptic effect data synchronization in media transport streams
JPH0773275B2 (en) A method for efficiently and simultaneously transmitting both isochronous and non-isochronous data in a computer network
CN108289232B (en) Control method of playing device, terminal device and storage medium
AU5248300A (en) Data transfer apparatus, data transfer system, and data transfer method with double buffering
KR100261984B1 (en) Data transmission high-speed processing device
JPH02265340A (en) Music information processing system
JP2767763B2 (en) Music transmission / reproduction system using public line
JPH01129626A (en) Selective call receiver
JP2008140434A (en) Digital audio device and its sample rate changing method
JPS6343200A (en) Voice storage apparatus
JP2709965B2 (en) Music transmission / reproduction system used for BGM reproduction
JPS5895490A (en) Key telephone device
JPS63296446A (en) Voice accumulating service system
JPS5840964A (en) Soundless controlling system
JPS5955643A (en) Inter-call receiver provided with receiving function of message
JP2003199198A (en) Microphone system integrated in computer network
JP2550690B2 (en) Voice packet transfer method
JPH0821019B2 (en) Data transfer method
JPS60178763A (en) Paging device
CN112187705A (en) Audio playing method and equipment
JPH05224700A (en) Speech file storage device
JPS6033749A (en) Selective calling receiver
JPH01226263A (en) Voice message reproducing method
JP2003173622A (en) Device and method for decoding coded audio data
JPH09102818A (en) Voice storing and reproducing device