SYNOPSIS

       ifits [-hc|ml] [-b batch-file.txt ] [ file.wav|playlist.txt ]


DESCRIPTION

       Portable  command line utility for encoding and recording audio signals
       (chirps) to set the speed, incline, and resistance  functions  of  iFit
       technology  equipped  exercise machines. Writes generated settings sig-
       nals at specified time in wav music file format by  either  creating  a
       silent wav file or modifying an existing wav music file.  IMPORTANT: IF
       YOU ARE MODIFYING AN EXISTING FILE YOU ARE  RESPONSIBLE  FOR  MAKING  A
       BACKUP COPY, THIS PROGRAM DOES NOT DO IT FOR YOU!


OPTIONS

       -h     Display a brief usage message and exit.

       -c     Create  an  output  wav  file  by the name of file.  This is the
              default mode if file does not already exist  in  working  direc-
              tory.  May not be used with the -l or -m options (below)

       -m     Modify  an existing music file by the name of file.  This is the
              default mode if file already exists in working directory  or  if
              -l is indicated. May not be used in conjunction with -c.

       -l     This  option causes trailing playlist.txt to be interpreted as a
              playlist file containing a list of existing wav music  files  to
              write  signals  into  according  to  total  elapsed playing time
              starting from the first file in list.  This option  may  not  be
              used  in  conjunction  with create mode(-c), the files listed in
              playlist.txt must already exist in working directory or you will
              get  an  error.   Currently  when using this option the settings
              must be entered in chronological order.

       -b batch-file
              Read a list of settings from batch-file instead of  from  stdin.
              Currently  if  using  this  mode  in conjunction with a playlist
              file(-l) the settings must be in chronological order.


FILES

       batch-file.txt
              A plain text list of settings to be encoded to file.   Currently
              if  using  this mode in conjunction with a playlist file(-l) the
              settings must be in chronological order.  Format:  time(in  sec-
              onds) speed incline

       file.wav
              The  wav  music  file  created or opened to write with the chirp
              encoding the entered settings. This file may not be specified in
              conjunction with playlist.txt

       playlist.txt
              A  plain  text  list of filenames to be considered continuous in
              length.  Format: filename1.wav filename2.wav filename3.wav ...

       Does not check magic number to verify file format.
       In list mode enter values chronologically, or make it  a  fun  surprise
       where the beep will end up.
       Catches errors, aand usually stops working after that until errant vars
       are fixed.


AUTHOR

       Sarah Martin <sarahbmartin at sourceforge dot net>


SEE ALSO

       lame(1), sox(1)



FreeBSD                            JULY 2006                          IFITS(1)