JPH02137895A - Sound source device - Google Patents

Sound source device

Info

Publication number
JPH02137895A
JPH02137895A JP63292934A JP29293488A JPH02137895A JP H02137895 A JPH02137895 A JP H02137895A JP 63292934 A JP63292934 A JP 63292934A JP 29293488 A JP29293488 A JP 29293488A JP H02137895 A JPH02137895 A JP H02137895A
Authority
JP
Japan
Prior art keywords
sound source
source data
data
looping
address
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.)
Granted
Application number
JP63292934A
Other languages
Japanese (ja)
Other versions
JP2671456B2 (en
Inventor
Makoto Furuhashi
古橋 真
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP63292934A priority Critical patent/JP2671456B2/en
Priority to US07/436,423 priority patent/US5086475A/en
Priority to GB8925891A priority patent/GB2227859B/en
Priority to DE3943795A priority patent/DE3943795C2/en
Priority to KR1019890016666A priority patent/KR0164590B1/en
Priority to FR8915141A priority patent/FR2639458B1/en
Priority to DE3943797A priority patent/DE3943797B4/en
Priority to DE3938311A priority patent/DE3938311C2/en
Priority to DE3943796A priority patent/DE3943796C2/en
Publication of JPH02137895A publication Critical patent/JPH02137895A/en
Application granted granted Critical
Publication of JP2671456B2 publication Critical patent/JP2671456B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate looping control without increasing additional information for looping processing by reproducing an analog or digital audio signal with an identification flag indicating a looping section and muting the signal with an identification flag indicating the end of sound source data. CONSTITUTION:According to the identification flag indicating the looping section, continuous samples Sa of 1st kind are read repeatedly out of a sound source data memory 1 or continuous samples Sb of 2nd kind are read out to reproduce the analog or digital audio signal. Then when the identification flag indicates that the sound source data has no looping section and shows the end of the sound source data, the signal is muted. Consequently, the control at the end of looping processing and sound source data reproduction is facilitated without increasing the additional information for the looping processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、例えば楽音信号等のアナログ又はディジタル
・オーディオ信号を再生する音源装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a sound source device for reproducing analog or digital audio signals such as musical tone signals.

〔発明の概要〕[Summary of the invention]

本発明は、ルーピング区間を有する第一の種類の連続す
る複数サンプルとルーピング区間の無い第二の種類の連
続する複数サンプルとより成る音源データをストアする
音源データ・メモリと、音源データに付随する音源デー
タのルーピング区間の有無と音源データの終了を示す識
別フラグを検出するフラグ・チェック回路とを有し、第
一の種類の連続する複数サンプルを音源メモリより繰り
返し読み出すか、第二の種類の連続する複数サンプルを
読み出してアナログ又はディジタル・オーディオ信号を
再生すると共に、識別フラグがその音源データがルーピ
ング区間が無く、音源データの終了であることを示して
いる時、ミューティングをかけるようにすることで、ル
ーピング処理のための付加情報の増加なしにルーピング
制御を容易にした音源装置を提供するものである。
The present invention provides a sound source data memory for storing sound source data consisting of a first type of consecutive plurality of samples having a looping section and a second kind of consecutive plurality of samples having no looping section; It has a flag check circuit that detects the presence or absence of a looping section of the sound source data and an identification flag indicating the end of the sound source data. Read out multiple consecutive samples to play back an analog or digital audio signal, and apply muting when the identification flag indicates that the sound source data has no looping section and is the end of the sound source data. This provides a sound source device that facilitates looping control without increasing additional information for looping processing.

〔従来の技iネi〕[Conventional technique]

一般に、電子楽器やTVゲーム器等に用いられる音源は
、例えばVCOlVCA、VCF等から成るアナログ音
源と、PSG (プログラマブル・サウンド・ジェネレ
ータ)や波形RoMmみ出しタイプ等のディジタル音源
とに大別される。このディジタル音源の一種として、近
年においては、生の楽器音等をサンプリングしてディジ
タル処理した音源データをメモリ等に記憶させて用いる
ようなサンプラー音′a(例えば特開昭62−2640
99号公報、特開昭62−267798号公報参照)も
広く知られるようになってきている。
In general, sound sources used in electronic musical instruments, TV game machines, etc. are broadly divided into analog sound sources such as VCO, VCA, VCF, etc., and digital sound sources such as PSG (programmable sound generator) and waveform RoMm type. . In recent years, as a type of digital sound source, sampler sound 'a' (for example, Japanese Patent Laid-Open No. 62-2640
99 and Japanese Patent Laid-Open No. 62-267798) are also becoming widely known.

このサンプラー音源においては、−船釣に音源データ記
憶用のメモリに大容量を要することから、メモリ節約の
ための手法が各種稈案されており、例えば、楽音波形の
周期性を利用したルーピング処理や、非線形量子化等に
よるビット圧縮処理がその代表的なものとして挙げられ
る。
For this sampler sound source, - Since boat fishing requires a large memory capacity for storing sound source data, various methods have been devised to save memory. For example, looping processing using the periodicity of musical sound waves. Typical examples include bit compression processing using nonlinear quantization and the like.

ここで、上記ルーピング処理は、サンプリングされた楽
音の元の持続時間よりも長い時間音を出し続けるための
一手法でもある。すなわち、例えば楽音信号波形を考え
るとき、−Cに発音開始直後においてはピアノの打鍵ノ
イズや管楽器のプレスノイズ等のいわゆる非音程成分を
含む波形の周期性が不明瞭なフォルマント部分が生じて
おり、その後、楽音の音程(ピンチ、音高)に対応する
基本周期で同じ波形が繰り返し現れるようになる。
Here, the looping process described above is also a method for continuing to output a sound for a longer time than the original duration of the sampled musical tone. That is, when considering a musical tone signal waveform, for example, immediately after the start of sound generation at -C, there is a formant part where the periodicity of the waveform is unclear, including so-called non-pitch components such as piano key tapping noise and wind instrument press noise. After that, the same waveform will appear repeatedly with a fundamental period corresponding to the musical pitch (pinch, pitch).

この繰り返し波形のn周期分(nは整数)をルピング区
間とし、必要に応じて繰り返し再生することにより、少
ないメモリ容量で長時間の持続音を得ることができるわ
けである。
By setting n cycles (n is an integer) of this repetitive waveform as a looping section and reproducing the loop repeatedly as necessary, a long-lasting sound can be obtained with a small memory capacity.

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

ここで、サンプラー音源の音源データをメモリより読み
出して再生する場合、該音源データにはルーピング区間
を有するものと存しないものが存在する。その音源デー
タの再生を終了させる場合、−Cにルーピング区間の有
無によりその音源再生終了の処理方法が異なっている。
Here, when the sound source data of the sampler sound source is read out from the memory and reproduced, some of the sound source data has a looping section and some does not. When ending the reproduction of the sound source data, the processing method for ending the reproduction of the sound source differs depending on the presence or absence of a looping section in -C.

つまり、ルーピング区間を有する音源データの再生終了
の場合は、当該ルーピング区間の音源データに含まれる
ルーピング終端点のフラグを利用して再生終了すること
が一般的である。また、ルーピング区間を有しない音源
データの再生終了の場合は、その音源データの所定位置
で音を終了させるために適当な処理が必要であり、−a
的には再生終了信号のための別アドレスを増設すること
により成されている。
That is, in the case of ending the reproduction of sound source data having a looping section, it is common to end the reproduction using a flag of the looping end point included in the sound source data of the looping section. In addition, in the case of ending the playback of sound source data that does not have a looping section, appropriate processing is required to end the sound at a predetermined position in the sound source data, and -a
Specifically, this is accomplished by adding a separate address for the reproduction end signal.

したがって、ルーピング区間の有無により音源データの
再生終了の処理方法が異なっている場合、上述のような
処理を行う音源装置は、ルーピング区間の有無を判断す
るためのデータとルーピング区間を有しない音源データ
の再生終了信号ための別アドレス等が必要になり、メモ
リ容量の増大と装置の?!雑化という問題が生ずる。
Therefore, if the processing method for ending the playback of sound source data differs depending on the presence or absence of a looping section, the sound source device that performs the above processing will use the data for determining the presence or absence of a looping section and the sound source data that does not have a looping section. A separate address, etc. is required for the playback end signal, which increases the memory capacity and the device. ! The problem of clutter arises.

本発明は、上述のような実情に濯みて提案されたもので
あり、ルーピング処理のための付加情報の増加なしにル
ーピング処理や音源データ再生の終了等の制御を容易に
した音源装置を提供することを目的とするものである。
The present invention has been proposed in view of the above-mentioned circumstances, and provides a sound source device that facilitates control of looping processing, termination of sound source data reproduction, etc. without increasing additional information for looping processing. The purpose is to

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

本発明に係る音源装置は、上述の目的を達成するために
提案されたものであって、第1図に示すように、繰り返
し再生が行われるルーピング区間を有する第一の種類の
連続する複数サンプルSaと上記ルーピング区間の無い
第二の種類の連続する複数サンプルsbとより成る音源
データを選択的にストアする音源データ・メモリ1と、
上記音源データに付随するデータを抽出する付属情報レ
ジスタ2と、該抽出されたデータからその音源データの
ルーピング区間の有無とその音源データの終了を示す識
別フラグを検出するフラグ・チエノり回路3と、上記付
属情報レジスタ2の抽出されたデータと音源データから
上記音源データ・メモリ1の上記第一の種類の連続する
複数サンプルSaと第二の種類の連続する複数サンプル
sbを読み出すためのアドレスを発生するアドレス発生
回路4と、上記付属情報レジスタ2の上記抽出されたデ
ータに基づき上記音源データを信号処理(例えばデコー
ド)して再生可能なデータにするオーディオ信号処理回
路5と、上記フラグ・チェック回路3の識別フラグによ
り上記信号処理された音源データにミューティングをか
けるミュート回路6とを有することにより、上記音源デ
ータ・メモリlより上記第一の種類の連続する複数サン
プルSaを上記音源データ・メモリ1より繰り返し読み
出すか、上記第二の種類の連続する複数サンプルsbを
読み出してアナログ又はディジタル・オーディオ信号を
再生すると共に、上記識別フラグがその音源データがル
ーピング区間が無く、音源データの終了であることを示
している時、ミューティングをかけることを特徴とする
ものである。
A sound source device according to the present invention has been proposed to achieve the above-mentioned object, and includes a plurality of continuous samples of a first type having a looping section in which repeated playback is performed, as shown in FIG. a sound source data memory 1 that selectively stores sound source data consisting of Sa and a second type of continuous plurality of samples sb without the looping section;
an attached information register 2 for extracting data accompanying the sound source data; and a flag chienori circuit 3 for detecting from the extracted data an identification flag indicating the presence or absence of a looping section of the sound source data and the end of the sound source data. , an address for reading the first type of consecutive samples Sa and the second type of consecutive samples sb from the sound source data memory 1 from the extracted data and sound source data of the attached information register 2. an audio signal processing circuit 5 that performs signal processing (for example, decoding) on the sound source data to make it playable data based on the extracted data of the attached information register 2, and the flag check. By having a mute circuit 6 that mutes the signal-processed sound source data using the identification flag of the circuit 3, a plurality of consecutive samples Sa of the first type are transmitted from the sound source data memory l as the sound source data. When the analog or digital audio signal is reproduced by repeatedly reading from the memory 1 or by reading out a plurality of consecutive samples sb of the second type, the identification flag indicates that the sound source data has no looping section and the end of the sound source data is detected. It is characterized by applying muting when a certain thing is indicated.

〔作用] 本発明によれば、音源データに付随する音源データの終
了を示す識別フラグを有しており、ルーピング区間が無
く音源データの終了であることを示す識別フラグを検出
することによりミューティングをかける。
[Operation] According to the present invention, the sound source data includes an identification flag indicating the end of the sound source data, and muting is performed by detecting the identification flag indicating that there is no looping section and the end of the sound source data. multiply.

