Audio sample files for the SmartSantander audio test

The audio was recorded with an iPhone. The file produced is in .m4a format. It has been converted into .ogg format (you can also use lossless .flac format) and re-sampled at 8000Hz using SoundConverter (Linux). You can also use Audacity (Mac) to do this step. Then it has been converted in raw format with sox (Linux):

    > sox test.ogg -t raw -r 8000 -s -1 test.raw

test it with:

    > play -t raw -r 8000 -s -2 test.raw

use c2enc to encode the .raw file at 2400bps

    > c2enc 2400 test.raw test2400.bit

test it with:

    > c2dec 2400 test2400.bit - | play -t raw -r 8000 -s -2 -

test of simple decoding from stdin with:

    > cat test2400.bit | c2dec 2400 - - | play -t raw -r 8000 -s -2 -

Repeat the encoding step for 1400 and 3200 bit rates.

The received file (.bit) is converted into .wav for immediate playout in a player. Assuming that the received file is rcv_test2400.bit and the original encoding bit rate is 2400bps then the following commands create the .wav file:

    > c2dec 2400 rcv_test2400.bit rcv_test2400.raw
    > sox -r 8000 -s -2
rcv_test2400.raw rcv_test2400.wav

Original files

  1. Original test file in raw format
  2. Original test file in .wav format
  3. Original test file, codec2 1400bps -> raw -> .wav, native codec2 here
  4. Original test file, codec2 2400bps -> raw -> .wav, native codec2 here
  5. Original test file, codec2 3200bps -> raw -> .wav, native codec2 here

1-relay scenario: 1 sender, 1 relay node, 1 receiver

1400bps

  1. packet size 40 bytes
    1. inter-packet time 105ms: .wav, codec2 .bit
    2. inter-packet time 110ms: .wav, codec2 .bit
  2. packet size 50 bytes
    1. inter-packet time 110ms: .wav, codec2 .bit
    2. inter-packet time 120ms: .wav, codec2 .bit
  3. packet size 60 bytes
    1. inter-packet time 120ms: .wav, codec2 .bit
    2. inter-packet time 125ms: .wav, codec2 .bit

2400bps

  1. packet size 40 bytes
    1. inter-packet time 105ms: .wav, codec2 .bit
    2. inter-packet time 110ms: .wav, codec2 .bit
  2. packet size 50 bytes
    1. inter-packet time 110ms: .wav, codec2 .bit
    2. inter-packet time 120ms: .wav, codec2 .bit
  3. packet size 60 bytes
    1. inter-packet time 120ms: .wav, codec2 .bit
    2. inter-packet time 125ms: .wav, codec2 .bit

3200bps

  1. packet size 40 bytes
    1. inter-packet time 105ms: .wav, codec2 .bit
    2. inter-packet time 110ms: .wav, codec2 .bit
  2. packet size 50 bytes
    1. inter-packet time 110ms: .wav, codec2 .bit
    2. inter-packet time 120ms: .wav, codec2 .bit
  3. packet size 60 bytes
    1. inter-packet time 120ms: .wav, codec2 .bit
    2. inter-packet time 125ms: .wav, codec2 .bit

2-relay scenario: 1 sender, 2 relay nodes, 1 receiver

1400bps

  1. packet size 40 bytes
    1. inter-packet time 105ms: .wav, codec2 .bit
    2. inter-packet time 110ms: .wav, codec2 .bit
  2. packet size 50 bytes
    1. inter-packet time 110ms: .wav, codec2 .bit
    2. inter-packet time 120ms: .wav, codec2 .bit
  3. packet size 60 bytes
    1. inter-packet time 120ms: .wav, codec2 .bit
    2. inter-packet time 125ms: .wav, codec2 .bit

2400bps

  1. packet size 40 bytes
    1. inter-packet time 105ms: .wav, codec2 .bit
    2. inter-packet time 110ms: .wav, codec2 .bit
  2. packet size 50 bytes
    1. inter-packet time 110ms: .wav, codec2 .bit
    2. inter-packet time 120ms: .wav, codec2 .bit
  3. packet size 60 bytes
    1. inter-packet time 120ms: .wav, codec2 .bit
    2. inter-packet time 125ms: .wav, codec2 .bit

3200bps

  1. packet size 40 bytes
    1. inter-packet time 105ms: .wav, codec2 .bit
    2. inter-packet time 110ms: .wav, codec2 .bit
  2. packet size 50 bytes
    1. inter-packet time 110ms: .wav, codec2 .bit
    2. inter-packet time 120ms: .wav, codec2 .bit
  3. packet size 60 bytes
    1. inter-packet time 120ms: .wav, codec2 .bit
    2. inter-packet time 125ms: .wav, codec2 .bit