:orphan:

音频示例
********

:link_to_translation:`en:[English]`

本节提供用于音频应用测试的音乐文件，按 `格式`_ 与 `采样率`_ 分类组织。

格式
====

下表列出由 wav 格式转换而来的多种音频格式文件。

长样本
------

本节音频时长为 3 分 7 秒。

双声道
^^^^^^

.. csv-table::
    :header: 序号, 格式, 音频文件, 大小 [kB]
    :widths: 5, 10, 25, 10

    1, aac, `ff-16b-2c-44100hz.aac <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.aac>`_, "2,995"
    2, ac3, `ff-16b-2c-44100hz.ac3 <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.ac3>`_, "2,994"
    3, aiff, `ff-16b-2c-44100hz.aiff <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.aiff>`_, "33,002"
    4, flac, `ff-16b-2c-44100hz.flac <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.flac>`_, "22,406"
    5, m4a, `ff-16b-2c-44100hz.m4a <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.m4a>`_, "3,028"
    6, mp3, `ff-16b-2c-44100hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.mp3>`_, "2,994"
    7, mp4, `ff-16b-2c-44100hz.mp4 <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.mp4>`_, "3,079"
    8, ogg, `ff-16b-2c-44100hz.ogg <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.ogg>`_, "2,612"
    9, opus, `ff-16b-2c-44100hz.opus <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.opus>`_, "2,598"
    10, ts, `ff-16b-2c-44100hz.ts <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.ts>`_, "5,510"
    11, wav, `ff-16b-2c-44100hz.wav <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.wav>`_, "32,229"
    12, wma, `ff-16b-2c-44100hz.wma <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.wma>`_, "3,227"

上述文件合集播放列表：`ff-16b-2c-playlist.m3u <https://dl.espressif.com/dl/audio/ff-16b-2c-playlist.m3u>`_

单声道
^^^^^^

.. csv-table::
    :header: 序号, 格式, 音频文件, 大小 [kB]
    :widths: 5, 10, 25, 10

    1, aac, `ff-16b-1c-44100hz.aac <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.aac>`_, "1,650"
    2, ac3, `ff-16b-1c-44100hz.ac3 <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.ac3>`_, "2,193"
    3, aiff, `ff-16b-1c-44100hz.aiff <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.aiff>`_, "16,115"
    4, amr, `ff-16b-1c-8000hz.amr <https://dl.espressif.com/dl/audio/ff-16b-1c-8000hz.amr>`_, 299
    5, flac, `ff-16b-1c-44100hz.flac <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.flac>`_, "10,655"
    6, m4a, `ff-16b-1c-44100hz.m4a <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.m4a>`_, "1,628"
    7, mp3, `ff-16b-1c-44100hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.mp3>`_, "1,463"
    8, ogg, `ff-16b-1c-44100hz.ogg <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.ogg>`_, "1,558"
    9, opus, `ff-16b-1c-44100hz.opus <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.opus>`_, "1,641"
    10, wav, `ff-16b-1c-44100hz.wav <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.wav>`_, "16,115"
    11, wma, `ff-16b-1c-44100hz.wma <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.wma>`_, "3,151"

上述文件合集播放列表：`ff-16b-1c-playlist.m3u <https://dl.espressif.com/dl/audio/ff-16b-1c-playlist.m3u>`_


短样本
------

若测试需要更短音频，本节提供 16 秒音轨。

双声道
^^^^^^

.. csv-table::
    :header: 序号, 格式, 音频文件, 大小 [kB]
    :widths: 5, 10, 25, 10

    1, aac, `gs-16b-2c-44100hz.aac <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.aac>`_, "241"
    2, ac3, `gs-16b-2c-44100hz.ac3 <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.ac3>`_, "380"
    3, aiff, `gs-16b-2c-44100hz.aiff <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.aiff>`_, "2,792"
    4, flac, `gs-16b-2c-44100hz.flac <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.flac>`_, "1,336"
    5, m4a, `gs-16b-2c-44100hz.m4a <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.m4a>`_, "258"
    6, mp3, `gs-16b-2c-44100hz.mp3 <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.mp3>`_, "254"
    7, mp4, `gs-16b-2c-44100hz.mp4 <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.mp4>`_, "259"
    8, ogg, `gs-16b-2c-44100hz.ogg <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.ogg>`_, "229"
    9, opus, `gs-16b-2c-44100hz.opus <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.opus>`_, "219"
    10, ts, `gs-16b-2c-44100hz.ts <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.ts>`_, "286"
    11, wav, `gs-16b-2c-44100hz.wav <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.wav>`_, "2,792"
    12, wma, `gs-16b-2c-44100hz.wma <https://dl.espressif.com/dl/audio/gs-16b-2c-44100hz.wma>`_, "276"

