Convert OGG to AU

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

OGG vs AU Format Comparison

Aspect OGG (Source Format) AU (Target Format)
Format Overview
OGG
Ogg Vorbis Audio

Ogg Vorbis is an open-source, royalty-free lossy audio codec developed by the Xiph.Org Foundation. It consistently outperforms MP3 in quality at equivalent bitrates, especially at lower bitrates (96–128 kbps). Vorbis is the standard audio codec for many open-source platforms, games, and the original format for Spotify's desktop streaming.

Lossy Modern
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
Technical Specifications
Sample Rates: 8 kHz – 192 kHz
Bit Rates: 45–500 kbps (VBR)
Channels: Mono to 255 channels
Codec: Vorbis (MDCT-based)
Container: Ogg (.ogg, .oga)
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)
Audio Encoding

Vorbis uses MDCT with flexible block sizes and psychoacoustic tuning for quality-optimized VBR encoding:

# Encode to Ogg Vorbis (quality 6 ≈ 192 kbps)
ffmpeg -i input.wav -codec:a libvorbis \
  -q:a 6 output.ogg

# Encode at specific bitrate
ffmpeg -i input.wav -codec:a libvorbis \
  -b:a 256k output.ogg

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
Audio Features
  • Metadata: Vorbis Comments (flexible, Unicode tags)
  • Album Art: Embedded via METADATA_BLOCK_PICTURE
  • Gapless Playback: Native — sample-accurate with Ogg framing
  • Streaming: Good — Icecast, web streaming
  • Seeking: Efficient seeking via Ogg page structure
  • Chapters: Supported via Ogg skeleton
  • 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
Advantages
  • Fully open-source and royalty-free
  • Better audio quality than MP3 at same bitrate
  • Native support in Firefox, Chrome, and many games
  • Flexible VBR encoding for optimal quality
  • Excellent for game audio and open-source projects
  • Multichannel support up to 255 channels
  • 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
Disadvantages
  • Less universal hardware support than MP3
  • Not natively supported on iOS or many portable players
  • Largely superseded by Opus for new projects
  • Limited adoption by streaming services
  • No native Windows Media Player support
  • 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)
Common Uses
  • Video game audio assets (Unity, Unreal Engine)
  • Open-source and Linux desktop audio
  • Web audio for open-source projects
  • Spotify desktop streaming (historical)
  • Embedded systems and open hardware
  • 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
Best For
  • Game development audio assets
  • Open-source software requiring royalty-free audio
  • Linux and open-platform audio distribution
  • Quality-critical lossy compression without licensing
  • 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
Version History
Introduced: 2000 (Xiph.Org Foundation)
Current Version: Vorbis I (1.3.7)
Status: Stable, succeeded by Opus for new projects
Evolution: Vorbis I (2000) → stable (2004) → community maintenance
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
Software Support
Media Players: VLC, foobar2000, Winamp, Kodi, AIMP
Game Engines: Unity, Unreal Engine, Godot
Mobile: Android (native), iOS (third-party)
Web Browsers: Chrome, Firefox, Edge, Opera
Linux: Native support via GStreamer, PulseAudio
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)

Why Convert OGG to AU?

Converting OGG to AU produces audio files compatible with Unix workstations, Java applications, and Solaris systems. The AU format's simple structure — a compact header followed by raw audio data — makes it ideal for embedded systems, server-side audio processing, and Java's javax.sound framework. If your target platform is Unix-based or Java-dependent, AU provides native support without additional libraries or codecs.

OGG files offer excellent capabilities in their native ecosystem, but AU remains the standard audio format for Java development and many Unix/Linux applications. Java's javax.sound.sampled API reads and writes AU natively without any external dependencies, making it the simplest choice for Java audio applications. Converting your OGG audio to AU ensures zero-friction integration with Java sound pipelines.

The AU format supports multiple encoding modes including uncompressed PCM (for maximum quality), mu-law (for efficient telephony-grade audio), and A-law encoding. For server-side audio processing on Unix systems, AU's simple binary format is easy to parse programmatically without complex container libraries. This simplicity makes AU particularly valuable for automated audio processing pipelines and IoT audio systems.

Keep in mind that AU has limited metadata support and no album art capability. If your OGG files contain rich tags or embedded artwork, this information will not transfer to the AU format. For applications where metadata is important, consider maintaining your OGG originals alongside the AU conversions. The primary value of AU conversion lies in platform compatibility and format simplicity, not in metadata or feature richness.

Key Benefits of Converting OGG to AU:

  • Java Native: javax.sound.sampled reads AU without external libraries
  • Unix Standard: Native audio format for Sun, NeXT, and Linux systems
  • Simple Format: Easy to parse and process programmatically
  • Telephony Ready: Mu-law and A-law encoding for VoIP applications
  • Server-Side: Lightweight format for web servers and backend processing
  • Embedded Systems: Minimal overhead for resource-constrained devices
  • Legacy Compatibility: Required for older Unix applications and workflows

Practical Examples

Example 1: Java Application Sound Integration

