zoukankan      html  css  js  c++  java
  • audio audio audio

    Sox

     #

    sox -c 2 -t raw -b 16 - e signed -r 48000 -L /tmp/moise-1677899.wav -c 1 -t raw -b 16 - e signed -r 48000 -L - remix 1
    

      

    The heart of SoX is a library called libSoX. Those interested in extending SoX or using it in other pro-
    grams should refer to the libSoX manual page: libsox(3).
    SoX is a command-line audio processing tool, particularly suited to making quick, simple edits and to batch
    processing. If you need an interactive, graphical audio editor, use audacity(1).
    *
    *
    *
    The overall SoX processing chain can be summarised as follows:
    Input(s) → Combiner → Effects → Output(s)

    The following four characteristics are used to describe the format of audio data such that it can be pro-
    cessed with SoX:
    sample rate
    The sample rate in samples per second (‘Hertz’ or ‘Hz’). Digital telephony traditionally uses a
    sample rate of 8000 Hz (8 kHz), though these days, 16 and even 32 kHz are becoming more com-
    mon. Audio Compact Discs use 44100 Hz (44.1 kHz). Digital Audio Tape and many computer
    systems use 48 kHz. Professional audio systems often use 96 kHz.
    sample size
    The number of bits used to store each sample. Today, 16-bit is commonly used. 8-bit was popular
    in the early days of computer audio. 24-bit is used in the professional audio arena. Other sizes are
    also used.
    data encoding
    The way in which each audio sample is represented (or ‘encoded’). Some encodings have variants
    with different byte-orderings or bit-orderings. Some compress the audio data so that the stored
    audio data takes up less space (i.e. disk space or transmission bandwidth) than the other format
    parameters and the number of samples would imply. Commonly-used encoding types include
    floating-point, μ-law, ADPCM, signed-integer PCM, MP3, and FLAC.
    channels
    The number of audio channels contained in the file. One (‘mono’) and two (‘stereo’) are widely
    used. ‘Surround sound’ audio typically contains six or more channels.

    #

    noise

    SNR

    RMS(root mean square)[均方根]

  • 相关阅读:
    中国登山队员首次登上地球之巅珠穆朗玛峰的时间与意义及影响 (转)
    兰戈利尔人(斯蒂芬.金)
    冥界系列一:麝月 (作者:钱其强)
    席慕容独白
    【心理寓言】小偷在鸡舍偷了只鸡
    美国恐怖故事第一季事件时间表
    大学生逃课的暴笑理由
    原来他们四个也是有故事的男人
    爆笑:七八十年代各地最流行顺口溜 网友:太经典了
    中国的世界之最
  • 原文地址:https://www.cnblogs.com/winditsway/p/14356547.html
Copyright © 2011-2022 走看看