I hit a bug in a script I was writing this week which reminded me that sometimes you can put too much faith in perl’s ability to ‘do what I mean’ (DWIM). It took me a couple of minutes to see what was going wrong here – see if you do any better. #!/usr/bin/perl use…
Sound Level Monitoring in Java
For a project I’ve been working on I needed what I thought should be fairly easy to make – a simple widget to monitor an input sound level. I’d never worked with the full javax.sound API before, but assumed that there would be ample documentation to do what I needed. Having started on the project…