Search found 116 matches

by slacker
Wed Jun 19, 2013 12:27 pm
Forum: Algorithm development
Topic: Stomp Switch wiring preferences? [OT]
Replies: 4
Views: 8479

Here's a link to a schematic that shows how I do it, it's nothing special. http://www.aronnelson.com/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=47833&g2_serialNumber=2 In connects straight to the tip of the input jack, then I use half a DPDT switch to select either the buffered out...
by slacker
Thu Jun 06, 2013 2:26 pm
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 971778

Cool.
by slacker
Tue Jun 04, 2013 11:01 am
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 971778

If you want a smaller maximum delay you need to change the following part of the code. LOW: sof 0,0.064 wrax rmp0_rate,0 ;set rmp0 rate to 1Hz cho rdal,rmp0 ;read value of rmp0 The sof 0,0.064 sets up a 1Hz ramp to give delay time up to 1 second, so for 700ms you change the sof command to sof 0,0.08...
by slacker
Tue May 21, 2013 11:17 am
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 971778

The way the code works is low has to be below 1.65 volts and high has to be above 1.65 volts. It then has to stay high or low for 50 clock cycles before it will switch, less than that and the code ignores it. You can try changing the high to low point by changing sof line below, change the -0.5 to -...
by slacker
Sat May 18, 2013 1:16 pm
Forum: Algorithm development
Topic: Tap Tempo Tremolo question
Replies: 3
Views: 7496

The taptempo value is proportional to the time between taps, bigger value gives longer delay. The sine LFO needs the opposite response, smaller values equals slower speed. You can flip the response by adding sof -1,0.999 after the ldax taptempo line in the tremolo section. aziltz is right about the ...
by slacker
Sat May 11, 2013 10:04 am
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 971778

Glad you got it sorted, weird one that not your usual debug.
by slacker
Fri May 10, 2013 10:24 am
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 971778

Should the pot have no effect at all on the delay time. If you slowly turn the pot it shouldn't do anything, the position of the pot shouldn't change the delay time at all. If you turn it back and forth repeatedly so it goes from one end to the other in less than a second, then the code might occas...
by slacker
Thu May 09, 2013 12:00 pm
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 971778

Pot 2 should act like a switch, if you turn it up and down fast enough it should set the tap tempo. It doesn't directly control the delay time. I wonder is there's something wrong with your switch or wiring. I would check that when the switch is not pressed you have 3.3 Volts on the Pot2 pin on the ...
by slacker
Thu May 09, 2013 9:48 am
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 971778

Those changes look right to me. Are you using the latest version of the code the one from 18 September 2011, the earlier ones have an error and the delay time doesn't match the tapped tempo. Not sure why your switch isn't working, have you made some other changes to the code? The pot used for tap te...
by slacker
Tue May 07, 2013 12:12 pm
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 971778

I think it should work with resistors limiting the pot travel, so long as the high voltage is above half the supply. Making the "count" value bigger might help if high isn't 3.3 Volts, might need some experimenting, too big and you might get switch bounce. I discovered a small error in the...
by slacker
Tue May 07, 2013 9:44 am
Forum: Algorithm development
Topic: tap tempo snippet
Replies: 84
Views: 971778

I think those divisions are right. I use a SPST momentary, using the method we talked about here you have to turn the pot all the way up for it to work consistently. If you only want to use that pin for tap tempo, use a resistor from the pin to 3.3 Volts to pull it up and SPST to pull the pin to gro...
by slacker
Thu May 02, 2013 10:01 am
Forum: FV-1 hardware questions
Topic: Using PICKit to program the SKRM?
Replies: 5
Views: 8848

Depending on how it produces the data to send to the serial doodad it might be possible to convert it into a hex file instead. If it saves it in a temporary file it might be as simple as adding the header and the non data parts of the hex file. I've just done the opposite for a serial to i2c interfa...
by slacker
Thu May 02, 2013 12:09 am
Forum: FV-1 hardware questions
Topic: Using PICKit to program the SKRM?
Replies: 5
Views: 8848

The pickit2 can program the 24LC32, you create the hex file in spinasm, then use the pickit's software to write it to the 24LC32. The pickit has command line software, so if you can make spinCAD create a hex file you can integrate support that way.
It doesn't look like a serial port to the PC.
by slacker
Wed May 01, 2013 12:30 pm
Forum: FV-1 hardware questions
Topic: Momentary switch and Pot on same control pin ?
Replies: 6
Views: 11523

You can isolate the pot so the switch won't cause a short, run two resistors in series between the pot wiper and the pot input, your switch goes to the junction of the two resistors. This is what I do in my babelfish, copied from the guitar amp appnote. The other issue is, say your switch is to grou...
by slacker
Mon Apr 29, 2013 10:13 am
Forum: FV-1 software questions
Topic: Reverse delay?
Replies: 47
Views: 95995

Frank's code from 4 Dec 2007 earlier in the thread works Ok for me, you can change the speed by making the sof command more negative, but it soon gets very fast. I think the glitching is just the delay grabbing part of the guitar signal as it decays and then playing it backwards, this give a hard ed...