Skip to content
 
 

Repository files navigation

rew2streammagic

rew2streammagic is a Python tool to parse Room EQ Wizard (REW) equalizer description files (Equalizer APO file format) and apply the extracted equalizer settings to Cambridge Audio StreamMagic devices.

Features

  • Parse REW filter files and extract the first seven equalizer bands
  • Supports various filter types (PEAKING, LOWSHELF, HIGHSHELF, LOWPASS, HIGHPASS)
  • Maps REW filter types to StreamMagic-compatible types
  • Communicates with StreamMagic devices to set user EQ parameters

Usage

  1. Prepare a REW filter file (see example_data/ for samples).

  2. Install dependencies

    poetry install
  3. Run the tool:

    poetry run python -m rew2streammagic.main <path_to_eq_file> [--ip IP_ADDRESS]

    Where:

    • <path_to_eq_file> is the path to your REW equalizer file
    • --ip IP_ADDRESS is optional and specifies the IP address of your StreamMagic device (defaults to 192.168.1.29)
  4. The tool will parse the file and send the EQ settings to your StreamMagic device, if it is supported by the API version.

Examples

Using the default IP address (192.168.1.29):

poetry run python -m rew2streammagic.main example_data/default.txt

Using a custom IP address:

poetry run python -m rew2streammagic.main example_data/default.txt --ip 192.168.1.100

To see all available options:

poetry run python -m rew2streammagic.main --help

Example

See the example_data/ folder for sample input files.

Requirements

Warning

The changes required for equalizer support are not yet released in aiostreammagic and are only available in this feature branch

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages