Sometimes we hold onto things only to realize that they come back to us once we let them go. Perhaps that’s a person, but maybe…maybe it’s a talent or a dream. Sometimes we have to remember that every moment we live is a moment in our lives. Right now. How do you want to live your life? Waiting for things to get better? Wishing that people change? What can you do in this moment that reflects the type of life you want to live? Breathe. We cannot control the path our lives take, but we can control what we do in each moment.
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.
I’m off to the races again with programming! I don’t know about anyone else but once I give up on integrating other people’s code/algorithm/etc. into my code I actually make progress. No seriously, if you’re a developer, think back to when you sat down at a computer and literally wrote something from scratch. You were probably faster and the process itself was a lot more rewarding. Unfortunately for some of you… I imagine that it’s been a while…
When given a problem to solve, a developer is faced with two options: the first problem that they could solve is the problem itself and the other is how to translate their code into someone else’s code, which has already been written to solve the problem. After a while the “second route” turns the developer into a simple i/o professional, whom has spent their lives putting pieces together all over the Internet and gifting the result to their client.
I don’t know about you… but I wouldn’t want to be the client… 😕
But anyway… Yes! I’ve made a lot of progress. I sort of spaced out on that vulkan tutorial because I found a lot more up-to-date manuals and documentation. I’ll go iron that out soon though and modify it so that it works with the new setup.