Convert AU to ALAC

Drag and drop files here or click to select.
Max file size 100mb.
Uploading progress:

AU vs ALAC Format Comparison

Aspect AU (Source Format) ALAC (Target Format)
Format Overview
AU
Sun/NeXT Audio Format

AU (Sun Audio) is an audio file format introduced by Sun Microsystems in the late 1980s for Unix workstations. It stores audio data as simple PCM samples or compressed using mu-law/A-law encoding, with a minimal header structure. AU became the standard audio format for Java, NeXT computers, and Solaris systems, and remains supported across Unix/Linux platforms.

Lossless Legacy
ALAC
Apple Lossless Audio Codec

Apple Lossless (ALAC) is a lossless audio compression codec developed by Apple Inc. in 2004 and open-sourced in 2011. It compresses audio to approximately 50-60% of original size while preserving bit-perfect quality. ALAC is the native lossless format for the Apple ecosystem, supported natively on all Apple devices, iTunes, and Apple Music.

Lossless Modern
Technical Specifications
Sample Rates: 8 kHz – 48 kHz (commonly 8 kHz, 22.05 kHz, 44.1 kHz)
Bit Depth: 8-bit mu-law, 8/16/24/32-bit PCM, 32/64-bit float
Channels: Mono, Stereo, Multichannel
Codec: PCM, mu-law, A-law, ADPCM
Container: AU/SND (.au, .snd)
Sample Rates: 1 kHz – 384 kHz
Bit Depth: 16, 20, 24, 32-bit
Channels: Mono to 7.1 surround (8 channels)
Codec: Apple Lossless (adaptive linear prediction)
Container: M4A (.m4a), CAF (.caf), MP4 (.mp4)
Audio Encoding

AU uses a simple binary header followed by raw audio data. The most common encoding is mu-law (8-bit logarithmic) for telephony or linear PCM for higher quality:

# Encode to AU with mu-law (8-bit, 8 kHz)
ffmpeg -i input.wav -codec:a pcm_mulaw \
  -ar 8000 -ac 1 output.au

# Encode to AU with linear PCM (16-bit)
ffmpeg -i input.wav -codec:a pcm_s16be \
  -ar 44100 output.au

ALAC uses adaptive linear prediction and entropy coding to achieve lossless compression, typically 40-60% size reduction:

# Encode to ALAC in M4A container
ffmpeg -i input.wav -codec:a alac output.m4a

# ALAC from any source format
ffmpeg -i input.flac -codec:a alac \
  output.m4a
Audio Features
  • Metadata: Minimal — optional annotation field in header
  • Album Art: Not supported
  • Gapless Playback: Inherent — no encoder padding in PCM mode
  • Streaming: Not designed for streaming
  • Seeking: Fast — fixed-size frames for PCM data
  • Chapters: Not supported
  • Metadata: Full iTunes/MP4 tags (title, artist, album, artwork)
  • Album Art: Embedded cover art in M4A container
  • Gapless Playback: Full support on Apple devices
  • Streaming: Apple Music lossless streaming (AirPlay)
  • Surround: Up to 7.1 multichannel
  • Chapters: Supported via MP4 container
Advantages
  • Extremely simple format with minimal header overhead
  • Native support across all Unix, Linux, and Solaris systems
  • Built-in Java audio support via javax.sound
  • Big-endian byte order eliminates byte-swapping on SPARC/MIPS
  • Mu-law encoding efficient for telephony and voice applications
  • No licensing fees or patent restrictions
  • Bit-perfect lossless compression with ~50% size reduction
  • Native support on all Apple devices and iTunes
  • Open-source since 2011 (Apache 2.0 license)
  • Seamless Apple Music and AirPlay integration
  • Rich metadata and album art support
  • High-resolution audio up to 32-bit/384 kHz
Disadvantages
  • Very limited metadata and tagging capabilities
  • No album art or rich tag support
  • Large file sizes in PCM mode, similar to WAV
  • Mu-law encoding quality inferior to modern lossy codecs
  • Minimal support on Windows and macOS consumer software
  • No built-in lossless compression option (only PCM or mu-law)
  • Slightly lower compression ratio than FLAC
  • Less universal support outside Apple ecosystem
  • Limited hardware player support compared to FLAC
  • No native Linux support without additional codecs
  • Streaming outside Apple ecosystem not well supported
