Visual Sound Instrument
.....................Screen Shot    Download   Home

Instruction 
Installation 
Mono/Stero 
Weighting 
Window
Analysis 
Show 
SampleFrequency 
Average 
Channel
Average 
Channel 
Linear/Log 
ToolBar 
MouseMove
RightMouse 
DDE&NETDDE 
Technical Support 
Home&Download 
Registration

Instruction
Visual Sound Instrument is a PC instrument that use sound card to record and play audio signal. Its functions include power spectrum, amplitude spectrum and 1/1 and 1/3 octave spectrum. It is a low-cost sound analyzer for non-professional testing.
For example, Hi-Fi users can use it to analyze the response curves of speakers at home in order to optimize their location
and/or equalization.
Installation
a). System Requirement
· 16 MB RAM
· 16 bit Sound card
· Windows95/98,
b).Unzip VSI
Bulid a new path on  you harddisk, such as c:\vsi, then unzip vsi.zip into it. You can see these files in it.
     vsi.exe -- Visual Sound Instrument program
     vsi.htm -- Help File and user's book of Visual Sound Instrument
then installation is finished.
c).Running VSI
1. Start VSI. If you see a picture like above that you have installed VSI successfully.
2. Check Record ability. Press record button and acquire a signal from MIC. If waveform change when you speaking, that is OK.
3. Check Play ability. Press play button to play a sound from speaker. If you can hear a sound from speaker, that is also OK.
If these steps are passed, you can use VSI to do sound measure and analyze.
Mono/Stero
This is used to set recording mode, click BNC to set mono or stero recording mode.
Weighting 
This is used to set frequency weighting network. Linear A, B and C weighting curves can be used in analyze. Click button to set.
Window
 This is used to set spectrum window type. Rectangle, Hanning, Hamming and Flat window are supplied. Click button to set.
Analysis 
This is used to select analyze method. Waveform, power spectrum, amplitude-phase spectrum, real-imaginary spectrum, 1/1 octave spectrum, 1/3 octave spectrum and  amplitude spectrum/waveform are supplied. Click button to set.
Show
This is used to zoom in and zoom out curve in  Y direction. Click button to set.

Sample Frequency
Thsi is used to set recording frequency. 11KHz, 22KHz and 44KHz are available. Click button to set.

Average
This is used to turn on/off signal average function. Average function add each cure together and show a average curve. This is very useful when you want to get a frequency response curve. Click button to set.
Channel
This is used to select display channel. Click button to set.
Linear/Log
This is used to set display mode of spectrum or octave spectrum. Click button to set.
ToolBar 

.
1.Inner signal generator.
2.Recording from MIC.
3.Playing from speaker
4.Stop signal generator/MIC/speaker.
5.Open a WAV file to analyze
6.Save signal to a WAV file
7.Copy screen shot to clipboard(BMP)
8.Copy curve to clipboard(TEXT)
9.Help File
10.Home of VSI
MouseMove
You can show curve value by move mouse to where you want to see.
RightClick
Click right mouse button to copy a screen shot to clipboard and Double click it to copy curve data to clipboard.
DDE&NETDDE Server
VSI is a DDE server that is mean you can control it by a DDE client program that is run on same computer.
Server Name=VSI,
Topic=System
DDE Order Function
DAT Copy curve data to clipboard
BMP Copy screen shot to clipboard
WEIn    (n=0,1,2,3)  Set frequency weight network
WINn   (n=0,1,2,3) Set spectrum window
ANAn   (n=0,1,2,3,4,5,6) Set analysis method 
AMPn   (n=0,1) Zoom Out / Zoom IN
FREn     (n=0,1,2) Set sample frequency
STEn      (n=0,1) Mono / Stero set
AVEn     (n=0,1) Average on / off
CHAn    (n=0,1) Set display channel
LINn      (n=0,1)  Set linear / log display mode
GENn    (n=0,1,2,3,4) Set inner signal source
REC Recording from sound card
STO Stop real time analysis
Below is a DDE client program of FoxPro:
clear
ichan=DDEInitiate("VSI","System")   && connect to VSI
IF ichan=-1
 ? "VSI is not running."
 RETURN
ENDIF
=DDEExecute(ichan,'FRE0')            && Fs=11025
=DDEExecute(ichan,'STE0')            && Mono record
=DDEExecute(ichan,'REC')             && Record from MIC
=DDEExecute(ichan,'CHA1')           && Display channel 1
=DDEExecute(ichan,'ANA5')           && 1/3 octave spectrum
=DDEExecute(ichan,'WEI1')            && A weighting networking
=DDEExecute(ichan,'WIN0')           && Rectangle window
=DDEExecute(ichan,'LIN1')             && Log Display mode
=DDEExecute(ichan,'AVE0')            && Open Average switch
=DDETerminate(ichan)                     && Disconnect from VSI
=INKEY(5)                                     && Wait for 5 second
ichan=DDEInitiate("VSI","System")   && connect to VSI again
=DDEExecute(ichan,'STO')              && Stop recording
=DDEExecute(ichan,'DAT')              && Copy analysis data to clipboard
=DDETerminate(ichan)                     && Disconnect from VSI
getdat=_CLIPTEXT                         && Get analysize result
? getdat                                            && Show data
.
VSI is also a NETDDE server that is mean you can control it by a NETDDE client program that is run on another computer. IP Addres = IP of VSI Running,
Prot=8888
UDP Order Function
DAT Copy curve data to clipboard
BMP Copy screen shot to clipboard
WEIn    (n=0,1,2,3)  Set frequency weight network
WINn   (n=0,1,2,3) Set spectrum window
ANAn   (n=0,1,2,3,4,5,6) Set analysis method 
AMPn   (n=0,1) Zoom Out / Zoom IN
FREn     (n=0,1,2) Set sample frequency
STEn      (n=0,1) Mono / Stero set
AVEn     (n=0,1) Average on / off
CHAn    (n=0,1) Set display channel
LINn      (n=0,1)  Set linear / log display mode
GENn    (n=0,1,2,3,4) Set inner signal source
REC Recording from sound card
STO Stop real time analysis
NETDDE is realized by UDP. When Send a UDP order to VSI via NET, it return a 4KB float array. If you are not familiar with UDP programming, I supply a UDP client program(udpclient.exe) with this package, you  can use it to do this.
Its usage is:  udpclient.exe IP Order
For non "DAT" order, the return message is "OK", or "Time Out". For "DAT" order,  the return message is curve data. Below is a NETDDE client program of FoxPro.
Clear
RUN "c:\test\udpclient.exe 127.0.0.1 FRE1"   && Connect to VSI on 127.0.0.1 and set Fs=22050
? _CLIPTEXT                                               && OK=success, Time Out=fail
RUN "c:\test\udpclient.exe 127.0.0.1 ANA5" && Connect to VSI on 127.0.0.1 and set 1/3 octave
? _CLIPTEXT                                               && OK=success, Time Out=fail
=INKEY(5)                                                   && Wait for 5 seconds
RUN "c:\test\udpclient.exe 127.0.0.1 DAT"    && Connect to VSI on 127.0.0.1 and get 1/3 octave data
? _CLIPTEXT                                               && Show data on clipboard
 
 
Technical Support 
To request technical support send your inquiry to heliso@public.wuhan.cngb.com.
Include the following information: .
     Your Name
     E-mail address
     Operating system
     The version of VSI you are using
     Computer hardware
Home&Download 
.          http://www.userworld.com/users/hlingso/remote.htm
.          http://homepages.infoseek.com/~heliso/fft.htm
 
Shareware Registration . 
This is a shareware, you can try it for 30 days. If you want to keep it after trial period, please register for use. Register fee is US$ 20.

1999.1.30