JPH11296176A - Waveform data display device - Google Patents

Waveform data display device

Info

Publication number
JPH11296176A
JPH11296176A JP10102301A JP10230198A JPH11296176A JP H11296176 A JPH11296176 A JP H11296176A JP 10102301 A JP10102301 A JP 10102301A JP 10230198 A JP10230198 A JP 10230198A JP H11296176 A JPH11296176 A JP H11296176A
Authority
JP
Japan
Prior art keywords
waveform data
display
value
waveform
section
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
Application number
JP10102301A
Other languages
Japanese (ja)
Inventor
Koichi Funada
浩一 船田
Bruce Adrian
ブルース エイドリアン
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.)
Roland Corp
Original Assignee
Roland 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 Roland Corp filed Critical Roland Corp
Priority to JP10102301A priority Critical patent/JPH11296176A/en
Publication of JPH11296176A publication Critical patent/JPH11296176A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To display waveform data without damaging the features of the original shape by providing a display control means or the like for performing control to display values based on the waveform data detected by a detection means on the screen of a display means while time sequentially arranging them for each block. SOLUTION: When a zoom-in button is clicked by a mouse, a current magnification value Zoom is made double (S4) and when a Zoom-out button is clicked, the current magnification value Zoom is made into 1/2 (S6). Next, a number SmP of samples per pixel is calculated from this magnification value Zoom (S7). This sample number SmP is correspondent to the width of the block to extract the waveform data characterizing a waveform. Next, the calculated sample number SmP is discriminated and based on the result, a waveform display routine 1 is executed (S9) for displaying the waveform while reducing a time base or a waveform display routine 2 is executed (S10) for displaying the waveform while expanding the time base.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は音声等の波形を視覚
的に表示する波形データ表示装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform data display device for visually displaying a waveform of a sound or the like.

【0002】従来、例えば音声等をサンプラなどを用い
てサンプリングして波形データとして保存しておき、後
にパーソナルコンピュータ等を用いてその波形データに
基づいてその波形をディスプレイ装置の画面上に表示し
ようとすることがある。この場合、ディスプレイ装置の
画面の解像度は有限であり、例えば波形を表示できる領
域が時間軸方向(通常、X軸方向)に400ピクセル
(画素)であるなどの制限がある。これに対して、例え
ばサンプリングした波形データが50000サンプル分
の振幅値データからなる場合、この波形データによる波
形の全体形状を例えば1画面上に表示するには、波形デ
ータを適宜間引く必要がある。すなわち、上記の例では
125サンプル毎に一つの波形データを得て(すなわち
途中の124サンプル分の波形データを一律に間引い
て)、間引いた後の波形データ(すなわち400サンプ
ル分の振幅値データ)により波形を画面上に表示するも
のである。
Conventionally, for example, a voice or the like is sampled using a sampler or the like and stored as waveform data, and the waveform is later displayed on a screen of a display device based on the waveform data using a personal computer or the like. May be. In this case, the resolution of the screen of the display device is finite, and there is a limitation that, for example, the area where the waveform can be displayed is 400 pixels in the time axis direction (usually the X axis direction). On the other hand, for example, when the sampled waveform data is composed of 50,000 samples of amplitude value data, it is necessary to appropriately thin out the waveform data in order to display the entire shape of the waveform based on the waveform data on, for example, one screen. That is, in the above example, one waveform data is obtained for every 125 samples (that is, waveform data for 124 samples in the middle is uniformly thinned out), and the waveform data after thinning (that is, amplitude value data for 400 samples) is obtained. To display the waveform on the screen.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな単純な間引きによる表示方法は、その間引かれた波
形データ中にその波形形状を特徴づける重要なデータ
(例えば突発的に振幅値が増大したり減少したりした場
所の波形データ)が含まれている可能性があり、表示さ
れる波形の形状が本来の波形データから得られる形状と
異なってしまうことがある。特に、サンプリングした波
形の特徴を解析する場合、間引かれた区間での振幅の突
発的な増大や減少が解析上重要となる場合も多い。
However, such a display method using a simple thinning method uses important data characterizing the waveform shape in the thinned waveform data (for example, when the amplitude value suddenly increases, etc.). There is a possibility that the waveform data of the reduced waveform may be included, and the shape of the displayed waveform may be different from the shape obtained from the original waveform data. In particular, when analyzing the characteristics of a sampled waveform, a sudden increase or decrease in amplitude in a thinned section is often important in analysis.

【0004】本発明は上述のような事情に鑑みてなされ
たものであり、波形データが持っている本来の形状の特
徴を損なうことなく表示することを目的とする。
[0004] The present invention has been made in view of the above circumstances, and has as its object to display waveform data without impairing the characteristics of the original shape of the waveform data.

【0005】[0005]

【課題を解決するための手段および作用】上述の課題を
解決するために、本発明に係る波形データ表示装置は、
第1の形態とてし、画面に視覚的に表示を行う表示手段
と、振幅の大きさを表す波形データを時系列に並べた波
形データ列を記憶する記憶手段と、該記憶手段から読み
出した波形データ列の所定長の区間毎に、その区間の波
形データ列のうちからその区間の波形の特徴を代表的に
表している波形データを検出する検出手段と、該検出手
段で検出した波形データに基づく値を各区間毎に時系列
に並べて該表示手段の画面に表示するよう制御する表示
制御手段とを備える。
In order to solve the above-mentioned problems, a waveform data display device according to the present invention comprises:
As a first mode, a display means for visually displaying on a screen, a storage means for storing a waveform data string in which waveform data representing the magnitude of amplitude are arranged in time series, and a readout from the storage means Detecting means for detecting, for each predetermined length section of the waveform data string, waveform data representatively representing the characteristic of the waveform of the section from the waveform data string of the section; and waveform data detected by the detecting means. And display control means for controlling to display the values based on the time-series for each section and display them on the screen of the display means.

