I read about this sometime ago where the water flow sound was measured using a mic at various flows to get a reasonable flow rate measurement but can't recall the published paper.
I did find this simple project using a piezo transducer and an Arduino. Though written in C, the build directions are spelled out so it can be converted to PBP.
Bookmarks