Common Uses
  • Unix system sounds and notification alerts
  • Java application audio via javax.sound.sampled
  • Telephony and voice-over-IP (mu-law encoding)
  • Legacy Solaris and NeXT workstation audio
  • Scientific data acquisition on Unix platforms
  • Apple Music lossless library storage
  • iTunes/Music app lossless playback
  • Archiving music on Mac and iOS devices
  • AirPlay lossless audio streaming
  • High-resolution audio on Apple platforms
Best For
  • Unix/Linux system audio integration
  • Java application development requiring audio playback
  • Telephony systems using mu-law or A-law encoding
  • Legacy Sun/NeXT system compatibility
  • Simple audio storage without metadata overhead
  • Apple ecosystem users wanting lossless audio
  • iTunes/Apple Music library management
  • Lossless audio on iPhone and iPad
  • AirPlay streaming to HomePod and Apple TV
Version History
Introduced: ~1988 (Sun Microsystems)
Current Version: AU format specification (stable)
Status: Legacy, still supported in Java and Unix
Evolution: Sun Audio (~1988) → NeXT .snd adoption → Java javax.sound standard
Introduced: 2004 (Apple Inc.)
Current Version: ALAC (open-source since 2011)
Status: Active, Apple Music lossless tier
Evolution: ALAC (2004) → open-sourced (2011) → Apple Music Lossless (2021)
Software Support
Media Players: VLC, Audacity, ffplay, sox
DAWs: Audacity, Ardour (Linux DAWs)
Mobile: Limited — requires conversion for most devices
Web Browsers: Not natively supported
Development: Java (javax.sound), Python (sunau, wave modules)
Media Players: iTunes, VLC, foobar2000, AIMP
DAWs: Logic Pro, GarageBand
Mobile: iOS (native), Android (limited)
Web Browsers: Safari (via MSE)
Streaming: Apple Music (Lossless tier)

Why Convert AU to ALAC?

Converting AU to ALAC modernizes your Sun/NeXT audio files into a format with broader compatibility and richer feature support. AU files originate from Unix workstations and Java applications, using simple PCM or mu-law encoding with minimal metadata capabilities. While AU served Unix systems well, ALAC offers significant advantages for contemporary audio workflows, including better software support, metadata handling, and cross-platform compatibility.

The AU format was designed for simplicity on Sun SPARC and NeXT workstations in the late 1980s. Its big-endian PCM storage and minimal header made it efficient for Unix systems, but this simplicity comes at the cost of limited metadata, no album art support, and poor recognition by modern consumer software. Most media players on Windows, macOS, and mobile devices either cannot play AU files or require special configuration, making conversion essential for practical use.

ALAC provides a substantial upgrade over AU for most use cases. Whether you are migrating legacy Unix application audio, converting Java sound resources, or archiving old Solaris system recordings, ALAC ensures your audio content is accessible on modern platforms. The conversion preserves the audio fidelity of your AU files while unlocking the features and compatibility that today's audio ecosystem demands.

When converting AU to ALAC, consider the encoding settings carefully. AU files in PCM mode contain uncompressed audio that can be transcoded without quality loss to other lossless formats, or encoded to lossy formats at the quality level you choose. Mu-law encoded AU files (common in telephony) have limited bandwidth (8 kHz, 8-bit equivalent), so the conversion output quality will reflect the source limitations regardless of target format settings.

Key Benefits of Converting AU to ALAC:

  • Modern Compatibility: ALAC works with modern media players, devices, and operating systems
  • Better Metadata: Add proper tags, titles, and organizational information
  • Cross-Platform: Escape the Unix/Java-only limitations of AU format
  • Wider Software Support: Edit in any modern DAW or audio editor
  • Professional Workflow: Integrate legacy AU audio into current production pipelines
  • Archival Upgrade: Preserve audio in a well-supported, future-proof format
  • Distribution Ready: Share audio without requiring recipients to handle AU files

Practical Examples

Example 1: Migrating Java Application Audio

Scenario: A developer is modernizing a legacy Java application that uses AU audio files for notifications and UI sounds. The new version targets cross-platform deployment and needs ALAC format for broader compatibility.

Source: notification_alert.au (2 sec, PCM 16-bit, 22.05 kHz, 88 KB)
Conversion: AU → ALAC
Result: notification_alert.alac (converted with optimal settings)

Workflow:
1. Export AU files from legacy Java project resources
2. Convert each AU notification sound to ALAC
3. Update application resource paths
4. Test playback across target platforms
5. Deploy modernized application

