17.01.2013 Views

musicdsp.org source code archive - WSInf

musicdsp.org source code archive - WSInf

musicdsp.org source code archive - WSInf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ECE320 project: Reverberation w/ parameter control from PC (click this to go back to the index)<br />

References : Posted by Brahim Hamadicharef (project by Hua Zheng and Shobhit Jain)<br />

Linked file : rev.txt (this linked file is included below)<br />

Notes :<br />

rev.asm<br />

ECE320 project: Reverberation w/ parameter control from PC<br />

Hua Zheng and Shobhit Jain<br />

12/02/98 ~ 12/11/98<br />

(se linked file)<br />

Linked files<br />

; rev.asm<br />

;<br />

; ECE320 project: Reverberation w/ parameter control from PC<br />

;<br />

; Hua Zheng and Shobhit Jain<br />

; 12/02/98 ~ 12/11/98<br />

;<br />

; bugs fixed<br />

;wrong co coefficients<br />

;using current out point to calculate new in point<br />

;r6 changed in set_dl (now changed to r4)<br />

;initialize er delaylines to be 0 causes no output -- program memory<br />

;periodic pops: getting garbage because external memory is configured to 16k<br />

;================================================<br />

; Initialization<br />

;================================================<br />

SAMPLERATE equ 48<br />

nolist<br />

include 'core302.asm'<br />

list<br />

;---------------------------<br />

; Variables and storage setup<br />

;---------------------------<br />

RESET equ255; serial data reset character<br />

n_paraequ29; number of parameters expected from serial port<br />

delayline_numberequ12<br />

delay_pointersequ24<br />

er_numberequ3<br />

co_numberequ6<br />

ap_numberequ3<br />

<strong>org</strong>x:$0<br />

ser_datadsn_para; location of serial data chunk<br />

delays; default rev parameters: delay length<br />

dc967; er1 $3c7<br />

dc1867; er2 $74b<br />

dc3359; er3 $d1f<br />

dc2399; co1 $95f<br />

dc2687; co2 $a7f<br />

dc2927; co3 $b6f<br />

dc3271; co4 $cc7<br />

dc3457; co5 $d81<br />

dc3761; co6 $eb1<br />

dc293; ap1 $125<br />

dc83; ap2 $53<br />

dc29; ap3 $1d<br />

coeffs; default rev parameters: coefficients<br />

dc0.78; er1<br />

dc0.635; er2<br />

dc0.267; er3<br />

;dc0<br />

;dc0<br />

;dc0<br />

dc0.652149; co1 $7774de<br />

dc0.301209<br />

dc0.615737; co2 $53799e<br />

dc0.334735<br />

dc0.586396; co3 $4ed078<br />

dc0.362044<br />

dc0.546884; co4 $4b0f06<br />

dc0.399249<br />

dc0.525135; co5 $4337a0<br />

dc0.419943<br />

dc0.493653; co6 $3f3006

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!