Search found 13 matches

by dkleinjans
Mon Feb 01, 2021 8:50 am
Forum: FV-1 hardware questions
Topic: Latency in FV-1 hardware
Replies: 11
Views: 11176

Latency in FV-1 hardware

Hi, I've been testing on the FV-1 development board and find a latency of about 1.56mS from input to output of the FV-1. I assume that's typical for the FV-1, but haven't been able to find any information about it. That means if you run a dry signal around the FV-1 and mix it back in with the wet si...
by dkleinjans
Mon Feb 11, 2019 2:53 pm
Forum: FV-1 software questions
Topic: cho rda and sin and cos
Replies: 2
Views: 3411

Re: cho rda and sin and cos

Well, that was easy.
Thank you, Frank.
by dkleinjans
Fri Feb 08, 2019 7:50 am
Forum: FV-1 software questions
Topic: cho rda and sin and cos
Replies: 2
Views: 3411

cho rda and sin and cos

Hi, I'm trying to understand the cho rda command. In the end, I want to make a quadrature sine wave for a chorus, with four waves 90 degrees offset. I created a simple program to try to see the effect of the sin and cos outputs. The input to the FV-1 is a sine wave from a frequency generator. The da...
by dkleinjans
Thu Jan 26, 2017 10:07 am
Forum: FV-1 software questions
Topic: Truncating a pot input
Replies: 5
Views: 8370

Got it. Thanks again. Now I have to play with it for a while to start understanding the implications.
by dkleinjans
Thu Jan 26, 2017 7:19 am
Forum: FV-1 software questions
Topic: Truncating a pot input
Replies: 5
Views: 8370

Thanks, DL. I know that's the line in code that does it, but what is "saturating math"? Is there a register or an operation or something that's limited to 0.999...? The rdax instruction allows an S1.14 coefficient, but that is apparently being changed to S.?? at some point, and I'm wonderi...
by dkleinjans
Wed Jan 25, 2017 1:10 pm
Forum: FV-1 software questions
Topic: Truncating a pot input
Replies: 5
Views: 8370

Truncating a pot input

I got this code from one of the sample programs. I've tested it, and it works (of course), but I can't figure out why. Pot0 gets multiplied by 2, saved, then used to multiply the input, but the max multiplication is 1, not 2. Where/when does the 2 get truncated to 1? It's a nice trick. Thanks for an...
by dkleinjans
Fri May 06, 2016 11:14 am
Forum: Algorithm development
Topic: Trying to understand RMS limiter example in knowledge base
Replies: 5
Views: 6952

Oops, I see my errors. I made an algebraic error in my previous calculations, putting t in the numerator when it should be in the denominator. And I used the clock frequency instead of the time per sample. Here is the corrected calculation. Clock =32768, so t~0.00003 seconds. K = e^(-2*pi*F*t) ln(K)...
by dkleinjans
Mon May 02, 2016 11:33 am
Forum: Algorithm development
Topic: Trying to understand RMS limiter example in knowledge base
Replies: 5
Views: 6952

Thanks, Larry. I see that the pair of instructions can be used as part of a low pass filter. Using the formula, I come up with a corner frequency of about 36k, which seems awfully high. K = e^(-2*pi*F*t) ln(K) = -2*pi*F*t F = (ln(K)*32768)/(-2*pi) F = (ln(.001)*32768)/(-2*pi) = about 36k Is that pai...
by dkleinjans
Mon May 02, 2016 7:56 am
Forum: Algorithm development
Topic: Trying to understand RMS limiter example in knowledge base
Replies: 5
Views: 6952

Trying to understand RMS limiter example in knowledge base

I can make sense of most of the code in the example below, but I'm confused by the line rdfx avg,0.001 I understand that it is preparing a number to be saved as the running average of the (halved, summed, and squared) inputs. I don't understand how it is getting the average. As I read the code, it l...
by dkleinjans
Mon Mar 14, 2016 4:33 am
Forum: FV-1 hardware questions
Topic: Very basic questions on chip function
Replies: 2
Views: 4565

Re: Very basic questions on chip function

1. Does the FV-1 run one program loop per oscillator cycle, regardless whether the program is 2 lines or 128 lines long? I believe that's true, and the unused lines are filled with no-ops. 2. Does the FV-1 sample and hold the inputs? For example, if you read adcl (or a pot) at two different times/p...
by dkleinjans
Fri Mar 11, 2016 11:53 am
Forum: FV-1 hardware questions
Topic: Very basic questions on chip function
Replies: 2
Views: 4565

Very basic questions on chip function

I've tried to find the answers, but am not certain. 1. Does the FV-1 run one program loop per oscillator cycle, regardless whether the program is 2 lines or 128 lines long? I believe that's true, and the unused lines are filled with no-ops. 2. Does the FV-1 sample and hold the inputs? For example, i...
by dkleinjans
Mon Dec 07, 2015 7:59 am
Forum: FV-1 software questions
Topic: Lock on files, not visible to Windows
Replies: 3
Views: 5256

Thanks, Frank. In the end, it turned out to be a simple solution: I just needed to run spinasm.exe as an administrator. For anyone in the future with the same question, right-click on spinasm.exe, click on the Compatibility tab, and check the box for Run this program as an administrator. BTW I'm on ...
by dkleinjans
Fri Dec 04, 2015 9:45 am
Forum: FV-1 software questions
Topic: Lock on files, not visible to Windows
Replies: 3
Views: 5256

Lock on files, not visible to Windows

I just started using the FV-1. I can make .spn files and assemble, them, and I can make .spj files. They appear as choices to open or save with the SpinAsm IDE, but they have a padlock symbol on them, and they don't show up in the Windows directory. The hex files don't show up either. Other download...