JPH0368400B2 - - Google Patents

Info

Publication number
JPH0368400B2
JPH0368400B2 JP56149177A JP14917781A JPH0368400B2 JP H0368400 B2 JPH0368400 B2 JP H0368400B2 JP 56149177 A JP56149177 A JP 56149177A JP 14917781 A JP14917781 A JP 14917781A JP H0368400 B2 JPH0368400 B2 JP H0368400B2
Authority
JP
Japan
Prior art keywords
block
audio
silent
blocks
sound
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP56149177A
Other languages
Japanese (ja)
Other versions
JPS5850597A (en
Inventor
Takao Takeuchi
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP56149177A priority Critical patent/JPS5850597A/en
Publication of JPS5850597A publication Critical patent/JPS5850597A/en
Publication of JPH0368400B2 publication Critical patent/JPH0368400B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は、音声メール・サービス、音声出力サ
ービス等を提供する交換機における音声蓄積方法
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a voice storage method in an exchange that provides voice mail services, voice output services, and the like.

交換機は、従来任意の電話機間を即時的に接続
し、発呼者と被呼者の直接的な通話を提供するも
のであつた。しかし現実の場面においては、通話
したい相手が不在であつたり、他の電話機で話し
ていたり、また相手先の電話機そのものが話中で
あるために一度では用件の済まないことがある。
特にビジネス通信においてこの問題は重要であ
り、所望の相手と首尾よく通話ができる確率は30
%程度という調査報告もある。また通話のなかに
は、相手を電話口まで呼び出して直接話す必要が
あるほど複雑あるいは緊急ではないものも多い。
そこで交換機に音声蓄積装置を設置し、相手が不
在あるいは話中である場合、また直接話すまでも
ない程度の内容である場合には、メツセージを音
声で蓄積し、希望の時刻に交換機が発信人に代わ
つて相手先にそのメツセージを届けたり、あるい
は相手先の都合のよい時刻にそのメツセージを聞
きに来てもらうようなサービスを提供することが
期待される。これは音声メール・サービスと呼ば
れるもので、今後の交換機が具備すべき重要なサ
ービス機能のひとつと考えられる。
Traditionally, switchboards have provided instantaneous connections between arbitrary telephone sets, providing direct communication between callers and called parties. However, in real situations, the person you want to talk to may be absent, or may be talking on another telephone, or the other party's telephone may be busy, so you may not be able to complete the task in one go.
This problem is particularly important in business communications, where the probability of successfully communicating with the desired party is 30.
There are also research reports that show that it is about %. Additionally, many calls are not complex or urgent enough to require the caller to come up to the telephone and speak directly.
Therefore, a voice storage device is installed in the exchange, and when the other party is absent or busy, or the message does not need to be spoken directly, the message is stored as voice, and the exchange sends the message back to the caller at the desired time. It is expected that a service will be provided that will deliver the message to the other party on behalf of the other party, or have the other party come and listen to the message at a time convenient for the other party. This is called a voice mail service, and is considered to be one of the important service functions that future exchanges should have.

また従来交換機から通話者に対して呼の進行状
況等を知らせるためには、ダイアル・トーン、ビ
ジー・トーン等のトーン信号が用いられて来た。
しかし今後交換機の機能、サービスが高度化する
に従つて、交換機から通話者に対して知らせるべ
き、あるいは知らせたら便利な情報の種類は急速
に増大すると考えられ、それらをトーン信号のみ
で識別することは極めて困難になる。したがつて
交換機には、それらの情報を音声の形で出力する
機能が必要になる。音声出力機能を実現するに
は、音声合成装置を利用するのが最も理想的では
あるが現状では音質等がまだ十分ではない。そこ
であらかじめ出力すべき音声情報を交換機内に蓄
積しておき、それを必要に応じて繰返し読出す方
法が最も現実的である。
Conventionally, tone signals such as a dial tone and a busy tone have been used to inform the caller of the progress status of a call from an exchange.
However, as the functions and services of switching equipment become more sophisticated in the future, the types of information that should be or would be useful to be communicated from the switching equipment to callers will rapidly increase, and it is thought that it will be difficult to identify them using only tone signals. becomes extremely difficult. Therefore, the switching equipment must have a function to output such information in the form of voice. In order to realize the voice output function, it would be most ideal to use a voice synthesizer, but currently the sound quality is still not sufficient. Therefore, the most practical method is to store the audio information to be output in advance in the exchange and read it repeatedly as needed.

以上述べたように音声メール・サービスにし
ろ、音声出力機能にしろ、交換機内に音声蓄積装
置を備えることが要求されるが、その場合に最も
問題となるのは、蓄積装置の蓄積方式及び蓄積容
量である。蓄積方式には、アナログ方式を使つて
テープ・レコーダに録音する方法も考えられる
が、ランダムな読出し、書込みの繰返しには不適
当である。したがつて音声をデイジタル化し、コ
ンピユータにおけるデータやフアイルの処理と同
様に扱うのが有利である。今後デイジタル交換機
が主流となることを考えれば、なおさらデイジタ
ル化した音声を扱う方が有利である。ただしその
場合には蓄積容量が問題である。音声信号デイジ
タル化の世界の標準方式(PCM方式)にしたが
えば、音声信号は毎秒64kbitすなわち8kバイトの
情報量を有する。したがつて1分間の音声メツセ
ージを蓄積するのに480kバイトすなわち約0.5M
バイトの蓄積容量が必要となる。交換機全体では
極めて多数のメツセージが蓄積されることを考え
れば、この蓄積容量を何とかして減らす対策が必
要となる。
As mentioned above, whether it is a voice mail service or a voice output function, it is required to have a voice storage device in the exchange, but in that case, the biggest problem is the storage method of the storage device and It is capacity. As a storage method, recording on a tape recorder using an analog method may be considered, but this is not suitable for repeated random reading and writing. Therefore, it is advantageous to digitize audio and treat it in the same way that data and files are processed in a computer. Considering that digital exchanges will become mainstream in the future, it is even more advantageous to handle digital voice. However, in that case, storage capacity is a problem. According to the world standard method for digitizing audio signals (PCM method), audio signals have an amount of information of 64 kbits per second, that is, 8 kbytes. Therefore, it takes 480k bytes, or about 0.5M, to store one minute of voice messages.
Byte storage capacity is required. Considering that an extremely large number of messages are accumulated in the entire exchange, measures must be taken to somehow reduce this accumulation capacity.

その対策の1つはデイジタル化方式をPCM方
式から、もつと所要情報量の少ない変調方式、例
えばアダプテイブ・デルタ変調(ADM)方式、
適応差分PCM(ADPCM)方式等に変換する、い
わゆる帯域圧縮を行なつてから蓄積する方法であ
る。現在でもPCM方式の1/2の速度、32kb/s
でかなり良好な音質が得られており、今後
16kb/sのものも利用可能になると期待されて
いる。
One of the countermeasures is to change the digitization method from the PCM method to a modulation method that requires less information, such as the adaptive delta modulation (ADM) method.
This is a method of performing so-called band compression, converting to an adaptive differential PCM (ADPCM) method, etc., and then storing the data. Even now, it is 1/2 the speed of PCM method, 32kb/s
I've been able to get pretty good sound quality with the
It is expected that 16kb/s will also be available.

蓄積容量を減らすもう1つの対策は、人間の発
する音声の間に存在する無音の期間を除去して蓄
積する方法である。単語あるいは文の切れ目に存
在する無音区間、話者が考えている時に存在する
無音区間を除去することにより、かなりの蓄積容
量の節約が可能と考えられる。
Another measure to reduce the storage capacity is to remove silent periods between human sounds and store them. It is thought that a considerable amount of storage capacity can be saved by eliminating silent sections that exist between words or sentences, and silent sections that exist when the speaker is thinking.

しかしこのように無音区間を除去して蓄積した
場合、それを再生する際には、その無音区間を再
現するための手法が必要である。当然のことなが
ら無音区間、有音区間の長さは一定ではないの
で、無音区間の位置と長さ、蓄積装置上での隣接
する有音区間の境界点等のデータを記憶し、十分
管理しなければならない。
However, when silent sections are removed and stored in this way, a method for reproducing the silent sections is required when reproducing them. Naturally, the lengths of silent sections and sound sections are not constant, so data such as the position and length of silent sections, the boundary points of adjacent sound sections on the storage device, etc., must be stored and adequately managed. There must be.

第1図は、上述のように無音区間を除去して蓄
積し、再生する音声蓄積方式の従来例を示したも
のである。(Bell System Technical Jourral,
October 1980 p.1383〜1395“An Experimental
Speech Storage and Editing Facility”参照) 第1図に示した音声蓄積方式において、入力端
子10に加えられるデイジタル化された音声符号
は、入力端子11に加えられる音声符号のサンプ
リング・クロツクに等しい周波数を有するクロツ
ク信号をDMA(Direct Memory Access)クロ
ツクとして、コンピユータ12の主記憶上に設け
られたバツフアメモリ13あるいは14にDMA
モードでシーケンシヤルに書込まれて行く。書込
まれるバツフア・メモリ13あるいは14の切替
は、コンピユータ12の制御部15の命令にもと
づき、スイツチ16によつて行なわれる。ただし
スイツチ16は論理的なスイツチである。今スイ
ツチ16が第1図の状態にあり音声符号がバツフ
ア・メモリ13に最後まで書込まれたとすると、
制御部15に対して割込みを発生し、そのことを
知らせる。制御部15はこの割込に応じて、スイ
ツチ16をバツフア・メモリ14側に倒し、音声
符号の書込みを継続させる。一方この間に制御部
15は、バツフア・メモリ13に書込まれた音声
符号をもとに種々の演算を行なつてこれらの音声
符号系列が有音区間に相当するか、無音区間に相
当するかを判定する。その結果有音区間と判定さ
れると、制御部15はバツフア・メモリ13に書
込まれた音声符号を磁気デイスク17に転送す
る。その際スイツチ18はバツフア・メモリ13
側に倒れている。スイツチ18も論理的なスイツ
チで、スイツチ16とは連携して動作し、互いに
異なるバツフア・メモリを選択するように動作す
る。
FIG. 1 shows a conventional example of a sound storage method in which silent sections are removed, stored, and reproduced as described above. (Bell System Technical Journal,
October 1980 p.1383〜1395“An Experimental
In the speech storage system shown in FIG. 1, the digitized speech code applied to input terminal 10 has a frequency equal to the sampling clock of the speech code applied to input terminal 11. The clock signal is used as a DMA (Direct Memory Access) clock, and the buffer memory 13 or 14 provided on the main memory of the computer 12 receives the DMA.
mode and are written sequentially. The buffer memory 13 or 14 to be written is switched by a switch 16 based on a command from the control section 15 of the computer 12. However, switch 16 is a logical switch. Assuming that the switch 16 is now in the state shown in FIG. 1 and the voice code has been written to the buffer memory 13 to the end,
An interrupt is generated to the control unit 15 to notify it. In response to this interruption, the control section 15 turns the switch 16 to the buffer memory 14 side to continue writing the voice code. Meanwhile, during this time, the control unit 15 performs various calculations based on the audio codes written in the buffer memory 13 and determines whether these audio code sequences correspond to a sound section or a silent section. Determine. As a result, if it is determined that it is a sound section, the control section 15 transfers the audio code written in the buffer memory 13 to the magnetic disk 17. At that time, the switch 18 is set to the buffer memory 13.
It's falling to the side. Switch 18 is also a logical switch and operates in conjunction with switch 16 to select different buffer memories.

一方バツフア・メモリ13の中の音声符号が無
音区間に相当すると判定されると、バツフア・メ
モリから磁気デイスクへの転送は行なわない。し
たがつてバツフア・メモリ14が最後まで書込ま
れると、次にバツフア・メモリ13への書込みが
開始されるので、前回の音声符号は消えてしま
う。バツフア・メモリ13を書込み中の時のバツ
フア・メモリ14に対する制御部15の動作も全
く同様である。
On the other hand, if it is determined that the audio code in the buffer memory 13 corresponds to a silent section, the data is not transferred from the buffer memory to the magnetic disk. Therefore, when the buffer memory 14 is written to the end, writing to the buffer memory 13 starts, and the previous voice code disappears. The operation of the control section 15 with respect to the buffer memory 14 during writing to the buffer memory 13 is exactly the same.

すなわち第1図に示した従来方式では、バツフ
ア・メモリに書込まれた音声符号全体を1つのブ
ロツクとし、ブロツク単位で有音区間か否かを判
定し有音区間と判定されたブロツク(有音ブロツ
ク)を磁気デイスクに転送する。またバツフア・
メモリのサイズは磁気デイスクの入出力単位の関
係で磁気デイスクの1セクターあるいはその整数
倍に相当するものが選ばれる。
In other words, in the conventional method shown in FIG. 1, the entire speech code written in the buffer memory is treated as one block, and it is determined whether or not it is a sound section in units of blocks, and the block that is determined to be a sound section is (sound block) to a magnetic disk. Also, Batsuhua
The size of the memory is selected to correspond to one sector of the magnetic disk or an integral multiple thereof in relation to the input/output unit of the magnetic disk.

また再生時に無音ブロツクを正しく有音ブロツ
クの間に挿入するため、制御部15は有音ブロツ
クを磁気デイスク17に転送するとともに、例え
ばそのブロツクのメツセージの先頭からの通し番
号と、そのブロツクを格納した磁気デイスク上の
アドレス(セクター番号等)を記憶する。それら
の情報は制御用のデータとして、主記憶あるいは
磁気デイスク17の音声符号とは異なる部分に格
納される。
In order to correctly insert silent blocks between sound blocks during playback, the control unit 15 transfers the sound blocks to the magnetic disk 17 and also stores, for example, the serial number from the beginning of the message of that block and the block. Stores addresses (sector numbers, etc.) on the magnetic disk. This information is stored as control data in the main memory or in a portion of the magnetic disk 17 that is different from the voice code.

さて、蓄積された音声の再生は次のようにして
行なう。
Now, the stored audio is played back as follows.

すなわち制御部15は主記憶あるいは磁気デイ
スク上に格納された制御データから有音ブロツク
の番号とそのアドレスを読込み、その有音ブロツ
クを磁気デイスク17から取出してバツフア・メ
モリ13または14に入力する。有音ブロツク番
号が飛んでいる場合には、その間に無音ブロツク
が存在していたということであるから、磁気デイ
スク17から有音ブロツクを取出す前に、バツフ
ア・メモリ13あるいは14をクリアして所定の
数だけの無音ブロツクを挿入する。しかるのち有
音ブロツクを取出し以下同様の動作を続けて行
く。バツフア・メモリ13,14はスイツチ1
6,18によつて一方がDMAモードにより入出
力端子10に読出されている時、他方が制御部1
5の制御により、磁気デイスク17から有音ブロ
ツクを入力されるか、無音ブロツクを入力するた
めにクリアされているかしているように切替えら
れる点は音声蓄積時と同様である。
That is, the control section 15 reads the number and address of the active block from the control data stored on the main memory or the magnetic disk, takes out the active block from the magnetic disk 17, and inputs the active block into the buffer memory 13 or 14. If the sound block number jumps, it means that there was a silent block between them, so before taking out the sound block from the magnetic disk 17, clear the buffer memory 13 or 14 and set it to the specified value. Insert as many silent blocks as . After that, the sound block is taken out and the same operation continues. Buffer memories 13 and 14 are switch 1
6 and 18, when one is being read out to the input/output terminal 10 in DMA mode, the other is being read out to the control unit 1.
The control in step 5 switches between inputting a sound block from the magnetic disk 17 and clearing it for inputting a silent block, as in the case of audio storage.

なお制御用のデータとしては、前述の有音ブロ
ツクについてブロツク番号とアドレスを用いる方
法の他に、有音ブロツクについてはアドレスを、
無音ブロツクについては連続するブロツク数を記
録する方法等各種の方法が考えられる。
As for control data, in addition to the method of using the block number and address for the active block mentioned above, for the active block, the address can be used.
Various methods can be used for silent blocks, such as recording the number of consecutive blocks.

以上のような従来技術による音声蓄積方式にお
いては、ブロツクのサイズは、バツフア・メモリ
磁気デイスク、制御部等ハードウエアの要因によ
つて決められる部分が多い。すなわち磁気デイス
クは通常セクタ単位の入出力が行なわれるためバ
ツフア・メモリのサイズはセクタと同一あるいは
その整数倍でなければならない。また磁気デイス
クのアクセス・タイム、データの転送時間、制御
部がバツフア・メモリ内の音声符号に対して所要
の演算、処理を行なうのに必要な時間を合計した
時間を確保するため、その間に入力される音声符
号分のバツフア・メモリがなければならない。
In the conventional audio storage system as described above, the block size is largely determined by hardware factors such as the buffer/memory magnetic disk and the control section. That is, since magnetic disks normally perform input/output in units of sectors, the size of the buffer memory must be the same as the sector or an integral multiple thereof. In addition, in order to secure the total time required for magnetic disk access time, data transfer time, and the time required for the control unit to perform the necessary calculations and processing on the audio code in the buffer memory, input data must be input during that time. There must be buffer memory for the voice codes to be used.

ブロツク・サイズは本来音声信号の性質に基づ
いて決められるべきものであり、上記のようにハ
ードウエア等によつて左右されるべきではない。
また以上述べた無音ブロツクの圧縮と、先に述べ
た帯域圧縮を組合せるとすれば、帯域圧縮技術の
進歩に従つて同一時間に相当するブロツクのサイ
ズが減少することが考えられる。ブロツクのサイ
ズが変化するとシステム全体の再検討が必要とな
るので、技術の進歩を迅速に取入れることができ
ず、適当ではない。
The block size should originally be determined based on the characteristics of the audio signal, and should not be influenced by hardware or the like as described above.
Furthermore, if the silence block compression described above is combined with the band compression described earlier, it is conceivable that the size of blocks corresponding to the same time will decrease as band compression technology advances. Changes in block size require a reconsideration of the entire system, which does not allow rapid adoption of technological advances and is therefore unsuitable.

なお、ブロツク・サイズをバツフア・メモリ・
サイズと独立にする方法も不可能ではないが、か
えつて制御や処理が複雑化し、現実的ではない。
Note that the block size is
Although it is not impossible to make it independent of the size, it would complicate control and processing and is not practical.

また先に述べたように、制御部は音声符号その
ものの蓄積、取出しの他に、有音区間、無音区間
に関する情報を記憶し、その情報に基づいて音声
の蓄積、再生を管理しなければならない。1つの
メツセージごとにこのような細かな操作を行な
い、またその他にそのメツセージの発信者、宛
先、送信時刻等メツセージ全体に関する情報も管
理するとなると、制御部の動作は著しく複雑化
し、かえつて個々の機能に各種の制限が加えられ
ることになる。
Furthermore, as mentioned earlier, in addition to storing and retrieving the audio codes themselves, the control unit must also store information regarding the sound sections and silent sections, and manage the storage and playback of the audio based on this information. . Performing such detailed operations for each message, as well as managing information related to the message as a whole, such as the sender, destination, and sending time, would make the operation of the control unit significantly more complicated, and the control unit would have to control each individual message. Various restrictions will be added to the functionality.

本発明は従来技術におけるかかる欠点を除去
し、バツフア・メモリと入力端子との間に回路を
付加することにより、ブロツク・サイズをバツフ
ア・メモリや磁気デイスク等と無関係を設定で
き、また有音ブロツク、無音ブロツクに関する情
報を音声符号のなかに挿入して、コンピユータの
制御部は一切関知しなくてよいような音声蓄積方
法を得んとするものである。
The present invention eliminates such drawbacks in the prior art, and by adding a circuit between the buffer memory and the input terminal, the block size can be set independent of the buffer memory, magnetic disk, etc. The purpose of this invention is to insert information regarding silence blocks into the audio code, thereby obtaining a method for storing audio that does not require any involvement of the computer control section.

すなわち本発明によれば、音声をデイジタル化
して蓄積する音声蓄積方式において、蓄積時は、
デイジタル化された音声信号の符号系列を一定数
の符号からなるブロツクに分割し、各ブロツクご
とに無音ブロツクか有音ブロツクかを判定し、有
音ブロツクのみをブロツクの先頭にフラグとその
ブロツクの時間位置あるいはそのブロツクに先行
する無音ブロツクの個数に関する情報を付加して
蓄積し、再生時は、蓄積された前記符号系列のな
かからフラグを検出して有音ブロツクの先頭を見
つけ出し、前記フラグに付随する前記時間位置あ
るいは先行する無音ブロツクの個数に関する情報
に基づいて無音ブロツクを挿入し、しかるのち蓄
積された有音ブロツクを取出して再生することを
特徴とする音声蓄積方法が得られる。
That is, according to the present invention, in an audio storage method that digitizes and stores audio, during storage,
The code sequence of the digitized audio signal is divided into blocks consisting of a fixed number of codes, and it is determined whether each block is a silent block or a sound block, and only the sound block is marked with a flag at the beginning of the block. Information about the time position or the number of silent blocks preceding that block is added and stored, and during playback, a flag is detected from the stored code sequence to find the beginning of the sound block, and the flag is A sound storage method is obtained which is characterized in that a silent block is inserted based on the accompanying time position or information regarding the number of preceding silent blocks, and then the stored sound block is extracted and reproduced.

以下本発明を図面を参照して詳細に説明する。
第2図、第3図は本発明の実施例を示す図であ
り、第2図は音声蓄積に関わる部分を、第3図は
音声再生に関わる部分を表わしている。
The present invention will be described in detail below with reference to the drawings.
2 and 3 are diagrams showing an embodiment of the present invention, with FIG. 2 showing a portion related to audio storage, and FIG. 3 showing a portion related to audio reproduction.

第2図において、コンピユータ12、バツフ
ア・メモリ13,14、磁気デイスク17等は第
1図と同じものであり、本発明はそれらと音声符
号の入出力端子10との間に回路20を挿入して
得られるものである。端子10に加えられた音声
符号はバツフア・メモリ21に順次蓄積される。
このバツフア・メモリ21のサイズは音声符号の
性質にもとづいた値に定めればよく、これがブロ
ツクの単位となる。ただしバツフア・メモリ21
はバツフア・メモリ13,14のように2つの部
分に分れているものを簡単のために1つにまとめ
て表わしている。一方音声検出回路22は、音声
符号のレベル、極性の反転回数等を観測して、バ
ツフア・メモリ21内の音声ブロツクが有音ブロ
ツクであるか無音ブロツクであるかを判定し、ブ
ロツクの終了時点でその結果を出力する。無音ブ
ロツクであつた場合には、無音ブロツク・カウン
タ23を1だけ増加させ、またDMAクロツク制
御回路24はコンピユータ12内のバツフア・メ
モリ13,14へのDMAクロツクの送出をスト
ツプする。
In FIG. 2, the computer 12, buffer memories 13, 14, magnetic disk 17, etc. are the same as in FIG. 1, and the present invention inserts a circuit 20 between them and the audio code input/output terminal 10. This is what you get. The speech codes applied to terminal 10 are sequentially stored in buffer memory 21.
The size of this buffer memory 21 may be set to a value based on the characteristics of the speech code, and this becomes the unit of a block. However, buffer memory 21
For simplicity, the buffer memories 13 and 14, which are divided into two parts, are shown as one. On the other hand, the voice detection circuit 22 observes the level of the voice code, the number of polarity reversals, etc., determines whether the voice block in the buffer memory 21 is a sound block or a silent block, and detects the end point of the block. output the result. If it is a silent block, the silent block counter 23 is incremented by 1, and the DMA clock control circuit 24 stops sending the DMA clock to the buffer memories 13 and 14 in the computer 12.

したがつてバツフア・メモリ21が読出されて
も、コンピユータ内のバツフア・メモリには書込
まれず、無音ブロツクは蓄積されないことにな
る。
Therefore, even if the buffer memory 21 is read, it is not written to the buffer memory in the computer, and no silence blocks are accumulated.

一方音声検出回路が有音ブロツクと判定する
と、その出力にもとづいて、DMAクロツク制御
回路24は、次のブロツクの冒頭で音声符号の1
サンプリング周期の間に3つのDMAクロツクを
コンピユータ12内に送り込む。DMAクロツク
制御回路24の動作に連携して選択回路25は、
第1のDMAクロツクに対して固定パターン、例
えばDMAの入力データを8ビツトとすれ
ば////////を出力する。これがいわば有
音ブロツクの先頭を示すフラグとなる。次に第2
のDMAクロツクに対しては無音ブロツク・カウ
ンタ23のカウント値を選択し出力する。これは
その有音ブロツクと1つ前の有音ブロツクとの間
に存在した無音ブロツクの個数を表わしている。
この後無音ブロツク・カウンタ23はリセツトさ
れる。最後に第3のDMAクロツクに対しては、
バツフア・メモリ21の出力であるブロツクの先
頭の音声符号を選択し、出力する。以後はDMA
クロツク制御回路24は1サプリング周期の間に
1つずつのDMAクロツクを送出し、バツフア・
メモリ21の出力を順次コンピユータ内のバツフ
ア・メモリ13または14に書込んで行く。
On the other hand, if the voice detection circuit determines that the block is a sound block, based on its output, the DMA clock control circuit 24 determines whether the voice code is 1 or 1 at the beginning of the next block.
Three DMA clocks are driven into the computer 12 during the sampling period. In cooperation with the operation of the DMA clock control circuit 24, the selection circuit 25:
A fixed pattern for the first DMA clock, for example, if the DMA input data is 8 bits, it outputs ////////. This becomes, so to speak, a flag indicating the head of the active block. Then the second
For the DMA clock, the count value of the silent block counter 23 is selected and output. This represents the number of silent blocks that existed between that active block and the previous active block.
After this, the silence block counter 23 is reset. Finally, for the third DMA clock,
The first audio code of the block output from the buffer memory 21 is selected and output. From now on, DMA
The clock control circuit 24 sends out one DMA clock during one sampling period and controls the buffer.
The output of memory 21 is sequentially written to buffer memory 13 or 14 in the computer.

バツフア・メモリ13,14は入力される
DMAクロツクに従つて、音声符号あるいはフラ
グ、無音ブロツク数等を、その内容を意識するこ
となく読込み、一杯になると、制御部15の制御
により、その記憶内容が磁気デイスク17にまと
めて転送される。
Buffer memories 13 and 14 are input
According to the DMA clock, audio codes, flags, the number of silent blocks, etc. are read without being aware of their contents, and when the memory is full, the stored contents are transferred all at once to the magnetic disk 17 under the control of the control section 15. .

このようにして無音ブロツクは蓄積せず、また
有音ブロツクは先頭にフラグと無音ブロツクに関
する情報を付加して磁気デイスク17に蓄積す
る。
In this way, silent blocks are not stored, and sound blocks are stored on the magnetic disk 17 with a flag and information regarding the silent blocks added to the beginning.

なお音声符号のなかに、フラグとして用いてい
る固定パターンと同一のものが存在すると、音声
再生の際、有音ブロツクの先頭の検出及び無音ブ
ロツクに関する情報の抽出に誤りが生じる。これ
を防ぐため、固定パターン検出回路26は、音声
符号を監視して、固定パターンと同一のものが現
われたときには、DMAクロツク制御回路に、1
サンプリング周期の間に2つのDMAクロツクを
出力させ、選択回路により固定パターンをもう一
つ付加して出力させる。フラグの後に付加する無
音ブロツクに関する情報として、固定パターンに
一致するものを禁止するようにしておけば、上記
の方法により、フラグと音声符号中の固定パター
ンに一致する符号とを区別することが可能であ
る。
If the same fixed pattern used as a flag exists in the audio code, an error will occur in detecting the beginning of a sound block and extracting information regarding a silent block during audio reproduction. To prevent this, the fixed pattern detection circuit 26 monitors the voice code, and when the same fixed pattern appears, it sends a signal to the DMA clock control circuit.
Two DMA clocks are output during the sampling period, and another fixed pattern is added and output by the selection circuit. If information about silent blocks added after the flag that matches a fixed pattern is prohibited, it is possible to distinguish between the flag and the code that matches the fixed pattern in the audio code using the method described above. It is.

第4図にバツフア・メモリ13,14あるいは
磁気デイスク17に書込まれる時の1つの有音ブ
ロツクのデータ構造を示す。ただしnはブロツク
当りの音声符号の個数である。
FIG. 4 shows the data structure of one sound block when written to the buffer memories 13, 14 or the magnetic disk 17. However, n is the number of speech codes per block.

DMAクロツク制御回路24は、入力端子27
に加えられるクロツクを分周して所要のDMAク
ロツクを作成する。またカウンタ28は1ブロツ
ク分の音声符号をカウントして、バツフア・メモ
リ21の読出し/書込みアドレスを与え、また各
部分の動作タイミングを与える。
The DMA clock control circuit 24 has an input terminal 27
The required DMA clock is created by dividing the clock applied to the DMA clock. Further, the counter 28 counts one block of audio codes and provides the read/write address of the buffer memory 21, as well as the operation timing of each section.

一方音声を再生する際は、第3図において、フ
ラグ検出回路30がコンピユータ12のバツフ
ア・メモリ13または14から出力されて来る符
号のなかからフラグを検出する。すなわちフラグ
に使用している固定パターンを検出するとDMA
クロツク制御回路を通じてもう1つ余分にDMA
クロツクを出力させ次の符号を取出す。それが固
定パターンに一致していなければ、先の固定パタ
ーンはフラグであり、次にとり出したこの符号が
無音ブロツクの個数に関する情報であることにな
る。これをブロツク・カウンタ31に入力し、ま
た選択回路32は雑音発生回路33を選択して出
力し、無音ブロツクを挿入する。ブロツク・カウ
ンタ31は減算カウンタで、このカウンタが0に
なるまでは上記の状態が継続する。この間DMA
クロツク制御回路24からクロツクは出力され
ず、バツフア・メモリ13,14からの符号出力
は行なわれない。なお雑音発生回路33は、無音
ブロツクの不自然さをなくすため背景雑音に相当
する低いレベルの雑音信号を発生する回路であ
る。またゲート34は固定パターンおよび無音ブ
ロツクに関する情報が現われている場合、それを
端子10に出力しないようにするためのものであ
る。
On the other hand, when reproducing audio, a flag detection circuit 30 detects a flag from the code output from the buffer memory 13 or 14 of the computer 12, as shown in FIG. In other words, when the fixed pattern used for the flag is detected, the DMA
One more DMA via clock control circuit
Outputs the clock and retrieves the next code. If it does not match the fixed pattern, the previous fixed pattern is a flag, and this code extracted next is information regarding the number of silent blocks. This is input to the block counter 31, and the selection circuit 32 selects and outputs the noise generation circuit 33 to insert a silent block. Block counter 31 is a subtraction counter, and the above state continues until this counter reaches 0. During this time DMA
No clock is output from the clock control circuit 24, and no code is output from the buffer memories 13 and 14. The noise generating circuit 33 is a circuit that generates a low level noise signal corresponding to background noise in order to eliminate the unnaturalness of silent blocks. Further, the gate 34 is provided to prevent information regarding the fixed pattern and the silent block from being output to the terminal 10 when it appears.

ブロツク・カウンタ31が0となると、再び
DMAクロツク制御回路24はクロツクを出力
し、バツフア・メモリ13,14から有音ブロツ
クの取出しが行なわれる。選択回路32は、ゲー
ト34を通じて入力されるこれら有音ブロツクの
音声符号を選択し、端子10に出力する。
When the block counter 31 becomes 0, it starts again.
The DMA clock control circuit 24 outputs a clock, and the sound block is taken out from the buffer memories 13 and 14. The selection circuit 32 selects the audio codes of these sound blocks inputted through the gate 34 and outputs them to the terminal 10.

なおフラグ検出回路30において、固定パター
ンが2つ連続して検出された場合には、先にも述
べたようにそれはフラグではなく音声符号であ
る。したがつて音声符号としてそのまま端子10
に出力させ、以降上記の動作を繰返して行く。
Note that when the flag detection circuit 30 detects two fixed patterns in succession, it is not a flag but a voice code, as described above. Therefore, terminal 10 is used as a voice code.
output, and then repeat the above operation.

このようにして無音ブロツクを正しく挿入しな
がら、音声全体を再生することが可能である。な
お以上の説明では無音ブロツクに関する情報とし
て、有音ブロツクに先行する無音ブロツク数を記
憶する方法を述べたが、その代わりにその有音ブ
ロツクの時間位置すなわちメツセージの先頭から
のブロツクの通し番号を記憶する方法も可能であ
る。両者はブロツクの通し番号を送るか、その差
を送るかの違いである。
In this way, it is possible to reproduce the entire audio while correctly inserting silence blocks. In the above explanation, we have described a method of storing the number of silent blocks preceding a sound block as information regarding silent blocks, but instead, it is possible to store the time position of the sound block, that is, the serial number of the block from the beginning of the message. It is also possible to do this. The difference between the two is whether to send the block serial number or the difference.

以上述べたことからわかるように本発明によれ
ば、有音、無音を判定する単位となる音声のブロ
ツク・サイズは磁気デイスク、コンピユータ内の
バツフア・メモリ等のハードウエアの特性から全
く独立して定めることが出来る。したがつて音声
の特性に基づいた最適なブロツク・サイズを設定
でき、また帯域圧縮の導入もスムーズに行なえ
る。
As can be seen from the above, according to the present invention, the audio block size, which is the unit for determining whether there is a sound or no sound, is completely independent of the characteristics of the hardware such as the magnetic disk and the buffer memory in the computer. It can be determined. Therefore, the optimum block size can be set based on the characteristics of the voice, and band compression can be smoothly introduced.

またブロツクの先頭を示す目印や無音ブロツク
に関する情報が音声符号の中に埋め込まれてお
り、コンピユータの制御部や磁気デイスクはそれ
らをひとまとまりのデータとして扱うのみで、ブ
ロツクとか、有音、無音の識別等を一切関知しな
くてよい。したがつて音声の圧縮/伸長の管理
と、メツセージ全体の管理が明確に分離され、融
通性に富んだ、簡潔なシステムを構成することが
できるので、その効果は極めて大きいものであ
る。また付加される回路も音声検出回路を除け
ば、ごく単純な回路である。音声検出回路もデイ
ジタル信号処理技術、LSI技術の進展により比較
的容易に実現可能となり、何よりも蓄積装置内の
制御部で行なわせるよりもはるかに簡単である。
(電子通信学会通信方式研究会資料:CS78−69
「DSI用エコーサプレツサ」参照) 以上実施例について説明したように、本発明に
よれば、小規模の回路を付加することにより、蓄
積装置のハードウエアに依存することなく自律的
な無音区間の圧縮、伸張を行なう音声蓄積方式を
得ることができ、その効果は著しいものである。
In addition, information about markers indicating the beginning of blocks and silent blocks are embedded in the audio code, and the computer control unit and magnetic disk only treat them as a set of data. There is no need to worry about identification etc. Therefore, the management of voice compression/expansion and the management of the entire message can be clearly separated, and a highly flexible and simple system can be constructed, which is extremely effective. Also, the added circuits are very simple except for the voice detection circuit. With advances in digital signal processing technology and LSI technology, audio detection circuits can be implemented relatively easily, and above all, it is much simpler than implementing it in a control section within a storage device.
(IEICE Communication Method Study Group Material: CS78-69
(Refer to "Echo Suppressor for DSI") As described in the embodiments above, according to the present invention, by adding a small-scale circuit, silent section compression can be achieved autonomously without depending on the hardware of the storage device. An audio storage method that performs decompression can be obtained, and its effects are remarkable.

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

第1図は従来技術による音声蓄積方式を示すブ
ロツク図、第2図、第3図は本発明の実施例を示
すブロツク図、第4図は第2図、第3図におい
て、蓄積されるデータのデータ構造を示す説明図
である。 図において13,14,21はバツフア・メモ
リ、17は磁気デイスク、22は音声検出回路、
24はDMAクロツク制御回路、25,32は選
択回路、23,31はブロツク・カウンタ、30
はフラグ検出回路である。
FIG. 1 is a block diagram showing an audio storage method according to the prior art, FIGS. 2 and 3 are block diagrams showing an embodiment of the present invention, and FIG. 4 is a block diagram showing the data stored in FIGS. FIG. 2 is an explanatory diagram showing the data structure of In the figure, 13, 14, 21 are buffer memories, 17 is a magnetic disk, 22 is an audio detection circuit,
24 is a DMA clock control circuit, 25 and 32 are selection circuits, 23 and 31 are block counters, and 30
is a flag detection circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 音声をデイジタル化して蓄積する音声蓄積方
法において、蓄積時は、デイジタル化された音声
信号の符号系列を一定数の符号からなるブロツク
に分割し、各ブロツクごとに無声ブロツクか有音
ブロツクのみを、ブロツクの先頭にフラグとその
ブロツクの時間位置あるいはそのブロツクに先行
する音声ブロツクの個数に関する情報を付加して
蓄積し、再生時は、蓄積された前記符号系列のな
かからフラグを検出して有音ブロツクの先頭を見
つけ出し前記フラグに付随する前記時間位置ある
いは先行する無声ブロツクの個数に関する情報に
基づいて無声ブロツクを挿入し、しかるのち蓄積
された有音ブロツクを取出して再生することを特
徴とする音声蓄積方法。
1. In an audio storage method in which audio is digitized and stored, during storage, the code sequence of the digitized audio signal is divided into blocks consisting of a fixed number of codes, and each block is divided into only silent blocks or sound blocks. , a flag and information regarding the time position of the block or the number of audio blocks preceding the block are added and stored at the beginning of the block, and during playback, the flag is detected from the stored code sequence and stored. The present invention is characterized in that it finds the beginning of a sound block, inserts a silent block based on the time position attached to the flag or information regarding the number of preceding silent blocks, and then extracts and reproduces the accumulated sound blocks. Audio storage method.
JP56149177A 1981-09-21 1981-09-21 Voice storage system Granted JPS5850597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56149177A JPS5850597A (en) 1981-09-21 1981-09-21 Voice storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56149177A JPS5850597A (en) 1981-09-21 1981-09-21 Voice storage system

Publications (2)

Publication Number Publication Date
JPS5850597A JPS5850597A (en) 1983-03-25
JPH0368400B2 true JPH0368400B2 (en) 1991-10-28

Family

ID=15469473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56149177A Granted JPS5850597A (en) 1981-09-21 1981-09-21 Voice storage system

Country Status (1)

Country Link
JP (1) JPS5850597A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0813537B2 (en) * 1993-02-08 1996-02-14 株式会社ロプコ Floating / laminating device for liquid crystal substrate layer formed by generating air film

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5840599A (en) * 1981-09-04 1983-03-09 富士通株式会社 Voice memory system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5840599A (en) * 1981-09-04 1983-03-09 富士通株式会社 Voice memory system

Also Published As

Publication number Publication date
JPS5850597A (en) 1983-03-25

Similar Documents

Publication Publication Date Title
KR20000029500A (en) Selective recall and preservation of continuously recorded data
Maxemchuk An experimental speech storage and editing facility
JPH0368400B2 (en)
JPH03825B2 (en)
JPH0417494B2 (en)
JPH0136119B2 (en)
JP3127498B2 (en) Voice storage device
JPS5840963A (en) Soundless compressing system
JPH01226263A (en) Voice message reproducing method
JPH0368399B2 (en)
JPH0320830B2 (en)
KR100238704B1 (en) Method for protecting voice message in answering telephone
JPH02284557A (en) Telephone voice changer sharing automatic answering telephone
JPS5952414A (en) Fast-forward reproduction control system
JPS6058762A (en) Voice storage method
JPH02203469A (en) Recording device and reproducing device
JPS60178763A (en) Paging device
JPS593760B2 (en) Audio storage and playback device
JPH01116699A (en) Voice interpolator
JPH10285272A (en) Call recording and reproducing device
JPH02184160A (en) Telephone system
JPS61209498A (en) Simultaneous recording/reproducing system
JPH10112752A (en) Speech recording and reproducing device
JPH0923267A (en) Voice recording device
JPS60229456A (en) Voice storage system