libopenmpt  0.6.0-pre.0+r13424
cross-platform C++ and C library to decode tracked music files
Render param indices

Parameter index to use with openmpt_module_get_render_param() and openmpt_module_set_render_param() More...

Macros

#define OPENMPT_MODULE_RENDER_MASTERGAIN_MILLIBEL   1
 Master Gain. More...
 
#define OPENMPT_MODULE_RENDER_STEREOSEPARATION_PERCENT   2
 Stereo Separation. More...
 
#define OPENMPT_MODULE_RENDER_INTERPOLATIONFILTER_LENGTH   3
 Interpolation Filter. More...
 
#define OPENMPT_MODULE_RENDER_VOLUMERAMPING_STRENGTH   4
 Volume Ramping Strength. More...
 

Detailed Description

Parameter index to use with openmpt_module_get_render_param() and openmpt_module_set_render_param()

Macro Definition Documentation

◆ OPENMPT_MODULE_RENDER_INTERPOLATIONFILTER_LENGTH

#define OPENMPT_MODULE_RENDER_INTERPOLATIONFILTER_LENGTH   3

Interpolation Filter.

The related value represents the interpolation filter length used by the libopenmpt mixer.
The default value is 0, which indicates a recommended default value.
The supported value range is [0,inf). Values greater than the implementation limit are clamped to the maximum supported value.
Currently supported values:

  • 0: internal default
  • 1: no interpolation (zero order hold)
  • 2: linear interpolation
  • 4: cubic interpolation
  • 8: windowed sinc with 8 taps

◆ OPENMPT_MODULE_RENDER_MASTERGAIN_MILLIBEL

#define OPENMPT_MODULE_RENDER_MASTERGAIN_MILLIBEL   1

Master Gain.

The related value represents a relative gain in milliBel.
The default value is 0.
The supported value range is unlimited.

◆ OPENMPT_MODULE_RENDER_STEREOSEPARATION_PERCENT

#define OPENMPT_MODULE_RENDER_STEREOSEPARATION_PERCENT   2

Stereo Separation.

The related value represents the stereo separation generated by the libopenmpt mixer in percent.
The default value is 100.
The supported value range is [0,200].

◆ OPENMPT_MODULE_RENDER_VOLUMERAMPING_STRENGTH

#define OPENMPT_MODULE_RENDER_VOLUMERAMPING_STRENGTH   4

Volume Ramping Strength.

The related value represents the amount of volume ramping done by the libopenmpt mixer.
The default value is -1, which indicates a recommended default value.
The meaningful value range is [-1..10].
A value of 0 completely disables volume ramping. This might cause clicks in sound output.
Higher values imply slower/softer volume ramps.