Coder Social home page Coder Social logo

2dxtools's Introduction

2dxTools

A set of tools for working with 2dx audio containers.

Download here

2dxDump

2dxDump infile.2dx

Takes a 2dx and dumps all its wavs. Names them sequentially with no leading zeros.

2dxBuild

2dxBuild outfile.2dx

Builds a 2dx with default paramaters for loop point/volume etc.

2dxMerge

2dxMerge infile.2dx outfile.2dx

For each file in infile.2dx, if there is a .wav present in the directory, it will replace it in the new file. Useful for extracting a single audio file, editing it, then adding it back.

2dxWavConvert

2dxWavConvert infile outfile.wav [preview]

Takes any file that sox supports (mp3, flac, wav, ogg, etc) and converts it to the specific format required for 2dx files (MS-ADPCM wav with a block size of 256). If the third argument is "preview", the file is clipped to exactly 10 seconds to comply with preview wav requirements.

Example: Custom song preview + game audio

2dxWavConvert mySong.ogg 0.wav
2dxBuild 1234.2dx
2dxWavConvert mySong_preview.ogg 0.wav preview
2dxBuild 1234_pre.2dx

Tools to come:

2dxTransfer - will work like 2dxMerge, but will take two input files, an output, and a list of tracks to transfer. Metadata (such as loop points) will also be transferred.

Enhancements to 2dxDump and 2dxBuild to generate and load xml files so track parameters can be modified.

If you have a burning need for one of these unfinished tools, please get in contact. I appreciate motivation.

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.