Echo cancellation, noise suppression, and all round sound improvement for Pulseaudio

I’ve sorted out three issues with sound on my work laptop, and as they might be of general interest, here, have a blog post. The laptop is running Debian Linux, and using Pulseaudio as the sound server. The problems Issue 1 : Audio Tweakage I want the audio to sound good (to me). More bass, more detail/audio excitation, a wider stereo image, that sort of thing. My hearing isn’t what it used to be (middle aged high-frequency notch) so I want to be able to tweak various audio qualities to account for my audiological foibles, and the idiosyncracies of the room I’m sitting in and/or the devices I’m using.

Profiling Python

I’ve written about profiling topplot over at the Codethink company blog(scroll down to the Profiling section). There I talk about using the statistical profiler py-spy to produce a flamegraph for a birdseye view of activity, and digging deeper with the deterministic profiler yappi, graphing its output with kcachegrind. Since then I’ve come across some more tools (notably through Malek Cellier in this comment) and am noting them here for future reference.

Virtual webcams on Linux

Below are a couple of ways of extending a Linux computer’s webcam provision - even if you don’t have a webcam! The first adds your mobile phone’s camera as a webcam. The second uses a static JPEG or PNG image as a webcam. Using a phone camera as a virtual webcam Having heard about DroidCam as a way to use mobile phones as cameras for computers, I gave it a try.