WAV ⇄ FLAC Converter
Overview: A tool for bidirectional conversion between WAV and FLAC files. Supports preservation of metadata (tag information) and cover art images.
Main Features
- WAV → FLAC conversion
- FLAC → WAV conversion
- Metadata preservation (title, artist, album, date, genre, track number, comment, album artist, composer)
- Cover art image preservation
- Sampling frequency unchanged from source file
- Automatic bit depth detection (16bit/24bit/32bit)
- Drag & drop operation support
Distribution Files
wav_alac_converter.exe
wav_alac_converter_readme.html
wav_alac_converter_readme_en.html
ffmpeg_install.bat
System Requirements
- OS: Windows 10 / 11 (64-bit)
- FFmpeg installation (can be easily installed using the included
ffmpeg_install.bat)
How to Use
- Drag and drop WAV or FLAC files you want to convert onto
wav_alac_converter.exe (or its shortcut)
- When conversion is complete, the converted file will be created in the same folder as the original file
- Multiple files can be dropped at once
Conversion Details
WAV → FLAC Conversion
- Compression level: 0.625 (standard FLAC compression ratio)
- Bit depth: Maintains original WAV file bit depth (16bit/24bit/32bit)
- Metadata: Read from RIFF INFO chunk and ID3v2 tags, converted to FLAC tags
- Cover art: Obtained from ID3v2 embedded images in WAV file, or image files in the same folder
Cover Art Search Order:
- ID3v2 embedded image in WAV file
[filename]_cover.jpg / [filename]_cover.png
cover.jpg / cover.png
folder.jpg / folder.png
FLAC → WAV Conversion
- Bit depth: Maintains original FLAC file bit depth (16bit/24bit/32bit)
- Metadata: Read from FLAC tags, written to RIFF INFO chunk and ID3v2 tags
- Cover art: FLAC embedded image is embedded in WAV file's ID3v2 tag
Supported Metadata
| Metadata Item |
FLAC Tag |
RIFF INFO |
ID3v2 Frame |
| Title |
title |
INAM |
TIT2 |
| Artist |
artist |
IART |
TPE1 |
| Album |
album |
IPRD |
TALB |
| Date |
date |
ICRD |
TDRC |
| Genre |
genre |
IGNR |
TCON |
| Track Number |
tracknumber |
ITRK |
TRCK |
| Comment |
comment |
ICMT |
COMM |
| Album Artist |
albumartist |
IAAR |
TPE2 |
| Composer |
composer |
IMUS |
TCOM |
Output File Names
- Basic:
original_filename.new_extension
- If file with same name exists:
original_filename_converted.new_extension
Examples:
song.wav → song.flac
music.flac → music.wav
track.wav (when track.flac already exists) → track_converted.flac
Error Handling
- If file is not found, an error message for that file will be displayed
- Unsupported format files will be skipped
- If an error occurs during conversion, an error message will be displayed and processing will continue with the next file
Technical Specifications
WAV File Metadata Structure
- RIFF INFO Chunk: Standard metadata format for WAV files
- ID3v2 Tags: Supports more metadata and cover art embedding
- This script supports both formats for reading and writing
FLAC File Metadata Structure
- Vorbis Comments: FLAC standard metadata format
- Picture Block: Cover art image embedding
Limitations
- Supported formats: WAV and FLAC only
- Batch conversion of multiple files is possible, but folder drag & drop is not supported
- Metadata encoding is UTF-8
- Cover art image formats support JPEG and PNG
License
This script is free to use and modify.