Skip to content
Audio Monitoring Software designed to run on a Raspberry pi with touchscreen
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
documents
external
manifest_creator
pam2
pambase
pamfft
pamlevel
pamm
pamplugin
pamupdatemanager
pamupdateserver
plugins
templates
wxspam
.gitignore
CMakeLists.txt
LICENSE
README.md
pam2.workspace
pam2.workspace.mak

README.md

pam

Open Source Audio Monitoring Software designed for (but not limited to) a Raspberry Pi with touchscreen. The application provides:

  • A number of useful audio monitoring tools, including:
    • Digital meters of various flavours (BBC PPM, EBU, Nordic, VU etc)
    • "Moving Coil" meters of various flavours
    • Lissajou
    • Spectrum Analyser
    • R128 Loudness
    • Scope
  • A number of audio test tools, including:
    • Channel delay measurement
    • Distortion measurements
    • Level monitoring
    • Peak Sample Count
    • Recording of incoming audio
    • LTC detection
  • An audio generator that can output audio from a number of sources, including:
    • The input source
    • A file
    • A simple tone
    • A tone sequence
    • LTC

PAM can take in audio from a soundcard or Pi HAT or from an AES67 stream. There is both DNS-SD and SAP discovery of AES67 streams and also an NMOS version which complies to IS04/IS05.

For more information please look at the help files contained in the documents directory

Prerequisites

Core libraries required

For UpdateManager

For UpdateWebServer

To install these libraries on Raspbian
sudo apt-get update
sudo apt-get install libwxgtk3.0-dev
sudo apt-get install portaudio19-dev
sudo apt-get install libsndfile1-dev
sudo apt-get install libsamplerate0-dev
sudo apt-get install libavahi-client-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libmicrohttpd-dev

Building PAM

Workspace and project files are supplied for Code::Blocks IDE. There are Debug and Release builds for Windows and Linux There are also CMakeLists.txt files. They have been tested on Linux using GCC

Codeblocks http://www.codeblocks.org/

To build in Code::Blocks

Build live555 static libraries

  • Open external/live/live.workspace in Codeblocks
  • Fill in the necessary global variables
  • Build the workspace

Buld pam2 application and libraries

  • Open pam2.workspace in Codeblocks
  • Fill in the necssary global variables
  • Build the workspace

To build using CMake (currently on Linux only)

cd {pam directory}/build
cmake ..
cmake --build .
cmake --build . --target install

This will install the executable pam2 in /usr/local/bin and all necessary libraries in /usr/local/lib/pam2

It is possible that /usr/local/lib is not in your path. If so then do the following:

  • Create a file called pam2.config in directory /etc/ld.so.conf.d
  • Add the following line to the file
/usr/local/lib/pam2
  • Run the following command to update the library path
sudo ldconfig

Setting Up

PAM expects a few files to live in a specific directory:

  • If it doesn't exist create a directory called pam in your home directory.
  • Copy the contents of the document directory to the pam directory.
You can’t perform that action at this time.