〔実施例〕〔Example〕

以下、本発明に係る音源装置の一実施例について図面を
参照しながら説明する。なお、本発明は以下の実施例に
限定されるものでないことは言うまでもない。
An embodiment of the sound source device according to the present invention will be described below with reference to the drawings. It goes without saying that the present invention is not limited to the following examples.

第2図において、音源データ・メモリ11及びアドレス
・データ・メモリ12を含むメモリ13には、外部の音
源データ供給手段10からの音源データが供給されるよ
うになっている。本発明の説明に先立って、この音源デ
ータを得るための方法及び装置について概略的に説明す
る。
In FIG. 2, a memory 13 including a sound source data memory 11 and an address data memory 12 is supplied with sound source data from an external sound source data supply means 10. Prior to explaining the present invention, a method and apparatus for obtaining this sound source data will be briefly explained.

すなわち、先ず第3図はサンプリング前の楽音信号波形
の一例を示している。この第3図の楽音信号波形におい
て、一般に発音開始直後においてはピアノの打鍵ノイズ
や管楽器のプレスノイズ等の非音程成分が含まれること
により、波形の周期性が不明瞭な部分であるフォルマン
ト部分FRが生じており、その後楽音の音程(ピッチ、
音高)に対応する基本周期で同じ波形が繰り返し現れる
ようになる。この繰り返し波形のn周期分(nは整数)
をルーピング区間LPとし、このルーピング区間LPは
ルーピング開始点LP、とルーピング終端点LPtのル
ーピングポイント間で表されるものである。そして上記
フォルマント部分FRとルーピング区間LPとを記憶媒
体に記録し、再生時にはフォルマント部分FHの再生に
続いてルーピング区間LPを繰り返し再生することによ
り、任意の長時間に亘って楽音を発生させることができ
るわけである。
That is, first, FIG. 3 shows an example of a musical tone signal waveform before sampling. In the musical tone signal waveform shown in FIG. 3, the formant part FR is a part in which the periodicity of the waveform is unclear because non-pitch components such as piano key-press noise and wind instrument press noise are generally included immediately after the start of sound generation. occurs, and then the musical pitch (pitch,
The same waveform appears repeatedly with a fundamental period corresponding to the pitch). n periods of this repetitive waveform (n is an integer)
is a looping section LP, and this looping section LP is expressed between the looping points of the looping start point LP and the looping end point LPt. Then, by recording the formant portion FR and the looping section LP on a storage medium, and during playback, the looping section LP is repeatedly played following the playback of the formant portion FH, thereby making it possible to generate a musical tone over an arbitrary long period of time. It is possible.

この楽音信号波形を上記フォルマント部分FRとルーピ
ング区間LPとに分けてメモリ等の記憶媒体に記録する
際に、ビット圧縮符号化を施してデータ量の低減を図っ
ている。
When this musical tone signal waveform is divided into the formant portion FR and the looping section LP and recorded on a storage medium such as a memory, bit compression encoding is applied to reduce the amount of data.

ところでこのビット圧縮符号化方式としては、種々のも
のが考えられるが、ここでは、本件出願人が先に特開昭
62−008629号公報や特開昭62−003516
号公報等において提案している準瞬時圧伸型、すなわち
波高値データの一定ワード数(hサンプル)毎にブロッ
ク化しこのブロック単位でビット圧縮を施すような高能
率符号化方式を用いるものとし、この高能率ピント圧縮
符号化方式について、第4図を参照しながら概略的に説
明する。
By the way, there are various bit compression encoding methods that can be considered, but here, the present applicant has previously published Japanese Patent Application Laid-Open No. 62-008629 and Japanese Patent Application Laid-Open No. 62-003516.
A quasi-instantaneous companding type proposed in the above publication, that is, a high-efficiency encoding method in which a certain number of words (h samples) of peak value data is divided into blocks and bit compression is applied in units of blocks, is used. This high-efficiency focus compression encoding method will be schematically explained with reference to FIG.

この第4図において、上記高能率ピント圧縮符号化シス
テムは、記録側のエンコーダ70と、再生側のデコーダ
90とにより構成されており、エンコーダ70の入力端
子71には、上記音源信号の波高値データx (n)が
供給されている。
In FIG. 4, the high-efficiency focus compression encoding system is composed of an encoder 70 on the recording side and a decoder 90 on the reproduction side. Data x (n) is supplied.

