Skip to content

KieronJ/raven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

raven

This is a port of the sound library written by Kazuki Muraoka for Metal Gear Solid.
This library was later expanded for Metal Gear Solid 2 as well as the Zone of the Enders series.

The library includes a PlayStation SPU emulator for audio synthesis.
This is adapted from rpsx's SPU implementation.

The following sources were referenced to improve rpsx's SPU implementation and fix bugs:

This project is still very much a work-in-progress. Expect some songs to sound slightly (or very) incorrect.

This project supports both FLAC and Opus Ogg output.

required packages

libflac-dev libopusenc-dev

building

make

usage

raven [-d] [-r] [-l loops] [-s song] -o output -e encoder mdx wvx [wvx2] [wvx3]

One mdx file and up to three wvx files can be provided:

  • mdx files contain the sequence data for songs.
  • wvx files contain the waveform data for songs.

The resident wvx file wv00007f.wvx located in the init stages contains common samples used by all songs.
Some songs require additional wvx files, these are found in the same stage as the mdx file.

The following options are supported:

-d          Enables debug output.
-r          Forces reverb off.
-l loops    Specifies the number of times to loop the song.
-s song     Specifies which of the songs from the sequence data to play.
-o output   Specifies the name of the output wave file.
-e encoder  Specifies the encoder to use. ("flac" | "opus")

About

A music player for MGS & ZOE sequence files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors