Search found 34 matches

by sad1024
Thu Jun 10, 2010 4:32 pm
Forum: FV-1 software questions
Topic: Sine generator problem.
Replies: 4
Views: 6404

I can't get the second program to work either. I added,

wrax dacl and mulx pot0

???
by sad1024
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...
by sad1024
Wed Jun 09, 2010 11:22 am
Forum: FV-1 software questions
Topic: Flange intensity or width?
Replies: 7
Views: 8545

That's not what I meant. Can a pot control the deviation in delay range, +/-
so many samples from the center delay. Not mix or feedback or rate.
by sad1024
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?
by sad1024
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?
by sad1024
Thu Jun 03, 2010 4:38 pm
Forum: Algorithm development
Topic: Idea for generating a lower octave.
Replies: 4
Views: 7228

Your right, but it looks like the average amplitude of the envelope will be less than the peak amplitude, so it will need to be multiplied by greater than unity, (1.4142??). It will take me a while to get comfortable enough with the code to detect the zero intercepts. Thanks.
by sad1024
Thu Jun 03, 2010 12:49 pm
Forum: Algorithm development
Topic: Idea for generating a lower octave.
Replies: 4
Views: 7228

Does anybody know what should come next?
by sad1024
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...
by sad1024
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.
by sad1024
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...
by sad1024
Tue Jun 01, 2010 11:05 am
Forum: Algorithm development
Topic: Simple low pass filter?
Replies: 10
Views: 10624

What about the rdfx and wrlx commands?
by sad1024
Tue Jun 01, 2010 10:24 am
Forum: Algorithm development
Topic: Simple low pass filter?
Replies: 10
Views: 10624

I am unable to get it to work using various coefficents. I have read the link but still no luck. This code is all new to me and I would appreciate any help I can get.
by sad1024
Tue Jun 01, 2010 5:11 am
Forum: Algorithm development
Topic: Simple low pass filter?
Replies: 10
Views: 10624

Can anybody tell me what the variables do and the proper way to write the code for a low pass filter?
by sad1024
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
by sad1024
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 ...