この入力信号(の波高値データ)x(n)は、予測器7
2及び加算器73で構成されたFIR(有限インパルス
応答型)ディジタルフィルタ74に供給され、上記予測
器72からの予測信号(の波高値データ)x(n)は上
記加算器73に減算信号として送られている。上記加算
器73においては、上記入力信号x (n)から上記予
測信号x(n)が減算されることによって、予測誤差信
号あるいは広義の差分出力d (n)が出力される。予
測器72は、一般に過去の2個の人力x(n−p)、x
(n−p+1)+・・x(n−1)の1次結合により予
測値”; (n)を算出するものである。なお、上記F
IRフィルタ74を、以下エンコード・フィルタと称す
This input signal (peak value data) x(n) is obtained by the predictor 7
The prediction signal (peak value data) x(n) from the predictor 72 is supplied to the FIR (finite impulse response) digital filter 74, which is composed of the adder 72 and the adder 73. being sent. The adder 73 subtracts the predicted signal x(n) from the input signal x(n), thereby outputting a prediction error signal or a broadly defined difference output d(n). The predictor 72 generally calculates the past two human forces x(n-p), x
The predicted value "; (n) is calculated by a linear combination of (n-p+1)+...x(n-1).The above F
The IR filter 74 is hereinafter referred to as an encode filter.

上記高能率ピント圧縮符号システムにおいては、上記音
源データの一定時間内のデータ、すなわち、一定ワード
数りの入力データ毎にブロック化して、各ブロック毎に
最適の特性の上記エンコード・フィルタ74を選択する
ようにしている。これは、互いに異なる特性を存する複
数の(例えば4個の)エンコード・フィルタを予め設け
ておき、これらのフィルタのう“ち最適の特性のフィル
タを選択することで実現できるものである。ただし、般
のディジタル・フィルタの構成上は、第1EIに示す1
個のエンコード・フィルタ74の予測器72の係数の組
を複数組(例えば4組)係数メモリ等に記憶させておき
、これらの係数の組を時分割的に切り換え選択すること
で、実質的に上記複数のエンコード・フィルタのうちの
1つを選択するのと等価な動作を行わせることが多い。
In the high-efficiency focus compression encoding system, the sound source data is divided into blocks for each data within a certain period of time, that is, input data of a certain number of words, and the encoding filter 74 having the optimum characteristics is selected for each block. I try to do that. This can be achieved by providing in advance a plurality of (for example, four) encoding filters with different characteristics and selecting the filter with the optimal characteristics among these filters.However, The configuration of a general digital filter is as shown in the first EI.
By storing a plurality of coefficient sets (for example, four sets) of the coefficients of the predictor 72 of the encode filter 74 in a coefficient memory, etc., and switching and selecting these coefficient sets in a time-sharing manner, the An operation equivalent to selecting one of the plurality of encoding filters described above is often performed.

次に、上記予測誤差としての差分出力d (n)は、加
算器81を介し、利得Gのシフタ75と量子化器76と
よりなるビット圧縮器に送られ、例えば浮動小数点(フ
ローティング・ポイント)表示形態における指数部が上
記利得Gに、仮数部が量子化器76からの出力にそれぞ
れ対応するような圧縮処理あるいはレンジング処理が施
される。すなわち、シフタ75により入力データを上記
利得Gに応じたビット数だけシフトしてレンジを切り替
え、量子化器76により該ビット・シフトされたデータ
の一定ビット数を取り出すような再量子化を行っている
。ここで、ノイズ・シェイピング回路(ノイズ・シェイ
パ)77は、量子化器76の出力と入力との誤差分いわ
ゆる量子化誤差を加算器7日で得て、この量子化誤差を
利得G−1のシフタ79を介し予測器80に送って、量
子化誤差の予測信号を加算器81に減算信号として帰還
するようないわゆるエラー・フィードバックを行う。
Next, the difference output d (n) as the prediction error is sent via an adder 81 to a bit compressor consisting of a shifter 75 with a gain G and a quantizer 76, and is sent to a bit compressor consisting of a shifter 75 with a gain G and a quantizer 76, for example, a floating point Compression processing or ranging processing is performed such that the exponent part in the display form corresponds to the gain G and the mantissa part corresponds to the output from the quantizer 76, respectively. That is, the shifter 75 shifts the input data by the number of bits corresponding to the gain G to switch the range, and the quantizer 76 performs requantization to extract a fixed number of bits from the bit-shifted data. There is. Here, the noise shaping circuit (noise shaper) 77 obtains a so-called quantization error corresponding to the error between the output and the input of the quantizer 76 using the adder 7, and converts this quantization error into a gain G-1. The signal is sent to the predictor 80 via the shifter 79, and so-called error feedback is performed in which the predicted signal of the quantization error is fed back to the adder 81 as a subtraction signal.

このように量子化器76による再量子化とノイズ・シェ
イピング回路77によるエラー・フィードバンクとが施
され、出力端子82より出力′a″(n)が取り出され
る。
In this way, requantization by the quantizer 76 and error feedbanking by the noise shaping circuit 77 are performed, and an output 'a''(n) is taken out from the output terminal 82.

ところで、上記加算器81からの出力d ’ (n)は
上記差分出力d (n)より上記ノイズ・シェイパ77
からの量子化誤差の予測信号?(n)を減算したもので
あり、上記利得Gのシフタ75からの出力a IT (
n)は利得Gと上記出力加算器81からの出力d ’ 
(n)を乗算したものである。また、上記量子化器】6
からの出力官(n)は、量子化の過程における量子化誤
差e (n)と上記シフタ75からの出力d ” (n
)を加算したものとなり、上記ノイズ・シェイパ77の
上記加算器78において上記量子化誤差e (n)が取
り出される。この量子化誤差e (n)は、上記利得G
−’のシフタ79を介し、過去のr個の入力の1次結合
をとる予測器80を介することにより量子化誤差の予測
信号7(n)となる。
By the way, the output d'(n) from the adder 81 is calculated from the difference output d(n) by the noise shaper 77.
Predicted signal of quantization error from? (n), and the output a IT (
n) is the gain G and the output d' from the output adder 81
(n). In addition, the above quantizer】6
The output function (n) from the quantization process is the quantization error e (n) and the output d '' (n
), and the adder 78 of the noise shaper 77 extracts the quantization error e (n). This quantization error e (n) is the gain G
-' shifter 79 and a predictor 80 that takes a linear combination of r past inputs, resulting in a quantization error prediction signal 7(n).

上記音源データは、以上のようなエンコード処理が施さ
れ、上記量子化器76からの出力↑(n)となって出力
端子82を介して取り出される。
The sound source data is subjected to the encoding process as described above, and is outputted from the quantizer 76 as an output ↑(n) through the output terminal 82.

次に予測・レンジ適応回路84からは、最適フィルタ選
択情報としてのモード選択情報が出力されて、上記エン
コード・フィルタ74の例えば予測器72および出力端
子87に送られ、また、上記利得Gおよび利得G−1あ
るいは上記ビット・シフト量を決定するためのレンジ情
報が出力されて、各シフタ75.79および出力端子8
6に送られている。
Next, the prediction/range adaptation circuit 84 outputs mode selection information as optimal filter selection information and sends it to the predictor 72 and output terminal 87 of the encoding filter 74, and also outputs the gain G and the gain G-1 or the range information for determining the above bit shift amount is outputted to each shifter 75, 79 and output terminal 8.
It has been sent to 6.

このようなビット圧縮符号化エンコーダ70からの上記
1ブロック分の出力データの一例を第5図に示している
。この1ブロック分のデータは、1バイトのヘッダ情報
(ビット圧縮に関するパラメータ情報あるいは付属情報
)RFと8バイトのサンプル用データD 46〜DB3
で構成されている。
An example of one block of output data from the bit compression encoding encoder 70 is shown in FIG. This one block of data consists of 1 byte of header information (parameter information or attached information regarding bit compression) RF and 8 bytes of sample data D46 to DB3.
It is made up of.

