JP4379455B2 - Electronic musical instrument and electronic musical instrument control program - Google Patents

Electronic musical instrument and electronic musical instrument control program Download PDF

Info

Publication number
JP4379455B2
JP4379455B2 JP2006267170A JP2006267170A JP4379455B2 JP 4379455 B2 JP4379455 B2 JP 4379455B2 JP 2006267170 A JP2006267170 A JP 2006267170A JP 2006267170 A JP2006267170 A JP 2006267170A JP 4379455 B2 JP4379455 B2 JP 4379455B2
Authority
JP
Japan
Prior art keywords
display
waveform
external
start point
magnification
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 - Fee Related
Application number
JP2006267170A
Other languages
Japanese (ja)
Other versions
JP2008089645A (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 JP2006267170A priority Critical patent/JP4379455B2/en
Publication of JP2008089645A publication Critical patent/JP2008089645A/en
Application granted granted Critical
Publication of JP4379455B2 publication Critical patent/JP4379455B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

この発明は、外部から取り込まれた外部波形を利用して楽音を生成することのできる電子楽器および電子楽器制御用プログラムに関する。   The present invention relates to an electronic musical instrument and a program for controlling an electronic musical instrument that can generate a musical sound using an external waveform captured from the outside.

従来、自然楽器音や歌唱音・音声等の外部音をマイクロフォンにより拾いサンプリングして記憶装置に記憶し、記憶した外部音を任意に再生出力することができるサンプラーが知られている。電子楽器においても、サンプラーの機能を有させることができ、サンプリングして取り込んだ外部音をPCM音源波形の一つとして扱うことができるようになる。この場合、サンプリングして取り込んだ外部音の再生ピッチを単位時間当たりに再生されるサンプル数を変えることにより変更することができる。
従来のサンプラー機能を有する電子楽器においては、サンプリングして取り込んだ外部音の波形を表示部に表示して、所定の範囲を使用する波形として設定することができる。この場合、波形の立ち上がりを表すアタック波形と、繰り返し再生するループ波形とから使用する波形を構成することができ、アタック波形の開始位置を示すスタートポイントとループ波形の開始位置を示すループスタートポイントと波形の終了位置を示すエンドポイントとを表示部に表示された波形上で指定する。
特開2003−186476
2. Description of the Related Art Conventionally, there are known samplers capable of picking up and sampling external sounds such as natural musical instrument sounds, singing sounds and voices with a microphone, storing them in a storage device, and reproducing and outputting the stored external sounds arbitrarily. An electronic musical instrument can also have a sampler function, and an external sound sampled and captured can be handled as one of PCM sound source waveforms. In this case, the reproduction pitch of the external sound sampled and captured can be changed by changing the number of samples reproduced per unit time.
In an electronic musical instrument having a conventional sampler function, a waveform of an external sound sampled and captured can be displayed on a display unit and set as a waveform using a predetermined range. In this case, a waveform to be used can be composed of an attack waveform that represents the rising edge of the waveform and a loop waveform that is repeatedly played, and a start point that indicates the start position of the attack waveform and a loop start point that indicates the start position of the loop waveform, The end point indicating the end position of the waveform is designated on the waveform displayed on the display unit.
JP 2003-186476 A

従来のサンプラー機能を有する電子楽器における、サンプリングして取り込んだ外部音の波形が表示部の表示画面上に表示された表示態様を図5に示す。図5に示す表示態様は取り込まれた外部波形を拡大/縮小することなく倍率を「1」とする通常表示の表示態様とされている。通常表示された表示画面上には、外部音の波形に設定されたアタック波形のスタートポイント(S)と、ループ波形のループスタートポイント(L)と波形のエンドポイント(E)も表示されている。表示画面上の外部音の波形において、スタートポイント(S)、ループスタートポイント(L)、エンドポイント(E)を設定する際には、そのポイントの近傍の波形を確認しながら設定する。この際には、表示の倍率を大きくして見易くした波形形状を確認しながら設定することが好適とされる。   FIG. 5 shows a display mode in which a waveform of an external sound sampled and captured in an electronic musical instrument having a conventional sampler function is displayed on the display screen of the display unit. The display mode shown in FIG. 5 is a normal display mode in which the magnification is “1” without enlarging / reducing the captured external waveform. On the normally displayed display screen, the start point (S) of the attack waveform set to the waveform of the external sound, the loop start point (L) of the loop waveform, and the end point (E) of the waveform are also displayed. . When setting the start point (S), the loop start point (L), and the end point (E) in the waveform of the external sound on the display screen, the settings are made while checking the waveform near the point. In this case, it is preferable to set while confirming the waveform shape which is easy to see by increasing the display magnification.

ここで、電子楽器のパネルに設けられているズームインボタン(Zoom In)を押下した時の外部音の波形が拡大表示された表示態様を図6に示す。この場合の表示倍率は、例えば通常表示の4倍の倍率とされスタートポイント(S)とループスタートポイント(L)の近傍の部分の波形を詳細に観察することができるが、エンドポイント(E)の近傍の部分の波形は表示画面からはみ出てしまい観察することができない。観察するには、表示されている波形を横方向に移動しなければならないことになる。そこで、電子楽器のパネルに設けられているズームアウトボタン(Zoom Out)を押下した時の外部音の波形が縮小表示された表示態様を図7に示す。この場合の表示倍率は、例えば通常表示の1/4倍の倍率とされスタートポイント(S)、ループスタートポイント(L)およびエンドポイント(E)が全て波形上に表示されるが、表示画面上に幅が狭く表示されることからこれらのポイントの近傍の部分の波形を詳細に観察することはできない。なお、ズームインボタン(Zoom In)およびズームアウトボタン(Zoom Out)に替えて任意の倍率で外部音の波形を表示画面に表示する倍率設定手段も設けられている。   Here, FIG. 6 shows a display mode in which the waveform of the external sound when the zoom-in button (Zoom In) provided on the panel of the electronic musical instrument is pressed is enlarged. The display magnification in this case is, for example, four times the normal display, and the waveform in the vicinity of the start point (S) and the loop start point (L) can be observed in detail, but the end point (E) The waveform in the vicinity of is protruded from the display screen and cannot be observed. In order to observe, the displayed waveform must be moved in the horizontal direction. Therefore, FIG. 7 shows a display mode in which the waveform of the external sound when the zoom out button (Zoom Out) provided on the panel of the electronic musical instrument is pressed is reduced. The display magnification in this case is, for example, a magnification of 1/4 of the normal display, and the start point (S), loop start point (L), and end point (E) are all displayed on the waveform, but on the display screen Therefore, the waveform in the vicinity of these points cannot be observed in detail. Note that magnification setting means for displaying the waveform of the external sound on the display screen at an arbitrary magnification instead of the zoom-in button (Zoom In) and the zoom-out button (Zoom Out) is also provided.

ところで、スタートポイント(S)からエンドポイント(E)までの外部音の波形が表示画面の幅の全体にわたり表示されると、各ポイントの近傍の波形を確認することができると共に、各ポイントの設定や波形の編集を容易に行うことができる。このように、スタートポイント(S)からエンドポイント(E)までの外部音の波形を表示画面の幅の全体にわたり表示させるには、倍率設定手段により表示倍率を何度も設定することにより適切な表示倍率に調整しなければならず、その操作が煩雑になるという問題点があった。さらに、波形の表示開始位置をスタートポイント(S)の近傍に設定する必要があり、さらに波形の横方向の移動操作をしなければならないという問題点もあった。
そこで、本発明はスタートポイントからエンドポイントまでの外部音の波形が、簡易な操作を行うだけで表示画面の幅の全体にわたり表示されるようにした電子楽器および電子楽器制御用プログラムを提供することを目的としている。
By the way, when the waveform of the external sound from the start point (S) to the end point (E) is displayed over the entire width of the display screen, the waveform in the vicinity of each point can be confirmed, and the setting of each point is set. And waveform editing can be performed easily. As described above, in order to display the waveform of the external sound from the start point (S) to the end point (E) over the entire width of the display screen, it is appropriate to set the display magnification many times by the magnification setting means. There was a problem that the display magnification had to be adjusted and the operation became complicated. Furthermore, it is necessary to set the waveform display start position in the vicinity of the start point (S), and there is another problem that the waveform must be moved in the horizontal direction.
Accordingly, the present invention provides an electronic musical instrument and a program for controlling an electronic musical instrument in which the waveform of an external sound from the start point to the end point is displayed over the entire width of the display screen by performing a simple operation. It is an object.

上記目的を達成するために、本発明の電子楽器および電子楽器制御用プログラムは、表示態様を変更する操作がされた際に、外部波形における指定されたスタートポイントからエンドポイントまでの領域の波形が、スタートポイントの前のマージン領域の波形とエンドポイントの後のマージン領域の波形と共に、表示手段における表示領域の表示幅のほぼ全体にわたり表示される表示倍率を決定することにより、表示手段にスタートポイントの前のマージン領域の波形からエンドポイントの後のマージン領域の波形までの外部波形を決定された表示倍率で表示させる表示制御手段を備えることを最も主要な特徴としている。
In order to achieve the above object, the electronic musical instrument and the electronic musical instrument control program according to the present invention, when an operation to change the display mode is performed, the waveform in the region from the specified start point to the end point in the external waveform is displayed. , together with the waveform of the margin area after the waveform and the end point before the margin area of the start point, by determining a display magnification that is displayed over substantially the entire display width of the display area of the display unit, the start point on the display means The main feature is that it has display control means for displaying external waveforms from the waveform in the margin area before the end point to the waveform in the margin area after the end point at the determined display magnification.

本発明によれば、操作された際に、外部波形におけるスタートポイントからエンドポイントまでの領域の波形が、スタートポイントの前のマージン領域の波形とエンドポイントの後のマージン領域の波形と共に、表示手段における表示領域の表示幅のほぼ全体にわたり表示される表示倍率を決定する操作手段を備えることから、操作手段を操作するだけでスタートポイントからエンドポイントまでの外部音の波形が、表示画面の幅の全体にわたり表示されるようになる。また、スタートポイントの前にマージン領域の波形が、エンドポイントの後にもマージン領域の波形が表示されることから、スタートポイントとエンドポイントの近傍の波形を確認することができるようになる。   According to the present invention, when operated, the waveform of the region from the start point to the end point in the external waveform is displayed together with the waveform of the margin region before the start point and the waveform of the margin region after the end point. Since the operation means for determining the display magnification to be displayed over almost the entire display width of the display area is provided, the waveform of the external sound from the start point to the end point can be reduced by simply operating the operation means. It will be displayed throughout. In addition, since the waveform in the margin area is displayed before the start point and the waveform in the margin area is also displayed after the end point, it is possible to check the waveforms in the vicinity of the start point and the end point.

本発明の実施例の電子楽器1の構成を示すブロック図を図1に示す。
図1に示す電子楽器1において、CPU(Central Processing Unit)10は電子楽器1の全体の動作を制御すると共に、表示部15に波形等を表示する描画プログラムや電子楽器制御用プログラム等の動作ソフトウェアを実行している。ROM(Read Only Memory)11には、CPU10が実行する描画プログラムや電子楽器制御用プログラム等の動作ソフトウェアが少なくとも格納されており、RAM(Random Access Memory)12には、CPU10のワークエリアや各種データの記憶エリアが設定されている。このROM11をフラッシュメモリ等の書き換え可能なROMとすることで、動作ソフトウェアを書き換え可能となり動作ソフトウェアのバージョンアップを容易に行うことができる。
FIG. 1 is a block diagram showing the configuration of an electronic musical instrument 1 according to an embodiment of the present invention.
In the electronic musical instrument 1 shown in FIG. 1, a CPU (Central Processing Unit) 10 controls the overall operation of the electronic musical instrument 1 and also operates software such as a drawing program and an electronic musical instrument control program for displaying waveforms on the display unit 15. Is running. A ROM (Read Only Memory) 11 stores at least operation software such as a drawing program executed by the CPU 10 and an electronic musical instrument control program. A RAM (Random Access Memory) 12 stores a work area of the CPU 10 and various data. Storage area is set. By making this ROM 11 a rewritable ROM such as a flash memory, the operation software can be rewritten and the operation software can be easily upgraded.

検出回路14は、鍵盤、パネル操作子やポインタデバイス等の操作子13を走査することによって操作子13のイベントを検出して、イベントのあった操作子13に対応するイベント出力を出力している。操作子13には、押下された際に表示部15に表示される波形を拡大表示するズームインボタン(Zoom In)、押下された際に表示部15に表示される波形を縮小表示するズームアウトボタン(Zoom Out)、押下された際に表示部15に表示される波形を表示部15の表示幅のほぼ全体にわたり表示するディスプレイボタン(Display)が少なくとも含まれている。表示回路16は液晶(LCD)等の表示部15を備え、この表示部15に電子楽器1に取り込まれた外部音の波形や楽音を生成する際の各種設定の画面等を表示している。各種設定は、GUI(Graphical User Interface)を利用してユーザが設定を行えるようにされている。通信インターフェース(I/F)18は、電子楽器1をLAN(ローカルエリアネットワーク)やインターネット、電話回線等の通信ネットワークに接続するインターフェースであり、該通信ネットワークを介して、外部機器17と接続することができる。これにより、外部機器17からPCM波形データや各種プログラム等をダウンロードすることができるようになる。ダウンロードされたPCM波形データ等は、RAM12や図示しないハードディスク装置等に格納されるようになる。音声インターフェース(I/F)は、自然楽器音や歌唱音・音声等の外部音をサンプリングして取り込んだり、電子楽器1において生成された楽音信号を外部へ出力するためのインターフェースである。外部機器19は、音声I/F20を介して電子楽器1へ外部音を取り込むためのマイクロフォンや生成した楽音信号を放音するスピーカ等とされる。これらの各部は通信バス21に接続されている。なお、図示されていないが電子楽器1は音源回路を備えており、この音源回路はPCM波形を利用して楽音を生成することができるPCM音源とされている。このPCM音源は、外部から取り込んだ自然楽器音や歌唱音・音声等のPCM波形データを利用して楽音を生成することができる。   The detection circuit 14 detects an event of the operation element 13 by scanning the operation element 13 such as a keyboard, a panel operation element, or a pointer device, and outputs an event output corresponding to the operation element 13 having the event. . The operator 13 has a zoom-in button (Zoom In) for enlarging and displaying the waveform displayed on the display unit 15 when pressed, and a zoom-out button for reducing and displaying the waveform displayed on the display unit 15 when pressed. (Zoom Out), at least a display button (Display) for displaying the waveform displayed on the display unit 15 when pressed down over almost the entire display width of the display unit 15 is included. The display circuit 16 includes a display unit 15 such as a liquid crystal (LCD). The display unit 15 displays a screen of various settings for generating a waveform of external sound captured by the electronic musical instrument 1 and a musical sound. Various settings can be set by the user using a GUI (Graphical User Interface). The communication interface (I / F) 18 is an interface for connecting the electronic musical instrument 1 to a communication network such as a LAN (local area network), the Internet, or a telephone line, and is connected to the external device 17 via the communication network. Can do. As a result, PCM waveform data and various programs can be downloaded from the external device 17. The downloaded PCM waveform data or the like is stored in the RAM 12 or a hard disk device (not shown). The voice interface (I / F) is an interface for sampling and taking in external sounds such as natural instrument sounds, singing sounds and voices, and outputting musical sound signals generated in the electronic musical instrument 1 to the outside. The external device 19 is a microphone for taking external sound into the electronic musical instrument 1 via the audio I / F 20 or a speaker for emitting the generated musical sound signal. Each of these units is connected to the communication bus 21. Although not shown, the electronic musical instrument 1 includes a tone generator circuit, and this tone generator circuit is a PCM tone generator that can generate a musical tone using a PCM waveform. This PCM sound source can generate musical sounds using PCM waveform data such as natural musical instrument sounds, singing sounds, and voices captured from the outside.

本発明の電子楽器1はサンプラー機能を有しており、外部機器19としてのマイクロフォンから音声I/F20を介して自然楽器音や歌唱音・音声等の外部音をサンプリングして電子楽器1に取り込むことができる。そして、サンプリングして取り込んだ外部音の波形を表示部15に表示して、所定の範囲を使用する波形として設定することができる。この場合、波形の立ち上がりを表すアタック波形と、繰り返し再生するループ波形とから使用する波形を構成することができ、アタック波形の開始位置を示すスタートポイントとループ波形の開始位置を示すループスタートポイントと波形の終了位置を示すエンドポイントとを表示部15に表示された波形上で操作子13を操作して指定する。このようにして、サンプリングして取り込んだ外部音をPCM波形データ(ボイスデータ)の一つとしてRAM12や図示しない記憶装置に記憶することができるようになる。この場合、PCM音源においてはサンプリングして取り込んだボイスデータの再生ピッチを単位時間当たりに再生されるサンプル数を変えることにより変更することができる。
本発明の電子楽器1においては、操作子13として押下された際に表示部15に表示される外部音の波形を拡大表示するズームインボタン(Zoom In)、および押下された際に表示部15に表示される外部音の波形を縮小表示するズームアウトボタン(Zoom Out)に加えて、押下された際に表示部15に表示される外部音の波形を表示部15の表示幅のほぼ全体にわたり表示するディスプレイボタン(Display)が設けられている。これらのボタンは表示部15の近傍に設置されており、ディスプレイボタン(Display)を押下した際に表示部15に表示される波形について以下に説明する。
The electronic musical instrument 1 of the present invention has a sampler function, samples external sounds such as natural musical instrument sounds, singing sounds, and voices from the microphone as the external device 19 via the voice I / F 20 and takes them into the electronic musical instrument 1. be able to. The waveform of the external sound sampled and captured can be displayed on the display unit 15 and set as a waveform using a predetermined range. In this case, a waveform to be used can be composed of an attack waveform that represents the rising edge of the waveform and a loop waveform that is repeatedly played, and a start point that indicates the start position of the attack waveform and a loop start point that indicates the start position of the loop waveform, The end point indicating the end position of the waveform is designated by operating the operator 13 on the waveform displayed on the display unit 15. In this way, the external sound sampled and captured can be stored in the RAM 12 or a storage device (not shown) as one piece of PCM waveform data (voice data). In this case, in the PCM sound source, the reproduction pitch of the voice data sampled and captured can be changed by changing the number of samples reproduced per unit time.
In the electronic musical instrument 1 of the present invention, a zoom-in button (Zoom In) for enlarging and displaying the waveform of the external sound displayed on the display unit 15 when pressed as the operation element 13, and the display unit 15 when pressed. In addition to the zoom-out button (Zoom Out) for reducing the displayed external sound waveform, the external sound waveform displayed on the display unit 15 when pressed is displayed over almost the entire display width of the display unit 15. A display button (Display) is provided. These buttons are installed in the vicinity of the display unit 15, and a waveform displayed on the display unit 15 when the display button (Display) is pressed will be described below.

サンプリングして取り込んだ外部音の波形が表示部15の表示画面上に表示された通常表示の表示態様を図2に示す。図2において横方向が時間軸とされ紙面の左から右に向かって時間が経過していく。通常表示では取り込まれた外部音の波形を拡大/縮小することなく表示倍率は「1」とされている。通常表示された表示画面上には、外部音の波形に設定されたアタック波形のスタートポイント(S)と、ループ波形のスタートポイント(L)と波形のエンドポイント(E)も表示されている。この場合、SSはスタートポイント(S)のサンプル単位の位置情報とされ、SEはエンドポイント(E)のサンプル単位の位置情報とされ、スタートポイント(S)からエンドポイント(E)までのサンプル数NSは、
S=SE−SS (1)
により表すことができる。
A display mode of normal display in which the waveform of the external sound sampled and captured is displayed on the display screen of the display unit 15 is shown in FIG. In FIG. 2, the horizontal direction is the time axis, and time passes from the left to the right of the page. In normal display, the display magnification is set to “1” without enlarging / reducing the waveform of the captured external sound. On the normally displayed display screen, the start point (S) of the attack waveform, the start point (L) of the loop waveform and the end point (E) of the waveform set to the waveform of the external sound are also displayed. In this case, S S is the position information of the start point (S) in units of samples, and S E is the position information of the end points (E) in units of samples, from the start point (S) to the end points (E). The number of samples NS is
N S = S E −S S (1)
Can be represented by

ここで、ディスプレイボタン(Display)を押下すると図3に示すように、表示部15の表示画面の表示幅にスタートポイント(S)からエンドポイント(E)までがちょうど収まるように表示される。この場合、スタートポイント(S)より前の時間のドット数NMFの波形が表示されると共に、エンドポイント(E)より後の時間のドット数NMRの波形も併せて表示される。このように、スタートポイント(S)からエンドポイント(E)までの波形と、その前後の波形がマージンとして表示されることからスタートポイント(S)からエンドポイント(E)までの波形を確認することができると共に、スタートポイント(S)の近傍の波形、および、エンドポイント(E)の近傍の波形を確認することができるようになる。また、ディスプレイボタン(Display)を押下するだけの簡易な操作により、表示部15の表示画面の表示幅にスタートポイント(S)からエンドポイント(E)までと、その前後のマージンとする波形がちょうど収まるように表示される。
また、ズームインボタン(Zoom In)を押下すると外部音の波形が拡大表示され、その表示態様は図6に示す表示態様と同様となる。さらに、ズームアウトボタン(Zoom Out)を押下すると外部音の波形が縮小表示され、その表示態様は図7に示す表示態様と同様となる。
Here, when the display button (Display) is pressed, as shown in FIG. 3, the display width of the display screen of the display unit 15 is displayed so that the range from the start point (S) to the end point (E) just fits. In this case, the waveform of the number of dots N MF of time prior to the start point (S) is displayed, it is also displayed together waveform dot number N MR time after the endpoint (E). As described above, the waveform from the start point (S) to the end point (E) and the waveform before and after the waveform are displayed as margins, so that the waveform from the start point (S) to the end point (E) is confirmed. In addition, the waveform near the start point (S) and the waveform near the end point (E) can be confirmed. In addition, by a simple operation by simply pressing the display button (Display), the display width of the display screen of the display unit 15 is exactly the waveform from the start point (S) to the end point (E) and the margin before and after that. Displayed to fit.
When the zoom-in button (Zoom In) is pressed, the waveform of the external sound is enlarged and displayed, and the display mode is the same as the display mode shown in FIG. Further, when the zoom out button (Zoom Out) is pressed, the waveform of the external sound is reduced and displayed, and the display mode is the same as the display mode shown in FIG.

次に、ディスプレイボタン(Display)が押下された際にCPU10において実行される描画処理のフローチャートを図4に示す。
ディスプレイボタン(Display)が押下されて、図4に示す描画処理が起動されるとステップS10にて表示部15の表示画面に表示されている波形データのスタートポイント(S)のサンプル単位の位置情報SSと、エンドポイント(E)のサンプル単位の位置情報SEとを取得する。次いで、ステップS11にて前記(1)式を演算することにより、スタートポイント(S)からエンドポイント(E)までのサンプル数NSを算出する。次に、ステップS12にて表示部15のLCD等の表示領域のドット単位の表示幅NDを取得する。そして、ステップS13にて波形データの前に設けるマージンのドット単位の幅NMFと後に設けるマージンのドット単位の幅NMRを設定する。この場合、マージンの幅は任意の幅に設定することができるがスタートポイント(S)からエンドポイント(E)までのサンプル数NSに応じて設定するのが好適とされる。ここで、ステップS14にて波形の前後にマージンを持って表示画面の表示幅のほぼ全体に波形を表示する表示倍率を計算する。この表示倍率の計算の第1の実施例を示すと、表示倍率EX1を次式で算出する。
EX1=ND/(NS+NMF+NMR) (2)
(2)式において、NSは上記(1)式で算出されるスタートポイント(S)からエンドポイント(E)までのサンプル数NSである。上記(2)式の表示倍率とすると、表示画面に表示されるマージンの波形の領域が、スタートポイント(S)からエンドポイント(E)までのサンプル数NSに応じた長さで表示することができる。
Next, FIG. 4 shows a flowchart of the drawing process executed in the CPU 10 when the display button (Display) is pressed.
When the display button (Display) is pressed and the drawing process shown in FIG. 4 is started, the position information in units of samples of the start point (S) of the waveform data displayed on the display screen of the display unit 15 in step S10. S S and position information S E of the end point (E) in units of samples are acquired. Then, by calculating the equation (1) at step S11, it calculates the number of samples N S from the start point (S) to the end point (E). Next, to obtain the display width N D of dots of the display area of the LCD of the display section 15 at step S12. Then, to set the width N MR of dots margin provided after the width N MF of dot margin provided before the waveform data at step S13. In this case, the width of the margin are preferably set in accordance with the number of samples N S from but may start point be set to any width (S) to the end point (E). Here, in step S14, a display magnification for displaying the waveform over almost the entire display width of the display screen with a margin before and after the waveform is calculated. In the first embodiment for calculating the display magnification, the display magnification EX1 is calculated by the following equation.
EX1 = N D / (N S + N MF + N MR ) (2)
(2) In the formula, N S is the number of samples N S from the (1) start point calculated by the formula (S) to the end point (E). When the display magnification of the equation (2) above, the region of the waveform of the margin to be displayed on the display screen, to display the start point (S) in a length corresponding to the number of samples N S to endpoint (E) Can do.

また、表示倍率の計算の第2の実施例では、上記(2)式で求めた表示倍率EX1と、表示部15の表示倍率として予め用意されている複数の固定倍率とを比較し、用意されている複数の固定倍率の内の算出された表示倍率EX1よりもズームアウト側(小さい)で最も近い固定倍率を表示倍率EX2とする。例えば、上記(2)で算出された表示倍率EX1が1/7であった際に、用意されている複数の固定倍率が、1/1,1/2,1/4,1/8,1/16とされていた場合は、1/8を表示倍率EX2とする。この場合、1/7から1/8に表示倍率を変更したために生じた余剰領域はエンドポイント(E)の後のマージンの幅NMRあるいはスタートポイント(S)の前のマージンの幅NMFに付加されてその波形が表示される。ステップS14において表示倍率が算出されると、ステップS15にて算出された表示倍率で表示部15に波形データを表示するためのの描画用データが作成される。次いで、ステップS16にて描画データが表示回路16に出力されて、図3に示すように表示部15の表示領域のほぼ全体に波形が描画されるようになり、描画処理は終了する。 Further, in the second embodiment for calculating the display magnification, the display magnification EX1 obtained by the above equation (2) is compared with a plurality of fixed magnifications prepared in advance as the display magnification of the display unit 15. The fixed magnification closest to the zoom-out side (smaller) than the calculated display magnification EX1 among the plurality of fixed magnifications is set as the display magnification EX2. For example, when the display magnification EX1 calculated in the above (2) is 1/7, a plurality of prepared fixed magnifications are 1/1, 1/2, 1/4, 1/8, 1 In the case of / 16, 1/8 is set as the display magnification EX2. In this case, the width N MF previous margin 1/7 from excess area caused to change the magnification ratio to 1/8 endpoint (E) the width N MR or start point of the margin after the (S) In addition, the waveform is displayed. When the display magnification is calculated in step S14, drawing data for displaying waveform data on the display unit 15 is created with the display magnification calculated in step S15. Next, the drawing data is output to the display circuit 16 in step S16, and the waveform is drawn on almost the entire display area of the display unit 15 as shown in FIG. 3, and the drawing process ends.

以上説明した本発明においては、表示部15に表示される波形はマイクロフォンからサンプリングされて取り込まれた外部波形としたが、これに限ることはなく電子楽器1の記憶手段に記憶されている音データファイルの波形としたり、録音された波形データを外部機器17から通信I/F18を介して取り込んだ波形データとしても良い。また、ズームインボタン(Zoom In)、ズームアウトボタン(Zoom Out)およびディスプレイボタン(Display)を表示画面に表示してカーソルを合わせてクリックすることにより各ボタンを操作するようにしても良い。
なお、電子楽器1に取り込んだ外部音の波形にスタートポイント(S)と、ループ波形のスタートポイント(L)とエンドポイント(E)とを設定した波形や、さらに、不要になった部分を削除するようエディットした波形をボイスデータとして電子楽器1が備える記憶媒体に書き出すことができる。また、波形データの前に設けるマージンの幅と、波形データの後に設けるマージンの幅とを同じ幅としても良い。
In the present invention described above, the waveform displayed on the display unit 15 is the external waveform sampled from the microphone, but is not limited to this, and the sound data stored in the storage means of the electronic musical instrument 1 is not limited thereto. It may be a waveform of a file, or may be waveform data obtained by capturing recorded waveform data from the external device 17 via the communication I / F 18. In addition, each button may be operated by displaying a zoom-in button (Zoom In), a zoom-out button (Zoom Out), and a display button (Display) on the display screen, positioning the cursor, and clicking.
In addition, the waveform which set the start point (S), the start point (L) and the end point (E) of the loop waveform to the waveform of the external sound taken into the electronic musical instrument 1, and the unnecessary part are deleted. The waveform edited in such a manner can be written as voice data on a storage medium provided in the electronic musical instrument 1. The width of the margin provided before the waveform data and the width of the margin provided after the waveform data may be the same width.

本発明の実施例の電子楽器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic musical instrument of the Example of this invention. 本発明の電子楽器において、サンプリングして取り込んだ外部音の波形を表示部の表示画面上に通常表示で表示させた表示態様を示す図である。In the electronic musical instrument of this invention, it is a figure which shows the display mode which displayed the waveform of the external sound sampled and taken in on the display screen of a display part by normal display. 本発明の電子楽器において、ディスプレイボタンを押下した際に表示部の表示画面上に表示される外部音の波形の表示態様を示す図である。In the electronic musical instrument of this invention, it is a figure which shows the display mode of the waveform of the external sound displayed on the display screen of a display part when a display button is pressed down. 本発明の電子楽器においてCPUが実行する描画処理のフローチャートである。It is a flowchart of the drawing process which CPU performs in the electronic musical instrument of this invention. 従来の電子楽器において、サンプリングして取り込んだ外部音の波形を表示部の表示画面上に通常表示で表示させた表示態様を示す図である。In the conventional electronic musical instrument, it is a figure which shows the display mode which displayed the waveform of the external sound sampled and taken in by the normal display on the display screen of a display part. 従来の電子楽器において、ズームインボタンを押下した際に表示部の表示画面上に表示される波形の表示態様を示す図である。In the conventional electronic musical instrument, it is a figure which shows the display mode of the waveform displayed on the display screen of a display part when a zoom-in button is pressed. 従来の電子楽器において、ズームアウトボタンを押下した際に表示部の表示画面上に表示される波形の表示態様を示す図である。In the conventional electronic musical instrument, it is a figure which shows the display mode of the waveform displayed on the display screen of a display part when a zoom out button is pressed down.

符号の説明Explanation of symbols

1 電子楽器、10 CPU、11 ROM、12 RAM、13 操作子、14 検出回路、15 表示部、16 表示回路、17 外部機器、18 通信インターフェース、19 外部機器、20 音声インターフェース、21 通信バス DESCRIPTION OF SYMBOLS 1 Electronic musical instrument, 10 CPU, 11 ROM, 12 RAM, 13 Operator, 14 Detection circuit, 15 Display part, 16 Display circuit, 17 External apparatus, 18 Communication interface, 19 External apparatus, 20 Audio | voice interface, 21 Communication bus

Claims (4)

外部波形をサンプリングして取り込む入力手段と、
該入力手段により取り込まれた外部波形を利用して、楽音を生成することができる楽音生成手段と、
通常表示では前記入力手段により取り込まれた外部波形を拡大あるいは縮小することなく表示し、表示態様が変更されて表示倍率が設定された際には設定された表示倍率で前記外部波形を表示する表示手段と、
アタック波形の開始位置を示すスタートポイントと、使用する波形の終了位置を示すエンドポイントとの位置、前記表示手段に表示されている前記外部波形上において指定されることにより、前記外部波形上に表示された前記スタートポイントから前記エンドポイントまでの前記外部波形の範囲を使用する波形として設定する設定手段と、
前記表示手段の表示態様を変更する操作手段と、
該操作手段が操作された際に、前記設定手段により前記外部波形において指定された前記スタートポイントから前記エンドポイントまでの領域の波形が、前記スタートポイントの前のマージン領域の波形と前記エンドポイントの後のマージン領域の波形と共に、前記表示手段における表示領域の表示幅のほぼ全体にわたり表示される前記表示倍率を決定し、前記表示手段に決定された前記表示倍率を設定することにより、前記表示手段に前記スタートポイントの前のマージン領域の波形から前記エンドポイントの後のマージン領域の波形までの前記外部波形を決定された前記表示倍率で表示させる表示制御手段と、
を備えるようにしたことを特徴とする電子楽器。
Input means for sampling and capturing external waveforms;
A musical sound generating means capable of generating a musical sound using the external waveform captured by the input means;
In normal display, the external waveform captured by the input means is displayed without being enlarged or reduced, and when the display mode is changed and the display magnification is set , the external waveform is displayed at the set display magnification. Means,
By specifying the position of the start point indicating the start position of the attack waveform and the end point indicating the end position of the waveform to be used on the external waveform displayed on the display means , Setting means for setting as a waveform using the range of the external waveform from the displayed start point to the end point;
Operation means for changing a display mode of the display means;
When the operation means is operated, the waveform of the area from the start point to the end point designated in the external waveform by the setting means is the waveform of the margin area before the start point and the end point. By determining the display magnification displayed over almost the entire display width of the display area in the display means together with the waveform of the later margin area, and setting the determined display magnification in the display means, the display means Display control means for displaying the external waveform from the waveform in the margin area before the start point to the waveform in the margin area after the end point at the determined display magnification;
An electronic musical instrument characterized by comprising:
前記表示制御手段においては、前記表示倍率が、スタートポイントからエンドポイントまでの前記外部波形のサンプル数をNS、前記表示手段における表示領域の表示幅のドット数をND、前記スタートポイントの前の前記マージン領域のドット数をNMF、前記エンドポイントの後の前記マージン領域のドット数をNMRとした時に、ND/(NS+NMF+NMR)を演算することにより決定されることを特徴とする請求項1記載の電子楽器。 In the display control means, the display magnification is such that the number of samples of the external waveform from the start point to the end point is N S , the number of dots of the display width of the display area in the display means is N D , and before the start point. the margin area the number of dots N MF of the number of dots the margin area after the endpoint when the N MR, be determined by computing the N D / (N S + N MF + N MR) The electronic musical instrument according to claim 1. 前記表示制御手段においては、スタートポイントからエンドポイントまでの前記外部波形のサンプル数をNS、前記表示手段における表示領域の表示幅のドット数をND、前記スタートポイントの前の前記マージン領域のドット数をNMF、前記エンドポイントの後の前記マージン領域のドット数をNMRとした時に、ND/(NS+NMF+NMR)により倍率を算出し、予め用意されている複数の固定倍率の内の算出された前記倍率と最も近いズームアウト側の固定倍率を前記表示倍率として決定するようにしたことを特徴とする請求項1記載の電子楽器。 Wherein the display control means, the number of samples N S of the external waveform from the start point to the end point, the number of dots N D display width of the display area of the display unit, the margin area in front of the start point When the number of dots is N MF and the number of dots in the margin area after the end point is N MR , the magnification is calculated by N D / (N S + N MF + N MR ), and a plurality of fixed numbers prepared in advance are calculated. The electronic musical instrument according to claim 1, wherein a fixed magnification on the zoom-out side closest to the calculated magnification is determined as the display magnification. コンピュータを、
外部波形をサンプリングして取り込む入力手段、
該入力手段により取り込まれた外部波形を利用して、楽音を生成することができる楽音生成手段、
通常表示では前記入力手段により取り込まれた外部波形を拡大あるいは縮小することなく表示し、表示態様が変更されて表示倍率が設定された際には設定された表示倍率で前記外部波形を表示する表示手段、
アタック波形の開始位置を示すスタートポイントと、使用する波形の終了位置を示すエンドポイントとの位置、前記表示手段に表示されている前記外部波形上において指定されることにより、前記外部波形上に表示された前記スタートポイントから前記エンドポイントまでの前記外部波形の範囲を使用する波形として設定する設定手段、
表示態様を変更する操作がされた際に、前記設定手段により前記外部波形において指定された前記スタートポイントから前記エンドポイントまでの領域の波形が、前記スタートポイントの前のマージン領域の波形と前記エンドポイントの後のマージン領域の波形と共に、前記表示手段における表示領域の表示幅のほぼ全体にわたり表示される前記表示倍率を決定し、前記表示手段に決定された前記表示倍率を設定することにより、前記表示手段に前記スタートポイントの前のマージン領域の波形から前記エンドポイントの後のマージン領域の波形までの前記外部波形を決定された前記表示倍率で表示させる表示制御手段
として機能させるようにしたことを特徴とする電子楽器制御用プログラム。
Computer
Input means to sample and capture external waveforms,
A musical sound generating means capable of generating a musical sound using the external waveform captured by the input means;
In normal display, the external waveform captured by the input means is displayed without being enlarged or reduced, and when the display mode is changed and the display magnification is set , the external waveform is displayed at the set display magnification. means,
By specifying the position of the start point indicating the start position of the attack waveform and the end point indicating the end position of the waveform to be used on the external waveform displayed on the display means , Setting means for setting as a waveform using the range of the external waveform from the displayed start point to the end point;
When an operation for changing the display mode is performed, the waveform in the region from the start point to the end point specified in the external waveform by the setting unit is the same as the waveform in the margin region before the start point and the end point. By determining the display magnification displayed over almost the entire display width of the display area in the display means together with the waveform of the margin area after the point, and setting the display magnification determined in the display means, Display control means for causing the display means to display the external waveform from the waveform in the margin area before the start point to the waveform in the margin area after the end point at the determined display magnification ;
A program for controlling an electronic musical instrument characterized by being made to function as
JP2006267170A 2006-09-29 2006-09-29 Electronic musical instrument and electronic musical instrument control program Expired - Fee Related JP4379455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006267170A JP4379455B2 (en) 2006-09-29 2006-09-29 Electronic musical instrument and electronic musical instrument control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006267170A JP4379455B2 (en) 2006-09-29 2006-09-29 Electronic musical instrument and electronic musical instrument control program

Publications (2)

Publication Number Publication Date
JP2008089645A JP2008089645A (en) 2008-04-17
JP4379455B2 true JP4379455B2 (en) 2009-12-09

Family

ID=39373916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006267170A Expired - Fee Related JP4379455B2 (en) 2006-09-29 2006-09-29 Electronic musical instrument and electronic musical instrument control program

Country Status (1)

Country Link
JP (1) JP4379455B2 (en)

Also Published As

Publication number Publication date
JP2008089645A (en) 2008-04-17

Similar Documents

Publication Publication Date Title
JP5685702B2 (en) Speech recognition result management apparatus and speech recognition result display method
KR100651516B1 (en) Method and apparatus of providing a service of instrument playing
JP2009230006A (en) Display device and program for performance information
JP2017181724A (en) Musical score display control method, musical score display control unit, and musical score display control program
JP2007249075A (en) Audio reproducing device and high-frequency interpolation processing method
JP2007028242A (en) Terminal apparatus and computer program applied to the same
JP4379455B2 (en) Electronic musical instrument and electronic musical instrument control program
JP4876645B2 (en) Waveform editing device
JP4687517B2 (en) Waveform editing device
JP4389753B2 (en) Music information display editing apparatus and program
JP4265452B2 (en) Performance data reproducing apparatus and program
JP2005100131A (en) Parameter setting device and parameter setting program
JP5215899B2 (en) Sound value changing device, method and program
JP7035509B2 (en) Display control method, program and information processing device
JP3714397B2 (en) Waveform data processing apparatus and waveform data processing method
JP3496565B2 (en) Audio processing device and audio processing method
JP2005249872A (en) Device and method for setting music reproduction parameter
JP7260313B2 (en) Music data display program and music data display device
JP4396454B2 (en) Music information display device and program
JP2006267173A (en) Device and program to edit performance data
JP4042669B2 (en) Waveform data editing apparatus and waveform data editing program
JP2020126086A (en) Music data display program and music data display device
JP4687759B2 (en) Performance data reproducing apparatus and program
JP4290113B2 (en) Electronic musical instrument and waveform display program
JP2947130B2 (en) Waveform data processing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090316

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090421

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090702

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090728

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: 20090825

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090907

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

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131002

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees