Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convolution filtering
04-05-2020, 15:39
Post: #21
RE: Convolution filtering
(04-05-2020 10:02)simoncn Wrote:  Assuming there is a delay of 32768 samples, the input is padded with 32768 samples of silence at the end and the output has 32768 samples removed from the beginning.

Presumably, the click you mentioned in the original post, could be caused by the start of the track beginning in the 'middle' of some audio.
Now, what if you could add the silence to the beginning of the track before removing it after convolution? That should result in the output of the audio track complete and logically no click, perhaps.
So, you can by replacing apad with adelay as below.
Nb - the capital S is important. Lowercase s indicates milliseconds.

-lavfi "adelay=delays=32768S:all=1,afir=gtype=gn,atrim=start_sample=32768"

(04-05-2020 10:02)simoncn Wrote:  I don't know whether 32768 is always the correct value to use.

Expanding on the finding of tgb, perhaps this samples value of 32768 should reflect the number of samples/taps used to generate the convolution file.

The above are all musings, however, as I don't use ffmpeg for convolution and have not performed any tests.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Convolution filtering - rompolompo - 15-02-2020, 23:35
RE: Convolution filtering - simoncn - 15-02-2020, 23:58
RE: Convolution filtering - simoncn - 16-02-2020, 10:17
RE: Convolution filtering - simoncn - 16-02-2020, 17:17
RE: Convolution filtering - Alandbush - 16-02-2020, 21:20
RE: Convolution filtering - simoncn - 16-02-2020, 22:03
RE: Convolution filtering - simoncn - 16-02-2020, 23:01
RE: Convolution filtering - Alandbush - 17-02-2020, 01:18
RE: Convolution filtering - tgb - 04-05-2020, 07:45
RE: Convolution filtering - Snoopy08 - 04-05-2020, 12:37
RE: Convolution filtering - tgb - 04-05-2020, 14:02
RE: Convolution filtering - tgb - 05-05-2020, 22:28
RE: Convolution filtering - simoncn - 05-05-2020, 22:55
RE: Convolution filtering - simoncn - 04-05-2020, 09:44
RE: Convolution filtering - simoncn - 04-05-2020, 10:02
RE: Convolution filtering - Alandbush - 04-05-2020 15:39
RE: Convolution filtering - simoncn - 04-05-2020, 18:04
RE: Convolution filtering - Alandbush - 05-05-2020, 21:14
RE: Convolution filtering - Alandbush - 06-05-2020, 18:12
RE: Convolution filtering - tgb - 18-05-2020, 21:37
RE: Convolution filtering - JackFil - 02-01-2021, 16:17
RE: Convolution filtering - simoncn - 02-01-2021, 17:21
RE: Convolution filtering - JackFil - 03-01-2021, 18:32
RE: Convolution filtering - simoncn - 03-01-2021, 23:18
RE: Convolution filtering - simoncn - 04-01-2021, 14:05
RE: Convolution filtering - JackFil - 04-01-2021, 14:59
RE: Convolution filtering - simoncn - 04-01-2021, 16:00
RE: Convolution filtering - JackFil - 04-01-2021, 16:32
RE: Convolution filtering - simoncn - 04-01-2021, 16:48
RE: Convolution filtering - simoncn - 08-01-2021, 18:13
RE: Convolution filtering - simoncn - 09-01-2021, 17:35
RE: Convolution filtering - JackFil - 09-01-2021, 19:06
RE: Convolution filtering - simoncn - 09-01-2021, 19:17
RE: Convolution filtering - JackFil - 10-01-2021, 15:41
RE: Convolution filtering - Luckygipi - 09-12-2021, 14:09
RE: Convolution filtering - simoncn - 09-12-2021, 15:08
RE: Convolution filtering - Luckygipi - 09-12-2021, 16:43
RE: Convolution filtering - Luckygipi - 13-12-2021, 23:07

Forum Jump:


User(s) browsing this thread: 2 Guest(s)