Scenario: A Java developer needs to add audio feedback to an enterprise application. Their sound library is in OGG format, but Java's javax.sound.sampled API works best with AU files for cross-platform audio playback without additional dependencies.

Source: ui_sounds/ (12 OGG files, various alerts and notifications)
Conversion: OGG → AU (PCM 16-bit, 22.05 kHz, mono)
Result: 12 AU files ready for javax.sound integration

Workflow:
1. Convert OGG sound effects to AU format
2. Place AU files in Java resources directory
3. Load via AudioSystem.getAudioInputStream()
4. Play through Clip or SourceDataLine
5. Deploy with zero external audio dependencies

Example 2: Unix Server Audio Processing Pipeline

Scenario: A backend service on a Linux server processes audio uploads. The processing pipeline uses SoX and custom C tools that expect AU input format for their simple binary parsing routines.

Source: uploaded_audio.ogg (user-uploaded audio file)
Conversion: OGG → AU (PCM 16-bit, 44.1 kHz)
Result: processed_audio.au (ready for pipeline)

Pipeline requirements met:
✓ Simple binary header parsed by custom C tools
✓ Raw PCM data accessible without complex container libraries
✓ Compatible with SoX command-line processing
✓ Consistent format for batch audio analysis
✓ Minimal overhead in server-side processing

Example 3: Embedded System Audio Deployment

Scenario: An IoT device running embedded Linux needs audio alerts and voice prompts. The firmware audio player supports AU format natively due to its simple structure and minimal parsing requirements.

Source: alert_sounds/ (8 OGG files, various device alerts)
Conversion: OGG → AU (mu-law, 8 kHz, mono)
Result: 8 AU files (compact, firmware-ready)

Embedded system benefits:
✓ Minimal header parsing code required
✓ Mu-law encoding reduces storage on flash memory
✓ No complex audio library dependencies
✓ Direct PCM or mu-law playback via audio hardware
✓ Reliable on resource-constrained embedded Linux

Frequently Asked Questions (FAQ)

Q: What is the AU format and why would I convert to it?

A: AU (Sun Audio) is a simple audio format from Sun Microsystems used on Unix workstations, in Java applications, and on Solaris systems. You would convert to AU primarily for Java application development (javax.sound supports AU natively), Unix server-side audio processing, embedded Linux systems, or legacy system compatibility. AU's simple structure makes it easy to parse without complex library dependencies.

Q: Will my OGG metadata transfer to the AU file?

A: No — the AU format has extremely limited metadata support. It includes only an optional free-form annotation field in the header. Tags like title, artist, album, cover art, and other metadata from your OGG files will not transfer to AU. If metadata preservation is important, keep your original OGG files and use AU copies only where the format is specifically required.

Q: What encoding should I choose for AU output — PCM or mu-law?

A: Choose PCM (pcm_s16be or pcm_s24be) for general-purpose audio at full quality — this stores uncompressed samples identical to WAV quality. Choose mu-law (pcm_mulaw) for telephony applications, voice prompts, or when you need compact 8-bit files. Mu-law is optimized for speech at 8 kHz and provides acceptable voice quality in very small files, but it is not suitable for music content.

Q: Can modern media players play AU files?

A: VLC, Audacity, FFplay, and SoX can all play AU files. However, mainstream players like Windows Media Player, Apple Music, and most mobile music apps do not natively support AU. This limited playback support is one reason AU conversion is typically done for specific technical requirements (Java, Unix, embedded) rather than for general listening purposes.

Q: Is AU the same as SND format?

A: Yes — AU and SND are essentially the same format. Sun Microsystems used the .au extension on their systems, while NeXT Computer used the .snd extension. Both share the same file structure: a magic number (0x2e736e64, which is ".snd" in ASCII), followed by data offset, data size, encoding type, sample rate, and channel count. The files are interchangeable regardless of extension.

Q: Why is AU format big-endian?

A: AU uses big-endian byte order because it was designed for Sun SPARC and Motorola 68000 processors, which are big-endian architectures. This was the natural byte order for Sun workstations and NeXT computers. On modern little-endian x86/ARM systems, audio processing libraries handle the byte swapping transparently. This is a historical artifact that doesn't affect audio quality.

Q: What sample rates and bit depths does AU support?

A: AU supports a wide range of sample rates (commonly 8 kHz, 11.025 kHz, 22.05 kHz, 44.1 kHz, and 48 kHz) and bit depths (8-bit mu-law, 8/16/24/32-bit PCM integer, and 32/64-bit floating point). For Java compatibility, 8 kHz or 22.05 kHz mono at 16-bit PCM is most commonly used. For high-quality audio, 44.1 kHz or 48 kHz at 16 or 24-bit PCM is recommended.

Q: How long does OGG to AU conversion take?

A: Conversion to AU is extremely fast — typically several times faster than real-time. The AU format's simple structure means encoding is essentially just writing a short header followed by PCM data. A 5-minute audio file converts to AU in under a second on modern hardware. The primary bottleneck, if any, is decoding the OGG source format, not the AU encoding.