JPS5898786A - Musical composition performer - Google Patents
Musical composition performerInfo
- Publication number
- JPS5898786A JPS5898786A JP56197366A JP19736681A JPS5898786A JP S5898786 A JPS5898786 A JP S5898786A JP 56197366 A JP56197366 A JP 56197366A JP 19736681 A JP19736681 A JP 19736681A JP S5898786 A JPS5898786 A JP S5898786A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- bit
- envelope
- output
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
本発明は半導体メモリー等に音階データ、音符長データ
等を記憶し、これらのデータの読出しに従って曲を再生
する楽曲演奏装置に係る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a music playing device that stores musical scale data, note length data, etc. in a semiconductor memory or the like, and plays music according to reading of these data.
従来この種の装置は、各音階の周波数信号は一定の正弦
波または矩形波で再生されるだけであり、単調な音の演
奏であった。本発明は、ギター、ピアノ、バイオリン等
の楽器音を含む所定の音色で再生できるものであり、音
色(おんしよく)豊かに楽曲を演奏できるものである。Conventionally, in this type of device, the frequency signal of each scale was only reproduced as a constant sine wave or square wave, resulting in a monotonous musical performance. The present invention is capable of reproducing predetermined tones including the sounds of musical instruments such as guitars, pianos, violins, etc., and allows music to be played with rich tones.
以下図面に従って本発明装置の一実施例を説明する。An embodiment of the apparatus of the present invention will be described below with reference to the drawings.
第1図は全体の回路ブロック図を示すものである。装置
は大別して、発振・分周回路1.トーン・ジェネレータ
部2.エンベロープ発生部3.外部入力回路4.コント
ロール回路5.アドレスカウンタ6、曲情報メモリー7
、アンプ9.スピーカー10から構成される。FIG. 1 shows an overall circuit block diagram. The device can be broadly divided into oscillation/frequency divider circuits 1. Tone generator section 2. Envelope generator 3. External input circuit 4. Control circuit 5. Address counter 6, song information memory 7
, amplifier 9. It is composed of a speaker 10.
発振・分周回路1は、例えば水晶発振回路及び分周回路
からなり、装置の基本クロックを発生する。トーン・ジ
ェネレータ部2は曲情報メモリー7より出力されるデー
タに応じて音を作り出す部分である。エンベロープ発生
部3は曲情報メモリー7から出力されるデータに応じて
音の長さ及びエンベロープを作り出す。入力回路4は選
曲2曲のスタート、移調・転調、テンポ等を制御するス
イッチ回路である。コントロール回路5は入力回路4の
スイッチ入力を信号化し各ブロックに伝達する。アドレ
スカウンター6は曲情報メモリー7のアドレスを指定す
るもので、曲情報メモリー7に記憶された楽曲データを
順次読出し、このピッ、ドパターンにより音階、音符長
、音色(楽器)。The oscillation/frequency divider circuit 1 includes, for example, a crystal oscillation circuit and a frequency divider circuit, and generates a basic clock for the device. The tone generator section 2 is a section that generates sounds according to data output from the music information memory 7. The envelope generator 3 generates the length and envelope of the sound according to the data output from the music information memory 7. The input circuit 4 is a switch circuit that controls the start, transposition, modulation, tempo, etc. of the two selected songs. The control circuit 5 converts the switch input of the input circuit 4 into a signal and transmits it to each block. The address counter 6 specifies the address of the music information memory 7, and sequentially reads out the music data stored in the music information memory 7, and uses this pitch pattern to determine the scale, note length, and timbre (musical instrument).
音の強弱、音響効果(トレモロ)9曲停止等を指定する
。Specify the strength of the sound, sound effects (tremolo), stop of 9 songs, etc.
第2図に曲情報メモリー7のビット割当てを示す。すな
わち、Bφ〜B、5の16ビツトでそれぞれBφ〜B3
(4ビツト)・・・・・・音階ビットB4〜B7(4ビ
ツト)・・・・・・音符長ピッFB81B9 (2ビツ
ト)・・・・・・オクターブビットBIO,B11(2
ビツト)・・・・・・楽器組換えビットB121B13
(2ビツト)・・・・・・音の強弱ビットB14(1ビ
ツト)・・・・・・音響効果ビットBts(1ビツト)
・・・・・・ストップビットのように割当てられる。FIG. 2 shows the bit allocation of the music information memory 7. That is, the 16 bits of Bφ~B, 5 represent Bφ~B3, respectively.
(4 bits)...Scale bits B4 to B7 (4 bits)...Note length pitch FB81B9 (2 bits)...Octave bits BIO, B11 (2
Bit)・・・Musical instrument recombination bit B121B13
(2 bits)...Sound strength bit B14 (1 bit)...Sound effect bit Bts (1 bit)
...Assigned like a stop bit.
〈具体的構成とその動作〉
1)まず、入力回路4の曲指定用スイッチにより曲を選
択する。このスイッチ操作によりコントロール回路5で
はM1〜M3にデコードされた3ビツトパターンを出力
し、曲情報メモリー7の読出し用先頭アドレスを指定す
る。<Specific configuration and operation> 1) First, a song is selected using the song designation switch of the input circuit 4. By operating this switch, the control circuit 5 outputs the 3-bit pattern decoded into M1 to M3, and designates the top address of the music information memory 7 for reading.
2)次に入力回路4のスタートスイッチをオンすると1
上記において指定されたアドレスの曲情報ビットパター
ンが読出される。読出されたビットパターンのうち、B
−〜B3(音階ビット)。2) Next, when the start switch of input circuit 4 is turned on, 1
The music information bit pattern at the address specified above is read. Among the read bit patterns, B
-~B3 (scale bit).
B8〜Bll (オクターブビット、楽器組換えビット
)の8ビツトはトーン・ジェネレータ部2へ、また、B
4〜B7 (音符長ビット) 、 Ih□−814(楽
器組換えビット、音の強弱ビット、音響効果ビット)の
8ビツトはエンベロープ発生部3に伝達される。The 8 bits from B8 to Bll (octave bits, instrument recombination bits) are sent to the tone generator section 2, and
The 8 bits 4 to B7 (note length bit) and Ih□-814 (instrument recombination bit, sound strength bit, sound effect bit) are transmitted to the envelope generator 3.
B15(ストップビット)はコントロール回路5に伝達
される。B15ビツトに“1”が出力されると動作はス
トップするが、スタート時及び楽曲演奏時は10″で何
ら動作に影響を及ぼさない。B15 (stop bit) is transmitted to the control circuit 5. When "1" is output to the B15 bit, the operation stops, but at the time of starting and playing music, it is 10'' and does not affect the operation in any way.
3)トーン・ジェネレータ部2に伝達された8ビツトの
うち、B−〜B3.B@、B9の6ビツトは加減算回路
2−6に入力され、音階分周比メモリー2−5のアドレ
スを指定するとともに、オクターブセレクタ2−2によ
りオクターブを選択する。3) Of the 8 bits transmitted to the tone generator section 2, B- to B3. The 6 bits B@ and B9 are input to an adder/subtracter circuit 2-6, specifying an address in a scale frequency division ratio memory 2-5, and selecting an octave by an octave selector 2-2.
加減算回路2−6は、入力回路4の外部スイッチ入力に
よりB−〜Ba、Bg、Bgのデータを制御して移調・
転調を可能にするものである。The addition/subtraction circuit 2-6 controls the data of B- to Ba, Bg, and Bg by the external switch input of the input circuit 4, and performs transposition/subtraction.
This allows for modulation.
4)オクターブセレクタ2−2により各オクターブに対
応する基本周波数f01〜fo4の一つが選択される。4) One of the fundamental frequencies f01 to fo4 corresponding to each octave is selected by the octave selector 2-2.
分周回路2−1は発振・分局回路1に接続され、そのバ
イナリ出力より倍々(1,2゜4.8倍)の基本周波数
f01〜fo4を準備するものである。The frequency dividing circuit 2-1 is connected to the oscillation/dividing circuit 1, and prepares fundamental frequencies f01 to fo4 that are twice (1.2 degrees, 4.8 times) the binary output of the frequency dividing circuit 2-1.
オ〉タープセレクタ2−2より選択された基本周波数f
。iは分周回路2−3に入力され分周される。分周回路
2−3の9ビットバイナリ分扉出力は、一致回路2−4
において、上記アドレスにより指定された分周比メモリ
ー2−5からの同じく9ビツトの分周比出力と比較され
、一致したときパルスを出力するとともに分周回路2−
3をリセットする。Fundamental frequency f selected from tarp selector 2-2
. i is input to the frequency dividing circuit 2-3 and frequency-divided. The 9-bit binary division door output of the frequency dividing circuit 2-3 is output from the matching circuit 2-4.
, it is compared with the same 9-bit frequency division ratio output from the frequency division ratio memory 2-5 specified by the above address, and when they match, a pulse is output and the frequency division circuit 2-5 is
Reset 3.
この一致時に出力されるパルスの周波数は各オクターブ
におけるそれぞれの音階に対応する。The frequency of the pulses output at the time of this coincidence corresponds to each scale in each octave.
ちなみに、500KH2の基準周波数に対して分周比が
478〜253の間(バイナリコードで9ビツトにより
表現できる)の12値であるとすると、1046〜19
75H2範囲の各音階周波数を得ることができる。オク
ターブは基準周波数を倍々に変化すればよい。By the way, if the division ratio is 12 values between 478 and 253 (which can be expressed by 9 bits in binary code) for the standard frequency of 500KH2, then it will be 1046 to 19.
Each scale frequency in the 75H2 range can be obtained. The octave can be changed by doubling the reference frequency.
5)一致検出パルスは更に分周回路2−7に入力される
。分局回路2−7はその4ビツト分周出力により次段基
本波形メモリー2−8のアドレス指定を行なう、いわゆ
るアドレスカウンタとして動作する。5) The coincidence detection pulse is further input to the frequency dividing circuit 2-7. The division circuit 2-7 operates as a so-called address counter that specifies the address of the next-stage basic waveform memory 2-8 using its 4-bit frequency-divided output.
基本波形メモIJ −2−8は8ピツト構成で16ステ
ツプで音階周波数の1周期分の波形を形作るようデータ
を記憶している。すなわち、オクターブセレクタ2−2
.一致回路2−4から出力される周波数は実際の音階周
波数の16倍に相当するものであり、分周回路2−7に
より各音階周波数の1周期分を16分割して、基本波形
メモリー2−8の16ステツプのアドレスを順次指定す
るようにしている。このアドレス指定により読出された
波形データはD/Aコンバータ2−9に入力され、D/
A変換されて音信号の基本波形を形成する。The basic waveform memo IJ-2-8 has an 8-pit configuration and stores data so as to form a waveform for one cycle of the scale frequency in 16 steps. That is, octave selector 2-2
.. The frequency output from the matching circuit 2-4 is equivalent to 16 times the actual scale frequency, and the frequency divider circuit 2-7 divides one cycle of each scale frequency into 16 parts and stores them in the basic waveform memory 2-4. The addresses of 16 steps of 8 are sequentially specified. The waveform data read out by this addressing is input to the D/A converter 2-9, and
A conversion is performed to form the basic waveform of the sound signal.
また、基本波形メモリー2−8には曲情報メモリー7か
らBto、B11の2ビツト、エンベロープ発生部3の
分周回路8−7の上位2ピット分周出力Cを入力してい
る。B10pB11ビツトは楽器組換え制御に応じて読
出すべき波形メモリーを選択するもので、Cの2ビツト
はエンベロープを時間的に4領域に分け、適宜基本波形
に高次周波数を付加した基本波形等を選択して音の自然
さ、ききやすさを増すためのものである。Further, the basic waveform memory 2-8 receives the two bits Bto and B11 from the music information memory 7 and the upper two pit frequency division output C of the frequency dividing circuit 8-7 of the envelope generating section 3. The B10pB11 bits select the waveform memory to be read out according to the instrument recombination control, and the two C bits temporally divide the envelope into four regions, and select the basic waveform, etc., which is the basic waveform with higher-order frequencies added as appropriate. This is to increase the naturalness and ease of listening when selected.
6)エンベロープ発生部3に伝達された8ビツトについ
て、B4〜B7の4ビツトは音符長分局比、、i%そり
−8−6にアドレス指定として入力さ九る。BIO、B
llの2ビツトは楽器組換用の制御ビットとしてエンベ
ロープ波形メモリー3−8に、またB12 r Bta
I B14 の8ビツトは音の強弱、音響効果(トレ
モロ)制御用ビットとして演算回路8−9に入力される
。6) Of the 8 bits transmitted to the envelope generator 3, the 4 bits B4 to B7 are input as address designations to the note length division ratio, . BIO,B
The 2 bits ll are stored in the envelope waveform memory 3-8 as control bits for instrument recombination, and the 2 bits B12 r Bta
The 8 bits of I B14 are input to the arithmetic circuit 8-9 as bits for controlling sound intensity and sound effects (tremolo).
7)罵ンベローブ発生部3では、スタートスイッチがオ
ンになるとまず分周回路3−1が動作開始する。分周回
路8−1のバイナリ6ビツト分周出力は一致回路3−2
に入力され、テンポ分局比メモリー8−3の6ビツト分
周比出力と比較される。一致すればパルスを発生し後段
の分周回路8−4に入力する。このパルスは最短音符長
の時間間隔を決定する。7) In the bellow generator 3, when the start switch is turned on, the frequency dividing circuit 3-1 starts operating. The binary 6-bit frequency divided output of the frequency dividing circuit 8-1 is output from the matching circuit 3-2.
and is compared with the 6-bit frequency division ratio output of the tempo division ratio memory 8-3. If they match, a pulse is generated and input to the subsequent frequency dividing circuit 8-4. This pulse determines the time interval of the shortest note length.
要すれば、入力回路4のテンポ制御用スイッチの操作に
より、加減算回路3−11において分周比メモIJ −
3−3の分周比出力を加減算し、分局比を変えて任意の
テンポに設定することができる。If necessary, by operating the tempo control switch of the input circuit 4, the division ratio memo IJ - is written in the addition/subtraction circuit 3-11.
By adding and subtracting the 3-3 frequency division ratio output, it is possible to change the division ratio and set an arbitrary tempo.
8)音符長分周比メモIJ −3−4はB4〜B7の4
ビツトをアドレス指定として、各音符長に対応する8ビ
ツトの分局比データを選択し出力する。8) Note length division ratio memo IJ-3-4 is 4 from B4 to B7
Using bits as addresses, 8-bit division ratio data corresponding to each note length is selected and output.
これに応じて一致回路8−5において、分周回路3−4
の8ビツトバイナリ分周出力と比較され為一致したとき
パルスを出力する。このパルスの出力時間間隔はB4〜
B7の4ビツトで指定される各音符長に対応する。Accordingly, in the matching circuit 8-5, the frequency dividing circuit 3-4
It is compared with the 8-bit binary frequency division output of , and outputs a pulse when they match. The output time interval of this pulse is B4~
This corresponds to each note length specified by the 4 bits of B7.
しかし、ここでも次に述べる理由により、l音符長につ
き32個のパルスを出力するようにしている。すなわち
、−数構出回路8−2.8−5等から出力されるパルス
の周波数は普通一般の場合の82倍である。このパルス
は分周回路8−7に入力され分周される。However, here as well, 32 pulses are output for each note length for the following reasons. That is, the frequency of the pulses output from the -number output circuits 8-2, 8-5, etc. is 82 times that of the normal case. This pulse is input to the frequency dividing circuit 8-7 and frequency-divided.
9)分周回路3−7はエンベロープ波形メモリー3−8
のいわゆるアドレスカウンタとなっており、5ビツトの
バイナリ分周出力により、エンベロープ波形メモリー8
−8の82ステツフノアドレスを順次指定する。エンベ
ロープ波形メ% IJ −3−8に入力された13to
D Bitビットハ読出されるべき波形メモリーを選
択し、基本波形メi IJ −2−8で選択される基本
波形と組合せて楽器組換え制御を行なう。Cの2ビツト
は分周回路8−7の5ビツトバイナリ分周出力の高位の
もので、エンベロープ期間を4等分する。9) Frequency divider circuit 3-7 is envelope waveform memory 3-8
It is a so-called address counter, and the envelope waveform memory 8
-8 82 step addresses are specified in sequence. Envelope waveform me% 13to input to IJ-3-8
D Bit selects the waveform memory to be read out, and performs musical instrument recombination control in combination with the basic waveform selected by Basic Waveform IJ-2-8. The two bits of C are the higher order of the 5-bit binary frequency divided output of the frequency divider circuit 8-7, and divide the envelope period into four equal parts.
10)エンベロープ波形メモリー3−8から読出すれる
データは、演算回路3−9において、B12jB13の
強弱ビットデータに基づく乗算及びB14の音響効果(
トレモロ)ビットデータに基づく加減算を行ない、エン
ベロープ波形データをモディファイする。モディファイ
されたデータはD/Aコンバータ3−1OでD/A変換
されエンベロープを発生する。10) The data read from the envelope waveform memory 3-8 is multiplied in the arithmetic circuit 3-9 based on the strength bit data of B12jB13 and the acoustic effect of B14 (
Tremolo) Modifies envelope waveform data by performing addition and subtraction based on bit data. The modified data is D/A converted by a D/A converter 3-1O to generate an envelope.
11)エンベロープはトーン・ジェネレータ部2のD/
Aコンバータ2−9にレベル制御信号として送られ、D
/Aコンバータ2−9で基本波形とミキシングされエン
ベロープ付音信号を出力する。音信号はアンプ9.スピ
ーカー1oを介して放音される。11) The envelope is D/of tone generator section 2.
It is sent to the A converter 2-9 as a level control signal, and the D
/A converter 2-9 mixes the signal with the basic waveform and outputs an enveloped sound signal. The sound signal is sent to amplifier 9. Sound is emitted via the speaker 1o.
12)なお、分周回路3−7で32ステツプ(1つノエ
ンヘローブ読出し)をカウントするト、ソの謙ヤリーパ
ルスはアドレスカウンター6に入力されアドレスを1つ
進める。これにより曲情報メモリー7では次の曲情報ピ
ットノぜターンが読出され、上記1)〜12)の動作を
繰返す。12) Incidentally, the humble pulses of T and G, which count 32 steps (one no further lobe read) in the frequency dividing circuit 3-7, are input to the address counter 6 and advance the address by one. As a result, the next music information pit nozzle turn is read out in the music information memory 7, and the operations 1) to 12) above are repeated.
13)このようにして曲情報メモリー7から順次曲情報
ピッドパターンを読出していき5B15ビツトに11”
が出力されると、フントロール回路5より停止の信号が
出力され、各分周回路2−1゜2−8.2−7.8−1
.3−4.3−7をリセットするとともに・内部のゲー
ト回路を閉じ・一連の動作を終了する。13) In this way, the song information pit patterns are sequentially read out from the song information memory 7, and 11" are read out in 5B15 bits.
is output, a stop signal is output from the frequency division circuit 5, and each frequency dividing circuit 2-1゜2-8.2-7.8-1
.. 3-4.Reset 3-7 and close the internal gate circuit and complete the series of operations.
〈メモリーのデータ容量〉
ちなみに、上記実施例における各メモリーのデータ容量
は次のとおりである。<Data Capacity of Memory> Incidentally, the data capacity of each memory in the above embodiment is as follows.
音階分局比メモリー2−5
・・・9ビット×12音階
基本波形メモリー2−8
・・・8ビツト×16ステツプ×
4基本波形
音符長分周比メモリー3−8
・・・8ビツト×1最短音符長
音符長分周比メモリー3−6
・・・8ビツト×16音符長
エンベロープ波形メモリー3−8
・・・8ビツトX32ステツプ×
4エンベロープ波形
〈基本波形とエンベロープ〉
−2−8には、これら波形の1周期分力月6分ルデータ
として記憶される。第4図惨)〜(1)のタイムチャー
トはエンベロープの波形例を示ス。Scale division ratio memory 2-5...9 bits x 12 scale basic waveform memory 2-8...8 bits x 16 steps x 4 basic waveform note length division ratio memory 3-8...8 bits x 1 shortest Note length note length frequency division ratio memory 3-6... 8 bits x 16 notes length envelope waveform memory 3-8... 8 bits x 32 steps x 4 envelope waveforms (basic waveform and envelope) -2-8 contains these One cycle of the waveform is stored as six-minute data. The time charts in Figure 4) to (1) show examples of envelope waveforms.
エンベロープは32分割されて、エンベロープ波形メモ
リー3−8に8ビツト、32ステツプのディジタルデー
タとして記憶される。上述の基本波形、エンベロープ波
形は一例であり、これらに限定されるものではない。The envelope is divided into 32 parts and stored in the envelope waveform memory 3-8 as 8-bit, 32-step digital data. The basic waveform and envelope waveform described above are just examples, and the present invention is not limited to these.
(%)から構成されることとなる。基本波形の周波数は
各音階に、エンベロープの長さは各音符長に対応する。(%). The frequency of the fundamental waveform corresponds to each scale, and the length of the envelope corresponds to each note length.
以下上な機能について更に詳細に説明する。The above functions will be explained in more detail below.
〈移調・転調、テンポ調整〉
音階データ(B−〜B3ビット)のコード図ヲ第6図に
、音符長データ(B4〜B7ビツト)のコード図を第7
図に示す。ここでは図示のようにそれぞれ音階データ、
音符長データを14ピツFのバイナリコードに順次対応
させてコード化している。なお、音階データは0000
″(コードOH)のとき休符を表わし、体符長は音符長
データをもって設定される。<Transposition/transposition, tempo adjustment> The chord diagram for scale data (B- to B3 bits) is shown in Figure 6, and the chord diagram for note length data (B4 to B7 bits) is shown in Figure 7.
As shown in the figure. Here, as shown in the diagram, scale data,
The note length data is encoded in sequential correspondence with the 14-pits F binary code. In addition, the scale data is 0000
'' (code OH) indicates a rest, and the note length is set using note length data.
音階の移調・転調は上記のコードを用いて考えると、あ
る数のバイナリフードの加減算になる。例えば、ハ長調
から半音上げると変ニ長調ニ変わる。ハ長調の1オクタ
ーブは“0100”(コード4H)〜@1111″(コ
ードFH)で表わされ、変ニ長調の1オクターブは“0
101”(コード5H,)〜lオクターブ上の”010
0”(フード4H)となり、ハ長調のコードに 000
1 を加えたものになる。また、ハ長調から半音下げる
と口長調になる。このときの口長調の1オクターブは、
lオクターブ下の”1111’(コードFH)、同オク
ターブの”0101’(コード4H)〜”、1110”
(コードEH)となり、ハ長調から”0001” を減
じたものとなる。オクターブの上下は、上記の加減算で
”0100″(コード4H)〜“1111”(コードF
H)のキャリー及びボローで表わされる。If we consider the transposition and transposition of a scale using the above code, it becomes the addition and subtraction of a certain number of binary foods. For example, moving up a semitone from C major changes it to D flat major. One octave of C major is represented by “0100” (code 4H) to @1111” (code FH), and one octave of D flat major is represented by “0100” (code 4H) to @1111” (code FH).
101" (Code 5H,) ~ "010 above l octave
0” (Hood 4H), resulting in a C major chord of 000.
It becomes the addition of 1. Also, if you move down a semitone from C major, you get mouth major. The first octave of the major key at this time is
"1111' (Code FH) below the l octave, "0101' (Code 4H) ~" in the same octave, 1110"
(Code EH), which is the key of C major minus "0001". The upper and lower octaves are determined by the above addition and subtraction from "0100" (code 4H) to "1111" (code F
H) is represented by carries and borrows.
第8図にトーン・ジェネレータ部2の加減算回路2−6
の詳細及びその周辺回路を示す。FIG. 8 shows the addition/subtraction circuit 2-6 of the tone generator section 2.
The details and its peripheral circuits are shown below.
実施例では半音階で上下1〜6音ずらせて移調・転調を
行なうようにしている。入力回路4のスイッチSlは単
一パルス発生回路OP1を介してその操作毎にDタイプ
フリップフロップDF/Fを制御し、Q出力信号SOの
“0”で上方への、また11”で下方への移調・転調を
指示する。スイッチS2は移調・転調の音数を設定する
もので、単一パルス発生回路OP2を介しその操作数を
3ビツトバイナリ7リツプ70ツブBF/Fでカウント
するようにしている。8ビツトの出力信号Ql#Q2#
Q3はバイナリコードで音数を表わすことになる。In the embodiment, transposition and transposition are performed by shifting the pitch by 1 to 6 steps up or down on a chromatic scale. The switch SL of the input circuit 4 controls the D type flip-flop DF/F through the single pulse generating circuit OP1 every time it is operated, and the Q output signal SO goes upward when it is "0" and downward when it is "11". The switch S2 is used to set the number of notes for transposition/modulation, and the number of operations is counted in 3-bit binary 7-lip 70-bit BF/F via the single pulse generation circuit OP2. 8-bit output signal Ql#Q2#
Q3 represents the number of tones in binary code.
加減算回路2−6は4つの4ビット加算器AD1.AD
2.ADa、AD4及び4ビツト比較器COとから構成
される。減算は加算器ADのB入力端を″】”の補数化
し、またC1n(キャリー人力)端子に@1′を加える
ことによって行なう周知の方法を採用している。The addition/subtraction circuit 2-6 includes four 4-bit adders AD1. A.D.
2. It consists of ADa, AD4 and a 4-bit comparator CO. The well-known method of subtraction is performed by converting the B input terminal of the adder AD to the complement of "]" and adding @1' to the C1n (carry manual) terminal.
DタイプフリップフロップDF/FのQ出力信号Soカ
ケ01(上方への移調・転調)のとき、通常の加算処理
が行なわれる。移調・転調のためQ1〜Q3ビットに1
〜6の任意の音数が設定されていれば、曲情報メモリー
7から音階データ(B−〜Ba )ビットが読出される
とき加算器AD1において順次設定された音数が加算さ
れる。When the Q output signal So of the D type flip-flop DF/F is chip 01 (upward transposition/modulation), normal addition processing is performed. 1 for Q1 to Q3 bits for transposition/modulation
If an arbitrary number of tones from .about.6 is set, when the scale data (B--Ba) bits are read from the music information memory 7, the set number of tones are sequentially added by the adder AD1.
キャリーがあるときは加算器AD2において、曲情報メ
モリー7から読出されるオクターブデータ(B8,89
ビツト)に+1され、1オクターブ上がったことを示す
。しかし、キャリーがあるとき11オクターブの音階を
“0100”(コード4H)〜@1111” (コード
FH)で表わしているため、加算された音階データに更
に4(コード4H)を加算して補正する必要がある。When there is a carry, adder AD2 adds octave data (B8, 89) read from song information memory 7.
bit) is incremented by +1, indicating that the pitch has gone up one octave. However, when there is a carry, the 11-octave scale is represented by "0100" (code 4H) to @1111" (code FH), so 4 (code 4H) is added to the added scale data to correct it. There is a need.
キャリーCOが出力されたときQ4信号は@1″で、加
算器AD3において4が加算される。When the carry CO is output, the Q4 signal is @1'', and 4 is added in the adder AD3.
Dタイプ7リツプ70ツブDF/FのQ出力信号Soが
“1″(下方への移調・転調)のとき、加算器AD、に
おいて減算が行なわれる。この減算において減算結果が
3(“001ビ)以下の場合、オクターブデータ(B8
’、89ピツト)に−1し、また上記音階データの減算
結果に更に4を減算して補正゛しなければならない。4
(“0100”)の減算はQ4信号が“l”のとき加算
器AD3において行なわれる。Dタイプフリップフロッ
プDF/FのQ出力信号Soが“I″であるので、キヤ
IJ−coが@0″のとき、または比較器COにより音
階データの減算結果が3 (”oo+o”)〜o (−
oooo″)の範囲内であることを検出したとき、Q4
信号が“1”となる0
この種の減算処理では、B−〜B3ビットデータがQ3
〜Q1ビットデータより大きいときキヤ’)−Co(”
1”)が出力される。減算結果が8(“0011”)〜
0(“0ooo”)の範囲のとき、キャリーCOは@1
′であるが比較器COによりこの範囲であることが検出
され、Q4信号姶”である。B−〜B3ビットデータが
Q3〜Qlビットデータより小さい場合(例えばドの音
階データ″0100″Cコード4H)が出力され、5又
は6音下方の移調・転調が設定されているとき、または
戸、し1の音階データ″0101”(コード5H)が出
力され、6音下方の移調・転調が設定されているとき)
、減算結果はθ以下の数値を表わす1回り下の“111
1″(コードFf()又は“1llO″(コードEH)
となりキャリーCOは出力されない。すなわち、この場
合もQ4信号は@1”となる。When the Q output signal So of the D-type 7-rip 70-tube DF/F is "1" (downward transposition/modulation), subtraction is performed in the adder AD. In this subtraction, if the subtraction result is 3 (“001 bits”) or less, octave data (B8
', 89 pits), and further subtract 4 from the result of the subtraction of the scale data to correct it. 4
("0100") is performed in the adder AD3 when the Q4 signal is "1". Since the Q output signal So of the D type flip-flop DF/F is "I", when the carrier IJ-co is @0", or the result of subtraction of scale data by the comparator CO is 3 ("oo+o") ~ o (−
Q4 when it is detected that it is within the range of
0 when the signal becomes “1” In this type of subtraction processing, B-~B3 bit data is Q3
~When larger than Q1 bit data, Kya')-Co(”
1”) is output.The subtraction result is 8 (“0011”) ~
When in the range of 0 (“0ooo”), carry CO is @1
', but the comparator CO detects that it is within this range, and the Q4 signal is ``. 4H) is output and transposition/transposition of 5 or 6 notes downward is set, or scale data "0101" (code 5H) of door, shi 1 is output and transposition/transposition of 6 notes downward is set. )
, the subtraction result is "111", which is one level lower and represents a value less than or equal to θ.
1'' (code Ff() or “1llO” (code EH)
Therefore, carry CO is not output. That is, in this case as well, the Q4 signal becomes @1''.
このようにして減算結果がa(”ooll”)以下の場
合、加算器AD3において更に4を減算して補正される
。In this way, if the subtraction result is less than or equal to a("ooll"), the adder AD3 further subtracts 4 to correct it.
オクターブ制御用の加算器AD2.AD4は、減算処理
においてB1+B2端子に“1”が加えられるので、キ
ャリー人力Cinのない場合のみ−1の減算が行なわれ
る。減算結果が3(”0011”)〜0(10000″
)の場合、加算器AD1からはキヤ!J−Co(”1”
)、が出力され、加算器AD2では−lの減算を行なわ
ない0しかし1加算器AD3における補正のための減算
で、AQ−A3端子入力されるデータが4以下であるの
でキヤIJ−coは出力されない。゛従って、この場合
は、加算器AD4で−1の減算が行なわれ、オクターブ
は曲情報メモリー7から読出されたものより一つ下に指
定される。Adder AD2 for octave control. In AD4, since "1" is added to the B1+B2 terminal in the subtraction process, -1 is subtracted only when there is no carry human power Cin. The subtraction result is 3 ("0011") to 0 (10000")
), adder AD1 outputs Kya! J-Co(“1”
), is output, adder AD2 does not subtract -l, 0 but 1 Adder AD3 subtracts for correction, and since the data input to AQ-A3 terminal is 4 or less, the carrier IJ-co is No output. Therefore, in this case, the adder AD4 subtracts -1, and the octave is designated as one below the one read out from the music information memory 7.
減算結果が0以下を表わす”1111”(コードFH)
、”1110”(コードEH)である場合は、加算器A
DZにおいてキャリーCoが出力されず、加算器AD2
で−1の減算が行なわれる。"1111" (code FH) indicating that the subtraction result is 0 or less
, “1110” (code EH), adder A
Carry Co is not output in DZ, and adder AD2
Then -1 is subtracted.
加算器ADaの補正のための減算では加算器AD3から
キャリーCoが出力されるので、加算器AD4では−1
の減算を行なわない。これによって、減算結果が0以下
を表わす場合も1オクターブ下に指定される。In subtraction for correction of adder ADa, carry Co is output from adder AD3, so adder AD4 outputs -1.
Do not subtract. As a result, even when the subtraction result represents 0 or less, it is specified as one octave lower.
本実施例では、半音部を含めド〜シの音階を、@010
0″(コード4H)〜”1111’(コードFH)とバ
イナリコードに応じて順次対応させているので、簡単な
加減算より移調・転調した音階をそれぞれ指定すること
ができる。In this example, the scale including the chromatic part is @010
0'' (code 4H) to ``1111'' (code FH) are made to correspond sequentially according to the binary code, so it is possible to specify the transposed and transposed scales by simple addition and subtraction.
テンポも同様な加減算回路3−11により、6ビツト分
周比メモリー8−3の出力に任意数(バ・ イナリコー
ド)を加減算し最短音符長を変化することにより達成で
きる。The tempo can also be achieved by adding or subtracting an arbitrary number (binary code) to the output of the 6-bit frequency division ratio memory 8-3 using a similar addition/subtraction circuit 3-11 to change the shortest note length.
〈楽器音の発生〉
楽器の音は、音の波形がエンベロープとそのエンベロー
プを形作っている基本波形によって構成されており、そ
の基本波形及びエンベロープを指定することにより、楽
器音を指定することかで°きる。<Generation of musical instrument sounds> The sound of an instrument is composed of an envelope and the fundamental waveform that forms the envelope, and by specifying the fundamental waveform and envelope, you can specify the instrument sound. °Kill.
7から出力される楽器組換えピッ)BIO,Bllであ
り、ここでは最大】音符毎に楽器音を切換えることがで
きるようにしている。楽器組換えビットB1o、Bll
のデータは基本波形メモリー2−8゜エンベロープ波形
メモリー3−8に入力され、それぞれ対応する基本波形
及びエンベロープ波−形が選択される。基本波形例は第
3図)エンベンベローブ波診1して(−が選択された場
合は、第5図に示すような波形形態をもつ楽器音が出力
されることとなる。The musical instrument recombination sounds outputted from 7 are BIO and Bll, and in this case, the instrument sound can be switched for each note. Instrument recombination bit B1o, Bll
The data is input to the basic waveform memory 2-8 and the envelope waveform memory 3-8, and the corresponding basic waveform and envelope waveform are selected. An example of the basic waveform is shown in FIG. 3). If the envelope wave diagnosis 1 is selected (-), an instrument sound having a waveform form as shown in FIG. 5 will be output.
基本波形メモリー2−8に入力された2ピツトのC信号
は音の自然さ、音のききやすさを増すものである。1つ
のエンベロープ内で、基本波形の組合せが変わることが
ある。一般には、第4図(p)の典型的なエンベロープ
波形に示されるように、音の立上りからピークになるま
での時間をアタック・タイムA、ピークがら保持レベル
までの時間をディケイ・タイムD、保持レベルの時間を
サスティン・タイムS、立下りの時間をリリース・タイ
ムRと呼び、これらの期間で基本波形が変わるのが普通
である。本実施例では2ビツトのC信号により、エンベ
ロープ期間を均等に4分割しこれに近似化している。The 2-pit C signal inputted into the basic waveform memory 2-8 increases the naturalness and audibility of the sound. The combination of basic waveforms may change within one envelope. Generally, as shown in the typical envelope waveform in Figure 4(p), the time from the rise of the sound to the peak is called the attack time A, the time from the peak to the hold level is called the decay time D, and the time from the peak to the hold level is called the decay time D. The holding level time is called sustain time S, and the falling time is called release time R, and the basic waveform usually changes during these periods. In this embodiment, the envelope period is equally divided into four by a 2-bit C signal and approximated to this.
基本波形の変化としては高次周波数を附加して若干の変
化がつけられるもの、あるいは特定の楽器音ではある期
間が全く異なる基本波形となる場合もあり様々である。The basic waveform can be changed in various ways, such as slight changes by adding higher-order frequencies, or a certain period of a certain musical instrument sound having a completely different basic waveform.
この場合、楽器組換用ピッ) B10. Bttで指定
され、またそれぞれエンベロープの4期間で基本波形を
選択する必要から、4×4の基本波形をメモリーし・基
本波型メモリー2−8のデータ容量は
8ピツ)X16ステツプX(4X4)基本波形となる。In this case, the musical instrument recombination pitch) B10. Since it is specified by Btt and it is necessary to select a fundamental waveform in each of the four periods of the envelope, 4 × 4 fundamental waveforms are memorized.・The data capacity of fundamental wave type memory 2-8 is 8 pins) x 16 steps x (4 x 4) This becomes the basic waveform.
〈音の強弱、トレモロ制御〉
音の強弱は振幅の大小で決まるので、エンベロープ全体
のレベル調整を行なうことによって、またトレモロ効果
はいわゆる低周波数の振幅変調であるので、エンベロー
プ波形を低周波数にて振幅変調することによって実現で
きる。<Sound strength and tremolo control> The strength of the sound is determined by the magnitude of the amplitude, so by adjusting the level of the entire envelope, and since the tremolo effect is so-called low frequency amplitude modulation, the envelope waveform can be adjusted at low frequencies. This can be achieved by amplitude modulation.
第9図にエンベロープ部3の演算回路3−9の詳細及び
その周辺回路を示す。演算回路3−9は加減算回路3−
9〒1及びシフト回路8−9−2とから構成される。ト
レモロ用ビットB14のデータは加減算回路3−9−1
に、音の強弱用ピッ) B12. B13のデータはシ
フト回路8−9−2に入力される。FIG. 9 shows details of the arithmetic circuit 3-9 of the envelope section 3 and its peripheral circuits. Arithmetic circuit 3-9 is addition/subtraction circuit 3-
9-1 and a shift circuit 8-9-2. The data of bit B14 for tremolo is added/subtracted by circuit 3-9-1.
B12. The data of B13 is input to the shift circuit 8-9-2.
曲情報メモリー7の読出しでピッ) B14のデータが
11”である場合、トレモロがかけられる。(Beep when reading the song information memory 7) If the data of B14 is 11", tremolo is applied.
、トレモロはエンベロープ波形の後半部にかけられるこ
とが多く、本例でも、アンドゲートAに分周回路3−7
の最上位ビット出力05を加えることにより、トレモロ
の時期を制御している。, tremolo is often applied to the latter half of the envelope waveform, and in this example, the AND gate A is connected to the frequency divider circuit 3-7.
By adding the most significant bit output 05 of , the tremolo timing is controlled.
分周回路3−7は5ビットバイナリ分周出力にヨリエン
ベロープ波形メモリー8−8(7)32ステツプのアド
レスを順次指定するものであり、最上位ビット出力05
はちょうど中間ステップ以降のアドレスを指定する時点
から@1′となる。The frequency dividing circuit 3-7 sequentially specifies the address of the envelope waveform memory 8-8 (7) 32 steps to the 5-bit binary frequency divided output, and the most significant bit output 05
becomes @1' from the point where the address after the intermediate step is specified.
B14ビツトデータが一1″で、エンベロープの中間点
から出力05が′1”になれば、低周波数信号fTがア
ンドゲートAを介して加減算回路3−9−1に入力され
る。この低周波数信号fTの”ヒ、“0”信号に基づい
て、所定数がエンベロープ波形を示す8ビツトのバイナ
リコードに加減算される。すなわち、これによりエンベ
ロープ波形のディジタル量が低周波数fTで変化を受け
る。When the B14 bit data is 11'' and the output 05 becomes ``1'' from the middle point of the envelope, the low frequency signal fT is input to the addition/subtraction circuit 3-9-1 via the AND gate A. Based on the "hi" and "0" signals of this low frequency signal fT, a predetermined number is added to or subtracted from the 8-bit binary code indicating the envelope waveform.In other words, this causes the digital amount of the envelope waveform to change at the low frequency fT. receive.
シフト回路3−9−2で影響を受けないとすると)シフ
ト回路8−9−2の後段のD/Aフンバータ3−10に
入力され、エンベロープの後半ヲ低周波fT’で振幅変
調したアナログ信号を出力する。Assuming that it is not affected by the shift circuit 3-9-2), the analog signal is input to the D/A frequency converter 3-10 at the subsequent stage of the shift circuit 8-9-2, and the latter half of the envelope is amplitude-modulated with the low frequency fT'. Output.
音の強弱は、シフト回路8−9−2において、強弱制御
用ピッ) Bll 、 B12で指定されるビット分、
加減算回路8−9−1の出力を適宜シフトすることによ
り行なわれる。例えば、
でs B12 + Btaビットのデータに従って加減
算回路3−9−1に出力される32ステツプのバイナリ
コードを、順次指定されたビット数シフトし、エンベロ
ープ全体のデジタル量を所定分変化する。The strength of the sound is determined by the bits specified by the strength control pitches Bll and B12 in the shift circuit 8-9-2.
This is done by appropriately shifting the output of the addition/subtraction circuit 8-9-1. For example, in accordance with the data of s B12 + Bta bits, the 32-step binary code output to the addition/subtraction circuit 3-9-1 is sequentially shifted by a specified number of bits, and the digital amount of the entire envelope is changed by a predetermined amount.
シフトされたバイナリ゛出力はD/Aコンバータ3−1
0よりアナログ信号に変化されるが、lビットシフトで
は2倍、2ビツトシフトでは4倍、8ビツトシフトでは
8倍の振幅を有するアナログ信号として出力される。す
なわち、B12゜B13ビツトのデータにより1,2,
4.8倍の振幅変化をもって音の強弱が制御できる。The shifted binary output is sent to the D/A converter 3-1.
The signal is changed from 0 to an analog signal, but it is output as an analog signal having twice the amplitude in an 1-bit shift, 4 times in the 2-bit shift, and 8 times in the 8-bit shift. In other words, 1, 2,
The strength of the sound can be controlled with an amplitude change of 4.8 times.
以上のように、本発明は曲情報メモリー、基本波形メモ
リー、エンベロープ波形メモリーを備よるものであって
、曲情報メモリーから指定される各音階の周波数の一周
期に応じて基本波形が読出され、また各音符長の期間に
応じてエンベロープ波形が読出され、それぞれの音符に
対応して所定の基本波形及びエンベロープの組合せを有
しており、音声豊かに楽曲を演奏できる。As described above, the present invention includes a song information memory, a basic waveform memory, and an envelope waveform memory, and the basic waveform is read out from the song information memory in accordance with one cycle of the frequency of each scale specified, Further, the envelope waveform is read out according to the period of each note length, and each note has a predetermined combination of basic waveform and envelope, so that music can be played with rich audio.
第1図は本発明の一実施例を示す全体の回路ブロック図
、第2図は曲情報メモリーのビット割当例を示すタイム
チャート、第5図は基本波形とエンベロープ波形のミキ
シング例を示スタイムチヤード、第6図は各音階に対応
するコード例を示す図、第7図は各音符長に対応するコ
ード例を示す図、第8図は第1図の加減算回路部周辺を
詳細に示す要部ブロック図、第9図は第1図の演算回路
部周辺を詳細に示す要部ブロック図である。
l・・・発振・分局回路、 2・・・トーン・ジェネレ
ータ部 3・・・エンベロープ発生部、 6・・・ア
ドレスカウンター、 7・・・曲情報メモリー、2−8
・・・基本波形メモリー、 3−8・・・エンベロープ
波形メモリー。。
代理人 弁理士 福 士 愛 彦Fig. 1 is an overall circuit block diagram showing an embodiment of the present invention, Fig. 2 is a time chart showing an example of bit allocation for song information memory, and Fig. 5 is a time chart showing an example of mixing basic waveforms and envelope waveforms. Figure 6 is a diagram showing code examples corresponding to each scale, Figure 7 is a diagram showing code examples corresponding to each note length, and Figure 8 is a diagram showing details of the area around the addition/subtraction circuit in Figure 1. FIG. 9 is a block diagram of main parts showing in detail the periphery of the arithmetic circuit section of FIG. 1. l...Oscillation/branching circuit, 2...Tone generator section, 3...Envelope generation section, 6...Address counter, 7...Song information memory, 2-8
...Basic waveform memory, 3-8...Envelope waveform memory. . Agent Patent Attorney Aihiko Fukushi
Claims (1)
ーンとする曲情報を記憶する第1のメモリ一手段と、該
第1のメモリ一手段からの音階データの読出しに応じ、
各音階を示す周波数の1周期に相当して読出される基本
波形を記憶する第2のメモリ一手段と、前記第1のメモ
リ一手段からの音符長データの読出しに応じ、各音符長
の期間に相当して読出されるエンベロープ波形を記憶す
る第3のメモリ一手段とを備え1前記基本波形とエンベ
ロープ波形の組合せをもって、所定の音色で曲を再生す
るようにしてなることを特徴とする楽曲演奏装置。1. A first memory means for storing music information having at least scale data and note length data as a bit pattern, and in response to reading of scale data from the first memory means,
a second memory for storing a fundamental waveform read out corresponding to one cycle of the frequency representing each scale; and a period of each note length according to reading of note length data from the first memory means; 1. A third memory for storing an envelope waveform read out corresponding to 1. A musical piece characterized in that the song is played back with a predetermined tone using a combination of the basic waveform and the envelope waveform. performance equipment.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56197366A JPS5898786A (en) | 1981-12-07 | 1981-12-07 | Musical composition performer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56197366A JPS5898786A (en) | 1981-12-07 | 1981-12-07 | Musical composition performer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS5898786A true JPS5898786A (en) | 1983-06-11 |
Family
ID=16373293
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56197366A Pending JPS5898786A (en) | 1981-12-07 | 1981-12-07 | Musical composition performer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5898786A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58211191A (en) * | 1982-06-02 | 1983-12-08 | ヤマハ株式会社 | Automatic performer |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS53137178A (en) * | 1977-05-06 | 1978-11-30 | Seiko Epson Corp | Integrated circuit for watch with alarm |
| JPS5420711A (en) * | 1977-07-15 | 1979-02-16 | Seiko Epson Corp | Electronic sounding apparatus |
-
1981
- 1981-12-07 JP JP56197366A patent/JPS5898786A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS53137178A (en) * | 1977-05-06 | 1978-11-30 | Seiko Epson Corp | Integrated circuit for watch with alarm |
| JPS5420711A (en) * | 1977-07-15 | 1979-02-16 | Seiko Epson Corp | Electronic sounding apparatus |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58211191A (en) * | 1982-06-02 | 1983-12-08 | ヤマハ株式会社 | Automatic performer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5340938A (en) | Tone generation apparatus with selective assignment of one of tone generation processing modes to tone generation channels | |
| JPS6328478Y2 (en) | ||
| EP0124197A2 (en) | Waveform table modification instrument and method for generating musical sound | |
| JPS6068387A (en) | Electronic musical instrument | |
| JPH06180588A (en) | Electronic musical instrument | |
| JPS5898786A (en) | Musical composition performer | |
| JPS58100187A (en) | Musical composition performer | |
| US5324882A (en) | Tone generating apparatus producing smoothly linked waveforms | |
| US5559298A (en) | Waveform read-out system for an electronic musical instrument | |
| JPS58102989A (en) | Musical piece performer | |
| JPH0233159B2 (en) | ||
| JPS6248239B2 (en) | ||
| JPS61248096A (en) | Electronic musical instrument | |
| JPS58100188A (en) | Musical composition performer | |
| JPS5898787A (en) | Musical composition performer | |
| JPH0413193A (en) | Musical sound generating device | |
| JPS59116696A (en) | Electronic musical instrument | |
| JPS58139381A (en) | Music player | |
| JPH0338600B2 (en) | ||
| JP2625669B2 (en) | Musical sound wave generator | |
| JPS6322312B2 (en) | ||
| JPS592090A (en) | Musical piece performer | |
| JPS62992A (en) | Electronic musical instrument with touch response function | |
| JPS58105192A (en) | Musical piece performer | |
| JP2950893B2 (en) | Music signal generator |