Search found 76 matches

by potul
Wed Jul 01, 2020 2:11 am
Forum: FV-1 software questions
Topic: 2 second delay
Replies: 20
Views: 38973

Re: 2 second delay

Let me revive this old thread.... Some months ago I was playing with the "8 seconds delay", and I tweaked it to work as a 2-seconds delay with feedback pot and delay pot, using standard clock. Here you have the result. It's a working 2-seconds delay with delay, feedback and mix controls. I...
by potul
Tue Jun 02, 2020 11:37 pm
Forum: FV-1 software questions
Topic: Help me understand the Delay SRAM and how to address it
Replies: 2
Views: 7152

Re: Help me understand the Delay SRAM and how to address it

Hi, My understanding is that ADDR_PTR is a 24 bits register, but to address the memory we don't really need that much. So the FV1 is using only the most significant bits of ADDR_PTR. This means that in fact memory addressing will go from 0 to 7FFF00 (note that 7FFF is 32767) That's why you see the i...
by potul
Sun May 17, 2020 10:52 pm
Forum: FV-1 hardware questions
Topic: Options for Simulation {Newbie Alert}
Replies: 13
Views: 18230

Re: Options for Simulation {Newbie Alert}

thanks for the info. I will take a look at it.
by potul
Wed May 13, 2020 10:24 pm
Forum: Algorithm development
Topic: Anyone interested in Pitch Detection?
Replies: 9
Views: 11229

Re: Anyone interested in Pitch Detection?

would you mind posting the resulting code? Or is it just the original one with the changed Log instruction coeff?
by potul
Wed May 06, 2020 11:50 am
Forum: FV-1 hardware questions
Topic: Options for Simulation {Newbie Alert}
Replies: 13
Views: 18230

Re: Options for Simulation {Newbie Alert}

I mean that some instructions cannot be used directly in the "dummy block".
I.e, you cannot use the CHO RDA instruction, but use the @readChorusTap instruction.
Not a big deal once you figure out, but it's not as easy as copy your code in a block and run.
by potul
Wed May 06, 2020 11:40 am
Forum: Algorithm development
Topic: Anyone interested in Pitch Detection?
Replies: 9
Views: 11229

Re: Anyone interested in Pitch Detection?

Nice :!: It seems to work. The period value seems to scale. 0.002 gives an octave beneath and 0.0005 gives an octave above. I'll report back in a few days when I've thoroughly tested it. Much appreciation. :mrgreen: This makes perfect sense as you are in fact dividing and multiplying by 2 the resul...
by potul
Wed May 06, 2020 11:38 am
Forum: Algorithm development
Topic: Anyone interested in Pitch Detection?
Replies: 9
Views: 11229

Re: Anyone interested in Pitch Detection?

You may find some pitch deviation at the higher frets, caused by the aproximation of the sin we used. But maybe it's not noticeable.
In case it is, some correction could be applied maybe.
by potul
Mon May 04, 2020 4:45 am
Forum: Algorithm development
Topic: Anyone interested in Pitch Detection?
Replies: 9
Views: 11229

Re: Anyone interested in Pitch Detection?

Ok, I did some calculations and this is my result: you need to make k (the osc coeff): k = 0.001*2*pi / avper so, in the log instruction it would be: ; ; Need to convert period to frequency ; rdax avper, 1 ; get smoothed period log -1, -0.45714 ; need 1/X, the offset scales frequency exp 1, 0 ; line...
by potul
Mon May 04, 2020 4:03 am
Forum: Algorithm development
Topic: Anyone interested in Pitch Detection?
Replies: 9
Views: 11229

Re: Anyone interested in Pitch Detection?

I would start by testing the frequency coefficient and see if you can find the formula for it. If I'm not mistaken, for this type of oscillator, the coeff is: k=2*sin(pi* F / Fs) where: k=coefficient to use in the oscillator code (freq) F=target frequency Fs=Sampling freq Which is not easy to comput...
by potul
Sat May 02, 2020 11:52 pm
Forum: Algorithm development
Topic: Anyone interested in Pitch Detection?
Replies: 9
Views: 11229

Re: Anyone interested in Pitch Detection?

I'm always interested in new effects coming out of the FV-1. I haven't tried the code, but the key for the period to freq conversion is in two places. First, the perid is determined by a ramp that grows starting from 0 at a positive peak, and stops when you reach the next positive peak. This ramp is...
by potul
Fri Apr 24, 2020 3:45 am
Forum: FV-1 hardware questions
Topic: Options for Simulation {Newbie Alert}
Replies: 13
Views: 18230

Re: Options for Simulation {Newbie Alert}

I wouldn't use it to fine tune an algorithm, or to evaluate the sound quality of the effect, but it's a handy resource to test ideas and at least see that your code is in the right path. It has been very useful for me in the past, as I travel a lot for work, and it allows me to still work on some st...
by potul
Wed Apr 22, 2020 3:56 am
Forum: FV-1 software questions
Topic: Errors Compiling donstavely's Pitch Detection Patch
Replies: 5
Views: 9065

Re: Errors Compiling donstavely's Pitch Detection Patch

try changing

wrlx avper, -1 ; infinite shelf LPF

for

wrlx avper, -1.0 ; infinite shelf LPF

Or you can try to use the -s option in the compiler
by potul
Wed Apr 22, 2020 3:43 am
Forum: FV-1 software questions
Topic: Errors Compiling donstavely's Pitch Detection Patch
Replies: 5
Views: 9065

Re: Errors Compiling donstavely's Pitch Detection Patch

Looks like your compiler doesn't like: -Ldax. As this is a pseudocode, probably you need to replace it with the equivalent RDFX instruction. -# and & in the comments. These are leftovers from a badly encoded html, I guess. Just replace all ( by ( and all ) by ) No clue about the first error on W...
by potul
Tue Apr 14, 2020 12:46 pm
Forum: FV-1 hardware questions
Topic: Options for Simulation {Newbie Alert}
Replies: 13
Views: 18230

Re: Options for Simulation {Newbie Alert}

I've done this is the past. Create a block in SpinCAD that contains a full program, and test it in spincad.

There are some caveats though. One is that some of the CHO instructions are not usable right away, you need to add some spincad pseudocode that is quite undocumented.
by potul
Mon Apr 06, 2020 4:19 am
Forum: Algorithm development
Topic: unconditional SKP
Replies: 8
Views: 11397

Re: unconditional SKP

great finding! I will use it for sure.