上記ヘッダ情報(付属情報)RFは、4ビツトの上記レ
ンジ情報と、2ビツトの上記モード選択情報あるいはフ
ィルタ選択情報と、それぞれ1ビツトの2つのフラグ情
報、例えばループの有無を示す情報Ll及び波形の終端
ブロック(エンドブロック)が否かを示す情報Elとで
構成されている。
The header information (attached information) RF includes the range information of 4 bits, the mode selection information or filter selection information of 2 bits, and two flag information of 1 bit each, such as information Ll indicating the presence or absence of a loop and the waveform. It is composed of information El indicating whether there is a terminal block (end block) or not.

これらの情報Ll及びElが上記識別フラグに対応する
。ここで1サンプルの波高値データは、ビット圧縮され
て4ビツトで表されており、上記デークDAo=D11
.中には16サンプル分の4ビツト・データD A6M
〜D 13Lが含まれている。
These pieces of information Ll and El correspond to the above-mentioned identification flag. Here, the peak value data of one sample is compressed and expressed in 4 bits, and the above data DAo=D11
.. Inside is 4-bit data D A6M for 16 samples.
~D 13L is included.

この第5図に示すような圧縮符号化ブロック単位のデー
タがメモリ等の記憶媒体に記録され、第2図の例えば音
源データ供給手段10からメモリ13の音源データ・メ
モリ11に供給される。音源データ・メモリ11からの
上記圧縮符号化ブロック単位のデータは、上記付属情報
が付属情報レジスタ14に取り込まれ、サンプル・デー
タがデコーダ30にてデコードされる。このデコーダ3
0はデコード・フィルタ31とシフタ32とがら成り、
デコード・フィルタ31は加算器33と予測器34とか
ら成る。このデコーダ30について、第4図を参照しな
がら説明する。
The compressed and encoded block unit data as shown in FIG. 5 is recorded in a storage medium such as a memory, and is supplied from, for example, the sound source data supply means 10 to the sound source data memory 11 of the memory 13 in FIG. For the compressed and encoded block unit data from the sound source data memory 11, the attached information is taken into the attached information register 14, and the sample data is decoded by the decoder 30. This decoder 3
0 consists of a decode filter 31 and a shifter 32,
Decode filter 31 consists of an adder 33 and a predictor 34. This decoder 30 will be explained with reference to FIG.

すなわち第4図において、再生側のデコーダ90の入力
端子91には上記エンコーダ70の出力端子82からの
出力(サンプル・データ)↑(n>が伝送されあるいは
記録、再生されることによって得られた信号7 ’ (
n)が供給されている。この入力信号71 (n)は利
得G−’のシフタ92を介し加算器93に送られている
。加算器93がらの出力x ’ (n)は予測器94に
送られて予測信号マ。
That is, in FIG. 4, the output (sample data) ↑(n>) from the output terminal 82 of the encoder 70 is transmitted to the input terminal 91 of the decoder 90 on the reproduction side, or is obtained by being recorded and reproduced. Signal 7' (
n) is supplied. This input signal 71 (n) is sent to an adder 93 via a shifter 92 with a gain of G-'. The output x'(n) from the adder 93 is sent to a predictor 94 to generate a predicted signal.

(n)となり、この予測信号マ°(n)は上記加算器9
3に送られてシフタ92からの出力’;f ” (n)
と加算される。この加算出力が出力端子95よりデコー
ド出力↑′(n)として出力される。この場合、シフタ
92からの出カフ II (n)は、上記入力信号7 
v (n)と利得G−1を乗算したものである。また、
上記加算器93の出力↑′(n)は、上記シフタ92か
らの出力↑”(n)と予測信号7 ’ (n)とを加算
したものである。
(n), and this predicted signal ma°(n) is sent to the adder 9
3 and the output from shifter 92 ';f'' (n)
is added. This addition output is output from the output terminal 95 as a decoded output ↑'(n). In this case, the output cuff II (n) from the shifter 92 is the input signal 7
v (n) multiplied by gain G-1. Also,
The output ↑'(n) of the adder 93 is the sum of the output ↑''(n) from the shifter 92 and the prediction signal 7'(n).

これらのシフタ92、加算器93及び予測器94が第2
図のシフタ32、加算器33及び予測器34とそれぞれ
対応する。
These shifter 92, adder 93 and predictor 94
They correspond to the shifter 32, adder 33, and predictor 34 in the figure, respectively.

また、上記エンコーダ70の各出力端子86およびB7
より出力され、伝送あるいは記録、再生された上記レン
ジ情報およびモード(フィルタ)選択情報は、上記デコ
ーダ90の各入力端子9Gおよび97にそれぞれ入力さ
れている。そして、入力端子96からのレンジ情報は上
記シフタ92に送られて利得G−1を決定し、入力端子
97からのモード選択情報は上記予測器94に送られて
予測特性を決定する。この予測器94の予測特性は、上
記エンコーダ70の予測器72の特性に等しいものが選
択される。第2図の場合には、これらのレンジ情報及び
フィルタ選択情報は付属情報レジスタ14から与えられ
る。
Also, each output terminal 86 and B7 of the encoder 70
The range information and mode (filter) selection information output, transmitted, recorded, and reproduced are input to input terminals 9G and 97 of the decoder 90, respectively. The range information from the input terminal 96 is sent to the shifter 92 to determine the gain G-1, and the mode selection information from the input terminal 97 is sent to the predictor 94 to determine prediction characteristics. The prediction characteristic of this predictor 94 is selected to be equal to the characteristic of the predictor 72 of the encoder 70. In the case of FIG. 2, these range information and filter selection information are given from the attached information register 14.

第2図の回路は、以上のようなデコード動作を主として
行うためのものであり、デコードされた音源データは、
エンベロープ付加やリバーブあるいはエコー処理等の各
種処理が施されて、ミュート回路36を介し、D/A変
換器37に送られ、アナログ楽音信号となってスピーカ
3Bより再生される。
The circuit shown in FIG. 2 is mainly used to perform the decoding operation as described above, and the decoded sound source data is
The signal is subjected to various processing such as addition of an envelope, reverberation, or echo processing, and then sent to the D/A converter 37 via the mute circuit 36, where it becomes an analog musical tone signal and is reproduced from the speaker 3B.

さらに第2図の回路においては、キー・オン等に応じて
メモリ13にストアされた所定の音源データを読み出す
と共にルーピング読出処理するためのアドレス発生回路
20を有している。このアドレス発生回路20は、アド
レス・データ・メモリ12からのデータ開始アドレス・
データSAと、ルーピング開始アドレス・データLSA
とを読み込むためのアドレス・レジスタ21と、このア
ドレス・データがロードされてクロックに応じて計数動
作するアドレス・カウンタ22と、このアドレス・カウ
ンタ22からのアドレス出力が送られるマルチプレクサ
23とを有している。アドレス・カウンタ22のロード
制御端子(プリセット制御端子)には、端子24からの
後述するタイミング・パルスCPAがANDゲート25
を介して供給され、このANDゲート25はORゲート
26からの出力によりゲート制御される。またアドレス
発生回路20内にはディレクトリ・アドレス生成回路2
Bが設けられており、このディレクトリ・アドレス生成
回路2日からのアドレス出力がマルチプレクサ23に送
られている。このディレクトリ・アドレス出力と上記ア
ドレス・カウンタ22からのアドレス出力とのいずれか
一方がマルチプレクサ23により選択され、このマルチ
プレクサ23からのアドレス出力によりメモリ13がア
クセスされるようになっている。
Furthermore, the circuit shown in FIG. 2 includes an address generation circuit 20 for reading out predetermined sound source data stored in the memory 13 in response to key-on and the like and for performing looping read processing. This address generation circuit 20 generates a data start address from the address data memory 12.
Data SA and looping start address data LSA
It has an address register 21 for reading the address data, an address counter 22 which is loaded with this address data and performs counting operation according to the clock, and a multiplexer 23 to which the address output from the address counter 22 is sent. ing. The load control terminal (preset control terminal) of the address counter 22 receives a timing pulse CPA, which will be described later, from the terminal 24 and is connected to the AND gate 25.
The AND gate 25 is gate-controlled by the output from the OR gate 26. Also, a directory address generation circuit 2 is provided in the address generation circuit 20.
B is provided, and the address output from this directory address generation circuit 2 is sent to the multiplexer 23. Either the directory address output or the address output from the address counter 22 is selected by a multiplexer 23, and the memory 13 is accessed by the address output from the multiplexer 23.

