I can't get the second program to work either. I added,
wrax dacl and mulx pot0
???
Search found 34 matches
- Thu Jun 10, 2010 4:32 pm
- Forum: FV-1 software questions
- Topic: Sine generator problem.
- Replies: 4
- Views: 6404
- Thu Jun 10, 2010 3:16 pm
- Forum: FV-1 software questions
- Topic: Sine generator problem.
- Replies: 4
- Views: 6404
Sine generator problem.
Why doesn't this work?? skp run,endset ;do not execute if already running wrax sin,0 ;set sin to 0, (acc should be zero) sof 0,-1 ;set accum to -1 wrax cos,0 ;write to cos endset: ;jump-to label rdax sin,1 ;read the sin register mulx pot0 ;multiply by pot value rdax cos,1 ;read the cos register wrax...
- Wed Jun 09, 2010 11:22 am
- Forum: FV-1 software questions
- Topic: Flange intensity or width?
- Replies: 7
- Views: 8545
- Wed Jun 09, 2010 5:24 am
- Forum: FV-1 software questions
- Topic: Flange intensity or width?
- Replies: 7
- Views: 8545
Flange intensity or width?
Can you control a flanger's intensity or width using one of the pots?
- Mon Jun 07, 2010 12:49 pm
- Forum: FV-1 software questions
- Topic: LFO question.
- Replies: 1
- Views: 3933
LFO question.
How would set up an LFO so that pot0 controls rate and pot1 controls amplitude of the modulation of something like tremelo?
- Thu Jun 03, 2010 4:38 pm
- Forum: Algorithm development
- Topic: Idea for generating a lower octave.
- Replies: 4
- Views: 7228
- Thu Jun 03, 2010 12:49 pm
- Forum: Algorithm development
- Topic: Idea for generating a lower octave.
- Replies: 4
- Views: 7228
- Wed Jun 02, 2010 9:53 am
- Forum: Algorithm development
- Topic: Idea for generating a lower octave.
- Replies: 4
- Views: 7228
Code.
equ input reg0 equ ef reg1 ;Set up registry ldax adcl ;read input into acc wrax input, 1 ;write input for later use absa ;take absolute value rdfx ef, .001 wrlx ef, 1 ; low pass filter ldax ef mulx 0.5 ; take half envelope rdax input, 1 ; add input log 0.5, 0 exp 1,0 ; take the square root From here...
- Wed Jun 02, 2010 4:45 am
- Forum: Algorithm development
- Topic: Idea for generating a lower octave.
- Replies: 4
- Views: 7228
Idea for generating a lower octave.
Take input. Determine envelope voltage. Add half the envelope voltage to the input so its always positive. Take the square root of it. Invert at each zero crossing to get the lower octave. Filter out any transients. Now just turning it into code.
- Tue Jun 01, 2010 6:55 pm
- Forum: Algorithm development
- Topic: Simple low pass filter?
- Replies: 10
- Views: 10624
I have read a DSP book. I am slowly getting the hang of it. I am very rusty at programming though, I had BASIC, but that was 30 years ago. I can calculate the coefficients, just didn't know where they go. Do the input and output have anti-aliasing filters? I am able to write the code for low pass fi...
- Tue Jun 01, 2010 11:05 am
- Forum: Algorithm development
- Topic: Simple low pass filter?
- Replies: 10
- Views: 10624
- Tue Jun 01, 2010 10:24 am
- Forum: Algorithm development
- Topic: Simple low pass filter?
- Replies: 10
- Views: 10624
- Tue Jun 01, 2010 5:11 am
- Forum: Algorithm development
- Topic: Simple low pass filter?
- Replies: 10
- Views: 10624
- Fri May 28, 2010 8:04 am
- Forum: Algorithm development
- Topic: Simple low pass filter?
- Replies: 10
- Views: 10624
Simple low pass filter?
equ temp reg0 ;setup registry
ldax adcl ; read input
rdfx temp, 0.01 ;?
wrlx temp, 1 ;?
wrax dacl ; write output
ldax adcl ; read input
rdfx temp, 0.01 ;?
wrlx temp, 1 ;?
wrax dacl ; write output
- Thu May 27, 2010 4:39 am
- Forum: Algorithm development
- Topic: Digital state variable filter.
- Replies: 8
- Views: 9742
Thanks! Here is a variation of that code that might be useful. equ HP reg0 equ BP reg1 equ LP reg2 equ out0 reg3 equ out1 reg4 sof 0,0 ldax adcl ; read ADCL rdax LP, -1 ; -LP rdax BP, -1 ; -BP wrax HP, 0.1 ; Write high pass to HP, multiply acc by 0.1 rdax BP, 1.0 ; add BP wrax BP, 0.01 ; Write band ...