home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
drdobbs
/
1991
/
05
/
bittman
/
ddj.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1991-02-10
|
473b
|
16 lines
;Synthesize cosine using DSP32c, upload results to "input"
exe func ddj.gencos_32c {} {input} {,,1.0,0.0,250,8000}
;Execute real-FFT using DSP32c, use data residing on board and upload "fftreal"
exe func ddj.realft_32c {} {fftreal}
;Execute inverse real-FFT use data already on board
exe func ddj.irealft_32c {} {inverse}
;Execute log-magnitude, need to download input data
exe func ddj.logmag_32c {fftreal} {fft-mag}
;Display results
exe graph ddj.grf