Skip to content

A utility to extract 'snd ' Apple Sound Manager sounds from HFS+ resource forks.

License

Notifications You must be signed in to change notification settings

fordcars/SndToWAV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SndToWAV

A utility to convert 'snd ' Apple Sound Manager sounds to WAV.

Features

  • Easily extract sound samples from .rsrc files.
  • Supports all sound header formats.
  • Supports IMA4, MACE 3:1, μ-law and a-law compression.
  • (Should be) platform independent.

Limitations

  • Only supports sounds containing a single sound sample, and nothing else.
  • Can only output .wav files.

Installation

Dependencies

Building

To download and build, execute:

git clone --recurse-submodules https://github.com/fordcars/SndToWAV
cd SndToWAV && mkdir build && cd build
cmake ../src
make

The executable will be in the bin directory.

Usage

SndToWAV -input INPUT_FILE [-blocksize BLOCKSIZE]
    [-ID RESOURCE_ID | -name RESOURCE_NAME] [-verbose]
    
 --help, --h            display help

 -input                 resource fork (.rsrc file) containing 'snd ' resources

Optional options:
 -blocksize             blocksize of the resource fork, in bytes (default is 4096)
 -ID                    ID of sound resource to extract
 -name                  name of sound resource to extract
 -verbose               enable verbose logging

If no ID or name is specified, will extract all sounds from the resource fork.

Additional credits

About

A utility to extract 'snd ' Apple Sound Manager sounds from HFS+ resource forks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published