Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Audio importing problems in Unity 5.0.0.b19

Discussion in 'Audio & Video' started by gratyanolteanu, Jan 16, 2015.

  1. gratyanolteanu

    gratyanolteanu

    Joined:
    Nov 18, 2014
    Posts:
    24
    Hi. I have some problems with import audio files.
    I only work with .wav, for quality and because according to the unity documentation, performs best with native format. So I had some audio that are in pm3 fromat, and beacause all my audio file are in wav format, I converted that mp3 audio file in wav and in ogg for testing purpose.
    At importing stage I have problems with wav:
    Error-
    FSBTool ERROR: Cannot encode file, source format (PCM 32bit) is unsupported.
    FSBTool ERROR: The format of the source file is invalid, see output for details.
    FSBTool ERROR: The format of the source file is invalid, see output for details.
    And with ogg,
    FSBTool WARNING: This source file was truncated. Length reported 31025152 bytes, length decoded = 31022336 bytes.

    Tested for all 2 compresed type vorbis and ADCPM and for uncompresed type PCM

    I converted that audio file using freemake audio converter: http://www.freemake.com/free_audio_converter/

    Thanks.
     
    assertor and rakkarage like this.
  2. Aurongroove

    Aurongroove

    Joined:
    Jan 29, 2015
    Posts:
    5
    This is an educated guess but "PCM 32bit unsupported" refers to the bit rate of the sound wave itself(the audio file) not the data compression bitrate i.e., it has nothing to do with the mp3 encoding, but rather the bit rate of the sound file.

    Convert the actual digital soundwave down to 24 bit or 16 bit wave (16 bit is CD quality).

    I've often met problems with various music players and programmes because they do not support 32 bit wave files compressed to mp3.
     
    VicktorOti likes this.
  3. gratyanolteanu

    gratyanolteanu

    Joined:
    Nov 18, 2014
    Posts:
    24
    Yes. If I convert Mp3 to 24 Bit Wav, is ok. But I don't know whay Some original wav or ogg is truncated at import. I think, I'm not shure, the file is 4 bit and 8. But after I converted this files in wav 8, 16 or 24 bit the import works fine.
     
  4. OverLord78

    OverLord78

    Joined:
    Nov 25, 2020
    Posts:
    1
     
  5. VicktorOti

    VicktorOti

    Joined:
    Oct 1, 2020
    Posts:
    5
    Thanks. This worked for me.