Search found 65 matches

by knutolai
Wed Jun 07, 2017 9:39 am
Forum: FV-1 hardware questions
Topic: Crystals wont oscillate
Replies: 7
Views: 6315

Honestly the best thing is to remove all components and clean everything or start with a new board and abandon these ones. You will not be able to clean under the chip and other components unless you have access to a commercial level defluxer which uses hot deionized water under pressure. Went over...
by knutolai
Tue Jun 06, 2017 3:53 pm
Forum: FV-1 hardware questions
Topic: Crystals wont oscillate
Replies: 7
Views: 6315

Flux is OK AS LONG AS IT IS NOT WATER SOLUBLE! Water soluble flux is conductive so just a tiny bit under the chip can cause problems, it also tends to be corrosive and can damage the PCB. Damn.. Turns out my Flux is water soluble, so this could be the issue. How would I go about removing residue be...
by knutolai
Tue Jun 06, 2017 12:58 pm
Forum: FV-1 hardware questions
Topic: Crystals wont oscillate
Replies: 7
Views: 6315

Crystals wont oscillate

I have a setup where my FV-1 chip reside on a daughter-board together with the clk crystal, crystal cap and the decoupling capacitors. This board connects with header pins to a "main"-board which houses the power regulator (LM1117), more decoupling capacitors and all other necessary circui...
by knutolai
Fri Mar 31, 2017 1:15 am
Forum: Algorithm development
Topic: Asymmetric Distortion/Limiter
Replies: 0
Views: 28916

Asymmetric Distortion/Limiter

Simple and interesting distortion block: rdax adcl, -1 ; Read & invert input skp GEZ, 1 ; If neg sof 0.01, 0 ; Soft cut negative wave segment sof -2, 0 ; Make up gain loss, fix phase ; rdax adcl, -1 ; Crossmixer mulx pot0 rdax adcl, 1 ; wrax dacl, 0 ; output, clear acc Only one phase of the soun...
by knutolai
Thu Mar 30, 2017 2:58 am
Forum: Algorithm development
Topic: Slow Random Noise
Replies: 6
Views: 9470

Had another look at the code and realized that the increment for PRN wasn't stored back in the PRN register. For a reason I don't know the code wont work when the increment is too small. The code below: pot0 sets the volume of the noise output and (pot1 + 0.00001) sets the rate at which new noise sa...
by knutolai
Wed Mar 29, 2017 2:26 pm
Forum: Algorithm development
Topic: Slow Random Noise
Replies: 6
Views: 9470

I'm aware of the other LFSR noise generator threads, but I'm interested in the counter functionality in the above code that slows down the random value generation rate. The original noise gen from the other thread works fine for me, but as Jack states this code is unverified (and I get a static valu...
by knutolai
Wed Mar 29, 2017 6:08 am
Forum: Algorithm development
Topic: Slow Random Noise
Replies: 6
Views: 9470

The posted code gives me a static output. Was the bug ever fixed? Can't see what's wrong here.
by knutolai
Tue Mar 28, 2017 2:20 am
Forum: Algorithm development
Topic: Calculating the delay/latency of a pitch shifted signal
Replies: 2
Views: 3974

Oh yeah that makes sense.

I decided to add a compensation delay half the length (2048) of the pitch buffer. It's not perfect, but it helps reduce / even out the latency. Sounds better for my application.

Thank you for the input! :)
by knutolai
Mon Mar 27, 2017 8:44 am
Forum: Algorithm development
Topic: Calculating the delay/latency of a pitch shifted signal
Replies: 2
Views: 3974

Calculating the delay/latency of a pitch shifted signal

I'm toying around with the +/- 1 octave program (AN0001-4.spn) from the AN0001 appnote: http://www.spinsemi.com/Products/appnotes/spn1001/AN-0001.pdf I've noticed that the delay/latency of the pitch shifted signal somehow depends on the amount of pitch shift. How would I calculate the amount of late...
by knutolai
Thu Mar 23, 2017 11:20 am
Forum: FV-1 software questions
Topic: Resetting a sine LFO
Replies: 3
Views: 6434

Sorry for re-opening an old topic, but here we go! Setting the LFO to 0Hz on initialization like this: ; 0Hz LFO test ; skp run, START wlds SIN0, 0, 32767 ; Write & Load sin0 at 0Hz sof 0, 0.0 wrax sin0_rate, 0 START: ; cho rdal, SIN0 ; Should read as 1.65 volt?? wrax dacr, 0 ; Write result to o...
by knutolai
Thu Mar 23, 2017 9:16 am
Forum: Algorithm development
Topic: Audio input as delay modulation source?
Replies: 5
Views: 5818

Maybe I could use the servo technique to perform the modulation instead of "cho rda"-statements? http://www.spinsemi.com/knowledge_base/coding_examples.html#Servo_technique skp run,1 ;only establish the LFO on the first sample pass wldr rmp0,0,4096 ;set rmp0 to its widest range cho rdal,rm...
by knutolai
Thu Mar 23, 2017 8:23 am
Forum: Algorithm development
Topic: Audio input as delay modulation source?
Replies: 5
Views: 5818

Thank you for looking it over! Yes I think the errors are due to the copy/paste. Compiled without trouble on my pc (clean, unaltered output) you are also clearing the acc after writing the sin0 range so I have changed that to keep the value in the acc for the next line to write to the sin0 rate. The...
by knutolai
Thu Mar 23, 2017 7:12 am
Forum: Algorithm development
Topic: Audio input as delay modulation source?
Replies: 5
Views: 5818

From another thread ( http://www.spinsemi.com/forum/viewtopic.php?t=469&sid=7a1901be706a4942ea82947d36b046d4 ) RDA 14444,1.0 WRAX 57,0.0 RDA 28594,1.0 WRAX 58,0.0 Could I perform modulation through direct delay ram addreess readouts like this? http://www.spinsemi.com/Products/datasheets/spn1001-...
by knutolai
Thu Mar 23, 2017 6:34 am
Forum: Algorithm development
Topic: Audio input as delay modulation source?
Replies: 5
Views: 5818

Audio input as delay modulation source?

Hi So I'm trying to use the incoming audio signal to modulate a vibrato effect (instead of using an LFO). My idea was to set sin0 to 0Hz, write the audio to sin0_range and use the cosine (max at zero?) as the modulation source for the vibrato (delay). My code does not create any vibrato, but here it...
by knutolai
Thu Mar 23, 2017 3:01 am
Forum: Algorithm development
Topic: Writing values directly to SIN0_RATE and SIN0_WIDTH
Replies: 3
Views: 4897

To find the frequency and delay length from Kf / Ka decimals:

From Kf decimal (K) to Frequency (f):

f = K * (512 * R) / ( 2^18 * pi)

R = sample rate (32768)

--------------------------------------------------

From Ka decimal (K) to delay length (a) :

a = K * (16385 * 32768 / 32767)