MyDSPi is an easy to
implement solution for audio processing and amplification with a
Raspberry Pi (2 and 3) audio output.
It's intended to be a cost effective solution to make active speakers.
Electronic circuit is based on Analog Device ADAU1701 DSP and Texas Instrument TPA3118 amplifier.
More information avaialble at mydspi.v2ale.com
It's intended to be a cost effective solution to make active speakers.
Electronic circuit is based on Analog Device ADAU1701 DSP and Texas Instrument TPA3118 amplifier.
More information avaialble at mydspi.v2ale.com
MyDSPi is designed to be
compact and mounted over a Raspberry Pi 2 board. Hardware is split over
2 printed circuit boards stack one above the other.
The first board is dedicated to DSP processing and Digital to Analog signal convertion from Raspberry Pi audio output. Audio must be output from Raspberry Pi through I2S output pins.
DSP is controlled by Raspberry Pi using I2C interface and requires no advanced DSP programming to have signal processed and can be easily configured by editing a configuration file.
The DSP work at fixed sampling frequency of 48000 Hz.
Output channels are transmitted to the amplifier board through I2S protocol.
The second board host Digital to Analog converter that feed the amplifier with analog signal for amplification. Power supply input circuit is also located on this PCB, which can accept any supply voltage from 12 to 24 volts to feed all system power supply (including the Raspberry Pi).
For more details about each board, please refer to :
The first board is dedicated to DSP processing and Digital to Analog signal convertion from Raspberry Pi audio output. Audio must be output from Raspberry Pi through I2S output pins.
DSP is controlled by Raspberry Pi using I2C interface and requires no advanced DSP programming to have signal processed and can be easily configured by editing a configuration file.
The DSP work at fixed sampling frequency of 48000 Hz.
Output channels are transmitted to the amplifier board through I2S protocol.
The second board host Digital to Analog converter that feed the amplifier with analog signal for amplification. Power supply input circuit is also located on this PCB, which can accept any supply voltage from 12 to 24 volts to feed all system power supply (including the Raspberry Pi).
For more details about each board, please refer to :
Once install is done the
MyDSPi software run at start-up to load default DSP parameters and then
load the parameters read from the configuration file.
The default parameters of
the DSP are right now a 2 input / 2
output configuration with a default crossover and no EQ values loaded.
Parameter customization is done throught the MyDSPi.conf file and can
configure :
- Input channels volume
controls
- Input channels mute controls
- 2 channels crossover
- output channels Delay (up to 412 samples)
- Ouput channel mute control
- Ouput channel phase control
- Output channel volume control
- Input channels mute controls
- 2 channels crossover
- output channels Delay (up to 412 samples)
- Ouput channel mute control
- Ouput channel phase control
- Output channel volume control
Installation of MyDSPi is tested and developped for Linux Raspbian Jessie distribution.
The following step describes only the installation major steps.
- Setup I2C (
https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c)
- Setup I2S soundcard (following https://www.hifiberry.com/build/documentation/hifiberry-software-configuration/)
-
Run installation script (see https://github.com/V2Ale/MyDSPi/tree/master/Software/Install)
sudo nano /etc/default/MyDSPi.confFor more details about configuration file rules, please refer to https://github.com/V2Ale/MyDSPi/tree/master/Software/Install/config
Support 5.1 configuration
Support 7.1 configuration
Support quadriphonic configuration