【0006】この波形データ表示装置においては、波形
データの列を所定長の区間毎に区切って、各区間におい
てその区間の波形の特徴を代表的に表す波形データを検
出し、その波形データを用いて表示手段の画面に波形を
表示するようにしているので、区間中の不要な波形デー
タを間引いても波形の特徴が損なわれることがない。
In this waveform data display device, a column of waveform data is divided into sections of a predetermined length, and in each section, waveform data representatively representing a characteristic of a waveform in the section is detected, and the waveform data is used. Since the waveform is displayed on the screen of the display means, unnecessary waveform data in the section is not thinned, and the characteristics of the waveform are not lost.

【0007】また本発明に係る波形データ表示装置は、
第2の形態として、画面に視覚的に表示を行う表示手段
と、振幅の大きさを表す波形データを時系列に並べた波
形データ列を記憶する記憶手段と、該波形データ列に基
づいて該表示手段に表示される波形の時間軸の拡大縮小
の程度を設定する設定手段と、該設定手段で設定した拡
大縮小の程度に応じた長さの区間で該記憶手段から読み
出した波形データ列を区切る区切り手段と、該区切り手
段で区切った区間毎に、その区間の波形データ列のうち
からその区間の波形の特徴を代表的に表している波形デ
ータを検出する検出手段と、該設定手段で設定された拡
大縮小の程度が所定値より拡大側であるときには該検出
手段で検出した波形データに基づく値を第1の表示方法
で、、また該設定手段で設定された拡大縮小の程度が該
所定値より縮小側であるときには該検出手段で検出した
波形データに基づく値を第2の表示方法で、該表示手段
の画面に表示するよう制御する表示制御手段とを備え
る。この波形データ表示装置においては、上述の第1の
形態の波形データ表示装置の特徴に加えて、設定手段で
時間軸の拡大縮小の程度を設定でき、その設定した拡大
縮小の程度に基づいて、区間長を決めたうえで、その区
間から検出した波形データを第1または第2の表示方法
で表示するので、時間軸の拡大時と縮小時のそれぞれに
適した表示方法で波形データを表示することが可能とな
る。
[0007] A waveform data display device according to the present invention comprises:
As a second mode, display means for visually displaying on a screen, storage means for storing a waveform data sequence in which waveform data representing the magnitude of amplitude are arranged in time series, and Setting means for setting the degree of expansion and contraction of the time axis of the waveform displayed on the display means; and a waveform data string read from the storage means in a section having a length corresponding to the degree of expansion and contraction set by the setting means. Separating means for separating, for each section separated by the separating means, detecting means for detecting waveform data representatively representing the characteristic of the waveform of the section from the waveform data string of the section, When the set degree of enlargement / reduction is on the enlargement side from a predetermined value, the value based on the waveform data detected by the detection means is displayed by the first display method, and the degree of enlargement / reduction set by the setting means is set to Reduction side from the specified value A value based on the waveform data detected by said detection means in a certain time in the second display method, and display control means for controlling to display on the screen of the display unit. In this waveform data display device, in addition to the features of the above-described waveform data display device of the first embodiment, the setting unit can set the degree of time axis enlargement / reduction, and based on the set degree of enlargement / reduction, After determining the section length, the waveform data detected from that section is displayed by the first or second display method, so that the waveform data is displayed by a display method suitable for each of expansion and contraction of the time axis. It becomes possible.

【0008】また、本発明に係る波形データ表示装置
は、第3の形態として、画面に視覚的に表示を行う表示
手段と、振幅の大きさを表す波形データを時系列に並べ
た波形データ列を記憶する記憶手段と、該記憶手段から
読み出した波形データ列の所定長の区間毎に、その区間
の波形データ列のうちから振幅の絶対値が最大値または
その相応値となる波形データを検出する検出手段と、該
検出手段で検出した波形データの最大値またはその相応
値を各区間毎に時系列に並べて該表示手段の画面に表示
するよう制御する表示制御手段とを備える。この波形デ
ータ表示装置においては、波形データの列を所定長の区
間毎に区切って、各区間においてその区間の波形の特徴
を代表的に表す振幅の絶対値が最大値またはその相応値
の波形データを検出し、その波形データを用いて表示手
段の画面に波形を表示するようにしているので、区間中
の不要な波形データを間引いても波形の特徴が損なわれ
ることがない。
According to a third aspect of the present invention, there is provided a waveform data display device, a display means for visually displaying on a screen, and a waveform data sequence in which waveform data representing the magnitude of amplitude is arranged in time series. Storage means for storing, for each predetermined length section of the waveform data string read from the storage means, the waveform data string in which the absolute value of the amplitude is the maximum value or the corresponding value is detected from the waveform data string of the section. And display control means for controlling the maximum value or the corresponding value of the waveform data detected by the detection means to be displayed in a time-series manner for each section on the screen of the display means. In this waveform data display device, a waveform data column is divided into sections of a predetermined length, and in each section, the waveform data of which the absolute value of the amplitude representatively representing the characteristic of the waveform of the section is the maximum value or the corresponding value thereof Is detected, and the waveform is displayed on the screen of the display means using the waveform data. Therefore, even if unnecessary waveform data in a section is thinned out, the characteristics of the waveform are not impaired.

