Convert AU to CAF

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

AU vs CAF Format Comparison

Aspect AU (Source Format) CAF (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
CAF
Core Audio Format

CAF (Core Audio Format) is a flexible audio container developed by Apple in 2005. It overcomes WAV and AIFF file size limitations by supporting 64-bit file sizes, and can store any audio codec supported by Core Audio including PCM, AAC, ALAC, MP3, and more. CAF is the most versatile audio container on Apple platforms.

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: Any (unlimited)
Bit Depth: 8, 16, 24, 32-bit int/float, 64-bit float
Channels: Unlimited channels
Codec: Any Core Audio codec (PCM, AAC, ALAC, etc.)
Container: CAF (.caf)
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

CAF is a flexible container that can wrap any audio codec. For lossless PCM storage:

# Encode PCM to CAF (24-bit, 48 kHz)
ffmpeg -i input.wav -codec:a pcm_s24be \
  -ar 48000 output.caf

# Wrap ALAC in CAF container
ffmpeg -i input.wav -codec:a alac \
  output.caf
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: Rich metadata via CAF chunks and annotations
  • Album Art: Supported via embedded data chunks
  • Gapless Playback: Full support via packet tables
  • Streaming: Good — supports variable frame sizes
  • File Size: No 4 GB limit — 64-bit file offsets
  • Chapters: Supported via marker chunks
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
  • No file size limit — overcomes WAV/AIFF 4 GB restriction
  • Supports any audio codec (PCM, AAC, ALAC, MP3, etc.)
  • Native Apple/Core Audio integration
  • Rich metadata, marker, and region support
  • Unlimited channels for surround and immersive audio
  • Reliable for long recordings and large multichannel sessions
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)
  • Apple-only ecosystem — limited cross-platform support
  • Not widely recognized by non-Apple software
  • Less portable than WAV or FLAC for sharing
  • Overkill for simple audio storage needs
  • Android and Windows support requires third-party tools
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
  • Long-form recording on macOS (no 4 GB limit)
  • Logic Pro and Core Audio application development
  • Multichannel audio for immersive/spatial audio
  • iOS app audio asset storage
  • Professional Mac audio workflows
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
  • Recordings exceeding 4 GB on Apple platforms
  • Multi-codec audio container on macOS/iOS
  • Core Audio application development
  • Multichannel and long-duration audio projects
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: 2005 (Apple Inc., macOS 10.4 Tiger)
Current Version: CAF 1.0
Status: Active, Apple platform standard
Evolution: CAF (2005) → continued Core Audio integration
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: QuickTime, VLC, iTunes
DAWs: Logic Pro, GarageBand, Final Cut Pro
Mobile: iOS (native)
Development: Core Audio API, AVFoundation
Editors: Audacity (limited), ffmpeg

Why Convert AU to CAF?

Converting AU to CAF 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, CAF 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.

CAF 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, CAF 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 CAF, 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 CAF:

  • Modern Compatibility: CAF 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 CAF format for broader compatibility.

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

Workflow:
1. Export AU files from legacy Java project resources
2. Convert each AU notification sound to CAF
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 CAF for use on modern Linux desktops and documentation.

Source: solaris_sounds/ (35 AU files, mu-law 8 kHz, total 2.8 MB)
Conversion: AU → CAF (preserving original quality)
Result: 35 CAF 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 CAF for their updated communication platform.

Source: pbx_prompts/ (200 AU files, mu-law 8 kHz mono, 45 MB total)
Conversion: AU → CAF
Result: 200 CAF 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 CAF 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 CAF 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 CAF 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 CAF 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 CAF 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 CAF 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.