Search found 25 matches

by DrAlx
Tue Apr 02, 2019 7:29 am
Forum: Algorithm development
Topic: Latency "trick ?" in Pitch Transposition algo.
Replies: 14
Views: 21949

Re: Latency "trick ?" in Pitch Transposition algo.

There's an obvious test that will demonstrate if this trick works as claimed. Don't know if anyone's done this. Have two parallel pitch-shift lines of length 8192 each. First line has signal injected at its start. Second line has signal injected at offset of 512, but before injection the signal is d...
by DrAlx
Tue Apr 02, 2019 4:21 am
Forum: Algorithm development
Topic: Calculating 1/(1+x) on the FV-1
Replies: 1
Views: 3591

Calculating 1/(1+x) on the FV-1

The log() and exp() functions on the FV-1 can be used to calculate roots and powers but doing an inverse (i.e raising something to the power of minus one) is not straightforward. You cannot take a log(), multiply it by -1, and then do an exp() because the log() function on the FV-1 only works on num...
by DrAlx
Thu Mar 28, 2019 4:24 pm
Forum: Algorithm development
Topic: Reducing the tremolo artefact from pitch shifting
Replies: 9
Views: 7841

Re: Reducing the tremolo artefact from pitch shifting

Actually just tested the octave up again (on my electric guitar instead of my acoustic) and the tremolo is still there, just double the rate. Not sure why it seemed less noticeable originally. I think staggering the ramps as I am doing means I'm effectively reading the signal twice along the delay l...
by DrAlx
Thu Mar 28, 2019 3:59 pm
Forum: Algorithm development
Topic: Reducing the tremolo artefact from pitch shifting
Replies: 9
Views: 7841

Re: Reducing the tremolo artefact from pitch shifting

The same trick doesn't seem to work for octave down though !!! I found the octave down effect was weaker and lots of "unshifted" signal seemed to get through to the output somehow, and this was often stronger than the octave down. I don't know if this was a coding error and the ramps were ...
by DrAlx
Thu Mar 28, 2019 3:15 pm
Forum: Algorithm development
Topic: Reducing the tremolo artefact from pitch shifting
Replies: 9
Views: 7841

Re: Reducing the tremolo artefact from pitch shifting

It works !!! (EDIT: Well no it doesn't. See below). I did an octave-up test and got big improvement, especially in the higher pitches, when compared to case when the two lines have ramps with the same phase. My ramp adjustment code assumes the ramps are decreasing (i.e. upward pitch shift), so would...
by DrAlx
Thu Mar 28, 2019 9:04 am
Forum: Algorithm development
Topic: Reducing the tremolo artefact from pitch shifting
Replies: 9
Views: 7841

Reducing the tremolo artefact from pitch shifting

Will the following idea work? Send signal to be shifted down two parallel paths. Each path has a delay line (of length D) for pitch-shifting, but the ramp LFOs on those lines are offset in time by a suitable fraction of the line length (I am guessing D/4). The idea being that peaks of the tremolo (o...
by DrAlx
Tue Mar 26, 2019 2:09 pm
Forum: Algorithm development
Topic: Shimmer
Replies: 40
Views: 99933

Re: Shimmer

You can try adding some delay to pitchout before reading it back into the input... Exactly what I did when writing shimmer code for my DIY Tonewoodamp. The following code is pretty much that with some unnecessary stuff (for my acoustic guitar) removed. It's all wet. Uncomment line near bottom to ad...
by DrAlx
Fri Mar 01, 2019 3:44 pm
Forum: FV-1 software questions
Topic: Help. Noise at power up.
Replies: 6
Views: 5084

Re: Help. Noise at power up.

I tried all of the following with no luck. Larger caps on the crystal. Decoupled the circuit from the class-D amp, and found it made no difference regardless of the order the two boards were powered up. Added larger electrolytics on input and output of the 3.3V regulator. That sometimes seemed to wo...
by DrAlx
Fri Mar 01, 2019 1:17 pm
Forum: FV-1 software questions
Topic: Help. Noise at power up.
Replies: 6
Views: 5084

Re: Help. Noise at power up.

Thanks, I'll give those a try. I have 15pF on the crystal already. I will try stick more in parallel with it, although I am suspecting power supply now because the power switch is turning on not just the 3.3V regulator (which powers the FV1) but also another board with a class-D amp on it. My suspic...
by DrAlx
Fri Mar 01, 2019 11:58 am
Forum: FV-1 software questions
Topic: Help. Noise at power up.
Replies: 6
Views: 5084

Help. Noise at power up.

I have an FV-1 build with my own EEPROM program. When I switch on power (after power has been off for over 10 seconds) I get a big reverberated crash sound (presumably down to spike at ADC input). I don't have that problem when switching to the program with the selector switches, or if I power down ...