Giter VIP home page Giter VIP logo

it2fss's Introduction

it2fss

Converter which takes single-channel ImpulseTracker modules as input and outputs a fSound .fss file, for use with fsound.exe. fSound is available here. This converter aims for the version called "fsound.zip". The Pytrax/impulsetracker-parser library is used and slightly modified to work with Python 3.

Improved version of: https://gist.github.com/jangler/9565970


Features

  • Squarewaves of any volume and pitch are supported.
  • White Noise of any volume is supported.
  • Tempo Changes are supported. (Txx with values bigger <= 20 and Axx).
  • Kick and Snare Samples are supported.
  • Only use an instrument setting, volume or effect along with a note, otherwise it will throw an error.

Installation

  • download/clone repo
  • make sure Python 3 is installed
  • write your song using the test.it (follow the limits listed below)
  • convert your song with
     python it2fss.py test.it

Limitations

  • Square Waves can be produced between C-2 and B-8 (C-1 to B-7 in fSound), using Instrument 1.

  • White Noise is always the same pitch, using Instrument 2.

  • Kick uses Instrument 3 and Snare uses Instrument 4.

  • Make sure to set an instrument for every note you put in.

  • Square and Noise have volume control. v00 is lowest, v64 is highest.

  • The values get mapped to the 16 available sound values in fSound (0-F).

  • Non-set volume gets mapped to f (loudest).


Version history

  • 0.5: Massive Refactoring; added Axx support; sample-mapping via instrument, not octave; Volume is now mapped from 0-64 values, non-set-volume doesn't map to None anymore
  • 0.4.1: Fixed a bug where consecutive drum notes would be combined into one
  • 0.4: Added Tempo Change Support
  • 0.3: Added Sample and Volume Support
  • 0.2: Fixed a bug that occurred when translating a single IT note into multiple FSS notes.
  • 0.1: Initial creation of program.

it2fss's People

Contributors

kleeder avatar s1ncx avatar

Stargazers

DEFENSE MECHANISM avatar  avatar Jakub Kukiełka avatar  avatar

Watchers

James Cloos avatar

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.