Best way to compress wav files?

Sonic Angel Knight

Well-Known Member
OP
Member
Joined
May 27, 2016
Messages
14,405
Trophies
1
Location
New York
XP
12,966
Country
United States
So lately I been trying to start a project. Basically i have a build of SNES9X that supports MSU-1, so if anyone know what that means, you can use cd audio in snes games naively by converting wav to pcm format. The format is basic.
  • 16-Bit audio
  • sample rate 44100
  • 2 channels (Or 1 stereo channel)
Is not some super amazing project to this community, just a personal one, is only to replace music that is all. I managed to successfully do the conversion with with proper looping using some tools, the only problem is the file is like 26MB and is quite big for modern audio files that people use especially since the song isn't over 3 Minutes. I want to be able to get smallest file size possible with good quality and volume. If anyone know of a good way to compress wav files please explain.
 

Enkuler

Well-Known Member
Newcomer
Joined
Jan 25, 2017
Messages
97
Trophies
0
XP
456
Country
France
ffmpeg -i input.wav -codec:a libmp3lame -qscale:a 1 output.mp3

edit: didn't see that you wanted pcm, here
ffmpeg -i file.wav -f s16be -ac 2 -ar 44100 -acodec pcm_s16be file.raw
 
Last edited by Enkuler,
  • Like
Reactions: VinsCool

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/TECN1Gm7j3A?si=XwYKYHKwxoMNdFqN