Skip to content
Bubbleometer - Counting CO2 bubbles from fermentation via audio
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


I developed a very simplistic algorithm to detect bubbles via audio from an airlock during fermentation. The airlock is simply filled with water, which makes bubbles and therefore bubble sounds, when CO2 passes through.

See for more information.


  • Python3
  • Matplotlib
  • Numpy
  • Scipy
  • Pyaudio - for live graphing demos


On the PC doing the recordings run:


Once you have the recordings:

Place .wav files in folder called wav/ in the same directory as these python scripts. Copy the file generated from into the wav/ directory.

Try or to generate graphs.

To get correct dates from Matplotlib I had to create


backend      : Qt5Agg
timezone     : Europe/London 
You can’t perform that action at this time.