1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/audio/format.md
sudden6 5d65ab3876
fix(audio): specify format for sounds and make sounds follow it
This should reduce the problem that some sounds are very silent and some are loud.
2018-09-20 17:15:44 +02:00

18 lines
501 B
Markdown

To keep sounds consistent a sound file should follow the parameters listed
below.
# Format
Internally qTox needs PCM with signed 16Bit integers and a samplerate of
48kHz and one channel (mono).
You can use ffmpeg to create those files as follows:
```
ffmpeg -i notification.wav -f s16le -acodec pcm_s16le -ac 1 -ar 48000 notification.s16le.pcm
```
# Normalization
All sound files should have their maximum at -1.0 dB.
To normalize them correctly you can use Audacity with the "Normalize" plugin.