【0009】また、本発明に係る波形データ表示装置
は、第4の形態として、画面に視覚的に表示を行う表示
手段と、振幅の大きさを表す波形データを時系列に並べ
た波形データ列を記憶する記憶手段と、該記憶手段から
読み出した波形データ列の所定長の区間毎に、その区間
の波形データ列のうちから振幅が最大値またはその相応
値の波形データと最小値またはその相応値の波形データ
とを検出する検出手段と、該検出手段で検出した波形デ
ータの最大値またはその相応値と最小値またはその相応
値を各区間毎に時系列に並べて該表示手段の画面に表示
するよう制御する表示制御手段とを備える。この波形デ
ータ表示装置においては、波形データの列を所定長の区
間毎に区切って、各区間においてその区間の波形の特徴
を代表的に表す振幅の最大値またはその相応値の波形デ
ータと最小値またはその相応値の波形データとを検出
し、その波形データを用いて表示手段の画面に波形を表
示するようにしているので、区間中の不要な波形データ
を間引いても波形の特徴が損なわれることがない。
According to a fourth aspect of the present invention, there is provided a waveform data display apparatus comprising: a display means for visually displaying on a screen; and a waveform data sequence in which waveform data representing the magnitude of amplitude is arranged in time series. Storage means for storing the waveform data having the maximum value or the corresponding value and the minimum value or the corresponding value corresponding to the maximum value or the corresponding value from the waveform data string of the section for each predetermined length section of the waveform data string read from the storage means. Detecting means for detecting the waveform data of the value, and displaying the maximum value of the waveform data detected by the detecting means or the corresponding value and the minimum value or the corresponding value in a time series for each section and displaying on the screen of the display means And display control means for performing the control. In this waveform data display device, a waveform data column is divided into sections of a predetermined length, and in each section, the waveform data of the maximum value of the amplitude representative of the characteristic of the waveform of the section or the corresponding value of the maximum value and the minimum value of the waveform data Alternatively, the waveform data of the corresponding value is detected, and the waveform is displayed on the screen of the display means using the waveform data. Therefore, even if unnecessary waveform data in a section is thinned out, the characteristic of the waveform is lost. Nothing.

【0010】また、本発明に係る波形データ表示装置
は、第5の形態として、画面に視覚的に表示を行う表示
手段と、振幅の大きさを表す波形データを時系列に並べ
た波形データ列を記憶する記憶手段と、該波形データ列
に基づいて該表示手段に表示される波形の時間軸の拡大
縮小の程度を設定する設定手段と、該設定手段で設定し
た拡大縮小の程度に応じた長さの区間で該記憶手段から
読み出した波形データ列を区切る区切り手段と、該区切
り手段で区切った区間毎に、その区間の波形データ列の
うちから振幅が最大値またはその相応値の波形データと
最小値またはその相応値の波形データとを検出する検出
手段と、該設定手段で設定された拡大縮小の程度が所定
値より拡大側であるときには該検出手段で検出した波形
データの最大値またはその相応値を各区間毎に時系列に
並べて、また該設定手段で設定された拡大縮小の程度が
所定値より縮小側であるときには該検出手段で検出した
波形データの最大値またはその相応値と最小値またはそ
の相応値を各区間毎に時系列に並べて、該表示手段の画
面に表示するよう制御する表示制御手段とを備える。こ
の波形データ表示装置においては、上述の第3、第4の
形態の波形データ表示装置の特徴に加えて、設定手段で
時間軸の拡大縮小の程度を設定でき、その設定した拡大
縮小の程度に基づいて、区間長を決めたうえで、時間軸
の拡大時にはその区間から検出した振幅の絶対値の最大
値またはその相応値の波形データを用いて、時間軸の縮
小時には振幅の最大値またはその相応値と最小値または
その相応値の波形データとを用いてそれぞれ波形の表示
を行うので、拡大時と縮小時のそれぞれに適した表示方
法で波形データを表示することが可能となる。
According to a fifth aspect of the present invention, there is provided a waveform data display device comprising: display means for visually displaying on a screen; and a waveform data sequence in which waveform data representing the magnitude of amplitude is arranged in time series. A setting means for setting the degree of time axis scaling of a waveform displayed on the display means based on the waveform data string; and a setting means for setting the degree of scaling set by the setting means. Separating means for separating the waveform data string read from the storage means in a section of length; and for each section divided by the separating means, waveform data having a maximum value or a corresponding value from the waveform data string of the section. Detecting means for detecting the waveform data having the minimum value or the corresponding value, and when the degree of enlargement / reduction set by the setting means is on the enlargement side from a predetermined value, the maximum value or the maximum value of the waveform data detected by the detection means is detected. The corresponding values are arranged in time series for each section, and when the degree of enlargement / reduction set by the setting means is on the reduction side from a predetermined value, the maximum value of the waveform data detected by the detection means or the corresponding value A display control means for arranging the minimum value or its corresponding value in a time series for each section and displaying the minimum value or the corresponding value on a screen of the display means. In this waveform data display device, in addition to the features of the waveform data display devices of the third and fourth embodiments described above, the degree of enlargement or reduction of the time axis can be set by the setting means. Based on the section length, the maximum value of the absolute value of the amplitude detected from the section or the waveform data of the corresponding value is used when the time axis is expanded, and the maximum value of the amplitude or the maximum value is used when the time axis is reduced. Since the waveform is displayed using the corresponding value and the minimum value or the waveform data of the corresponding value, it is possible to display the waveform data in a display method suitable for each of enlargement and reduction.

【0011】[0011]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。図5には本発明に係る一実施形態と
しての波形データ表示装置を実施するためのパーソナル
コンピュータ・システムの構成概要が示される。図5に
おいて、このシステムは、CRT表示装置1、コンピュ
ータの本体装置2、キーボード3、マウス4、スピーカ
5などから構成される。図示しないが、本体装置2は、
CPU、制御プログラムや各種テーブル等を記憶するR
OM、波形データや各種データを記憶するとともに作業
用領域としても用いられるRAM、入出力インタフェー
ス、ディスク・ドライバ(例えばフロッピィディスク・
ドライバ)等を含み構成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 5 shows a schematic configuration of a personal computer system for implementing a waveform data display device as one embodiment according to the present invention. In FIG. 5, the system includes a CRT display device 1, a computer main body device 2, a keyboard 3, a mouse 4, a speaker 5, and the like. Although not shown, the main device 2
CPU, R for storing control programs, various tables, etc.
OM, a RAM that stores waveform data and various data and is also used as a work area, an input / output interface, and a disk driver (for example, a floppy disk drive)
Driver) and the like.