付属情報レジスタ14は後述するタイミング・パルスC
PI+が端子15に供給されるタイミングで上記へンダ
情報(圧縮に関するパラメータ情報、あるいは付属情報
)を取り込み、このレジスタ14に取り込まれた付属情
報の内の上記ループ情報(ループの有無を示す情11)
Llは、インパーク(否定ゲート)16を介してAND
ゲート17に送られ、上記エンド情報(波形の終端ブロ
ックか否かを示す情報)ElはANDゲートIT及び上
記ORゲート26に送られる。ANDゲート17からの
出力信号はフリップフロップ18のセント端子Sに供給
され、このフリップフロシブ18のリセット端子Rには
端子19からの発音開始信号(キーオン信号)KONが
供給されている。このキーオン信号KONは、上記OR
ゲート26及びディレクトリ・アドレス生成回路28に
も供給されている。このキーオン信号KONは、電子楽
器のキーオンのみならず、自動演奏ソフトの発音開始ト
リガ信号等をも含むものである。
The attached information register 14 is a timing pulse C which will be described later.
At the timing when PI+ is supplied to the terminal 15, the above-mentioned hender information (parameter information regarding compression or attached information) is fetched, and the above-mentioned loop information (information 11 indicating the presence or absence of a loop) in the attached information fetched into this register 14 is read. )
Ll is ANDed through impark (negation gate) 16
The end information (information indicating whether or not it is the end block of the waveform) El is sent to the AND gate IT and the OR gate 26. The output signal from the AND gate 17 is supplied to the cent terminal S of the flip-flop 18, and the reset terminal R of the flip-flop 18 is supplied with a sound generation start signal (key-on signal) KON from the terminal 19. This key-on signal KON is the OR
It is also supplied to gate 26 and directory address generation circuit 28. This key-on signal KON includes not only a key-on of the electronic musical instrument but also a trigger signal for starting the sound generation of automatic performance software.

次に第6図は、上記メモリ13の内容の一例を示すもの
であり、例えば64にハイド程度のRAMを複数のメモ
リ領域、すなわち少なくとも上記音源データ・メモリ1
1の部分と上記アドレス・データ・メモリ12の部分と
に分けて使用している。アドレス・データ・メモリ12
はメモリ内のいわゆるディレクトリ領域の一部となって
おり、上記ディレクトリ・アドレス生成回路28からの
ディレクトリ・アドレスにより上記データ開始アドレス
・データSAやルーピング開始アドレスデータLSAが
アクセスされる。そして、これらのデータSA、LSA
によって第一の連続する複数サンプルより成るデータ部
分SDF (上記信号波形のフォルマント部分FRに対
応)の先頭アドレスと、第二の連続する複数サンプルよ
り成るデータ部分SDL (上記ルーピング区間LPに
対応)の先頭アドレスとがそれぞれ指示される。この第
6図の例では、SAI、LSAIによってそれぞれ指示
されるフォルマント・データSDF 1、ルーピング・
データSDL lから成る音源データSDIと、SA2
、LSA2によってそれぞれ指示されるデータ5DF2
.5DL2から成る音源データSD2と、SA3によっ
て指示されるデータ5DF2のみから成る音源データS
D3とを図示しているが、この他ルーピング部分のみか
ら成る音源データも考えられる。なお、実際には、上記
アドレス・データSAやLSAは、上記圧縮符号化のブ
ロンク単位で、すなわち第5図のヘッダ情報(付属情報
)RFのアドレスのみを指示するものであり、これより
細かい例えばバイト単位のアドレス指示は上記アドレス
・カウンタ22等により行われるものである。
Next, FIG. 6 shows an example of the contents of the memory 13. For example, in 64, a RAM of the size of Hyde is installed in a plurality of memory areas, that is, at least the sound source data memory 1.
1 and the address/data memory 12 are used separately. Address data memory 12
is a part of a so-called directory area in the memory, and the data start address data SA and looping start address data LSA are accessed by the directory address from the directory address generation circuit 28. And these data SA, LSA
The start address of the first data portion SDF (corresponding to the formant portion FR of the signal waveform) consisting of a plurality of consecutive samples, and the start address of the data portion SDL (corresponding to the above looping section LP) consisting of a second consecutive plurality of samples is determined by The starting address is indicated respectively. In the example shown in FIG. 6, formant data SDF 1 and looping data are respectively indicated by SAI and LSAI.
Sound source data SDI consisting of data SDL l and SA2
, data 5DF2 indicated by LSA2, respectively.
.. Sound source data SD2 consisting of 5DL2 and sound source data S consisting only of data 5DF2 specified by SA3.
Although D3 is shown in the figure, other sound source data consisting only of a looping portion may also be considered. In reality, the address data SA and LSA indicate only the address of the header information (attached information) RF in the compression encoding unit, that is, the address of the header information (attached information) RF shown in FIG. The address instruction in units of bytes is performed by the address counter 22 or the like.

次に動作を説明する。Next, the operation will be explained.

