⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 read.me

📁 dsp AD公司ADSP21的代码,里面有FFT FIR IIR EQULIZER G722_21F 等可以在项目中直接应用的代码.此代码的来源是ADI公司自己出版的书籍,此书在美国购得
💻 ME
字号:
DSP32C Example Real-Time Programs
---------------------------------

This directory contains all of the C source code, make files
(*.MAK), batch files (*.BAT) and other files required for the
CAC DSP32C board.  If you want to use the programs with
the DSP32C, copy the contents of this directory to your hard
disk and then use the make files or batch files to compile the
programs.

The following changes have been made to make the examples for
the DSP32C work with the CAC 16 KHz DBDADA A/D and D/A converters
and CAC DSP32C board. The make files have to have the -DDBDADA and
-DKHZ16 to activate some changes.

-DKHZ8 can be used with 8 KHz CODECs on other boards.

    getinput.c  Replaced ioc setting with call to initialize_ioc()
    sendout.c   Replaced ioc setting with call to initialize_ioc()
                Added initialize_ioc() with DBDADA definition for
                stereo A/D D/A daughter board
    note.c      Added KHZ8 definition to specify sampling rate
    cacdrive.c  Commented out statements for ZPB34C board
    tstdrive.c  Commented out statements for ZPB34C board
                Added:
                   #include <graphics.h>
                   #include <dsputil.h>
                   dsp_dl_exec(name_ptr);

The name of the D3CC output does not have an ".EXE" extension.
DSP32C executables usually don't have an extension.

If you have the D3BUG software from CAC, Inc. then you can debug
and run these programs using the following command:

d3bug <filename>

Contents of this directory
--------------------------

This software assumes the following:

AT&T DSP32 compiler release 1.6.1 or greater
Microsoft C compiler release 6.0 or greater

PC Programs:

tstdrive.c: Loads DSP32C board with operator specified DSP32c executable file.
tstdrive.exe
cacdrive.c: Loads and controls DSP32C using D3BUG toolset
cacdrive.exe
cacdrive.bat compiles tstdrive.exe and cacdrive.exe (turbo C required)

DSP32C programs:

mu32c.c: DSP32c version of music program
mu32c.exe
mu32c.mak
note.c: DSP32c version of note.c
song.h

sendout.c: DSP32c version of sendout.c
sendout.map: DSP32c memory map file for sendout.c

getinput.c: DSP32c version of getinput.c
getinput.map: DSP32c memory map file for getinput.c

sendstrt.s: DSP32c startup file for use with sendout.c and getinput.c

osc.c: DSP32c version of osc.c tone test program (uses sendout.c)
osc.exe
osc.mak

REAL-TIME PROGRAM NOTES
-----------------------

The following describes the real-time aspects of the programs in
this directory:

 Make File     Executable
   Name        File Name
------------  ------------
EQ.MAK        EQUALIZ.       Change EQ settings by changing the 7 element
                             _gain array. gain[0] is lowest frequency and
                             gain[6] is the highest frequency band. A value
                             of 3 in gain will cause a boost of 12 dB.

G722_32C.MAK  G722MAIN.      Floating-point version.  Encodes and decodes
                             "chicken little" and then requires a real-time
                             input for encode/decode.

MKGWN.MAK     MKGWN.         Noise filtering with sine wave example.
                             Filter turns on and off every second.

MU32C.MAK     MU32C.         Plays a 6 voice song.

MULAW.MAK     MULAW.         Encodes and decodes G711 (mu-law) speech
                             compression.  Setting _bypass to 1 will
                             pass the signal without compression.  Requires
                             a real-time input for encode/decode.

OSC.MAK       OSC.           Plays a tone which drops in frequency.

PS.MAK        PSHIFT.        Pitch shift using poly-phase filter.  Requires
                             a real-time input.  Every 4 seconds the pitch
                             shift key increases one semi-tone from -6 to 12.

RF32.MAK      RFAST32.       FFT based filtering; requires a real-time input.
                             Filter turns on and off every second.

WAVETAB.MAK   WAV32C.        Wave table music synthesis. Plays a scale from
                             key -12 to 47.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -