Skip to main content

A DSP Toolkit

Reason this release was yanked:

User should not update via PyPi anymore

Project description

Software for HiFiBerry boards equipped with DSP. This package can be used to read/write data to HiFiBerry DSP boards using the Beocreate TCP server.

Installation

Before installing the dsptoolkit, you need to have a working Python 3 installation (>=3.5) and a working pip.

You can then install the toolkit by just running

sudo pip3 install –upgrade hifiberrydsp

This will only install the software, but not activate the server. Depending on your system, you might need to create a startup script or a systemd unit file for this.

If you’re using a Debian based system (e.g. Debian, Raspbian), there is a script that does all the work for you. Just run the following command:

bash <(curl https://raw.githubusercontent.com/hifiberry/hifiberry-dsp/master/install-dsptoolkit)

sigmatcpserver

This server runs in background and provides a TCP interface (port 8089) to access DSP functions. It is compatible with SigmaStudio. That means you can directly deploy DSP programs from SigmaStudio and change parameters online.

The server automatically dumps the so-called parameter RAM to the file system when it terminates. On startup, it checks for a parameter RAM file and if it exists it writes it back to the parameter memory. This ensures that parameters like volume controls, filter parameters, switch settings will be automatically restored even if they are not saved in the EEPROM.

The server accepts the following command line parameters:

-v

Verbose output.

--alsa

Create an ALSA volume control that is synced with the volume control of the running DSP program

Command line utility

The dsptoolkit command is the main command line tool to communicate with the DSP TCP server. The command line parameters are documented in doc/dsptoolkit.md

REW integration

The software can be used to push filters created by Room Equalisation Wizard (REW) to the DSP. Have a look at the guide in /doc/rew-basics.md

DSP profile format

DSP profiles can be generated directly in SigmaStudio. However, to enable the full potential of DSP Profiles and allow DSPToolkit to directly control the DSP program, you need to add some additional metadata to the XML file. The process to create a DSP profile is documented in /doc/dspprofiles.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hifiberrydsp-0.12.1.tar.gz (26.4 kB view details)

Uploaded Source

File details

Details for the file hifiberrydsp-0.12.1.tar.gz.

File metadata

  • Download URL: hifiberrydsp-0.12.1.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hifiberrydsp-0.12.1.tar.gz
Algorithm Hash digest
SHA256 e5dbbb0416b37c5465ede4055fde71c761407b44d9246ecd8003356094972368
MD5 b7dad83f160f5915d69f8803c6324dc8
BLAKE2b-256 e9fc5844905eabfe5640bdb33716f376f70beb131853fcbb2866a2ec2c177527

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page