Search found 116 matches

by slacker
Sat Nov 08, 2014 8:46 am
Forum: FV-1 hardware questions
Topic: info on programming teh SKRM module with a pickit.
Replies: 2
Views: 5208

Re: info on programming teh SKRM module with a pickit.

bradholland wrote:Hey Guys,
PICKITII SKRM(eeprom)
PGC SCLK
PGD SDAT
It looks like you're using the wrong pins on the Pickit. It should be PGC (pin 5 on the pickit) to SCLK and Aux (pin 6 on the Pickit) to SDAT.
by slacker
Mon Aug 25, 2014 4:23 am
Forum: Algorithm development
Topic: Finding pitch shift coefficients
Replies: 15
Views: 18211

Your WLDR numbers look right but your octaves figures probably aren't what you want, looks like you've divided the WLDR value by 16384?
The Octaves figure you want is Semitones/12 that then give 19/12 = 1.58333 or 1 and 7/12 which is an octave and a fifth up.
by slacker
Sun Aug 24, 2014 4:05 am
Forum: Algorithm development
Topic: Finding pitch shift coefficients
Replies: 15
Views: 18211

I think there might be some confusion here, you can't get 2 octaves up, WLDR of 32767 = about 19 semitones. I use this which seems to be close enough for jazz, rock and roll is more forgiving :) For up shifts: WLDR=16,384*(2^(1/12*semitones)-1) so for one semitone up you get 16384*(2^(1/12*1)-1) = 9...
by slacker
Tue Jul 15, 2014 1:35 pm
Forum: FV-1 software questions
Topic: I submitted a bug at the Wine bug tracker (Spin IDE - Linux)
Replies: 5
Views: 6652

I just gave it a try and I can replicate the error, pressing Assemble crashes it giving a program error warning. If you try and build a project though it doesn't crash and attempts to assemble the code but still gives the same spurious errors as it used to, so unfortunately solving the crash problem...
by slacker
Tue Jul 15, 2014 10:21 am
Forum: Algorithm development
Topic: Nutso distortion patch for electronic sounds
Replies: 1
Views: 5282

Very weird in a good way :twisted:
by slacker
Tue Jul 15, 2014 9:52 am
Forum: FV-1 software questions
Topic: I submitted a bug at the Wine bug tracker (Spin IDE - Linux)
Replies: 5
Views: 6652

Cool it would be nice to get it working. I tried it a few years ago and it didn't appear to crash but it wouldn't compile anything, it just produced spurious errors. It was as though the assembler wasn't reading the file properly. In the end I gave up trying a just bought a cheap version of Windows ...
by slacker
Mon Jul 07, 2014 9:43 am
Forum: Algorithm development
Topic: test the function of a counter
Replies: 4
Views: 6872

Hi Slacker, Seems like you have your FV-1 number relationships well ingrained. I wish, I just figured it out by going through his code and I couldn't see any reason why it wasn't working, so guessed it might be the constant and went from there. The same thing has bit me in the ass a few times, be n...
by slacker
Mon Jul 07, 2014 9:38 am
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 978914

The reason that doesn't work is because there will be some noise on the pot so it won't necessarily read exactly the same value each time. Try this instead ldax pot1 and %01111111_00000000_00000000 rdax time_pot,-1 skp zro,DODELAY ldax pot1 ;else read pot1 and %01111111_00000000_00000000 wrax ramp,1...
by slacker
Wed Jul 02, 2014 4:54 am
Forum: Algorithm development
Topic: test the function of a counter
Replies: 4
Views: 6872

Your value for counter is too small, if you look at the sof command http://www.spinsemi.com/knowledge_base/inst_syntax.html#SOF the constant is 11 bits (2048 values) spread over -1 to 0.999 which is a range of 1.999 1.999/2048 = 0.00098 that's the smallest number the constant can be. Any smaller num...
by slacker
Wed Jul 02, 2014 3:29 am
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 978914

Hi alpignolo Your code will not do what you want it to. This part of the tap tempo code jam rmp0 ;else latch is high, jam rmp0 (reset to 0) ldax ramp ;read ramp, will contain last value of rmp0 before latch went high wrax taptempo,0 ;write to taptempo sets taptempo to the last value that was tapped,...
by slacker
Sat Jun 07, 2014 8:08 am
Forum: Algorithm development
Topic: Highpass filter with variable cutoff frequency
Replies: 3
Views: 6488

I think the answer is in the notes for the WRHX instruction http://www.spinsemi.com/knowledge_base/inst_syntax.html#WRHX . "The input signal will be in ACC, and during the execution of the first statement, that input signal will be transferred to PACC. During the second instruction, the written...
by slacker
Sun Jun 01, 2014 3:44 am
Forum: FV-1 software questions
Topic: Alternative Development Board solution.
Replies: 7
Views: 9515

I think using RS232 by adding a CD4066 switch you could disconnect the clock and data lines and make the FV-1 reload the program.
by slacker
Wed May 28, 2014 10:06 am
Forum: FV-1 software questions
Topic: Alternative Development Board solution.
Replies: 7
Views: 9515

One way to do this is to build a PICkit2 clone, for just programming the EEPROM you can probably strip it down to just the PIC, crystal and USB components. You might also need a bit of logic similar to the Spin dev board to disconnect the clock and data lines and reset the FV-1. There is a command l...
by slacker
Sun Mar 16, 2014 4:40 am
Forum: FV-1 software questions
Topic: Input for External LFO
Replies: 2
Views: 5528

Yeah you can do this, just make sure your LFO is limited to 0 to +3.3 Volts. Like Larry said there's some lag due to the filtering on the pots, which can be improved with the "fast pot" code he mentioned. The filtering also limits the maximum frequency to a few Hertz, I can't remember exac...
by slacker
Sat Feb 22, 2014 5:15 am
Forum: FV-1 software questions
Topic: pot values
Replies: 3
Views: 7323

You should be able to do it using some of the tricks from here http://www.spinsemi.com/knowledge_base/pgm_quick.html#Preparing_pots First shift the range down by 0.5 so it goes from -0.5 to + 0.5. Then multiple it by 4 which would give a range of -2 to +2 except that the range is limited to -1 and +...