derselbst / lazyusf

Converter for Ultra 64 Sound Format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lazyusf

Converter for Ultra 64 Sound Format (usf and miniusf) by Josh W (http://joshw.info) based on 64th Note.

This tool is based on JoshW's audacious plugin "lazyusf". It was rewritten to a standalone commandline tool.

Build

mkdir -p build
cd build
cmake ..
make

Build Dependencies

  • cmake
  • make
  • gcc
  • gcc-c++
  • [optional] flac-devel: needed if you wish to write directly to .flac files
  • [optional] libao-devel: needed if you want support for on-the-fly playback

Usage

lazyusf [OPTIONS] "soundtrack name.miniusf"

By default the PCM output is written to "soundtrack name.miniusf.au". For more help run lazyusf without any parameters.

FAQ

Q: The output of Donkey Kong 64 is slower than in the original game.

A: The USF Set for DK64 was ripped from the PAL version, see kode54's comment. Lazyusf only takes care of emulating NTSC Roms, hence timings get wrong and DK64 internally samples at 21617 Hz. To fix that, simply enable rounding the samplerate by using the -r option.

TODO

  • be able to specify multiple files to play sequentially
  • be able to switch between those files
  • adapt usage function
  • adapt SIGINT and SIGTERM

About

Converter for Ultra 64 Sound Format


Languages

Language:C 94.1%Language:C++ 5.7%Language:CMake 0.2%