GitXplorerGitXplorer
r

audio-adblock

public
3 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
e81e8588a6a56a212a6b579cd12011bcc847caef

add profiling instrumentation

rraidancampbell committed 2 years ago
Verified
60bcc2b15c0de47944dbd609ec88e4decf319a38

add a halfhearted README

rraidancampbell committed 3 years ago
Verified
83bda306ad6f5d579c17b700f8f90334f151a89c

minor code cleaning for multithreading

rraidancampbell committed 3 years ago
Verified
4424e68c50916f7fb0c9a0832194056f0db32ca4

fix sample misalignment: no more sections of full-volume static

rraidancampbell committed 3 years ago
Verified
19bf03bcc8f753134aaa55a98176fa2a663ee174

reconstruct a new file with matches omitted. not bug-free yet

rraidancampbell committed 3 years ago
Verified
21c5889c0f24c21dfeb655e4db750dfb7ccc060b

fix potential index out of bounds error

rraidancampbell committed 3 years ago

README

The README file for this repository.

audio-adblock

least common subsequence matching in audio fingerprints to remove ads and intros from your podcasts

Current Status

Vaguely working! Matching isn't very good, but two passes at 30% similarity and minimum 10 second spans has yielded good results for two inputs.

Usage

  1. open audio-adblock.go and add the filenames of the two inputs
  2. go run audio-adblock.go will read them in and start processing
  3. data will be fingerprinted, and matching sections will be removed
  4. outputs will be written to A.mp3 and B.mp3, as hardcoded in audio-adblock.go

to do

  • [ ] retain matched fingerprints in memory
  • [ ] serialize fingerprints for storage
  • [ ] serialize associated audio snippet for storage
  • [ ] allow more than two inputs for fingerprinting, limit to one output
  • [ ] add a halfhearted CLI
  • [ ] switch to a multithreaded LAME encoder, or ditch LAME entirely