File: format.md

package info (click to toggle)
qtox 1.17.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,764 kB
  • sloc: cpp: 40,127; xml: 10,393; sh: 2,398; ansic: 1,520; objc: 208; perl: 28; makefile: 13
file content (17 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.