Example 2: Unix System Sound Archive Recovery

Scenario: A system administrator recovered a backup of legacy Solaris workstation sounds in AU format and needs to convert them to ALAC for use on modern Linux desktops and documentation.

Source: solaris_sounds/ (35 AU files, mu-law 8 kHz, total 2.8 MB)
Conversion: AU → ALAC (preserving original quality)
Result: 35 ALAC files ready for modern playback

Benefits:
✓ Playable on any modern operating system
✓ Compatible with current desktop notification systems
✓ Preserved historical audio content from legacy workstations
✓ Suitable for documentation and archival purposes
✓ No special codecs needed for playback

Example 3: Telephony System Audio Conversion

Scenario: A VoIP provider has a library of AU audio prompts (mu-law encoded) used in their legacy PBX system and needs to convert them to ALAC for their updated communication platform.

Source: pbx_prompts/ (200 AU files, mu-law 8 kHz mono, 45 MB total)
Conversion: AU → ALAC
Result: 200 ALAC prompt files for modern PBX

Migration requirements met:
✓ All voice prompts converted to modern format
✓ Audio quality matches original mu-law source
✓ Compatible with new SIP/VoIP platform
✓ Batch conversion completed efficiently
✓ Ready for modern telephony system deployment

Frequently Asked Questions (FAQ)

Q: What is the AU audio format?

A: AU (also called SND) is a simple audio file format created by Sun Microsystems for Unix workstations in the late 1980s. It stores audio as uncompressed PCM or mu-law/A-law encoded data with a minimal header. AU became the standard audio format for Java applications (javax.sound), NeXT computers, and Solaris systems. While largely superseded by WAV and FLAC for general use, AU remains relevant in Java development and Unix-based audio processing.

Q: Will converting AU to ALAC change the audio quality?

A: That depends on both the source AU encoding and the target format. AU files with PCM encoding contain uncompressed audio — converting to another lossless format preserves quality perfectly. Converting PCM AU to a lossy format like ALAC will apply compression. For mu-law encoded AU files (8 kHz, telephony quality), the audio bandwidth is already limited, so the output quality reflects the source limitations regardless of target format settings.

Q: Why can't I play AU files on my computer?

A: Most modern consumer media players (especially on Windows and macOS) do not recognize AU files natively. VLC can play AU files, and Audacity can import them, but standard players like Windows Media Player and Apple Music typically cannot. This is because AU was designed for Unix systems and never gained traction in the consumer market. Converting to ALAC solves this compatibility issue.

Q: What is the difference between PCM and mu-law AU files?

A: PCM AU files store raw uncompressed audio samples — identical quality to WAV at the same bit depth and sample rate. Mu-law (u-law) AU files use logarithmic encoding that compresses 14-bit dynamic range into 8 bits, originally designed for telephone systems at 8 kHz. Mu-law provides acceptable voice quality in very small files but is unsuitable for music. The conversion quality to ALAC depends on which encoding your AU files use.

Q: Can Java still use AU files or should I convert them?

A: Java's javax.sound.sampled API still fully supports AU files, making them the simplest choice for Java audio applications without external dependencies. However, if you need cross-platform compatibility, web deployment, or better metadata support, converting to ALAC is recommended. Modern Java applications increasingly use JavaFX Media or third-party libraries that support more formats.

Q: How do I identify the encoding of my AU files?

A: Use FFmpeg or SoX to inspect AU file headers. Run 'ffprobe input.au' to see the codec (pcm_s16be for 16-bit PCM, pcm_mulaw for mu-law, pcm_alaw for A-law), sample rate, channels, and bit depth. The AU header's first field after the magic number specifies the data offset, and the encoding type is stored as an integer code in the header.

Q: Are AU files big-endian or little-endian?

A: AU files use big-endian (network byte order) for both the header and PCM audio data. This is in contrast to WAV files which use little-endian byte order. The big-endian convention comes from Sun SPARC and Motorola 68000 processors used in original Sun and NeXT workstations. FFmpeg handles the byte order conversion automatically during format conversion.

Q: How long does AU to ALAC conversion take?

A: AU conversion is extremely fast — typically faster than real-time. AU files have minimal header overhead, so the decoder starts processing audio data almost immediately. A 5-minute AU file converts in under a second on modern hardware for most target formats. The main variable is the target codec's encoding speed, not the AU decoding which is near-instantaneous.