项目作者: anfractuosity

项目描述 :
Bubbleometer - Counting CO2 bubbles from fermentation via audio
高级语言: Python
项目地址: git://github.com/anfractuosity/bubbleometer.git
创建时间: 2017-07-02T23:47:01Z
项目社区:https://github.com/anfractuosity/bubbleometer

开源协议:

下载


bubbleometer

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 https://www.anfractuosity.com/projects/bubbleometer/ for more information.

Requirements

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

Example

On the PC doing the recordings run:

  1. ./record.sh
  2. ./timestamp_recordings.sh

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 timestamp_recordings.sh into the wav/ directory.

Try bubbleometer_fft.py or bubbleometer_envelope.py to generate graphs.

To get correct dates from Matplotlib I had to create

.config/matplotlib/matplotlibrc

  1. backend : Qt5Agg
  2. timezone : Europe/London