Giter Site home page Giter Site logo

mdx2wav's Introduction

mdx2wav

mdx2wav is a converter to make raw pcm data from MDX file on Linux.

MDX is a major sound format of Sharp X68000 in the 1990s.

Usage

mdx2wav dumps 16bit stereo 44.1kHz pcm data to stdout, so you need to use it with other commands.

To Play now,

mdx2wav xxx.mdx | aplay -f cd

To convert to other format,

mdx2wav xxx.mdx | ffmpeg -f s16le -ar 44.1k -ac 2 -i - xxx.wav
mdx2wav xxx.mdx | ffmpeg -f s16le -ar 44.1k -ac 2 -i - -ab 192 -f ogg file.ogg

Options

  -d <sec>  : limit song duration. 0 means nolimit. (default:300)
  -e <type> : set ym2151 emulation type, fmgen or mame. (default:fmgen)
  -f        : enable fadeout.
  -l <loop> : set loop limit. (default:2)
  -m        : measure play time as sec.
  -r <rate> : set sampling rate. (default:44100)
  -t        : get song title (charset is SHIFT-JIS).
              if you need other charset, try following command:
               mdx2wav -t xxx.mdx | iconv -f SHIFT-JIS -t utf-8
  -v        : print version.
  -V        : verbose, write debug log to stderr.

Build

git clone https://github.com/mitsuman/mdx2wav.git
cd mdx2wav
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make

mdx2wav's People

Contributors

mitsuman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yunkya2 koobo

mdx2wav's Issues

frequency problem perhaps

I tried this library and noticed that no matter which frequency I select, the output sounds the same always. It sounds like 22050Hz all the time. For the comparison I used BouKichi library and the difference is quite noticeable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.