Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. Unity 2017.3 has arrived! Read about it here.
    Dismiss Notice
  3. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Flac audio import support, it's 2017 why no flac?

Discussion in 'Editor & General Support' started by larku, May 11, 2017.

  1. larku

    larku

    Joined:
    Mar 14, 2013
    Posts:
    1,407
    Storing WAV files in a project for import seems pretty silly when we could use flac for the same lossless quality.

    Flac is an open format that would be trivial to implement as an importer for Unity.

    Why don't we have it? What's the deal?

    Please hear us Unity, flac is wanted, it's 2017, why are we using WAV for lossless?? Makes no sense at all.

    There's a feature request here: https://feedback.unity3d.com/suggestions/add-flac-audio-support please vote for it if you want flac support.

    We want flac :(
     
    Last edited: Jul 17, 2017
    SharonLougheed, MrEsquire and RemDust like this.
  2. larku

    larku

    Joined:
    Mar 14, 2013
    Posts:
    1,407
    Even better would be to expose an API so we could provide any codecs we choose :)

    Any chance Unity?
     
  3. Dreamwriter

    Dreamwriter

    Joined:
    Jul 22, 2011
    Posts:
    472
    I doubt you’ll ever get an API, since every different platform has different audio decoding libraries written in native code. For now, have you tried encoding your FLAC into an .Ogg file? The .Ogg container supports FLAC, maybe Unity has an up to date .Ogg library that will handle FLAC playback.

    Note that iOS doesn’t support FLAC.
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    4,319
    I don't think we wants to play flacs at runtime, he just wants to be able to use FLAC in his project as his lossless format that will then be converted to whatever platform appropriate format Unity will convert it to.

    Threw some votes on feedback, I'd like to see flac support too.
     
    larku likes this.
  5. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    2,526
    I gave it a bunch of votes too. FLAC can reduce file sizes anything from 20% to 80% (averaging about 30%), which is handy for shared projects.
     
    larku likes this.