Skip to content

A crude python library implementation of the CVR DSP1004 amp UDP API. Based on reverse-engineering.

Notifications You must be signed in to change notification settings

opctim/cvr-amp-api-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

CVR Amplifier API

A Python library for controlling the CVR Professional Audio 19" Rack Amplifiers over UDP. Has been tested with a CVR DSP-1004.

Disclaimer

This is a proof-of-concept and is not finished.

This library is based on reverse engineering of the network communication protocol used by a CVR DSP-1004 amplifier. The implementation was created by analyzing UDP packets and decompiled C# code from the original control software.

  • Not officially supported: This is not an official CVR product
  • No warranty: Use at your own risk
  • Hardware compatibility: Only tested with CVR DSP-1004, may not work with other models

Features

The library implements basic control functions:

  • Output gain control
  • Phase inversion (polarity)
  • Channel naming
  • Delay adjustment
  • High-pass filter (HPF) enable/disable and frequency
  • Low-pass filter (LPF) enable/disable and frequency
  • "Commit changes" functionality
  • UDP framing with checksums
  • Packet fragmentation and reassembly

This library can not read data from the amp.

Basic Usage

See example.py for a complete usage example.

Ensure the amplifier is reachable on the same network. You do not need to change the port settings.

Technical Details

This implementation is based on:

  • Wireshark captures of the original control software
  • Reverse engineering of decompiled C# code
  • Trial-and-error testing with actual hardware

Function codes are identified but many are not yet implemented. The protocol uses a custom framing format with fragmentation support for larger messages.

About

A crude python library implementation of the CVR DSP1004 amp UDP API. Based on reverse-engineering.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages