Skip to content

Better audio conversion #47

@Number969

Description

@Number969

Hello!

I couldn't help but notice that the audio quality for the nodes isn't the same as on the playstation. As it was stated before in a pull request, using ffmpeg to convert the files applies a low pass filter to remove aliasing. You could tell ffmpeg to remove the filter but that ignores why the filter is there in the first place and creates artifacts.

By resampling the audio first to 44.1khz with something like r8brain and then converting with ffmpeg, the audio is correctly dithered, no (audible) artifacts are introduced and the frequency spectrum is preserved.

Here is how Cou001 sounds currently:

LAIN01.XA.0.c7687329.mp4

Here is the same node with my proposed approach:

LAIN01.XA.0.c7687329.mp4

Not only that, but the files are almost the same size, with all of the audio only nodes in the game currently being 166MB total while mine are 170MB.

I'd be willing to send the files if you're interested, considering I already converted them. If not, follow this approach to get the same results.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions