home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
sound2
/
trakswap.zip
/
TRAKSWAP.DOC
next >
Wrap
Text File
|
1993-06-22
|
19KB
|
434 lines
┌─────────────────────────────────────────────┐
│ . . │
│ ProLogic 303 Software │
│ │
│ Presents │
│ ══════════ │
│ │
│ ▄▄▄▄▄▄▄▄▄▄▄▄ │
│ Track ▀▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄▄▀ wapper │
│ │
│ Version 1.00 │
│ │
│ Extended MOD Editor Series A │
│ │
│ Programmed by NG PEI SIN │
│ │
│ Copyright 1993. │
│ . . │
└─────────────────────────────────────────────┘
Track Swapper 1.00
Introduction
▀▀▀▀▀▀▀▀▀▀▀▀
Track Swapper 1.00 is an easy to use program that swaps the tracks of
MODule files.
Track Swapper is targeted at module producers and lovers of these
modules with stereo playback ability.
The main purpose of Track Swapper is to enable the user to swap the
tracks of a module for stereo playback. User should be aware of their
player's characteristic for stereo playback. Most players play
track 1 and track 4 on the left speaker and track 2 and track 3 on
the right speaker on a stereo playback device.
Track Swapper supports 4 channels modules.
Track Swapper runs at DOS prompt.
Track Swapper will swap the tracks of any valid MOD file. Supported
module formats are:
- 15 samples Modules,
- 31 samples Modules,
- Amiga soundtracker/noisetracker Modules, and
- 4 channel Startrekker Modules.
What Is A MODule?
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
A module is a music file that consists of 15 or 31 sampled
instruments. Most modules have four music channels.
By playing the instruments at different pitches, a soundtrack lasting
many minutes can be produced. A module usually has the extension of
.MOD or .NST.
Track Swapper 1.00's Requirements
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Track Swapper 1.00 should run on any IBM PC or compatible with
DOS 3.20 or higher and a CGA display or better.
Track Swapper 1.00 uses about 119K bytes of conventional memory for
its processing. However, it may not function properly if the system
has less than it requires. If the system has far too little
conventional memory available, the program may even refuse to
execute.
Free disk space of about the size of the original module is required
for track swapping to take place. This applies even if the user
wants to overwrite the original file. Track Swapper 1.00 creates a
new file where the processed data will be first written into. The new
file will then be renamed at the end of the process if necessary.
This disk space consuming method is employed to provide a faster and
safer processing of data.
A hard disk is optional yet recommended for even faster processing.
Track Swapper 1.00
Program Usage
▀▀▀▀▀▀▀▀▀▀▀▀▀
Usage : TRAKSWAP Input File[.MOD] [Output File][.MOD] Track A Track B
^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^
File to process ─────────┘ │ │ │
Output file ────────────────────────────────┘ │ │
Tracks to swap ────────────────────────────────────────────┴────────┘
When no Output File is given, the processed data will be written in
the current directory.
If either the Input File, Track A or Track B is not given,
Track Swapper 1.00 will display the help screen.
The file name's extension is optional, however if none is specified,
.MOD is assumed. Please take note that Track Swapper 1.00 accepts
only .MOD and .NST extension. A message of "No file selected" will be
displayed if extensions other than .MOD and .NST is specified.
Examples
- TRAKSWAP GlovyLve.mod c:\temp\ 2 4
Explanation : Swap track 2 and 4 of the file GloryLve.mod in the
current directory and write processed data as
c:\temp\GloryLve.mod
- TRAKSWAP GloryLve 1 3 or TRAKSWAP GloryLve * 1 3
Explanation : Swap track 1 and 3 of the file GloryLve.mod in the
current directory and overwrite the original file.
- TRAKSWAP 4 c:\temp\GloryLve.mod *.nst 3
Explanation : Swap track 3 and 4 of the file GloryLve.mod in
c:\temp\ directory. Write the output into the file
GloryLve.nst in the current directory.
Note : As long as the number of the track (1,2,3,4) does
not join together or link with Input File or
Output File, where Track A and Track B appears does
not matter.
- TRAKSWAP ..\GloryLve.mod .\ 1 4
Explanation : Swap track 1 and 4 of the file GloryLve.mod in the
directory one level above the current. Write the
output into GloryLve.mod in the current directory.
Track Swapper 1.00
Error Messages
▀▀▀▀▀▀▀▀▀▀▀▀▀▀
When an error occurs, Track Swapper 1.00 will print a message. Some
of these messages will prompt the user for advice to solve the
problem. Error messages and their explaination are as follows:
- "Swapping with same track"
Program's immediate action: program ends
Track Swapper 1.00 realise that Track A and Track B have the same
number. Swapping the same track makes no sense as what the user is
trying to do, so the program print this error and exit to prevent
unnecessary processing of data which is a waste of time.
- "Too many parameters"
Program's immediate action: program ends
Track Swapper 1.00 detects too many parameters entered and fails to
determine which is the required parameters.
- "The current drive is invalid ?!"
Program's immediate action: program ends
This error may occurs when the program is trying to get the current
drive using DOS Interrupt routine. This error is not expected.
- "Too many files selected"
Program's immediate action: program ends
Too many files have been selected. This could be the cause of using
wildcards in Input File. The program found more than one matching
files that match the description in Input File. Being more specific
with the file name can avoid this error.
- "No file selected"
Program's immediate action: program ends
The program finds no file name matching the description in
Input File. Check if the file exists or correct any typing mistake.
This error may also be caused by an invalid file name extension.
- "Overwrite ......... (Y/n) ?"
Program's immediate action: prompt user for advice
Input File is equals to Output File. The program asks user of the
output data is to be written over the original file. Type Y or
<Enter> to overwrite, N to exit Track Swapper.
- "............ exists! Overwrite (y/N) ?"
Program's immediate action: prompt user for advice
Output File matches another existing file. Type Y to overwrite the
existing file or any other keys to exit the program.
Track Swapper 1.00
- "Error opening ............ ─── Not present"
Program's immediate action: program ends
Track Swapper had opened a zero byte file. This could be cause by
the absence of the file specified in Input File or the file is a
zero byte file.
- "Insufficient disk space for track swapping"
Program's immediate action: program ends
There is not enough disk space in the destination drive for
Track Swapper to do its task. The destination drive should have
space slightly more than the file size of the source.
- "Module Type : Startrekker. Header : ....
Should this MOD file be treated as a 15 samples MOD or 31 samples
MOD (1/3/A) ?"
Program's immediate action: prompt for advice
Track Swapper detected that the selected MOD file is a Startrekker
file. Track Swapper 1.00 will ask the user to key in either
1,5 or A. Type 1 if the module is to be handled as a 15 samples
file. Type 3 if the module is to be handled as a 31 samples module.
Type A to terminate Track Swapper (i.e. if you're not sure and want
to consult a MOD editor).
- "Unexpected error"
Program's immediate action: program ends
An unexpected error occurs somewhere during the processing. Some
unexpected events had taken place.
Extended MOD Editor Series
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ProLogic 303 Software has started a new series of modules editors.
There editors are different from those available. The series provide
miscellaneous function and that normal editors do not have. For
example, series A is a track swapping utility. More of the series
will be introduced sometime later. Some proposed projects includes
MODules analyser and MODules repair.
Some Information for Programmers' Interest
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Track Swapper 1.00 is written in QuickBASIC 4.50. This program uses
no AT specific code, so this program will work even on XTs.
Maximun speed capability is explored and implemented in every part
of the program. This resulted in a 2020 lines source code. If speed
factor is to be ignored, the 2020 lines of source code can be shorten
into approximately 600 lines with about 70% reduction in the compiled
file size!
The parameters verifying part like, reading the files directory, etc.
is achieved by using DOS interrupt routine.
Track Swapper 1.00
Track Swapper 1.00's program structure are as follows:
- read and understand command parameters
- verify command parameters (to predict any errors beforehand)
- actual processing
- copy MOD file header
- swap 64 lines in a pattern (this takes 50% of the
source code)
- write swapped pattern (there are 1024 bytes in each
pattern)
- loop until all pattern are swapped and written to disk
- copy samples (MOD file instruments)
- close all files
- end of program
Packing List
▀▀▀▀▀▀▀▀▀▀▀▀
Track Swapper 1.00 comes as a package. This package contains:
- TrakSwap.EXE ─── Main executable program
File size: 55128 bytes Date: 22nd June 1993 Time: 3:03am
File Authentication check method 1: 7E82
File Authentication check method 2: 0659
- TrakSwap.DOC ─── Documentation for Track Swapper 1.00 (this file)
File size: 18739 bytes Date: 22nd June 1993 Time: 3:03am
Should any of the above file be missing or that their date or file
size are different, the entire package is considered invalid. User is
advised to obtain a valid copy of Track Swapper.
Copyrights
▀▀▀▀▀▀▀▀▀▀
Possession, duplication, distribution and using of this
ProLogic 303 Software are greatly encourage if the following
conditions are met.
1. NO PART of the program (and the document) may be edited in any
form to any extent.
2. User agrees that he WILL NOT attempt to reverse engineer, modify,
translate or disassemble the software in whole or in part.
3. Enclosed documents MUST be distributed with as a package.
4. NO SUBLICENSE FEE. Distributor may not charge its customers for
the software other than a nominal fee to cover for the cost of the
diskette.
Track Swapper 1.00
5. If you want to distribute this software with a publication or with
your product, you have to inform the author about the
publication. Permission is usually granted. This notification
is to assist the author in tracking the distribution of his
product.
An exemption from any of the above conditions can be obtain upon
written request with valid reasons.
Warranty
▀▀▀▀▀▀▀▀
In no event shall members of ProLogic 303 Software or its
distributors be liable for consequential, incidental, direct or
indirect damages of any kind arising out of the delivery, performance
or use of the software, even if ProLogic 303 Software and its
distributors have been advised of the possibility of such damages.
ProLogic 303 Software hereby disclaims all warranties relating to
this software, including any implied warranties of merchantability,
any theory of liability or fitness for a particular purpose.
ProLogic 303 Software does not warrant that this software is error
free. User of this software bears all risk as to the quality and
performance of the software. However, ProLogic 303 Software tries its
best to provide quality programs for its users.
Technical Support
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
If you have encountered any problem or have any questions regarding
Track Swapper, please feel free to send them to the address below.
Of if you have any comments or complains to make, do drop the us a
mail.
Direct all mails to:
Mr. NG PEI SIN,
ProLogic 303 Software.
111, Tampines Rd,
Yi Mei Garden, #02-03,
Singapore 1953.
Or if you prefer, send a mail through the bulletin boards. Your mail
will be replied immediately, if received.
Track Swapper 1.00
Credits
▀▀▀▀▀▀▀
A group of people was invited to test this product before it is
released to the public. This group of people are:
- Cheng Tze Yang, and
- Clarence Song.
(in alphabetical order)
Donations
▀▀▀▀▀▀▀▀▀
This program has been donated to public domain. As a public domain
program, users are not required to pay any registration fee.
If, for any reason like feeling a little heavy in the wallet, you
feel like giving a donation (money or hardware) to us, please address
them to:
Mr. NG PEI SIN,
ProLogic 303 Software.
111, Tampines Rd,
Yi Mei Garden, #02-03,
Singapore 1953.
Voluntary distributors wanted
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ProLogic 303 Software is looking for voluntary distributors to
distribute its products. ProLogic 303 Software's products include
MOD files and some utilities for IBM PCs/ATs.
If you think you can help in the distribution, please send us a
letter or electronic mail to inform us. This is to help us in
tracking the location of our products. International or even local
distributions are welcomed.
Distributors will:
- get first hand information on the developments of
ProLogic 303 Software,
- be informed of the latest release of our products,
- be informed where to obtain a copy of the released products. In
some special cases, a copy of it may be mailed to you.
Track Swapper 1.00
Voluntary partners wanted
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
If you are skilled in programming, writing documents, MODules or
have any other special skills that will benefit
ProLogic 303 Software, please consider joining us.
We are a group of people out to spread our name through public domain
software and MODules.
Just send us your particulars and a photograph of yourself.
Thank You for downloading/copying this product.
┌────────────────────────────────────────────────────────────────────┐
│ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄ │
│ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ │
│ │
│ P r o L o g i c 3 0 3 S o f t w a r e │
└────────────────────────────────────────────────────────────────────┘