mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-31 22:25:34 -04:00
Added as10k1 tool (EMU10K1 FX8010 DSP assembler).
This commit is contained in:
parent
a4569af2bb
commit
f2d80b5b5d
28 changed files with 3523 additions and 0 deletions
29
as10k1/examples/delay.asm
Normal file
29
as10k1/examples/delay.asm
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
;;; A simple delay routine
|
||||
|
||||
include "emu_constants.asm"
|
||||
name "delay"
|
||||
|
||||
|
||||
level control 0.5, #0 , #1
|
||||
feedback control #0.3, #0 , #1
|
||||
delay control &0.2, &0, &0.5
|
||||
|
||||
io IO
|
||||
|
||||
dly delay &0.5 ; 0.5 sec delay block
|
||||
|
||||
write twrite dly,0 ; write at 0 sec
|
||||
read tread dly,&.2 ; read at 0.2 sec
|
||||
|
||||
|
||||
acc3 read.a,delay,write.a,C_0
|
||||
|
||||
|
||||
macs io,io,level,read
|
||||
macs write,io,read,feedback
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue