added USE_CONSTANT_MAX_AMPLITUDE and CONSTANT_MAX_AMPLITUDE_TO_USE for movies