dagargo / overwitch

JACK client for Overbridge devices
GNU General Public License v3.0
127 stars 15 forks source link

Allow different gain for every track #28

Closed dagargo closed 2 years ago

dagargo commented 2 years ago

The Digitakt tracks 1-8 are lower in volume than the main L-R.

Mains are in the range [1.0, -1.0] while tracks are approximately in the [0.25, -0.25] range regardless of the volume.

As Overbridge data is in [MAX_INT_32 - 1, -MAX_INT_32], the scaling code could easily accommodate this factor per output track.

dagargo commented 2 years ago

Implemented in 1c52fb3dd53c9168dce7a6477aab75be4c205615.

Only used with the Digitakt but probably useful for every device.

For the people interested in this, full instructions are in the README.md.

dagargo commented 2 years ago

Improved in 74d5cea771e7ea39b24a7fb0ae53489499c02106.

When in verbose mode, maximum and minimum sample values are printed at the end for the dumped tracks. This is useful to measure the configured track gains.

dagargo commented 2 years ago

I'm closing this as solved.

For anyone interested in this, it would be nice if you could check this for other devices than the Digitakt.