boostWavVolume

fun boostWavVolume(wavData: ByteArray, decibelBoost: Int, misnapMibiData: MiSnapMibiData? = null): ByteArray

Increases the volume of a WAV formatted audio data. NOTE: This is for display purpose only and should NOT be performed on the audio file sent to the backend.

Return

The WAV formatted audio file with the increased volume.

Parameters

wavData

The WAV formatted audio data to boost.

decibelBoost

The number of decibels to increase the audio by.

misnapMibiData

The mibi data to encode in the file.

Throws

when there is an issue creating the WAV formatted audio.