【0012】図6にはCRT表示装置1の画面の表示例
が示される。この例では、波形の形状を表示する波形表
示領域11と操作指示をするためのボタン12、13と
が表示されている。波形表示領域11は時間軸方向(X
軸方向)に400ピクセルの領域からなり、Y軸方向に
は波形の振幅値が表示される。ボタン12、13はマウ
ス4で移動操作されるカーソルで指定されてクリックさ
れることで操作されるものであり、ボタン12はズーム
インボタンであって波形形状の時間軸を現状より拡大し
て表示(すなわちサンプリング点の間引き数を少なくし
て表示)するときに操作され、ボタン13はズームアウ
トボタンであって波形形状の時間軸を現状より縮小して
表示(すなわちサンプリング点の間引き数を多くして表
示)するときに操作される。
FIG. 6 shows a display example of the screen of the CRT display device 1. In this example, a waveform display area 11 for displaying a waveform shape and buttons 12 and 13 for instructing operations are displayed. The waveform display area 11 is in the time axis direction (X
In the Y-axis direction, the amplitude value of the waveform is displayed. The buttons 12 and 13 are operated by being designated and clicked by a cursor moved and operated by the mouse 4, and the button 12 is a zoom-in button and displays the time axis of the waveform shape enlarged from the current state ( That is, the button 13 is a zoom-out button which is operated when displaying the sampling points with a reduced number of thinnings, and displays the time axis of the waveform shape smaller than the current state (that is, the number of the sampling points is reduced). Display).

【0013】以下、この実施例装置の動作を説明する。
図7には、予めサンプリングされている波形データの例
を示している。図示するように、この波形データは全部
で50000サンプル分の波形の振幅値のデータからな
る。この波形データは通常は例えば外部記憶媒体として
のディスクに記録されており、その波形の形状をCRT
表示装置1に表示するにあたっては、本体装置2のディ
スク・ドライバを介して内部のメモリ(RAM)に読み
込まれる。
The operation of this embodiment will be described below.
FIG. 7 shows an example of waveform data sampled in advance. As shown in the figure, the waveform data is composed of data of the amplitude values of the waveform of 50,000 samples in total. This waveform data is usually recorded on, for example, a disk as an external storage medium, and its waveform shape is stored in a CRT.
When displaying on the display device 1, the data is read into an internal memory (RAM) via a disk driver of the main device 2.

【0014】図2にはこの実施例装置における波形表示
機能に関するメインルーチンのフローチャートが示され
る。この実施例装置では、各種の操作指示は、マウス4
を操作してCRT画面上でカーソルを、所要の操作指示
を行いたいボタンや領域等の位置に移動させてマウス4
をクリックすることにより行う。よって、メインルーチ
ンにおいて、操作指示の待機状態では、何らかの所要の
操作指示がされたか、すなわちマウス4がクリックされ
たかを監視している(ステップS1)。マウス4がクリ
ックされると、そのマウスの入力(すなわちカーソルの
座標)を得て(ステップS2)、その入力がズームイン
ボタン12あるいはズームアウトボタン13をクリック
したものか否かを判定する(ステップS3、S5)。ズ
ームインボタン12をクリックしたものである場合には
現在の倍率値Zoomを2倍にし(ステップS4)、ズ
ームアウトボタン13をクリックしたものである場合に
は現在の倍率値Zoomを2分の1にする(ステップS
6)。この倍率値Zoomは波形の時間軸の拡大縮小の
程度を設定するためのものである。
FIG. 2 shows a flowchart of a main routine relating to a waveform display function in the apparatus of this embodiment. In this embodiment, various operation instructions are given by the mouse 4
To move the cursor on the CRT screen to the position of a button, area, or the like for which a desired operation instruction is to be given, and move the mouse 4
This is done by clicking. Therefore, in the main routine, in the standby state of the operation instruction, it is monitored whether any required operation instruction has been issued, that is, whether the mouse 4 has been clicked (step S1). When the mouse 4 is clicked, the input of the mouse (that is, the coordinates of the cursor) is obtained (step S2), and it is determined whether or not the input is a click of the zoom-in button 12 or the zoom-out button 13 (step S3). , S5). If the zoom-in button 12 has been clicked, the current magnification value Zoom is doubled (step S4). If the zoom-out button 13 has been clicked, the current magnification value Zoom is reduced to half. (Step S
6). This magnification value Zoom is for setting the degree of enlargement or reduction of the time axis of the waveform.

【0015】次に、この倍率値Zoomから、1ピクセ
ルあたりのサンプル数smpを計算する。このサンプル
数smpは、波形を特徴づける波形データを抽出する区
間(従来のデータを間引く区間に相当)の幅に対応する
ものである。例えば倍率値Zoom=所定の基準値(例
えば=α)を1ピクセルに対応するサンプル数が15の
ときに相当するものとして、倍率値Zoomがこの基準
値の何倍かあるいは何分の1かでサンプル数smpを計
算する。
Next, the number of samples smp per pixel is calculated from the magnification value Zoom. The number of samples smp corresponds to the width of a section for extracting waveform data characterizing a waveform (corresponding to a section for thinning out conventional data). For example, assuming that the magnification value Zoom = a predetermined reference value (for example, = α) corresponds to a case where the number of samples corresponding to one pixel is 15, the magnification value Zoom is a multiple or a fraction of this reference value. Calculate the number of samples smp.

【0016】次いで、計算されたサンプル数smpが
「smp≧15」かを判定し、サンプル数smpが15
以上であれば、時間軸を縮小して波形の表示を行うもの
として波形表示ルーチン1を行い(ステップS9)、一
方、サンプル数smpが15未満であれば、時間軸を拡
大して波形の表示を行うものとして波形表示ルーチン2
を行う(ステップS10)。
Next, it is determined whether or not the calculated number of samples smp is “smp ≧ 15”.
If so, the waveform display routine 1 is performed assuming that the waveform is displayed by reducing the time axis (step S9). On the other hand, if the number of samples smp is less than 15, the time axis is expanded and the waveform is displayed. Waveform display routine 2
Is performed (step S10).