第7図は信号処理の時分割動作を説明するためのタイミ
ングチャートであり、T、はサンプリング周期を表して
いる。例えばサンプリング周波数が32 k Hzのと
きにはT、は1/32 [mslとなる。この1つのサ
ンプリング周期T、は、先ず同時に発音可能な音の数で
あるポイス数(例ではポイスOからポイス7までの8個
としている)に分割され、各ポイスの割り付は時間がさ
らに細分割されて各時分割処理内容により割り付けられ
ている。この時分割処理の最小単位時間をτとするとき
、例えばτ。、τ1は上記ディレクトリ領域のアドレス
・データSAあるいはLSAを読み込む(フェッチする
)時間に割り当てられ、時間τ2からτ5までは上記ビ
ット圧縮符号化データを読み込む時間に割り当てられ、
時間τ、は上記アドレス・カウンタ22の更新に割り当
てられている。また、上記時間τ2〜τ5のうち、時間
τ2は上記付属情報(第5図のへンダ情報RF)の読み
込みに、また時間τ3〜τ、はサンプル・データ(第5
図のデータDAO〜D6.)の読み込みにそれぞれ割り
付けられている。そして、上記タイミング・パルスCP
 hは上記時間τ、のタイミングで、また上記タイミン
グ・パルスCP、は上記時間τ2のタイミングでそれぞ
れ出力される。
FIG. 7 is a timing chart for explaining time-division operation of signal processing, and T represents a sampling period. For example, when the sampling frequency is 32 kHz, T becomes 1/32 [msl]. This one sampling period T is first divided into the number of notes that can be produced simultaneously (8 pieces from Pois O to Pois 7 in the example), and the allocation of each Pois is made even more precisely in terms of time. It is divided and allocated according to the content of each time-sharing process. When the minimum unit time of this time division processing is τ, for example, τ. , τ1 is assigned to the time to read (fetch) the address data SA or LSA of the directory area, and the times τ2 to τ5 are assigned to the time to read the bit compression encoded data,
A time τ is allocated to updating the address counter 22. Also, among the above-mentioned times τ2 to τ5, time τ2 is used to read the attached information (hander information RF in Fig. 5), and time τ3 to τ is used to read the sample data (the
Data DAO to D6 in the figure. ) are assigned to each read. And the above timing pulse CP
h is output at the timing of the above-mentioned time τ, and the above-mentioned timing pulse CP is output at the timing of the above-mentioned time τ2.

ここで発音開始のためのキーオン信号KONは、上記サ
ンプリング周期T、の1周期の聞出力され(図示の例で
は時刻t0〜t1の間ハイレベル゛°H”となり)、こ
のKON信号の前縁(立ち上がり)でスタンバイ信号5
TBYが立ち下がり、数T。
Here, the key-on signal KON for starting sound generation is output during one period of the sampling period T (in the illustrated example, it is at a high level "°H" from time t0 to t1), and the leading edge of this KON signal Standby signal 5 at (rise)
TBY falls, number T.

周期後(図示の例では5周期後の時刻ts)に立ち上が
るようになっている。
It is designed to rise after a cycle (in the illustrated example, time ts after five cycles).

このキーオン信号KONが端子19に入力されると、デ
ィレクトリ・アドレス生成回路28は、CPUシステム
によって設定されるメモリのオフセット・アドレスと音
源の種類を示すソース番号とに基づきディレクトリ・ア
ドレスを生成し、マルチプレクサ23に送る。このマル
チプレクサ23は、上記時分割スロットの時間τ。、τ
、の間、このディレクトリ・アドレス生成回路2Bから
のアドレス出力を選択してメモリ13をアクセスし、ア
ドレス・データ・メモリ12内の所定のアドレス・デー
タ、すなわち上記ソース番号に対応した音源データの開
始アドレスを示すデータSAを読み出して、データ・バ
スを介してアドレス・レジスタ21に取り込む(フェッ
チする)、このとき、上記キーオン信号KONはORゲ
ート26を介してANDゲート25に送られ、該AND
ゲート25をオン(導通)状態に制御するから、上記タ
イム・スロットτ。のタイミングのパルスCP、がアド
レス・カウンタ22のロード制御端子に入力され、アド
レス・レジスタ21に取り込まれたデータ開始アドレス
データSAがアドレス・カウンタ22にロード(プリセ
ット)される、そして、アドレス・カウンタ22はこの
データSAから計数動作を開始し、SAが先頭アドレス
となる音源データSDFがアドレス順にアクセスされる
ことになる。そしてデータSDFに連続するループデー
タSDLが存在するときには、データSDFの次にデー
タSDLが自動的に順次アクセスされることになる。
When this key-on signal KON is input to the terminal 19, the directory address generation circuit 28 generates a directory address based on the memory offset address set by the CPU system and the source number indicating the type of sound source, The signal is sent to the multiplexer 23. This multiplexer 23 receives the time τ of the time division slot. , τ
During , the address output from the directory address generation circuit 2B is selected to access the memory 13, and the predetermined address data in the address data memory 12, that is, the start of the sound source data corresponding to the above source number. The data SA indicating the address is read out and fetched into the address register 21 via the data bus. At this time, the key-on signal KON is sent to the AND gate 25 via the OR gate 26, and
Since the gate 25 is controlled to be on (conductive), the above time slot τ. A pulse CP with a timing of 22 starts a counting operation from this data SA, and the sound source data SDF whose starting address is SA is accessed in address order. When there is continuous loop data SDL in the data SDF, the data SDL is automatically sequentially accessed after the data SDF.

ここで、上記キーオン信号KONが出力された次のサン
プリング周期以降(時刻(1以降)においては、該キー
オン信号KONは初期状態(ローレベル゛L”の状態)
に復帰し、ディレクトリ・アドレス生成回路28は上記
ループデータSDLの開始アドレス・データLSAを出
力する。従って、アドレス・レジスタ21ばこのループ
開始アドレス・データLSAを取り込むが、アドレス・
カウンタ22はロード制御端子に入力がされない限りア
ドレス・レジスタ21からのアドレスをロードすること
はなく、それまでのカウント動作を持続する。なお、こ
の動作は、フォルマント部分のデータSDFのみの場合
には無関係である。
Here, after the next sampling period when the key-on signal KON is output (time (after time 1)), the key-on signal KON is in an initial state (low level "L" state).
The directory address generation circuit 28 outputs the start address data LSA of the loop data SDL. Therefore, the address register 21 takes in the loop start address data LSA, but the address
The counter 22 does not load the address from the address register 21 unless an input is input to the load control terminal, and continues the counting operation up to that point. Note that this operation is irrelevant in the case of only the data SDF of the formant part.

そして付属情報レジスタ14からの上記エンド情報El
のフラグが立ったとき、すなわち、ループデータSDL
のエンド・ブロック(あるいはフォルマント部分のデー
タSDFのエンド・ブロック)に達したときには、OR
ゲート26を介してANDゲート25がオン(導通)状
態となり、上記タイミング・パルスCP^の入力タイミ
ングでアドレス・カウンタ22に上記アドレス・レジス
タ21内のルーピング開始アドレス・データLSAがロ
ード(プリセット)される、ただし、前述したように上
記アドレス・データSAやLSAは上記ピント圧縮ブロ
ック単位のアドレスであり、現実の動作は次のブロック
の信号処理のタイミングでルーピング開始ブロックの音
源データのルーピング開始ブロックのアクセスが行われ
る。
Then, the above end information El from the attached information register 14
When the flag is raised, that is, the loop data SDL
When the end block of (or the end block of the formant part data SDF) is reached, OR
The AND gate 25 is turned on (conductive) through the gate 26, and the looping start address data LSA in the address register 21 is loaded (preset) into the address counter 22 at the input timing of the timing pulse CP^. However, as mentioned above, the address data SA and LSA are addresses for each focus compression block, and the actual operation is to start the looping start block of the sound source data of the looping start block at the timing of signal processing of the next block. Access is made.

また、上記エンド情報ElはANDゲート17にも送ら
れている。このANDゲート17には上記ループ有無情
報Llの否定(NOT)出力が送られていることより、
第6図の音源データSD3のように第一の種類のデータ
(フォルマント部分に対応するデータ)SDF3のみか
ら成り、上記ルーピング区間のデータSDLが無いとき
、否定ゲート16からの出力がハイレベル“H”となっ
ている。このような音源データSD3のエンド・ブロッ
クに達したとき、ANDゲート17からの出力がハイレ
ベル°′H”となり、フリップフロップ18をセットし
てミュート回路をミューティング状態(オーディオ信号
を遮断する状LQ)に制illする。これはルーピング
無しのときの消音動作であるが、ルーピング有りのとき
には、次のキーオンがなされるまでルーピング再生を繰
り返しており、エンベロープ処理により音を消している
。なお、キーオン信号KOHの入力時には、これがフリ
ップフロップ18のリセット入力端子Rに供給され、そ
れ以前の状態にかかわらずフリップフロップ18がリセ
ット状態となるから、上記ミューティング状態は解除さ
れる。
The end information El is also sent to the AND gate 17. Since the NOT output of the loop presence/absence information Ll is sent to this AND gate 17,
When the sound source data SD3 in FIG. 6 consists of only the first type of data (data corresponding to the formant part) SDF3 and there is no data SDL in the looping section, the output from the negation gate 16 is at a high level "H". ”. When such an end block of the sound source data SD3 is reached, the output from the AND gate 17 becomes a high level °'H'', and the flip-flop 18 is set to put the mute circuit into a muting state (a state in which the audio signal is cut off). LQ). This is a mute operation when there is no looping, but when looping is present, looping playback is repeated until the next key-on, and the sound is muted by envelope processing. When the key-on signal KOH is input, it is supplied to the reset input terminal R of the flip-flop 18, and the flip-flop 18 is put into the reset state regardless of its previous state, so that the muting state is canceled.

ところで、第6図の2つの音源データSDI、SD2、
特にそれぞれのルーピング・データ部分SDL 1.5
DL2を用いて、外部の音源データ供給手段10からの
音源データを交互に上記5DL1.5DL2のメモリ・
エリアに読み込み、これを交互に読み出してデコーダ3
0でデコード処理することにより、長時間に亘る音源デ
ータのデコード処理を行うことが可能となる。すなわち
、上記SDL 1.5DL2の一方のメモリ・エリアか
らの音源データを読み出してデコード処理している間に
、他方のメモリ・エリアに外部の音源データ供給手段1
0からの音源データを書き込むようにし、これらのメモ
リ・エリアを交代して交互に書き込みと読み出しを行う
ものである。
By the way, the two sound source data SDI, SD2,
Especially each looping data part SDL 1.5
Using the DL2, sound source data from the external sound source data supply means 10 is alternately sent to the memories of the 5DL1 and 5DL2.
area and read it out alternately to the decoder 3.
By decoding with 0, it is possible to decode sound source data over a long period of time. That is, while the sound source data from one memory area of the SDL 1.5DL2 is being read out and decoded, the external sound source data supply means 1 is sent to the other memory area.
Sound source data is written starting from 0, and writing and reading are performed alternately by alternating these memory areas.

これは、上記ルーピング処理動作を利用して、上記ルー
ピング開始アドレス・データLSAIとLSA2とを交
互に書き換えることにより、極めて容易に実現できる。
This can be realized very easily by using the looping processing operation and alternately rewriting the looping start address data LSAI and LSA2.

すなわち、第6図のメモリ13において、ルーピング開
始アドレス・データLSAIが書き込まれているメモリ
・エリア12aに対して、アドレス・データをLSAI
とLSA2とで書き換えるものであり、音源データ5D
L1を読み出して上記デコード処理している間にはメモ
リ・エリア12にルーピング開始アドレス・データLS
A2を書き込み、このLSA2をアドレス・レジスタ2
1に取り込んでおき、データSDL 1の終端(ルーピ
ング終端)に達した時点でこのアドレス・データLSA
2をアドレス・カウンタ22にロードすることで音源デ
ータ5DL2を開始アドレスLSA2からアクセスし始
める。
That is, in the memory 13 of FIG. 6, the address data is written to the memory area 12a where the looping start address data LSAI is written.
and LSA2, and the sound source data 5D
While reading L1 and performing the above decoding process, looping start address data LS is stored in memory area 12.
Write A2 and set this LSA2 to address register 2.
1, and when it reaches the end of data SDL 1 (looping end), this address data LSA
By loading 2 into the address counter 22, access to the sound source data 5DL2 starts from the start address LSA2.

次に、この音源データ5DL2を読み出して上記デコー
ド処理している間にはメモリ・エリア12にルーピング
開始アドレス・データLSAIを書き込む。そしてデー
タ5DL2の終端(ルーピング終端)に達した時点でこ
のアドレス・データLSAIをアドレス・カウンタ22
にロードするから、音源データSDL 1のアクセスが
開始される。
Next, looping start address data LSAI is written in the memory area 12 while this sound source data 5DL2 is read out and subjected to the decoding process. When the end of the data 5DL2 (looping end) is reached, this address data LSAI is transferred to the address counter 22.
Since the sound source data SDL 1 is loaded, access to the sound source data SDL 1 is started.

このようにして、長時間に亘る音源データの連続的なデ
コード処理を、ハードウェアの増加なく実現することが
できる。
In this way, continuous decoding processing of sound source data over a long period of time can be realized without increasing hardware.

ところで、上記ビット圧縮符号化処理やその他の音源デ
ータ生成のためのディジタル信号処理については、ディ
ジタル信号処理装置(DSP)を用いてソフトウェア的
に実現することが多く行われており、また記録された音
源データの再生にもDSPを用いたソフトウェア的な構
成が採用されることが多い。第8図はその一例として、
音源データを取り扱う音源ユニットとしてのオーディオ
・プロセッシング・ユニット(APU)lOL及びその
周辺を含むシステムの全体構成例を示している。
By the way, the above-mentioned bit compression encoding processing and other digital signal processing for generating sound source data are often implemented in software using a digital signal processing device (DSP). A software-like configuration using a DSP is often adopted for the reproduction of sound source data. Figure 8 shows an example of this.
An example of the overall configuration of a system including an audio processing unit (APU) 1OL as a sound source unit that handles sound source data and its surroundings is shown.

この第8図において、例えば一般のパーソナルコンピュ
ータ装置や、ディジタル電子楽器、TVゲーム機等に設
けられているホストコンピュータ104は、上記音源ユ
ニットとしてのAPUIO7と接続されており、該ホス
トコンビエータ104からは音源データ等がAPIJ1
07にロードされるようになっている。すなわち、この
ホストコンピュータ104内に上記音源データ供給手段
10が設けられている。
In FIG. 8, a host computer 104 installed in, for example, a general personal computer device, a digital electronic musical instrument, a TV game machine, etc. is connected to the APUIO 7 as the sound source unit, and is connected to the host combiator 104. The sound source data etc. are APIJ1
It is designed to be loaded in 07. That is, the sound source data supply means 10 is provided within the host computer 104.

次にAPtJ107は、マイクロプロセッサ等のCPU
 (中央処理装り103と、DSP (ディジタル信号
処理装置)101と、上述したような音源データ等が記
憶されたメモリ102とを少なくとも有して構成される
ものである。すなわら、このメモリ102は上記メモリ
13に対応するものであり、少なくとも音源データが記
憶されており、上記DSP 101により該音源データ
の読み出し制御を含む各種処理、例えばルーピング処理
、ビット伸長(復元)処理、ピッチ変換処理、エンベロ
ー1の付加、エコー(リバーブ)処理等が施される。メ
モリ102は、これらの各種処理のためのバッファメモ
リとしても用いられる。CPU103は、D S P 
1 ’01のこれらの各種処理の動作や内容等について
の制御を行うものである。また、上述したメモリ13(
メモリ102)内のアドレス・データLSAの書き換え
や音源データ供給手段10(ホストコンピュータ104
内)からの音源データをメモリ13に書き込む処理等も
上記CPU103が行う。
Next, APtJ107 is a CPU such as a microprocessor.
(It is configured to include at least a central processing unit 103, a DSP (digital signal processing device) 101, and a memory 102 in which the above-mentioned sound source data etc. are stored. In other words, this memory Reference numeral 102 corresponds to the memory 13, in which at least sound source data is stored, and the DSP 101 performs various processes including readout control of the sound source data, such as looping processing, bit expansion (restoration) processing, and pitch conversion processing. , adding envelope 1, echo (reverb) processing, etc. The memory 102 is also used as a buffer memory for these various processes.
1 '01 controls the operations and contents of these various processes. In addition, the memory 13 (
Rewriting address data LSA in the memory 102) and sound source data supply means 10 (host computer 104)
The CPU 103 also performs the process of writing the sound source data from the source data into the memory 13.

さらに、メモリ102からの上記音源データに対してD
SPIOIにより上記各種処理を施して最終的に得られ
たディジタル楽音データは、D/Aコンバータ105(
D/Aコンバータ37に対応)によりアナログ信号に変
換されてスピーカ106(スピーカ38に対応)に供給
されるようになっている。
Furthermore, D is applied to the sound source data from the memory 102.
The digital musical tone data finally obtained by performing the above various processing using SPIOI is sent to the D/A converter 105 (
The signal is converted into an analog signal by a D/A converter 37 (corresponding to the D/A converter 37) and then supplied to the speaker 106 (corresponding to the speaker 38).

なお、本発明は上述した実施例のみに限定されるもので
はなく、例えば、上述の実施例においてはフォルマント
部分とルーピング区間とを接続して音源データを形成し
ていたが、ルーピング区間のみから成る音源データを形
成する場合にも容易に適用可能である。また、上記デコ
ーダ側構成や音源データ供給用外部メモリ等は、ROM
カートリッジやアダプタとして供給してもよい、また、
楽音信号の音源のみならず音声合成にも適用可能である
Note that the present invention is not limited to the embodiments described above; for example, in the embodiments described above, the formant part and the looping section were connected to form the sound source data, but the sound source data consists only of the looping section. It can also be easily applied to the case of forming sound source data. In addition, the above decoder side configuration and external memory for supplying sound source data are ROM
May be supplied as cartridges or adapters;
It is applicable not only to the sound source of musical tone signals but also to voice synthesis.

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

本発明の音源装置によれば、ルーピング区間の有無を示
す識別フラグにより、第一の種類の連続する複数サンプ
ルを音源メモリより繰り返し読み出か、第二の種類の連
続する複数サンプルを読み出してアナログ又はディジタ
ル・オーディオ信号を再生し、また、音源データの終了
を示す識別フラグにより、ミューティングをかけている
。したがって、ルーピング処理のための付加情報の増加
なしにルーピング制御を容易にすることができる。
According to the sound source device of the present invention, based on the identification flag indicating the presence or absence of a looping section, consecutive plural samples of the first type are repeatedly read out from the sound source memory, or consecutive plural samples of the second type are read out and the analog Alternatively, the digital audio signal is reproduced, and muting is applied using an identification flag indicating the end of the sound source data. Therefore, looping control can be facilitated without increasing additional information for looping processing.

なお、上記ルーピング区間の有無を示す識別フラグの他
にループ有りエンドを示すフラグとループ無しエンドを
示すフラグを用いることにより同様の効果を得ることも
できる。
In addition to the identification flag indicating the presence or absence of a looping section, a similar effect can also be obtained by using a flag indicating an end with a loop and a flag indicating an end without a loop.

4・・・・・・アドレス発生回路 6・・・・・・ミュート回路4...Address generation circuit 6...Mute circuit

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

第1図は本発明に係る音源装置の基本構成を説明するた
めの機能ブロック図、第2図は本発明の一実施例を示す
ブロック回路図、第3図は楽音信号波形図、第4図は複
数サンプル毎のブロック単位でビット圧縮するビット圧
縮符号化システムの概略構成を示すブロック回路図、第
5図は第4図のビット圧縮符号化システムによりエンコ
ードされて得られたデータの1ブロツクの具体例を示す
模式図、第6図はメモリの内容の一例を示す模式図、第
7図は第2図の回路の動作説明のためのタイミングチャ
ート、第8図はオーディオ・プロセッシング・ユニット
(APU)及びその周辺を含むシステムの構成例を示す
ブロック図である。 特許出層人
FIG. 1 is a functional block diagram for explaining the basic configuration of a sound source device according to the present invention, FIG. 2 is a block circuit diagram showing an embodiment of the present invention, FIG. 3 is a musical tone signal waveform diagram, and FIG. 4 5 is a block circuit diagram showing a schematic configuration of a bit compression encoding system that compresses bits in units of blocks for each of multiple samples, and FIG. FIG. 6 is a schematic diagram showing an example of the contents of the memory, FIG. 7 is a timing chart for explaining the operation of the circuit in FIG. 2, and FIG. 8 is an audio processing unit (APU) ) and its surroundings. FIG. Patent issuer

Claims (1)

【特許請求の範囲】 繰り返し再生が行われるルーピング区間を有する第一の
種類の連続する複数サンプルと上記ルーピング区間の無
い第二の種類の連続する複数サンプルとより成る音源デ
ータを選択的にストアする音源データ・メモリと、 上記音源データに付随する上記音源データのルーピング
区間の有無と上記音源データの終了を示す識別フラグを
検出するフラグ・チェック回路とを有し、 上記音源データ・メモリより上記第一の種類の連続する
複数サンプルを上記音源メモリより繰り返し読み出すか
、上記第二の種類の連続する複数サンプルを読み出して
アナログ又はディジタル・オーディオ信号を再生すると
共に、上記識別フラグがその音源データがルーピング区
間が無く、音源データの終了であることを示している時
、ミューティングをかけるようにした音源装置。
[Claims] Selectively stores sound source data consisting of a plurality of continuous samples of a first type having a looping section that is repeatedly played back and a plurality of consecutive samples of a second type having no looping section. a sound source data memory; and a flag check circuit for detecting the presence or absence of a looping section of the sound source data accompanying the sound source data and an identification flag indicating the end of the sound source data; A plurality of consecutive samples of one type are repeatedly read from the sound source memory, or a plurality of consecutive samples of the second type are read out to reproduce an analog or digital audio signal, and the identification flag indicates that the sound source data is looping. A sound source device that applies muting when there is no section, indicating the end of the sound source data.
JP63292934A 1988-11-19 1988-11-19 Sound source device Expired - Lifetime JP2671456B2 (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
JP63292934A JP2671456B2 (en) 1988-11-19 1988-11-19 Sound source device
US07/436,423 US5086475A (en) 1988-11-19 1989-11-14 Apparatus for generating, recording or reproducing sound source data
GB8925891A GB2227859B (en) 1988-11-19 1989-11-16 Apparatus for generating,recording or reproducing sound source data
KR1019890016666A KR0164590B1 (en) 1988-11-19 1989-11-17 Apparatus for generating recording or reproducing sound source data
DE3943795A DE3943795C2 (en) 1988-11-19 1989-11-17 interpolation
FR8915141A FR2639458B1 (en) 1988-11-19 1989-11-17 APPARATUS FOR GENERATING, RECORDING OR REPRODUCING SOUND SOURCE DATA AND ASSOCIATED METHOD FOR ENCODING SOUND SOURCE DATA COMPRESSION
DE3943797A DE3943797B4 (en) 1988-11-19 1989-11-17 Device for processing source sound data
DE3938311A DE3938311C2 (en) 1988-11-19 1989-11-17 Device for generating source sound data
DE3943796A DE3943796C2 (en) 1988-11-19 1989-11-17 Source audio data generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63292934A JP2671456B2 (en) 1988-11-19 1988-11-19 Sound source device

Publications (2)

Publication Number Publication Date
JPH02137895A true JPH02137895A (en) 1990-05-28
JP2671456B2 JP2671456B2 (en) 1997-10-29

Family

ID=17788303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63292934A Expired - Lifetime JP2671456B2 (en) 1988-11-19 1988-11-19 Sound source device

Country Status (1)

Country Link
JP (1) JP2671456B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006019212A1 (en) * 2004-08-17 2006-02-23 Kpbo Co., Ltd. Automatic playing and recording apparatus for acoustic/electric guitar

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6261096A (en) * 1985-09-11 1987-03-17 カシオ計算機株式会社 Waveform reader

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6261096A (en) * 1985-09-11 1987-03-17 カシオ計算機株式会社 Waveform reader

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006019212A1 (en) * 2004-08-17 2006-02-23 Kpbo Co., Ltd. Automatic playing and recording apparatus for acoustic/electric guitar
GB2431282A (en) * 2004-08-17 2007-04-18 Kpbo Co Ltd Automatic playing and recording apparatus for accoustic/electric guitar
JP2008510199A (en) * 2004-08-17 2008-04-03 ケーピービーオー カンパニー,リミティド Automatic performance and recording device for acoustic / electric guitar
GB2431282B (en) * 2004-08-17 2008-12-17 Kpbo Co Ltd Automatic playing and recording apparatuses for accoustic/electric guitar
US8129608B2 (en) 2004-08-17 2012-03-06 Kpbo Co., Ltd. Automatic playing and recording apparatus for acoustic/electric guitar

Also Published As

Publication number Publication date
JP2671456B2 (en) 1997-10-29

Similar Documents

Publication Publication Date Title
KR0164590B1 (en) Apparatus for generating recording or reproducing sound source data
KR0164589B1 (en) Signal processing and sound source data forming apparatus
US5347478A (en) Method of and device for compressing and reproducing waveform data
US4984495A (en) Musical tone signal generating apparatus
JP3482685B2 (en) Sound generator for electronic musical instruments
JPH02137895A (en) Sound source device
JP2674161B2 (en) Sound source data compression coding method
JP2712421B2 (en) Sound source device
JP2748784B2 (en) Waveform generator
US5693901A (en) Electronic musical instrument
JPH08160961A (en) Sound source device
JPH02127899A (en) Signal compression method for plural channels
JP2712422B2 (en) Continuous sound data playback device
JPH06167978A (en) Sound source device of electronic musical instrument
JPH0644713B2 (en) Sound recording method
JPH0850479A (en) Electronic musical instrument
JP2751262B2 (en) Signal recording method and apparatus
JP3246012B2 (en) Tone signal generator
JPS60192993A (en) Musical sound generator by inputting voice
JP2864508B2 (en) Waveform data compression encoding method and apparatus
JPH06342291A (en) Electronic musical instrument
JP2790128B2 (en) Method of compressing waveform data and digital data for tone control
JP2876604B2 (en) Signal compression method
JP2745866B2 (en) Digital data compression method for waveform data and tone control, and waveform data reproducing apparatus
JP2674155B2 (en) Data compression coding method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 12