SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

$Id: README,v 1.3 2005/02/17 22:24:24 xi Exp $

Introduction

simplemod is a minimalistic module player. It was designed to be used by a frontend and thus it's output is easy to parse.

Usage

simplemod [-k position] [-e host] [-r] filename

If a position is specified with the -k switch, the module will be played starting at that position.

If a host is specified with the -e switch, simplemod will use the esound driver and connect to that host.

If the -r switch is specified, simplemod will write raw output to stdout.

Parsing the output

The output from simplemod starts with a static banner followed by a line that starts with 'Title: ' followed bu the title stored inside the module.

During playback lines on the form 'P:<seconds>,<position> <some blanks>' are written to stderr and all ending with a carriage return.

The field containing seconds is always 5 characters wide.

Credits

Lots of credits to the guys who wrote the mikmod library for making it incredibly easy to write this small program.

Enjoy!

Christian Laursen
xi@borderworlds.dk


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.