Git Product home page Git Product logo

trackrip's Introduction

trackrip

(tracker-rip)

Extracts samples from various music tracker module formats.

  • Currently supports the following formats:
    • MOD
    • S3M
    • IT
    • XM
    • UMX (containing any of the above)
  • Embeds sample loop parameters from the module into exported WAV files.

Installation

pip3 install trackrip

Alternatively, you can download the source and run:

python3 setup.py install

Usage

trackrip <module_file>

Useful Links

ProTracker MOD Format

Scream Tracker 3 S3M Format

Impulse Tracker IT Format

FastTracker 2 XM (Extended Module) Format

Unreal Engine UMX Container Format

trackrip's People

Contributors

dbrookman avatar sinfloodmusic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

trackrip's Issues

Unfriendly chars in sample names crash

Great work on this, it's going to save me a ton of time on a project. I noticed it crashes when the sample names aren't filesystem friendly. This is especially prevalent in cracktro mods, where the samples are mostly one-way discussions to other people in the demo scene at the time.

Here is an example mod that crashes the program: https://api.modarchive.org/downloads.php?moduleid=65240#s.o.c-introsong.mod

I don't want to submit an unsolicited PR, happy to send it though. It was a few lines to just do a regex on the filename and ensure that any unfriendly chars are changed to '_'

main.py

sample_file_name = re.sub(r'[^\w\d-]','_',sample_file_name)
sample_file_name += ".wav"

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.