【0017】図3には時間軸の縮小表示を行う波形表示
ルーチン1のフローチャートが示される。この波形表示
ルーチン1では、CRT表示装置1の表示画面における
波形表示領域11の時間軸(X軸)の位置を示すための
表示ポインタを用意する。この波形表示領域11はX軸
方向に400ピクセルあるので、表示ポインタの値は1
〜400となる。まず、この表示ポインタの値を波形表
示領域11の先頭のピクセルの位置の値(本例では1)
にする(ステップS11)。
FIG. 3 shows a flowchart of a waveform display routine 1 for reducing the display of the time axis. In the waveform display routine 1, a display pointer for indicating the position of the time axis (X axis) of the waveform display area 11 on the display screen of the CRT display device 1 is prepared. Since the waveform display area 11 has 400 pixels in the X-axis direction, the value of the display pointer is 1
400400. First, the value of the display pointer is set to the value of the position of the first pixel of the waveform display area 11 (1 in this example).
(Step S11).

【0018】この表示ポインタに対応する区間の波形デ
ータをメモリから読み出すための開始アドレスと終了ア
ドレスとを得る(ステップS12)。この区間は倍率値
Zoomから計算されたサンプル数smp分の波形デー
タの区間であり、よって開始アドレスと終了アドレスは
このサンプル数smp分の波形データが格納されている
メモリのアドレスである。波形データは、例えば図8の
ように、サンプル数smp分の振幅の瞬時値として読み
出される。この読み出した波形データ(振幅値)のうち
から最大値と最小値(図8の例では負側の最大値)とを
求める(ステップS13)。この最大値の波形データの
Y軸上(振幅値)での座標を求め(ステップS14)、
同様に最小値の波形データのY軸上での座標を求め(ス
テップS15)、図8に示すようにこの最大値と最小値
を結ぶ線を、波形表示領域11の表示ポインタが示す時
間軸上の位置でY軸方向に描く(ステップS16)。
A start address and an end address for reading the waveform data of the section corresponding to the display pointer from the memory are obtained (step S12). This section is a section of the waveform data for the number of samples smp calculated from the magnification value Zoom. Therefore, the start address and the end address are addresses of the memory in which the waveform data for the number of samples smp is stored. The waveform data is read out as an instantaneous value of the amplitude of the number of samples smp, for example, as shown in FIG. From the read waveform data (amplitude value), the maximum value and the minimum value (the maximum value on the negative side in the example of FIG. 8) are obtained (step S13). The coordinates of the waveform data of the maximum value on the Y axis (amplitude value) are obtained (step S14),
Similarly, the coordinates of the minimum value waveform data on the Y axis are obtained (step S15), and a line connecting the maximum value and the minimum value is drawn on the time axis indicated by the display pointer of the waveform display area 11 as shown in FIG. Is drawn in the Y-axis direction at the position (step S16).

【0019】この後、表示ポインタの値が次のピクセル
の位置となるように一つ進める(ステップS17)。そ
して同じ処理(ステップS12〜S17)を、波形表示
領域11の最後の位置(表示ポインタの値が400の位
置)になるまで繰り返す(ステップS18)。これによ
り、50000サンプルの波形データをサンプル数sm
p毎に区切った各区間について、それらの各区間の波形
の特徴をその区間内の振幅の最大値と最小値を示す線分
で表現し、この線分を時間軸上に並べることで波形形状
を表現することになる。図9には、波形表示領域11に
表示された波形の縮小表示の例がされる。このような手
法で時間軸が縮小表示された波形は、元の波形の形状の
特徴をよく表したものとなる。
Thereafter, the display pointer is advanced by one so that the value of the display pointer becomes the position of the next pixel (step S17). Then, the same processing (steps S12 to S17) is repeated until the last position (position of the display pointer is 400) of the waveform display area 11 is reached (step S18). As a result, the waveform data of 50,000 samples is converted into the
For each section divided for each p, the characteristic of the waveform in each section is expressed by a line segment indicating the maximum value and the minimum value of the amplitude in the section, and the line segment is arranged on the time axis to form a waveform. Will be expressed. FIG. 9 shows an example of a reduced display of the waveform displayed in the waveform display area 11. A waveform in which the time axis is reduced and displayed by such a method well represents characteristics of the shape of the original waveform.

【0020】図4には時間軸の拡大表示を行う波形表示
ルーチン2のフローチャートが示される。この波形表示
ルーチン2でも、CRT表示装置1の表示画面における
波形表示領域11の時間軸(X軸)の位置を示すための
前述同様の表示ポインタを用意する。まず、この表示ポ
インタの値を波形表示領域11の先頭のピクセルの位置
の値(本例では1)にする(ステップS21)。次い
で、この表示ポインタに相当する波形データの座標を計
算する(ステップS22)。これは、表示ポインタの値
(=1)に相当する波形データの先頭区間のサンプル数
smp分の波形データのうちから、後述する代表値の波
形データを選び、この代表値のY軸上の座標(すなわち
振幅値)を計算するものである。得た座標は保存してお
く(ステップS23)。
FIG. 4 shows a flowchart of a waveform display routine 2 for performing enlarged display of the time axis. In the waveform display routine 2 as well, a display pointer similar to that described above for indicating the position of the time axis (X axis) of the waveform display area 11 on the display screen of the CRT display device 1 is prepared. First, the value of the display pointer is set to the value of the position of the first pixel of the waveform display area 11 (1 in this example) (step S21). Next, the coordinates of the waveform data corresponding to the display pointer are calculated (step S22). This is to select waveform data of a representative value, which will be described later, from the waveform data of the number of samples smp in the first section of the waveform data corresponding to the value (= 1) of the display pointer, and to set the coordinates of the representative value on the Y axis. (That is, the amplitude value). The obtained coordinates are stored (step S23).

