calc_amplitude can be scaled (0..8 bits)
calc_amplitude - comment added