上述文件合集播放列表：`gs-16b-2c-playlist.m3u <https://dl.espressif.com/dl/audio/gs-16b-2c-playlist.m3u>`_

单声道
^^^^^^

.. csv-table::
    :header: 序号, 格式, 音频文件, 大小 [kB]
    :widths: 5, 10, 25, 10

    1, amr, `gs-16b-1c-8000hz.amr <https://dl.espressif.com/dl/audio/gs-16b-1c-8000hz.amr>`_, "25"
    2, aac, `gs-16b-1c-44100hz.aac <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.aac>`_, "137"
    3, ac3, `gs-16b-1c-44100hz.ac3 <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.ac3>`_, "190"
    4, aiff, `gs-16b-1c-44100hz.aiff <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.aiff>`_, "1,397"
    5, flac, `gs-16b-1c-44100hz.flac <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.flac>`_, "645"
    6, m4a, `gs-16b-1c-44100hz.m4a <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.m4a>`_, "258"
    7, mp3, `gs-16b-1c-44100hz.mp3 <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.mp3>`_, "127"
    8, ogg, `gs-16b-1c-44100hz.ogg <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.ogg>`_, "144"
    9, opus, `gs-16b-1c-44100hz.opus <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.opus>`_, "132"
    10, wav, `gs-16b-1c-44100hz.wav <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.wav>`_, "1,497"
    11, wma, `gs-16b-1c-44100hz.wma <https://dl.espressif.com/dl/audio/gs-16b-1c-44100hz.wma>`_, "276"

上述文件合集播放列表：`gs-16b-1c-playlist.m3u <https://dl.espressif.com/dl/audio/gs-16b-1c-playlist.m3u>`_


采样率
======

本节文件由同一音源按 MPEG Layer III 规范中的多种采样率转换得到，提供单声道与立体声版本，位深均为 16 bit。

.. list properties of mp3 files in Linux:
     mp3info -p "%f, %Q, %L-%.1v, %o, %r, %k\n" *.mp3

.. csv-table::
    :header: , 采样率, MPEG III, 声道, 码率, 大小
    :widths: 30, 20, 10, 20, 10, 10
    :header-rows: 1

    音频文件, [Hz], ver, , [kbit/s], [kB]
    `ff-16b-1c-8000hz.mp3  <https://dl.espressif.com/dl/audio/ff-16b-1c-8000hz.mp3>`_,   8000, 2.5, mono,  8, 183
    `ff-16b-1c-11025hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-1c-11025hz.mp3>`_, 11025, 2.5, mono, 16, 366
    `ff-16b-1c-12000hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-1c-12000hz.mp3>`_, 12000, 2.5, mono, 16, 366
    `ff-16b-1c-16000hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-1c-16000hz.mp3>`_, 16000, 2,   mono, 24, 548
    `ff-16b-1c-22050hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-1c-22050hz.mp3>`_, 22050, 2,   mono, 32, 731
    `ff-16b-1c-24000hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-1c-24000hz.mp3>`_, 24000, 2,   mono, 32, 731
    `ff-16b-1c-32000hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-1c-32000hz.mp3>`_, 32000, 1,   mono, 48, "1,097"
    `ff-16b-1c-44100hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-1c-44100hz.mp3>`_, 44100, 1,   mono, 64, "1,462"
    `ff-16b-2c-8000hz.mp3  <https://dl.espressif.com/dl/audio/ff-16b-2c-8000hz.mp3>`_,   8000, 2.5, joint stereo, 24, 549
    `ff-16b-2c-11025hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-2c-11025hz.mp3>`_, 11025, 2.5, joint stereo, 32, 731
    `ff-16b-2c-12000hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-2c-12000hz.mp3>`_, 12000, 2.5, joint stereo, 32, 731
    `ff-16b-2c-16000hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-2c-16000hz.mp3>`_, 16000, 2,   joint stereo, 48, "1,097"
    `ff-16b-2c-22050hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-2c-22050hz.mp3>`_, 22050, 2,   joint stereo, 64, "1,462"
    `ff-16b-2c-24000hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-2c-24000hz.mp3>`_, 24000, 2,   joint stereo, 64, "1,462"
    `ff-16b-2c-32000hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-2c-32000hz.mp3>`_, 32000, 1,   joint stereo, 96, "2,194"
    `ff-16b-2c-44100hz.mp3 <https://dl.espressif.com/dl/audio/ff-16b-2c-44100hz.mp3>`_, 44100, 1,   joint stereo, 128, "2,924"

上述文件合集播放列表：`ff-16b-mp3-playlist.m3u <https://dl.espressif.com/dl/audio/ff-16b-mp3-playlist.m3u>`_

原始音乐文件："Furious Freak" 与 "Galway"，Kevin MacLeod (incompetech.com)，采用 Creative Commons: By Attribution 3.0 许可，http://creativecommons.org/licenses/by/3.0/
