1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Best audio file format for system recordings?

Discussion in 'Help' started by paulnye, May 4, 2011.

  1. paulnye

    paulnye
    Expand Collapse
    Guru

    Joined:
    Apr 17, 2011
    Messages:
    203
    Likes Received:
    2
    I recorded my voice with a professional mic and created a high quality .mp3 file but once uploaded, it plays back poor sound quality though the original sounds superb. I have also tried saving as .wav (16 pcm 8000) but that results in poor quality even before I upload it to the PBX. I would almost be better off recording it from a phone extension but I need to add background music. Has anyone mastered the right file type and parameters that produce good results once in the system?
     
  2. rossiv

    rossiv
    Expand Collapse
    Guru

    Joined:
    Oct 26, 2008
    Messages:
    2,639
    Likes Received:
    137
    Unfortunately, the high-quality MP3 is instantly converted into a WAV 16-bit 8000hz because that is the "native" Asterisk system recording format. IIRC, it won't play anything else unless you have it in a certain "codec" format like ulaw or g729 with the respective file extensions.
     
  3. blanchae

    blanchae
    Expand Collapse
    Guru

    Joined:
    Mar 12, 2008
    Messages:
    1,922
    Likes Received:
    4
    8 khz sampling 8 bit
     
  4. paulnye

    paulnye
    Expand Collapse
    Guru

    Joined:
    Apr 17, 2011
    Messages:
    203
    Likes Received:
    2
    blanchae, are you sure its 8bit because from the 'system recordings' page in PIAF it says....
    "Alternatively, upload a recording in any supported asterisk format. Note that if you're using .wav, (eg, recorded with Microsoft Recorder) the file must be PCM Encoded, 16 Bits, at 8000Hz:"
     
  5. blanchae

    blanchae
    Expand Collapse
    Guru

    Joined:
    Mar 12, 2008
    Messages:
    1,922
    Likes Received:
    4
    8 bit 8 khz is g.711 ulaw - can't go wrong with that. I've found that the number one problem if you use 16 bit pcm 8khz is the volume. Too loud and it will create horrible audio.
     

Share This Page