Device Details

Device Overview

Name/Version: dB2linear 1.0
Author: floszk  
Description: szk.DB2LINEAR gives polynomials that can be used to convert a dB volume value to 0-up-to-1 linear range, in respect of the Ableton Live’s Mixer behaviour when observed by M4L (that is not well documented … unless I missed something). It proposes conversions to control meters from « realistic » volume values instead of twisting and swinging with 0-to-1 ranges.

Device location
Put the device on any track.

Observe / Remote volume track
Just monitor or move the track volume to have an idea of the Observer and Object returned values.

Set volume with a db value ?
Live.Object track volume setting needs a value between 0 and 1. The question is : how to convert a db value [-60 6 db] to a 0-to-1 value ? We empirically checked the correspondence between these different scales and fit the response with polynomials. Use the plots, play with them and watch results. To limit CPU usage we limited polynomials to 2nd and 3rd degrees. Expressions are given below. You can also get the empirical values in simple text format for your own (better ?) calculations.

For more information please visit : http://flo.szk.fr/m4l/
 

Device Details

Tags utility, other
Live Version Used: 9.0.2
Max Version Used: 6.1.2
Date Added: Jun 08 2015 03:59:08
Date Last Updated: Sep 14 2015 06:27:22
Device Type: midi_device
Download URL (report link) https://sellfy.com/szkdevices
License (more info): AttributionNonCommercialShareAlike


Login to comment on this device.

[ browse device library ]