I have recently been exploring existing solutions for converting media into MIDI files. After I was done and went back to my work, I quickly found that the audio coming out of say… Google Translate’s pronunciation of “hello” or Audacity was crackling.
This isn’t a new experience for me, or Ubuntu users in general. So I quickly looked up my log of recently installed packages to see which ones were incompatible. The command to do that is:
grep " install " /var/log/dpkg.log
Sometimes when I have installed various libraries/packages, Ubuntu goes ahead and believes it should use those instead of the per-existing ones. These were all the packages that I had installed just prior to when the crackling began:
2017-08-16 11:22:39 install cvs:amd64 2:1.12.13+real-15 X removed. 2017-08-16 11:27:51 install libfftw3-long3:amd64 3.3.4-2ubuntu1 X removed. 2017-08-16 11:27:51 install libfftw3-quad3:amd64 3.3.4-2ubuntu1 X removed. 2017-08-16 11:27:52 install libfftw3-bin:amd64 3.3.4-2ubuntu1 X removed. 2017-08-16 11:27:52 install libfftw3-dev:amd64 3.3.4-2ubuntu1 X removed. 2017-08-16 11:28:33 install libogg-dev:amd64 1.3.2-1 X removed. -> crackling sound went away. 2017-08-16 11:28:33 install libflac-dev:amd64 1.3.1-4 X removed. ^ 2017-08-16 11:28:33 install libvorbis-dev:amd64 1.3.5-3 X removed. ^ 2017-08-16 11:28:34 install libsndfile1-dev:amd64 1.0.25-10ubuntu0.16.04.1 X removed. ^ 2017-08-16 11:29:17 install libao-dev:amd64 1.1.0-3ubuntu1 X removed. ^ 2017-08-16 11:30:59 install libsamplerate0-dev:amd64 0.1.8-8 X removed. ^ 2017-08-16 11:32:20 install libtinfo-dev:amd64 6.0+20160213-1ubuntu1 X removed. ^ 2017-08-16 11:32:20 install libncurses5-dev:amd64 6.0+20160213-1ubuntu1 X removed. ^
I don’t intend to continually build any of the applications I explored, so for now I just removed them till the sound was free of the crackle.