JP3924969B2 - Music processing device - Google Patents

Music processing device Download PDF

Info

Publication number
JP3924969B2
JP3924969B2 JP34193298A JP34193298A JP3924969B2 JP 3924969 B2 JP3924969 B2 JP 3924969B2 JP 34193298 A JP34193298 A JP 34193298A JP 34193298 A JP34193298 A JP 34193298A JP 3924969 B2 JP3924969 B2 JP 3924969B2
Authority
JP
Japan
Prior art keywords
effect
processing procedure
effect processing
basic set
bank
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP34193298A
Other languages
Japanese (ja)
Other versions
JP2000172262A (en
Inventor
秀一 松本
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP34193298A priority Critical patent/JP3924969B2/en
Publication of JP2000172262A publication Critical patent/JP2000172262A/en
Application granted granted Critical
Publication of JP3924969B2 publication Critical patent/JP3924969B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、入力された楽音に対して種々の効果(エフェクト)を付与する楽音処理装置に関する。
【0002】
【従来の技術】
楽音に対して種々のエフェクトを付与する効果装置(エフェクタ)として、最近はDSPを用いたデジタル方式のものが多く用いられている。DSPはマイクロプログラムを高速に実行することによって入力された楽音に対して種々の効果を付与するものである。
【0003】
したがって、種々のエフェクトのマイクロプログラムを外部に記憶しておき、これを必要に応じてDSPのプログラムレジスタに読み込むことによって、DSPを所望のエフェクタに構成することができる。また、DSPが処理可能なステップ数の範囲であれば複数のマイクロプログラムを処理することができるため、その範囲で複数のエフェクトを処理することができる。ここで、DSPが処理可能なステップ数とは、DSPの処理サイクルである1DACサイクルの時間内で処理可能なステップ数である。
【0004】
【発明が解決しようとする課題】
しかし、複数のエフェクトが指定された場合、マイクロプログラムのステップ数がDSPが処理可能なステップ数を超えてしまう場合があった。このような場合、DSPは処理可能なステップ数を超える分のエフェクト(マイクロプログラム)を処理することができない。
【0005】
また、自動演奏装置に使用される曲データの場合、各自動演奏装置のエフェクタがどのエフェクトを処理可能かを個別に意識して作成されることはなく、このような曲データを自動演奏する場合には、マイクロプログラムを記憶していないエフェクトが指定される場合がある。この場合もそのエフェクトを処理することができない。
【0006】
この発明は、指定されたエフェクトのマイクロプログラムが記憶されていない場合に代替エフェクトによって楽音にエフェクトを付与する楽音処理装置、および、指定された複数のエフェクトが処理能力を超えている場合には、処理を簡略化して全てのエフェクトを処理する楽音処理装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
請求項1の発明は、エフェクトナンバとバンクにより配置が規定される複数のセルをマトリクス状に配列してなる基本セットテーブルであって、基本セットとなる効果処理手順群のうち複数の効果処理手順を同系統の効果に分類し、該同系統の効果に分類した複数の効果処理手順を同じエフェクトナンバのセルに配置した基本セットテーブルと、該基本セットテーブルと同じエフェクトナンバ数、バンク数からなり、基本セット以外の効果処理手順群である拡張セットのうち1または複数の効果処理手順を、対応する前記基本セットの各効果処理手順と同じエフェクトナンバ、同じバンクに配置した拡張セットテーブルと、からなる指定テーブルと、前記基本セットの効果処理手順群の全部と、前記拡張セットの効果処理手順群のうち一部を記憶した記憶手段と、効果処理手順を実行することにより、入力された楽音に対して効果を付与する処理手段と、前記処理手段に対して、前記基本セットテーブル、または拡張セットテーブルに記載された効果処理手順のうち実行する効果処理手順のエフェクトナンバ、およびバンクを指定する指定手段と、指定された効果処理手順が、基本セットの効果処理手順、または前記記憶手段に記憶されている拡張セットの効果処理手順であればこれを処理手段に指示するとともに、前記記憶手段に記憶されていない拡張セットの効果処理手順でれば、前記指定テーブルを参照し、対応する基本セットの効果処理手順が有ればこれを代替の効果処理手順として決定し、対応する基本セットの効果処理手順が無ければ基本セットテーブルのうち同じエフェクトナンバで異なるバンクに配置された効果処理手順を代替の効果処理手順として決定し、代替の効果処理手順を指定手段が指定した効果処理手順に代えて処理手段に指示する制御部と、を備えたことを特徴とする。
【0008】
請求項2の発明は、前記基本セットテーブルの各エフェクトナンバのいずれかのバンクで規定されるセルに前記処理手段が効果処理手順を実行しないスルー指定、または楽音を出力しないオフ指定のセルを配置し、前記制御部は、指定された効果処理手順が、前記記憶手段に記憶されておらず、前記指定テーブルを参照して対応する基本セットの効果処理手順が無く、基本セットテーブルのうち同じエフェクトナンバで異なるバンクに配置された効果処理手順も無く、同じエフェクトナンバで異なるバンクのセルに前記スルー指定、またはオフ指定が配置されていれば、効果処理手順を実行しない、または楽音を出力しないように前記処理手段に指示することを特徴とする。
【0010】
この発明の楽音処理装置は、記憶手段に複数の効果処理手順を記憶しており、処理手段に対していずれかの処理手順を指定することによって複数種類の効果を付与することができる。処理手段はたとえばDSPで構成され、この場合効果処理手段はマイクロプログラムである。記憶手段がどのような効果処理手順を記憶しているかによって、処理手段が処理できる効果処理手順、すなわち処理手段が楽音に付与できる効果が制限される。
【0011】
請求項1の発明では、指定手段によってこれ以外の効果処理手順が指定されたとき、通常ではこの効果付与の処理は実行できないが、記憶手段に記憶している効果処理手順のなかから指定されたものに代わる代替の効果処理手順を決定しこれを用いて処理手段が効果付与の処理を実行するようにする。また、効果処理手順は、基本セットと言われる効果処理手順群と、その他(追加セット)の効果処理手順があり、記憶手段には、基本セットの全ての効果処理手順が少なくとも記憶されている。そしてテーブルに、その他の効果処理手順が指定され、その効果処理手順を記憶していないとき、これに代えて使用する基本セットの効果処理手順を代替関係として記憶しておき、記憶していない処理効果手順が指定されたときこのテーブルに基づいて代替の効果処理手順を決定する。代替関係は、入力された楽音のアウトプットの類似度などに基づいて決定すればよい。
【0014】
【発明の実施の形態】
図面を参照してこの発明の実施形態について説明する。図1はこの発明の実施形態であるエフェクタを備えた自動演奏装置のブロック図である。曲データメモリ2は自動演奏用のデータである曲データを記憶する。曲データは、MIDIフォーマットなどで記憶されたいわゆるシーケンスデータである。
【0015】
曲データは、音源3やエフェクタであるDSP4を制御する複数のイベントデータと各イベントデータの読出タイミングを指示するタイミングデータからなっている。イベントデータは、音源3に対して楽音を発生や消去などを指示するノート(オン/オフ)イベントデータや音源3に対して音色などを設定する音源設定データ、曲の最初にDSP4に対してエフェクトを設定するエフェクト設定データなどが含まれている。エフェクト設定データは、DSP4にエフェクトの内容を指示するとともに、音源3の出力段であるゲート3aにセンドレベルを設定する。センドレベルは、音源3が形成した楽音をどれだけこのエフェクタに入力するかのレベルである。エフェクト設定データによってエフェクトの内容が指示されたDSP4はメモリ(マイクロプログラムメモリ)5から該エフェクトのマイクロプログラムを読み込んでプログラムレジスタにセットする。
【0016】
DSP4は、1DACサイクル内に256ステップ程度のマイクロプログラムを実行することができるものであり、このステップ内に収まるように複数のマイクロプログラムをセットすることにより複数のエフェクタ10〜13をソフト的に構成することができる。各エフェクタ10〜13は、それぞれ別々のエフェクト設定データによって指定される。
【0017】
制御部1は、シーケンサ1aを有しており、このシーケンサ1aが自動演奏を行う。自動演奏のスタート時、最初に曲データメモリ2から曲データを順次読み出す。曲データの先頭部分にはエフェクト設定データや音源設定データなどの設定データが書き込まれており、自動演奏の最初にはこれら設定データが読み出される。制御部1は、読み出した設定データをDSP4や音源3に送ることにより、これらの機能を設定する。
【0018】
曲データには、音源3やDSP4の設定データに続いて楽音を発生するノートイベントデータが記録されている。制御部1は、このノートイベントデータを読み出して音源3に入力する。音源3は、このノートイベントデータに基づいて楽音を形成する。形成された楽音は、ゲート3aで複数のエフェクタ10〜13に振り分け出力される。この振り分けはエフェクト設定データによって設定されるセンドレベルによる。エフェクタ10〜13は入力された楽音に対して所定のエフェクトを付与したのちミキサ14に出力する。ミキサ14は入力された楽音を2チャンネル(L/Rチャンネル)のステレオ信号にミキシングして出力する。出力された楽音はアンプで増幅されスピーカなどに出力される。
【0019】
なお、図1においてDSP4によって設定されるエフェクタは4個であるが、個数はこれに限定されない。また、1つのエフェクタに入力される楽音(楽器音色)は1つに限定されない。また、1つの楽音(1つの音色の楽音)の出力先は1つのエフェクタに限定されず、1つの楽音を複数のエフェクタに分岐して入力するようにしてもよい。
【0020】
ここで、エフェクトの種類は図2(A)〜(C)のエフェクトテーブルに記載したように極めて多数あるが、メモリ5は、これら全てのエフェクト(のマイクロプログラム)を記憶しているわけではない。記憶容量の制約や頻繁に使用されるエフェクトは限定されるため、このうちの一部はメモリ5から除外されている。同図(A)のバンクM=1のテーブルに記載されているエフェクト群は基本セットであるため、これらのエフェクトは全てメモリ5に記憶されている。一方、同図(B)のバンクM=2のテーブルおよび同図(C)のバンクM=3のテーブルに記載されているエフェクトは追加セットであり、後から追加されたエフェクトなどがこれに属する。したがって、この追加セットについてはその一部のみがメモリ5に記憶されている。なお、バンクM=1のテーブルのバンクL=7のTHRU(スルー)は、入力された楽音に対して何も処理をせずにそのまま出力することを意味し、L=8のOFFは、入力された楽音を出力しないことを意味する。
【0021】
エフェクトテーブル(図2(A)〜(C))は、制御部1のメモリ1bに記憶されており、バンクM=1,M=2,M=3のテーブルは、それぞれ上下に重なるように対応している。すなわち、エフェクトナンバNoが同じでバンクLが同じセルが上下に対応している。エフェクトテーブルのうち、メモリ5にマイクロプログラムが記憶されているエフェクトに対応するセルには、そのマイクロプログラムを記憶しているメモリ5のアドレスが書き込まれている。また、曲データのエフェクト設定データは、エフェクトテーブルのセルを指示することによってエフェクトを指定する。したがって、このエフェクトテーブルシステムにおいてエフェクトが登録されていてもこのメモリ5に記憶されていないエフェクトが指定された場合には空欄のセルが指定されることになる。
【0022】
制御部1は、メモリ5に記憶されていないエフェクトが曲データ(エフェクト設定データ)によって指定されたとき、以下の方式で代替エフェクトを決定し、これをDSP4に指示する。
【0023】
バンクM=1のエフェクトは、基本セットであり、これらのマイクロプログラムはメモリ5に全て記憶されている。したがって、この装置で処理できないエフェクトが指定されるのは、バンクM=2またはM=3のテーブルのエフェクトが指定された場合である。メモリ5に記憶されていないエフェクトが指定された場合、指定されたセルと、エフェクトナンバNoおよびバンクLが同一でM=1のセルのエフェクトを検索する。このセルにエフェクトが登録されている場合には、そのエフェクトを代替エフェクトとして決定する。この(No,Lが同一でM=1の)エフェクトが存在しない場合には、そのエリアの右隣(L←L+1)を検索する。この右隣の検索をエフェクトが存在するまで繰り返す。この検索で発見されたエフェクトを代替エフェクトとして決定する。
【0024】
たとえば、曲データによってM=3、No=1、L=4のセル(エフェクトDED)が指定され、これがメモリ5に記憶されていない場合、M=1、No=1、L=4のセルを検索する。このセルにはエフェクトROOM2が記憶されており、これが代替エフェクトとして指定される。また、曲データによってM=3、No=5、L=3のセル(エフェクトPINGON)が指定され、これがメモリ5に記憶されていない場合、M=1、No=5、L=3を検索する。このセルには何も記憶されていないため右隣のセルM=1、No=5、L=4を検索する。このセルにはエフェクトKARAOKEが記憶されており、これが代替エフェクトとして指定される。
【0025】
このように、同じエフェクトナンバNoの系列には同じ系統のエフェクト(ディレイ系エフェクトや移相系のエフェクトなど)が記憶されており、上下に重なっているものはアウトプットが類似しており代替可能なものが記憶される。
【0026】
この処理により、マイクロプログラムが記憶されていないエフェクトが指定されても、それに代わるほぼ同じようなアウトプットを得ることができる代替エフェクトが指定され、この代替エフェクトで楽音が処理される。
【0027】
また、上記のように4が1DACサイクルに処理できるステップ数は限られているが、曲データによっては多くのエフェクトを必要とするものもあり、このような場合、全てのエフェクトを通常どおり処理していたのでは1DACサイクル内で処理が完了しない場合が生じる。
【0028】
そこで、この自動演奏装置では、各エフェクトについて、通常どおりエフェクトを処理するフルサイズのマイクロプログラムと、これよりもステップ数が少なく簡略にエフェクトを処理するスモールサイズのプログラムの2種類をメモリ5に記憶した。
【0029】
スモールサイズのマイクロプログラムは、フルサイズのマイクロプログラムから処理を簡略化したものであるが、これは、たとえばリバーブなどの残響系のエフェクトの場合、FIRフィルタから取り出して加算合成するタップ数を少なくするなどの変更によって処理ステップ数を少なくしたもものである。
【0030】
なお、この実施形態では、全てのエフェクトについてフルサイズのマイクロプログラムとスモールサイズのマイクロプログラムを記憶しているが、スモールサイズのマイクロプログラムは、全てのエフェクトについて記憶しなくてもよい。たとえば、処理ステップ数が多いエフェクトのみ記憶する、優先度が低いエフェクトのみ記憶する、常に優先度の高いエコーなどのエフェクトについては記憶しない、などの対応が可能である。
【0031】
曲データによって複数のエフェクトが指定され、全てを通常どおり(フルサイズのマイクロプログラムで)処理すると1DACサイクル内に処理が収まらない場合、制御部1は、以下の処理を行って1DACサイクル内に処理が収まるようにする。
【0032】
まず、各エフェクトへ入力される楽音(パート)の種類、各エフェクトへ入力される各パートのセンドレベル、各エフェクトのパラメータなど曲データによる設定内容、および、予め定められている各エフェクトの優先度などを考慮して指定された各エフェクトに優先順位をつける。たとえば、曲データによる設定内容からは、入力されるパートが多いエフェクトほど優先順位が高い、センドレベルの大きいエフェクトほど優先順位が高い、出力レベルのパラメータが大きいほど優先順位が高い、ディレイ時間などのエフェクトの程度が大きいほど優先順位が高いなどのルールで優先順位を割り出す。また、予め定められている各エフェクトの優先度は、制御部1のメモリに優先度テーブルとして記憶されており、汎用で頻繁に使用されるエコーなどのエフェクトは優先度を高くするなどのルールで優先度が設定されている。
【0033】
指定された複数のエフェクトに優先順位をつけたのち、優先順位の低いエフェクトから順にフルサイズのマイクロプログラムからスモールサイズのマイクロプログラムに置き換え、全ステップ数がDSP4の1DACサイクル内に収まるようになったかを判断する。DSP4の1DACサイクル内収まるようになった場合には、その時点で置き換えを終了し、そのときのフルサイズプログラムとスモールサイズプログラムの組み合わせでDSP4にエフェクト設定の指示を送る。
【0034】
もし、置き換え可能な全てのエフェクトをスモールサイズのマイクロプログラムに置き換えても全ステップ数が1DACサイクルに収まらない場合には、最も優先順位の低いエフェクトから順にエフェクト処理を取り止めて音量制御のみの処理に切り換える。各エフェクトに代わる音量制御値は音量代替テーブルとして制御部1のメモリに記憶されている。全ステップ数がDSP4の1DACサイクル内にに収まるようになった時点でこの置き換え終了し、そのときのマイクロプログラム(音量制御を含む)の組み合わせをDSP4に入力してエフェクトを設定する。
【0035】
図3は同自動演奏装置の曲スタート時の動作を示すフローチャートである。この動作では、曲データの先頭部に書き込まれているエフェクト設定データを全て読み出したのちにまとめて設定処理をするようにしている。
【0036】
自動演奏処理では、曲データ(イベントデータ)を先頭から順次読み出してゆく(s1)。読み出したイベントデータがエフェクト設定データの場合にはs3〜s6の処理を実行したのちs1にもどる。音源設定データなど他の設定データの場合には対応する処理(s8)を実行したのちs1にもどる。また、最初にノートイベントデータが読み出された場合には、自動演奏を一旦ポーズして(s9)s10〜s15の処理を実行したのちノートイベントデータによる自動演奏をスタートする(s16)。
【0037】
エフェクト設定データが読み出されたとき、エフェクトテーブルを検索してこのエフェクト設定データで指定されたエフェクトがメモリ5に記憶されているかを判断する(s3)。メモリ5にこのエフェクト(のマイクロプログラム)が記憶されている場合にはこのエフェクトをリストに登録して(s6)、s1にもどる。もしこのエフェクトがメモリ5に記憶されていない場合には上記方式で代替エフェクトを決定し(s5)、このエフェクトをリストに登録して(s6)、s1にもどる。
【0038】
一方、始めてノートイベントデータが読み出され、自動演奏動作を一旦ポーズしたのち(s9)、以下の動作を実行する。まずリストに登録されたエフェクトを優先順にソートする(s10)。この優先順位は上述したルールで決定する。そして全てのエフェクトのマイクロプログラムのステップ数を合計し、このステップ数がDSP4の1DACサイクル内に収まるかを判断する(s11)。1DACサイクル内に収まる場合には、これらのマイクロプログラムをメモリ5から読み出すようにDSP4に指示し(s15)、マイクロプログラムをDSP4にセットする。こののちポーズを解除して曲の演奏をスタートする(s16)。
【0039】
一方、指定されたエフェクトの全ステップ数がDSP4の1DACサイクル内に収まらない場合(s11)には、優先順位の低いエフェクトから順にプログラムをスモールサイズのものに変更し(s12)、これで全ステップ数が1DACサイクル内に収まるかを判断する(s13)。全ステップ数が1DACサイクル内に収まるようになった時点でそのプログラムの組み合わせをDSP4に指示する(s15)。
【0040】
変更可能な全てのエフェクトをスモールサイズのプログラムに変更しても全ステップ数が1DACサイクルを越える場合には、優先順位の低いものから順にエフェクトを取り止めて音量制御のみに切り換える(s14)。全エフェクトのステップ数がDSP4の1DACサイクル内に収まるようになった時点でそのプログラムの組み合わせをDSP4に指示する(s15)。
【0041】
これにより、どのようなエフェクトが複数設定された場合でもDSP4でこれを処理することができる。
【0042】
上記実施形態では、全てのエフェクト設定データを読み出したのち、まとめてDSP4に設定するようにしたが、エフェクト設定データが読み出される都度、アルタイムにそのエフェクト(または代替エフェクト)をDSP4に設定するようにしてもよい。この場合には、一旦フルサイズのマイクロプログラムがセットされても、そののちにこれをスモールサイズのマイクロプログラムに切り換えるなどの処理を行う。
【0043】
この例を図4に示す。この例では、リバーブ(REV)、コーラス(CHO)、ディストーション(DIST)、イコライザ(Eq)の4種類のエフェクトが順に設定され、優先順は、DIST>REV>CHO>Eqであるとする。
リバーブのエフェクト設定データが読み出されたとき、DSP4のマイクロプログラムレジスタ(1DACサイクルに処理できるステップ数に対応している)は、空であるため、リバーブのフルサイズのマイクロプログラムをセットする。
【0044】
コーラスのエフェクト設定データが読み出されたとき、このフルサイズのマイクロプログラムをマイクロプログラムレジスタにセットするとステップが一杯になった。
【0045】
こののち優先順位が最も高いディストーションのエフェクト設定データが読み出されたとき、コーラスのマイクロプログラムをスモールサイズ(ecoサイズ)に変更するが、これでもディストーションのマイクロプログラム(フルサイズ)をセットするには足りないため、リバーブのマイクロプログラムもスモールサイズに変更する。こののちディストーションのマイクロプログラムをセットする。
【0046】
さらにイコライザのエフェクト設定データが読み出されたとき、これをセットするためディストーションのマイクロプログラムをスモールサイズに変更するが、イコライザのマイクロプログラム(スモールサイズ)をセットするには空きステップが不足しているため、イコライザのセットを取り止め音量制御(×1)のみの処理をセットする。
【0047】
【発明の効果】
この発明によれば、指定された効果処理手順(エフェクト)を記憶していない場合でも代替関係に基づいて決定された代替の効果処理手順を用いて楽音に効果を付与することができ、記憶していない効果処理手順が指定されても処理不能となることがない。
【図面の簡単な説明】
【図1】この発明の実施形態である自動演奏装置のブロック図
【図2】同自動演奏装置の制御部に設定されるエフェクトテーブルを示す図
【図3】同自動演奏装置の動作を示すフローチャート
【図4】同自動演奏装置のリアルタイム処理の手順を説明する図
【符号の説明】
1…制御部、1a…シーケンサ、1b…エフェクトテーブル(メモリ)、2…曲データメモリ、3…音源、3a…ゲート、4…DSP、5…(マイクロプログラム)メモリ、10〜13…エフェクタ、14…ミキサ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a musical tone processing apparatus that gives various effects to an inputted musical tone.
[0002]
[Prior art]
As an effect device (effector) for applying various effects to a musical sound, a digital system using a DSP has recently been used. The DSP gives various effects to the input musical sound by executing the microprogram at high speed.
[0003]
Therefore, the DSP can be configured as a desired effector by storing various effect microprograms externally and reading them into the DSP program register as necessary. In addition, since a plurality of microprograms can be processed within the range of the number of steps that can be processed by the DSP, a plurality of effects can be processed within the range. Here, the number of steps that can be processed by the DSP is the number of steps that can be processed within the time of one DAC cycle, which is the processing cycle of the DSP.
[0004]
[Problems to be solved by the invention]
However, when a plurality of effects are designated, the number of microprogram steps may exceed the number of steps that can be processed by the DSP. In such a case, the DSP cannot process effects (microprograms) that exceed the number of steps that can be processed.
[0005]
In addition, in the case of song data used for an automatic performance device, it is not created individually considering which effect can be processed by the effector of each automatic performance device. May specify an effect that does not store a microprogram. Even in this case, the effect cannot be processed.
[0006]
The present invention provides a musical sound processing apparatus that applies an effect to a musical sound by a substitute effect when a microprogram of the designated effect is not stored, and when a plurality of designated effects exceed the processing capability, It is an object to provide a musical sound processing apparatus that simplifies processing and processes all effects.
[0007]
[Means for Solving the Problems]
The invention of claim 1 is a basic set table in which a plurality of cells whose arrangement is defined by an effect number and a bank are arranged in a matrix, and a plurality of effect processing procedures among a group of effect processing procedures as a basic set. Are classified into the same system effect, and a basic set table in which a plurality of effect processing procedures classified into the same system effect are arranged in the same effect number cell, and the same effect number and bank number as the basic set table. , One or a plurality of effect processing procedures in the extended set, which is an effect processing procedure group other than the basic set, are the same effect numbers as the respective effect processing procedures of the corresponding basic set, and an extended set table arranged in the same bank. And a part of the effect processing procedure group of the extended set and the effect processing procedure group of the basic set. Memory means for憶, by performing the effect process procedure, processing means for imparting an effect to the input musical tone, to the processing means, described in the basic set table or extended set table, Of the effect processing procedures , the effect number of the effect processing procedure to be executed, the designation means for designating the bank , and the designated effect processing procedure are the effect processing procedure of the basic set or the extension set stored in the storage means. if effect processing procedure instructs the processing unit to this effect processing procedure Ah lever set of extensions that are not stored in the storage means, by referring to the specified table, the effect processing procedure corresponding basic set of This was determined as a substitute for effect processing procedure if there, the same of the corresponding basic set effect processing procedure is no if basic set table To determine the effect processing procedure arranged in different banks in Fekutonanba as an alternative effect processing procedure, and a control unit for instructing the processing means in place of the effect processing procedure specifying means specifies an alternative effect processing procedure It is characterized by that.
[0008]
According to a second aspect of the present invention, a cell that is specified to be through, in which the processing means does not execute an effect processing procedure, or an off-designated cell that does not output a musical sound is arranged in a cell defined by any bank of each effect number in the basic set table. The control unit does not store the designated effect processing procedure in the storage unit, refers to the designated table, does not have a corresponding basic set effect processing procedure, and has the same effect in the basic set table. If there is no effect processing procedure assigned to a different bank with the same number, and the through designation or off designation is assigned to a cell in a different bank with the same effect number , the effect processing procedure is not executed or no musical sound is output. And instructing the processing means.
[0010]
The musical sound processing apparatus of the present invention stores a plurality of effect processing procedures in the storage means, and can assign a plurality of types of effects by designating one of the processing procedures to the processing means. The processing means is constituted by a DSP, for example. In this case, the effect processing means is a microprogram. The effect processing procedure that can be processed by the processing means, that is, the effect that the processing means can impart to the musical tone is limited depending on what kind of effect processing procedure the storage means stores.
[0011]
In the first aspect of the invention, when an effect processing procedure other than this is specified by the specifying means, this effect imparting process cannot be normally executed, but it is specified from the effect processing procedures stored in the storage means. An alternative effect processing procedure that replaces the one is determined, and the processing means executes the process of imparting the effect using this procedure. The effect processing procedure includes an effect processing procedure group called a basic set and other (additional set) effect processing procedures, and at least all effect processing procedures of the basic set are stored in the storage unit. When other effect processing procedures are specified in the table and the effect processing procedure is not stored, the effect processing procedure of the basic set to be used instead is stored as an alternative relationship, and the processing is not stored When an effect procedure is designated, an alternative effect processing procedure is determined based on this table. The alternative relationship may be determined based on the similarity of the output of the input musical sound.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an automatic performance apparatus having an effector according to an embodiment of the present invention. The song data memory 2 stores song data which is data for automatic performance. The song data is so-called sequence data stored in a MIDI format or the like.
[0015]
The music data is composed of a plurality of event data for controlling the sound source 3 and the DSP 4 as an effector, and timing data for instructing the reading timing of each event data. The event data includes note (on / off) event data for instructing the tone generator 3 to generate or delete musical sound, tone generator setting data for setting a tone color for the tone generator 3, and effects for the DSP 4 at the beginning of the song. This includes effect setting data for setting. The effect setting data instructs the DSP 4 about the contents of the effect and sets the send level to the gate 3a which is the output stage of the sound source 3. The send level is a level of how much musical sound formed by the sound source 3 is input to this effector. The DSP 4 whose content of the effect is instructed by the effect setting data reads the micro program of the effect from the memory (micro program memory) 5 and sets it in the program register.
[0016]
The DSP 4 can execute a microprogram of about 256 steps within one DAC cycle, and a plurality of effectors 10 to 13 are configured by software by setting a plurality of microprograms so as to be within this step. can do. Each effector 10-13 is designated by separate effect setting data.
[0017]
The control unit 1 has a sequencer 1a, and this sequencer 1a performs automatic performance. At the start of automatic performance, the music data is first read sequentially from the music data memory 2. Setting data such as effect setting data and sound source setting data is written at the beginning of the song data, and these setting data are read out at the beginning of the automatic performance. The control unit 1 sets these functions by sending the read setting data to the DSP 4 and the sound source 3.
[0018]
In the song data, note event data for generating a musical tone is recorded following the setting data of the sound source 3 and the DSP 4. The control unit 1 reads out the note event data and inputs it to the sound source 3. The sound source 3 forms a musical sound based on the note event data. The formed musical sound is distributed and output to the plurality of effectors 10 to 13 by the gate 3a. This distribution depends on the send level set by the effect setting data. The effectors 10 to 13 give predetermined effects to the inputted musical sounds and then output them to the mixer 14. The mixer 14 mixes the input musical sound into a 2-channel (L / R channel) stereo signal and outputs it. The output musical sound is amplified by an amplifier and output to a speaker or the like.
[0019]
In FIG. 1, the number of effectors set by the DSP 4 is four, but the number is not limited to this. Further, the number of musical sounds (instrument timbres) input to one effector is not limited to one. Further, the output destination of one musical sound (one musical tone) is not limited to one effector, and one musical sound may be branched and input to a plurality of effectors.
[0020]
Here, as described in the effect table of FIGS. 2A to 2C, there are an extremely large number of types of effects, but the memory 5 does not store all these effects (microprograms thereof). . Since there are restrictions on storage capacity and frequently used effects, some of them are excluded from the memory 5. Since the effect group described in the table of bank M = 1 in FIG. 5A is a basic set, all these effects are stored in the memory 5. On the other hand, the effects described in the table of bank M = 2 in FIG. 5B and the table of bank M = 3 in FIG. 4C are additional sets, and effects added later belong to this set. . Therefore, only a part of this additional set is stored in the memory 5. Note that THRU (through) of bank L = 7 in the table of bank M = 1 means that the input musical sound is output as it is without any processing, and OFF of L = 8 is input. This means that the generated musical sound is not output.
[0021]
The effect tables (FIGS. 2A to 2C) are stored in the memory 1b of the control unit 1, and the tables of banks M = 1, M = 2, and M = 3 correspond to overlap each other. is doing. That is, cells having the same effect number No and the same bank L correspond to each other vertically. In the effect table, a cell corresponding to an effect whose microprogram is stored in the memory 5 is written with an address of the memory 5 storing the microprogram. In addition, the effect setting data of the music data designates an effect by designating an effect table cell. Therefore, if an effect that is registered in the effect table system but is not stored in the memory 5 is specified, a blank cell is specified.
[0022]
When an effect that is not stored in the memory 5 is designated by song data (effect setting data), the control unit 1 determines an alternative effect by the following method and instructs the DSP 4 for this.
[0023]
The effect of bank M = 1 is a basic set, and these microprograms are all stored in the memory 5. Therefore, the effect that cannot be processed by this apparatus is designated when the effect of the table of the bank M = 2 or M = 3 is designated. When an effect that is not stored in the memory 5 is designated, an effect of a cell in which the designated cell, the effect number No., and the bank L are the same and M = 1 is searched. If an effect is registered in this cell, that effect is determined as an alternative effect. If this effect (No, L is the same and M = 1) does not exist, the right neighbor (L ← L + 1) of the area is searched. This search on the right is repeated until an effect exists. The effect found by this search is determined as an alternative effect.
[0024]
For example, if a cell (effect DED) of M = 3, No = 1, L = 4 is designated by the music data and is not stored in the memory 5, a cell of M = 1, No = 1, L = 4 is selected. Search for. This cell stores an effect ROOM2, which is designated as an alternative effect. If a cell (effect PINGON) with M = 3, No = 5, and L = 3 is designated by the song data and is not stored in the memory 5, M = 1, No = 5, and L = 3 are searched. . Since nothing is stored in this cell, the right adjacent cell M = 1, No = 5, L = 4 is searched. This cell stores an effect KARAOKE, which is designated as an alternative effect.
[0025]
In this way, the same effect number No. series stores the same system effects (delay effect, phase shift effect, etc.), and the ones that overlap vertically are similar in output and can be substituted. Things are remembered.
[0026]
By this processing, even if an effect that does not store a microprogram is specified, an alternative effect that can obtain almost the same output instead of the effect is specified, and a musical sound is processed by this alternative effect.
[0027]
In addition, as described above, the number of steps that 4 can process in one DAC cycle is limited, but some music data requires many effects. In such a case, all effects are processed as usual. However, the processing may not be completed within one DAC cycle.
[0028]
Therefore, in this automatic performance device, for each effect, the memory 5 stores two types: a full-size microprogram that processes the effect as usual and a small-size program that simply processes the effect with fewer steps than this. did.
[0029]
The small-size microprogram is a simplified version of the full-size microprogram. However, in the case of a reverberation-type effect such as reverb, for example, this reduces the number of taps extracted from the FIR filter and added and synthesized. The number of processing steps is reduced by such changes.
[0030]
In this embodiment, the full size micro program and the small size micro program are stored for all effects, but the small size micro program may not be stored for all effects. For example, it is possible to cope with storing only effects with a large number of processing steps, storing only effects with low priority, and not storing effects such as echoes with high priority at all times.
[0031]
If multiple effects are specified by the song data and all of them are processed normally (with a full-size microprogram) and the processing does not fit within one DAC cycle, the control unit 1 performs the following processing to process within one DAC cycle. To fit.
[0032]
First, the type of musical sound (part) that is input to each effect, the send level of each part that is input to each effect, the settings by song data such as the parameters of each effect, and the predetermined priority of each effect Prioritize each specified effect in consideration of the above. For example, the settings based on song data indicate that effects with more input parts have higher priority, effects with higher send levels have higher priority, parameters with higher output level have higher priority, delay time, etc. The priority is determined by a rule such that the higher the degree of the effect, the higher the priority. Predetermined priority of each effect is stored in the memory of the control unit 1 as a priority table, and effects such as echoes that are frequently used in general purpose are given a higher priority. Priority is set.
[0033]
After assigning priorities to multiple specified effects, the full-size microprogram was replaced with the small-size microprogram in order from the low-priority effect, so that the total number of steps was within one DAC cycle of DSP4. Judging. If the DSP 4 can fit within one DAC cycle, the replacement is terminated at that point, and an effect setting instruction is sent to the DSP 4 by a combination of the full size program and the small size program at that time.
[0034]
If all the replaceable effects are replaced with small-sized microprograms and the total number of steps does not fit in one DAC cycle, the effect processing is canceled in order from the lowest priority effect, and only volume control is performed. Switch. Volume control values for each effect are stored in the memory of the control unit 1 as a volume substitution table. When the total number of steps comes within one DAC cycle of the DSP 4, the replacement is completed, and the combination of microprograms (including volume control) at that time is input to the DSP 4 to set effects.
[0035]
FIG. 3 is a flowchart showing the operation of the automatic performance device at the start of the music. In this operation, after all the effect setting data written at the beginning of the music data is read out, the setting processing is performed collectively.
[0036]
In the automatic performance process, song data (event data) is read sequentially from the beginning (s1). If the read event data is effect setting data, the processing returns to s1 after executing the processing of s3 to s6. In the case of other setting data such as sound source setting data, the corresponding process (s8) is executed and then the process returns to s1. When the note event data is read out for the first time, the automatic performance is paused (s9), the processing of s10 to s15 is executed, and then the automatic performance based on the note event data is started (s16).
[0037]
When the effect setting data is read, the effect table is searched to determine whether the effect designated by the effect setting data is stored in the memory 5 (s3). If this effect (microprogram) is stored in the memory 5, this effect is registered in the list (s6), and the process returns to s1. If this effect is not stored in the memory 5, an alternative effect is determined by the above method (s5), this effect is registered in the list (s6), and the process returns to s1.
[0038]
On the other hand, note event data is read for the first time, and after the automatic performance operation is paused (s9), the following operations are executed. First, the effects registered in the list are sorted in priority order (s10). This priority order is determined by the rules described above. Then, the number of steps of all effect microprograms is summed, and it is determined whether or not the number of steps is within one DAC cycle of the DSP 4 (s11). If it is within one DAC cycle, the DSP 4 is instructed to read these microprograms from the memory 5 (s15), and the microprograms are set in the DSP4. Thereafter, the pause is canceled and the performance of the song is started (s16).
[0039]
On the other hand, if the total number of steps of the specified effect does not fit within one DSP cycle of DSP 4 (s11), the program is changed to the small size in order from the effect with the lowest priority (s12). It is determined whether the number falls within one DAC cycle (s13). When the total number of steps is within one DAC cycle, the program combination is instructed to the DSP 4 (s15).
[0040]
If all the changeable effects are changed to the small size program and the total number of steps exceeds 1 DAC cycle, the effects are canceled in order from the lowest priority and switched to only volume control (s14). When the number of steps of all effects falls within one DAC cycle of DSP 4, the program combination is instructed to DSP 4 (s15).
[0041]
As a result, even if any effect is set in plural, the DSP 4 can process it.
[0042]
In the above embodiment, all effect setting data is read out and then set in the DSP 4 collectively. However, every time the effect setting data is read out, the effect (or alternative effect) is set in the DSP 4 in real time. It may be. In this case, even if a full-size microprogram is once set, processing such as switching to a small-size microprogram is performed thereafter.
[0043]
An example of this is shown in FIG. In this example, four types of effects of reverb (REV), chorus (CHO), distortion (DIST), and equalizer (Eq) are set in order, and the priority order is DIST>REV>CHO> Eq.
When the reverb effect setting data is read, the microprogram register of the DSP 4 (corresponding to the number of steps that can be processed in one DAC cycle) is empty, so a reverb full-size microprogram is set.
[0044]
When the chorus effect setting data was read, setting this full-size microprogram in the microprogram register filled the steps.
[0045]
After that, when the distortion effect setting data with the highest priority is read out, the chorus microprogram is changed to the small size (eco size), but this is how to set the distortion microprogram (full size). Since there is not enough, the reverb microprogram is also changed to a small size. After that, set the distortion microprogram.
[0046]
Furthermore, when the equalizer effect setting data is read, the distortion microprogram is changed to the small size to set it, but there are not enough empty steps to set the equalizer microprogram (small size). Therefore, the setting of the equalizer is canceled and only the volume control (× 1) processing is set.
[0047]
【The invention's effect】
According to the present invention, even when the designated effect processing procedure (effect) is not stored, the effect can be imparted to the musical sound using the alternative effect processing procedure determined based on the alternative relationship, and stored. Even if an effect processing procedure that has not been specified is specified, processing is not disabled.
[Brief description of the drawings]
FIG. 1 is a block diagram of an automatic performance apparatus according to an embodiment of the present invention. FIG. 2 is a diagram showing an effect table set in a control unit of the automatic performance apparatus. FIG. 4 is a diagram for explaining the procedure of real-time processing of the automatic performance device.
DESCRIPTION OF SYMBOLS 1 ... Control part, 1a ... Sequencer, 1b ... Effect table (memory), 2 ... Music data memory, 3 ... Sound source, 3a ... Gate, 4 ... DSP, 5 ... (microprogram) memory, 10-13 ... Effector, 14 ... Mixer

Claims (2)

エフェクトナンバとバンクにより配置が規定される複数のセルをマトリクス状に配列してなる基本セットテーブルであって、基本セットとなる効果処理手順群のうち複数の効果処理手順を同系統の効果に分類し、該同系統の効果に分類した複数の効果処理手順を同じエフェクトナンバのセルに配置した基本セットテーブルと、該基本セットテーブルと同じエフェクトナンバ数、バンク数からなり、基本セット以外の効果処理手順群である拡張セットのうち1または複数の効果処理手順を、対応する前記基本セットの各効果処理手順と同じエフェクトナンバ、同じバンクに配置した拡張セットテーブルと、からなる指定テーブルと、
前記基本セットの効果処理手順群の全部と、前記拡張セットの効果処理手順群のうち一部を記憶した記憶手段と、
効果処理手順を実行することにより、入力された楽音に対して効果を付与する処理手段と、
前記処理手段に対して、前記基本セットテーブル、または拡張セットテーブルに記載された効果処理手順のうち実行する効果処理手順のエフェクトナンバ、およびバンクを指定する指定手段と、
指定された効果処理手順が、基本セットの効果処理手順、または前記記憶手段に記憶されている拡張セットの効果処理手順であればこれを処理手段に指示するとともに、前記記憶手段に記憶されていない拡張セットの効果処理手順でれば、前記指定テーブルを参照し、対応する基本セットの効果処理手順が有ればこれを代替の効果処理手順として決定し、対応する基本セットの効果処理手順が無ければ基本セットテーブルのうち同じエフェクトナンバで異なるバンクに配置された効果処理手順を代替の効果処理手順として決定し、代替の効果処理手順を指定手段が指定した効果処理手順に代えて処理手段に指示する制御部と、
を備えた楽音処理装置。
A basic set table in which a plurality of cells whose arrangement is regulated by effect number and bank are arranged in a matrix, and a plurality of effect processing procedures in the group of effect processing procedures that constitute the basic set are classified into the same system effect. And a basic set table in which a plurality of effect processing procedures classified into the same system effect are arranged in a cell of the same effect number, and the same effect number and bank number as the basic set table. One or a plurality of effect processing procedures in the extended set which is a procedure group, the same effect number as each corresponding effect processing procedure of the basic set, and an extension set table arranged in the same bank , a designation table comprising:
Storage means for storing all of the effect processing procedure group of the basic set and a part of the effect processing procedure group of the extended set;
Processing means for applying an effect to the input musical sound by executing the effect processing procedure;
A designating means for designating an effect number and bank of an effect processing procedure to be executed among the effect processing procedures described in the basic set table or the extended set table for the processing means;
If the designated effect processing procedure is a basic set effect processing procedure or an extended set effect processing procedure stored in the storage means, this is instructed to the processing means and is not stored in the storage means effect processing steps Oh lever of extension set, by referring to the specified table, it determines this if there is an effect processing procedure corresponding basic set as a substitute for effect processing procedure, the effect processing procedure corresponding basic set of If not, the effect processing procedure arranged in a different bank with the same effect number in the basic set table is determined as an alternative effect processing procedure, and the alternative effect processing procedure is replaced with the effect processing procedure designated by the designating means as the processing means. A control unit for instructing;
A musical sound processing apparatus equipped with.
前記基本セットテーブルの各エフェクトナンバのいずれかのバンクで規定されるセルに前記処理手段が効果処理手順を実行しないスルー指定、または楽音を出力しないオフ指定のセルを配置し、
前記制御部は、指定された効果処理手順が、前記記憶手段に記憶されておらず、前記指定テーブルを参照して対応する基本セットの効果処理手順が無く、基本セットテーブルのうち同じエフェクトナンバで異なるバンクに配置された効果処理手順も無く、同じエフェクトナンバで異なるバンクのセルに前記スルー指定、またはオフ指定が配置されていれば、効果処理手順を実行しない、または楽音を出力しないように前記処理手段に指示する請求項1に記載の楽音処理装置。
Through the cell specified by any bank of each effect number of the basic set table, the processing means does not execute the effect processing procedure, or the off-specified cell that does not output a musical sound is arranged,
The control unit does not store the designated effect processing procedure in the storage means, refers to the designated table, has no corresponding basic set effect processing procedure, and uses the same effect number in the basic set table. If there is no effect processing procedure arranged in a different bank and the through designation or off designation is arranged in a cell of a different bank with the same effect number , the effect processing procedure is not executed or a musical sound is not output. The musical tone processing apparatus according to claim 1, wherein the musical sound processing apparatus instructs the processing means.
JP34193298A 1998-12-01 1998-12-01 Music processing device Expired - Lifetime JP3924969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34193298A JP3924969B2 (en) 1998-12-01 1998-12-01 Music processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34193298A JP3924969B2 (en) 1998-12-01 1998-12-01 Music processing device

Publications (2)

Publication Number Publication Date
JP2000172262A JP2000172262A (en) 2000-06-23
JP3924969B2 true JP3924969B2 (en) 2007-06-06

Family

ID=18349879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34193298A Expired - Lifetime JP3924969B2 (en) 1998-12-01 1998-12-01 Music processing device

Country Status (1)

Country Link
JP (1) JP3924969B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3785934B2 (en) 2001-03-05 2006-06-14 ヤマハ株式会社 Automatic accompaniment apparatus, method, program and medium
JP5257112B2 (en) * 2009-02-06 2013-08-07 ヤマハ株式会社 Signal processing integrated circuit and effect applying device
JP5257111B2 (en) * 2009-02-06 2013-08-07 ヤマハ株式会社 Signal processing integrated circuit and effect applying device

Also Published As

Publication number Publication date
JP2000172262A (en) 2000-06-23

Similar Documents

Publication Publication Date Title
CN108242232A (en) Note generating device, electronic musical instrument, musical sound generation method and storage medium
JP3924969B2 (en) Music processing device
JPH096350A (en) Effect adding device and electronic musical instrument using the same
JP4787258B2 (en) Tone storage device, tone storage method, computer program for storing tone
JP2007093679A (en) Sound source setting device and sound source setting program
JP2000047663A (en) Musical tone data processor and computer system
JP2869573B2 (en) Musical sound wave generator
JP2001022354A (en) Arpeggio generator and its recording medium
JP3110734B2 (en) Resonance effect device
JP3366812B2 (en) Electronic musical instrument effect imparting device
JP5293085B2 (en) Tone setting device and method
JP3518716B2 (en) Music synthesizer
JPH0638192B2 (en) Musical sound generator
JP3918309B2 (en) Effect device
JPH06195071A (en) Part information recording device
JP3646823B2 (en) Electronic musical instruments
JP3241832B2 (en) Music generator
JP4306138B2 (en) Musical sound generator and musical sound generation processing program
JPH0642146B2 (en) Musical sound generator
JPH0122630B2 (en)
JPH10124059A (en) Musical sound generating method and storage medium
JPH09305169A (en) Musical sound generating device
JPH09288485A (en) Electronic musical instrument and memory medium for electronic musical instrument
JPS60129794A (en) Electronic musical instrument
JPH09244651A (en) Sound effect adding device using dsp

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060829

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061114

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070115

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070206

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070219

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110309

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110309

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120309

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130309

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140309

Year of fee payment: 7

EXPY Cancellation because of completion of term