Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
/ PiPEQ Public archive

A Parametric Equalizer on Raspberry Pi

License

Notifications You must be signed in to change notification settings

ebiiim/PiPEQ

Repository files navigation

I'm working on a better implementation so this is no longer maintained.

See github.com/ebiiim/kani 👀

Aug. 2021

PiPEQ - A Parametric Equalizer on Raspberry Pi

MIT License

image

Usage

Install

curl -L -O https://github.com/ebiiim/PiPEQ/releases/download/v0.3.0/PiPEQ-v0.3.0-linux-armv7l.tar.gz
tar -zxvf PiPEQ-v0.3.0-linux-armv7l.tar.gz
cd PiPEQ
./install.sh

Prepare

pipeq-get-devices # get the device id
vi config.txt # edit the config file

Play

pipeq ./config.txt

Config.txt

[global]
buffer_bytes = 4096
debug = true

[input]
device_id = -1  # -1: default device
rate = 48000
bit = 16

[output]
device_id = -1  # -1: default device
rate = 48000
bit = 16

[eq]
left.type = "roomeq"  # "roomeq": the Room EQ Wizard's format
left.path = "left.txt"  # EQ config file for the left channel
right.type = "roomeq"
right.path = "right.txt"

[curve]
plot = true  # display EQ curves
rotate = 0  # rotate EQ curves by [0, 90, 180, 270] degrees
wait_for_plot = 5

Uninstall

./uninstall.sh

Development

Install Dependencies

sudo apt update
sudo apt upgrade
sudo apt install git python3-pip python3-venv python3-dev python3-tk
sudo apt install portaudio19-dev uuid-runtime
sudo apt install sox gnuplot

Install PyInstaller on Raspberry Pi

git clone https://github.com/pyinstaller/pyinstaller.git
cd pyinstaller
git checkout v3.4
cd bootloader
python ./waf all
cd ..
pip3 install .

Build PiPEQ

git clone https://github.com/ebiiim/PiPEQ.git && cd PiPEQ
pip3 install -r requirements.txt
./build.sh
cd dist

License

MIT

The following applications are called at runtime:

Changelog

  • 2019.04.20 v0.3.0
    • improve stability
  • 2018.11.10 v0.2.0
    • add EQ curves view
  • 2018.11.06 v0.1.0
    • initial release