3

My dog goes bonkers every time the sound of a barking dog is heard on a television program. I never noticed this before but literally every movie or show with an outdoors setting eventually includes the sound of a barking dog.

Is it possible to develop a real-time filter that blocks or masks these sounds?

nbro
  • 42,615
  • 12
  • 119
  • 217
AlanD
  • 31
  • 2

1 Answers1

1

OK, here is one approach.

  1. Acquire a data set of 'clean' audio samples without barking dogs and an data set of barking dogs sounds.

  2. Generate a training set by mixing random selections of clean audio with a random selections of barking dog noises at various volume levels. This is your input data. Your output data is the clean audio before you added the barking.

  3. Find a suitable neural network. This might be a good starting point: https://github.com/andabi/music-source-separation

  4. Train the network.

  5. Apply the network to a load of the clean+bark mixes and check the result by ear. If the results are not good enough, go to 3 to tweak the network. If the results are still poor go to 2 and generate more training data, perhaps adding some distortions or other effects the the barking. Happy with the result? Go to 6.

  6. Publish the results online for the betterment of humanity. (And/or write the network to a miniature GPU board (such as the NVIDIA Jetson https://developer.nvidia.com/buy-jetson) and work out how to wire that up to the decoded audio in your telly before it heads to the speakers), then blog about it because that would be a great project.

DrMcCleod
  • 603
  • 5
  • 12