【0021】この後、表示ポインタを先頭の位置から次
のピクセルの位置に進める。そして、この表示ポインタ
に対応する区間の波形データをメモリから読み出すため
の開始アドレスと終了アドレスとを得る(ステップS1
2)。前述同様、この区間は倍率値Zoomから計算さ
れたサンプル数smp分の波形データの区間であり、よ
って開始アドレスと終了アドレスはこのサンプル数sm
p分の波形データが格納されているメモリのアドレスで
ある。この読み出したサンプル数smp分の波形データ
(振幅値)のうちから最大値と最小値とを求め(ステッ
プS13)、この最大値と最小値のうち絶対値が大きい
方を代表値とする(ステップS26)。そして、前回
(一つ手前のピクセル位置)の代表値の座標と今回得た
代表値の座標との間を横方向に線で結び(ステップS2
8)、今回得た代表値の座標を保存した後(ステップS
29)、表示ポインタを次のピクセルに進める(ステッ
プS30)。そして同じ処理(ステップS12〜S1
7)を、波形表示領域11の最後の位置(表示ポインタ
の値が400の位置)になるまで繰り返す(ステップS
18)。
Thereafter, the display pointer is advanced from the head position to the next pixel position. Then, a start address and an end address for reading the waveform data of the section corresponding to the display pointer from the memory are obtained (step S1).
2). As described above, this section is a section of the waveform data for the number of samples smp calculated from the magnification value Zoom, and therefore, the start address and the end address are the number of samples sm.
This is an address of a memory in which p waveform data are stored. A maximum value and a minimum value are obtained from the read out waveform data (amplitude values) for the number of samples (smp) (step S13), and one of the maximum value and the minimum value having a larger absolute value is set as a representative value (step S13). S26). Then, a line is connected in the horizontal direction between the coordinates of the representative value of the previous time (the immediately preceding pixel position) and the coordinates of the representative value obtained this time (step S2).
8) After storing the coordinates of the representative value obtained this time (step S
29) The display pointer is advanced to the next pixel (step S30). Then, the same processing (steps S12 to S1)
7) is repeated until the last position of the waveform display area 11 (the value of the display pointer is 400) (Step S)
18).

【0022】これにより、50000サンプルの波形デ
ータをサンプル数smp毎に区切った各区間について、
それらの各区間をその区間内の振幅の絶対値の最も大き
い波形データで代表し、その波形データの振幅値間をつ
なぐ線分を描いて波形形状を表現することになる。この
ような手法で時間軸が拡大表示された波形は、元の波形
の形状の特徴をよく表したものとなる。
Thus, for each section obtained by dividing the waveform data of 50,000 samples by the number of samples smp,
Each section is represented by the waveform data having the largest absolute value of the amplitude in the section, and the waveform shape is expressed by drawing a line connecting the amplitude values of the waveform data. The waveform in which the time axis is enlarged and displayed by such a method well represents characteristics of the shape of the original waveform.

【0023】図1にはCRT表示装置1の画面における
一層具体的な画面表示例が示される。図示するように、
画面の上部側に各種の操作指示をするボタンや領域が表
示され、画面中央側には波形形状を表示する波形表示領
域11が設けられ、ズームインボタン12やズームアウ
トボタン13は画面の下部側の右端に表示される。
FIG. 1 shows an example of a more specific screen display on the screen of the CRT display device 1. As shown
Buttons and areas for instructing various operations are displayed on the upper side of the screen, a waveform display area 11 for displaying a waveform shape is provided in the center side of the screen, and a zoom-in button 12 and a zoom-out button 13 are provided on the lower side of the screen. Displayed at the right end.

【0024】本発明の実施にあたっては種々の変形形態
が可能である。例えば、上述の実施例では、時間軸があ
る値より縮小されるときには、各区間のうちの最大値と
最小値を結ぶ縦方向の線分でその区間を代表するように
したが、これに限らず、上述の実施例における時間軸の
拡大表示時と同様に、隣接する各区間の最大値同士を横
方向に互いに結んだ線分、あるいは最小値同士を横方向
に互いに結んだ線分(いわば包絡線)でその波形を表現
してもよい。反対に、上述の実施例では時間軸の拡大表
示時には隣接する区間の最大値同士を横方向に線で結ぶ
ようにしたが、これを時間軸の縮小表示時と同様に、各
区間の最大値を示す縦線すなわちバーグラクの形でその
波形を表現するようにしてもよい。
In implementing the present invention, various modifications are possible. For example, in the above-described embodiment, when the time axis is reduced below a certain value, the section is represented by a vertical line segment connecting the maximum value and the minimum value in each section, but the present invention is not limited to this. In the same manner as in the enlarged display of the time axis in the above-described embodiment, a line segment connecting the maximum values of adjacent sections to each other in the horizontal direction or a line segment connecting the minimum values to each other in the horizontal direction (in other words, The waveform may be represented by an envelope. Conversely, in the above-described embodiment, the maximum value of the adjacent section is connected by a line in the horizontal direction at the time of enlarged display of the time axis, but this is connected to the maximum value of each section as in the reduced display of the time axis. The waveform may be expressed in the form of a vertical line indicating, that is, a Bergrack.

【0025】また、上述の実施例では、各区間のうちか
ら振幅の最大値または最小値をそれぞれ一つずつ検出し
て、その値に基づいて波形の表示を行うようにしたが、
これに限らず、例えばある区間のうちから最大値側から
振幅の大きいものを順に計5個とり出し、これらの平均
値をとって、その平均値を最大値に相応する値として用
いるようにしてもよい。最小値についても同様である。
In the above embodiment, the maximum value or the minimum value of the amplitude is detected one by one from each section, and the waveform is displayed based on the detected value.
However, the present invention is not limited to this. For example, five sections having a large amplitude are sequentially taken from a maximum value side in a certain section, and an average value thereof is taken, and the average value is used as a value corresponding to the maximum value. Is also good. The same applies to the minimum value.

【0026】[0026]

【発明の効果】以上に説明したように、本発明によれ
ば、波形データが持っている本来の形状の特徴を損なう
ことなく、時間軸を拡張/縮小して表示することができ
る。
As described above, according to the present invention, it is possible to expand and reduce the time axis for display without impairing the characteristic of the original shape of the waveform data.

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

【図1】本発明の実施例装置における画面の具体的な表
示例を示す図である。
FIG. 1 is a diagram showing a specific display example of a screen in an apparatus according to an embodiment of the present invention.

【図2】本発明の実施例装置におけるメインルーチンを
示すフローチャートである。
FIG. 2 is a flowchart showing a main routine in the embodiment device of the present invention.

【図3】本発明の実施例装置のメインルーチンにおける
波形表示ルーチン1を示すフローチャートである。
FIG. 3 is a flowchart showing a waveform display routine 1 in a main routine of the apparatus according to the embodiment of the present invention.

【図4】本発明の実施例装置のメインルーチンにおける
波形表示ルーチン2を示すフローチャートである。
FIG. 4 is a flowchart showing a waveform display routine 2 in a main routine of the apparatus according to the embodiment of the present invention.

【図5】本発明の一実施形態としての波形データ表示装
置が実現されるパーソナルコンピュータ・システムの構
成概要を示す図である。
FIG. 5 is a diagram illustrating a schematic configuration of a personal computer system in which a waveform data display device according to an embodiment of the present invention is realized.

【図6】本発明の実施例装置におけるCRT表示装置の
表示画面の表示例を示す図である。
FIG. 6 is a diagram illustrating a display example of a display screen of a CRT display device in the device according to the embodiment of the present invention.

【図7】本発明の実施例装置で用いる波形データの例を
示す図である。
FIG. 7 is a diagram showing an example of waveform data used in the apparatus according to the embodiment of the present invention.

【図8】本発明の実施例装置における時間軸の縮小表示
時の1区間分の波形データの処理方法を説明する図であ
る。
FIG. 8 is a diagram for explaining a method of processing waveform data for one section when the time axis is reduced and displayed in the apparatus according to the embodiment of the present invention.

【図9】本発明の実施例装置における時間軸の縮小表示
の例を示す図である。
FIG. 9 is a diagram illustrating an example of a reduced display of a time axis in the device according to the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 CRT表示装置 2 パーソナルコンピュータの本体装置 3 キーボード 4 マウス 5 スピーカ DESCRIPTION OF SYMBOLS 1 CRT display device 2 Personal computer main body device 3 Keyboard 4 Mouse 5 Speaker

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】画面に視覚的に表示を行う表示手段と、 振幅の大きさを表す波形データを時系列に並べた波形デ
ータ列を記憶する記憶手段と、 該記憶手段から読み出した波形データ列の所定長の区間
毎に、その区間の波形データ列のうちからその区間の波
形の特徴を代表的に表している波形データを検出する検
出手段と、 該検出手段で検出した波形データに基づく値を各区間毎
に時系列に並べて該表示手段の画面に表示するよう制御
する表示制御手段とを備えた波形データ表示装置。
1. A display means for visually displaying on a screen, a storage means for storing a waveform data string in which waveform data representing amplitudes are arranged in time series, and a waveform data string read from the storage means Detecting means for detecting, for each section of a predetermined length, waveform data representative of the characteristic of the waveform of the section from the waveform data string of the section; and a value based on the waveform data detected by the detecting section. And a display control means for controlling the display in a time-series manner for each section and displaying on a screen of the display means.
【請求項2】画面に視覚的に表示を行う表示手段と、 振幅の大きさを表す波形データを時系列に並べた波形デ
ータ列を記憶する記憶手段と、 該波形データ列に基づいて該表示手段に表示される波形
の時間軸の拡大縮小の程度を設定する設定手段と、 該設定手段で設定した拡大縮小の程度に応じた長さの区
間で該記憶手段から読み出した波形データ列を区切る区
切り手段と、 該区切り手段で区切った区間毎に、その区間の波形デー
タ列のうちからその区間の波形の特徴を代表的に表して
いる波形データを検出する検出手段と、 該設定手段で設定された拡大縮小の程度が所定値より拡
大側であるときには該検出手段で検出した波形データに
基づく値を第1の表示方法で、、また該設定手段で設定
された拡大縮小の程度が該所定値より縮小側であるとき
には該検出手段で検出した波形データに基づく値を第2
の表示方法で、該表示手段の画面に表示するよう制御す
る表示制御手段とを備えた波形データ表示装置。
2. A display means for visually displaying on a screen; a storage means for storing a waveform data string in which waveform data representing the magnitude of amplitude is arranged in time series; and the display based on the waveform data string. Setting means for setting the degree of enlargement or reduction of the time axis of the waveform displayed on the means, and dividing the waveform data string read from the storage means into sections having a length corresponding to the degree of enlargement or reduction set by the setting means Delimiter means, for each section divided by the delimiter means, detection means for detecting waveform data representatively representing the characteristic of the waveform of the section from the waveform data string of the section, setting by the setting means When the degree of enlargement / reduction is larger than the predetermined value, the value based on the waveform data detected by the detection means is displayed by the first display method, and the degree of enlargement / reduction set by the setting means is the predetermined degree. On the smaller side than the value A value based on the waveform data detected by the detection means in Rutoki second
A display control means for controlling display on a screen of the display means in the display method according to the above.
【請求項3】画面に視覚的に表示を行う表示手段と、 振幅の大きさを表す波形データを時系列に並べた波形デ
ータ列を記憶する記憶手段と、 該記憶手段から読み出した波形データ列の所定長の区間
毎に、その区間の波形データ列のうちから振幅の絶対値
が最大値またはその相応値となる波形データを検出する
検出手段と、 該検出手段で検出した波形データの最大値またはその相
応値を各区間毎に時系列に並べて該表示手段の画面に表
示するよう制御する表示制御手段とを備えた波形データ
表示装置。
3. A display means for visually displaying on a screen; a storage means for storing a waveform data string in which waveform data representing amplitudes are arranged in time series; and a waveform data string read from the storage means. Detecting means for detecting, for each section having a predetermined length, waveform data having an absolute value of the amplitude of a maximum value or a corresponding value from a waveform data string of the section, and a maximum value of the waveform data detected by the detection means. Or a display control means for controlling the corresponding values to be displayed in a time-series manner for each section on the screen of the display means.
【請求項4】画面に視覚的に表示を行う表示手段と、 振幅の大きさを表す波形データを時系列に並べた波形デ
ータ列を記憶する記憶手段と、 該記憶手段から読み出した波形データ列の所定長の区間
毎に、その区間の波形データ列のうちから振幅が最大値
またはその相応値の波形データと最小値またはその相応
値の波形データとを検出する検出手段と、 該検出手段で検出した波形データの最大値またはその相
応値と最小値またはその相応値を各区間毎に時系列に並
べて該表示手段の画面に表示するよう制御する表示制御
手段とを備えた波形データ表示装置。
4. A display means for visually displaying on a screen; a storage means for storing a waveform data string in which waveform data representing amplitudes are arranged in time series; a waveform data string read from the storage means. Detecting means for detecting the maximum value or the waveform data of the corresponding value and the minimum value or the corresponding value of the waveform data from the waveform data sequence of the section for each predetermined length of the section; A waveform data display device comprising: display control means for controlling the maximum value or the corresponding value and the minimum value of the detected waveform data or the corresponding value or the corresponding value in a time series for each section to be displayed on a screen of the display means.
【請求項5】画面に視覚的に表示を行う表示手段と、 振幅の大きさを表す波形データを時系列に並べた波形デ
ータ列を記憶する記憶手段と、 該波形データ列に基づいて該表示手段に表示される波形
の時間軸の拡大縮小の程度を設定する設定手段と、 該設定手段で設定した拡大縮小の程度に応じた長さの区
間で該記憶手段から読み出した波形データ列を区切る区
切り手段と、 該区切り手段で区切った区間毎に、その区間の波形デー
タ列のうちから振幅が最大値またはその相応値の波形デ
ータと最小値またはその相応値の波形データとを検出す
る検出手段と、 該設定手段で設定された拡大縮小の程度が所定値より拡
大側であるときには該検出手段で検出した波形データの
最大値またはその相応値を各区間毎に時系列に並べて、
また該設定手段で設定された拡大縮小の程度が所定値よ
り縮小側であるときには該検出手段で検出した波形デー
タの最大値またはその相応値と最小値またはその相応値
を各区間毎に時系列に並べて、該表示手段の画面に表示
するよう制御する表示制御手段とを備えた波形データ表
示装置。
5. A display means for visually displaying on a screen; a storage means for storing a waveform data string in which waveform data representing the magnitude of amplitude is arranged in a time series; and a display based on the waveform data string. Setting means for setting the degree of enlargement or reduction of the time axis of the waveform displayed on the means, and dividing the waveform data string read from the storage means into sections having a length corresponding to the degree of enlargement or reduction set by the setting means Separating means; and detecting means for detecting, for each section divided by the dividing means, waveform data having a maximum value or a corresponding value and a minimum value or corresponding waveform data from a waveform data string of the section. When the degree of enlargement / reduction set by the setting means is on the enlargement side from a predetermined value, the maximum value of the waveform data detected by the detection means or its corresponding value is arranged in time series for each section,
When the degree of enlargement or reduction set by the setting means is smaller than a predetermined value, the maximum value of the waveform data detected by the detection means or its corresponding value and the minimum value or the corresponding value are chronologically determined for each section. And a display control means for controlling display on the screen of the display means.
JP10102301A 1998-04-14 1998-04-14 Waveform data display device Pending JPH11296176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10102301A JPH11296176A (en) 1998-04-14 1998-04-14 Waveform data display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10102301A JPH11296176A (en) 1998-04-14 1998-04-14 Waveform data display device

Publications (1)

Publication Number Publication Date
JPH11296176A true JPH11296176A (en) 1999-10-29

Family

ID=14323798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10102301A Pending JPH11296176A (en) 1998-04-14 1998-04-14 Waveform data display device

Country Status (1)

Country Link
JP (1) JPH11296176A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110257845A1 (en) * 2009-01-13 2011-10-20 Keitaro Niki Steering control apparatus for vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110257845A1 (en) * 2009-01-13 2011-10-20 Keitaro Niki Steering control apparatus for vehicle
US8738230B2 (en) * 2009-01-13 2014-05-27 Toyota Jidosha Kabushiki Kaisha Steering control apparatus for vehicle

Similar Documents

Publication Publication Date Title
JP6102588B2 (en) Information processing apparatus, information processing method, and program
JP2000259841A (en) Logical zooming method and device for directed graph
JP2001306058A (en) Graphic element selecting method and its implementation device, and recording medium recorded with its processing program
JPH11296176A (en) Waveform data display device
JPH0475093A (en) Image data processor
JP2001272421A (en) Data storage system
JP2003043071A (en) Waveform measuring device
JP3704777B2 (en) Pen input type information processing apparatus and command input method
JP3064296B2 (en) Method and apparatus for controlling display screen of hierarchical structure data
JP4142152B2 (en) Image scroll display device and storage medium storing image scroll display program
JP2018195180A (en) Electronic apparatus, method for controlling the same, and control program
JP2002350195A (en) Waveform-measuring instrument
JPH01177680A (en) Image edit processor
JP3214378B2 (en) Image processing apparatus and image processing method
JPH0816565A (en) Document editing device and method
JPH0816564A (en) Document editing device and its method
JPH06168090A (en) Window diplay device and menu electing method
JPH11134897A (en) Fail memory analysis device for ic test
JP2000206152A (en) Waveform display apparatus
JP4187401B2 (en) Fail analysis device
JP2002340936A (en) Waveform displaying apparatus
JPH05309076A (en) Analysis of electrocardiogram
JPH0291690A (en) Enlargement/reduction display system
JPH02267671A (en) Retrieval display device for table format database
JP2001022744A (en) Voice processor and recording medium where voice processing program is recorded

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050401