home *** CD-ROM | disk | FTP | other *** search
-
-
- WAVEPOOL
- Version: 1.0-A
- 04/08/92
-
-
- Copyright (c) 1992, Data Assist Inc., All Rights Reserved.
-
- INTRODUCTION
-
- WAVEPOOL is a programming language, similar to "C", designed for
- creating sound files. By using built-in WAVEPOOL functions, you
- can easily synthesize new sounds effects.
-
- Since WAVEPOOL runs as an interpreter, you are able to quickly
- make changes and experiment with creating sound effects. The
- possible sounds effects generated are limited only by your
- imagination!
-
- The sound files created by WAVEPOOL are compatible with the Sound
- Blaster card. Various utility programs are available that can be
- used to convert SOU and VOC files to other sound file formats.
-
- Although WAVEPOOL runs under DOS, the package can be used to
- create WAV files that are compatible with the Windows 3.1 Multi-
- Media sound format by using the VOC2WAV program.
-
- Wavepool can also be ran from the Windows MS-DOS or RUN prompts.
-
-
- REGISTRATION
-
- WAVEPOOL Registration: $35 (Updated version will be sent)
-
- The updated version will contain more functions and additional
- waveforms. We are also adding an amplitude envelope feature.
-
- If you have enjoyed using WAVEPOOL, Please register. If you are
- using WAVEPOOL to create sound effects for distribution, then
- you MUST register the program. We think this is a fair policy!
-
- Registered users will also be granted higher access to our BBS,
- and entered into our drawing. See DRAWING information below.
-
- Print the file ORDER.DOC for a registration form.
-
-
- TRADEMARKS
-
- WAVEPOOL is a trademark of Data Assist, Inc.
- Sound Blaster is a trademark of Creative Labs, Inc.
- Windows is a trademark of Microsoft Corp.
-
-
-
- GENERAL INFORMATION
-
- WAVEPOOL stands for "WAVE Programmable Output Oriented Language."
-
- With the release of Windows 3.1 and the ability to attach WAV
- files to events, everybody is now looking for interesting sound
- effects. However, Windows does not provide a facility to create
- WAV files other than recording them via a supported sound card.
-
- WAVEPOOL was originally created as an "in-house" tool to create
- sound effects for some of our other software products. Due to the
- large demand for WAV files, we have decided to release this tool
- as a Shareware utility. We have many additions in mind for
- WAVEPOOL. Your registration will support these improvements.
-
- An advantage of using WAVEPOOL to create sounds is that WPL files
- are very small compared to the SOU, VOC and WAV files that are
- generated. As such, WAVEPOOL files can quickly be uploaded and
- downloaded from BBS systems.
-
-
- PROGRAMS AND SOUND FILES
-
- WAVEPOOL programs may be edited using any standard DOS text
- editor. A WAVEPOOL program file has a '.WPL' file extension.
-
- The sound data files (.SOU) created by WAVEPOOL are in a raw (no
- header) format. This format was chosen because raw data files
- are better for the additional features that we have planned.
-
- Use the internal SNDVOC function to convert SOU files into Sound
- Blaster compatible VOC files. Until a SNDWAV function is added to
- WAVEPOOL, you must first create a VOC file and then use the
- VOC2WAV program to create a Windows compatible sound file.
-
- The SOU files created by WAVEPOOL have a sampling rate of 11,000
- samples per second. You should take this into account when
- converting the SOU files to other sound file formats.
-
-
- USAGE
-
- WAVEPOOL is executed under DOS by entering WPL followed by the
- program name.
-
- Example:
-
- C> WPL BIRD
-
- In this example the program BIRD will be read in and executed.
-
-
-
- STATEMENTS
-
- A statement can be one of the following:
-
- { STATEMENT_LIST }
- EXPRESSION
- print EXPRESSION-LIST
- printf FORMAT, EXPRESSION_LIST
- if ( EXPRESSION ) STATEMENT [ else STATEMENT ]
- for ( EXPRESSION; EXPRESSION; EXPRESSION) STATEMENT
- while ( EXPRESSION ) STATEMENT
- do STATEMENT while ( EXPRESSION )
- break
- continue
- exit [ EXPRESSION ]
- function NAME ( VARIABLES ) { STATEMENT_LIST }
- return [EXPRESSION ]
-
- A STATEMENT_LIST is a list of statements separated by newlines or
- semicolons.
-
- Expressions take on string or numeric values depending on the
- operators. There is only one string operators concatenation,
- indicated by adjacent expressions.
-
- OPERATORS
-
- The following are the operators in order of increasing precedence:
-
- Operation Operator Example
-
- assignment = *= /= %= x += 2
- += -= ^=
- conditional ?: x?y:z
- logical OR || x||y
- logical AND && x&&y
- relational == != > x==y
- <= >= <
- concatenation "x" "y"
- add, subtract + - x+y
- mul, div, mod * / % x*y
- unary plus minus + - -x
- logical not ! !x
- exponentiation ^ x^y
- inc, dec ++ -- x++
-
-
-
- MATH AND STRING FUNCTIONS
-
- Function Value returned
-
- atan2(y, x) arctangent of y/x (from -PI to PI)
- cos(x) cosine of x (x in radians)
- exp(x) exponentiation of x (e ^ x)
- index(s, t) position of t in s (0 if not in s)
- int(x) integer part of x
- length(s) number of characters in s
- log(x) natural log of x
- rand() random number (0 <= rand < 1)
- sin(x) sine of x (x in radians)
- sprintf (...) formatted string
- sqrt(x) square root of x
- substr(s,p) substring of s from p to end
- substr(s,p,n) substring of s from p of length n
-
-
- SOUND RELATED FUNCTIONS
-
- Function Action
-
- screate(s) create a SOUnd format output file.
- sclose(n) close the current file. if n==0 close output.
- sndvoc(s,p) convert a SOUnd file to VOC file.
- sinwave(f,n) generate a sine wave; f=frequency, n=samples
- sinwave2(f,g,n) generate a sine wave; f->g, n=samples.
- quiet(n) generate silence, n=samples
-
-
- VARIABLES
-
- Variables may be scalars. Array elements are not yet supported in
- this version of WAVEPOOL.
-
- Variable names begin with a letter or underscore and may contain
- any number of letters, digits, or underscores.
-
- Before any value is assigned to a variable it's type is
- indeterminate, that is it is both a string and a number (this is
- important when doing comparisons and for printing). An
- uninitialized variable will compare equal to the null string ("")
- and to zero (0). It will print as the null string.
-
-
-
- APPLICATION NOTES
-
- To use WAVEPOOL VOC files with Windows 3.1, you must convert
- the VOC file to a WAV file using the VOC2WAV.EXE program.
- VOC2WAV is available on Exec-PC, CompuServe and on our BBS.
-
- To use WAVEPOOL SOU files with Grasp, you must convert the
- SOU file to a Grasp style SND file by using the MAC2SND.EXE
- program distributed with Grasp.
-
-
- DRAWING
-
- All users who register WAVEPOOL before December 31, 1992 will
- automatically be entered in our drawing. The winner will be
- given a copy of RECORDING STUDIO PROFESSIONAL, by Turtle Beach
- Systems, distributed by Brown/Wagh Publishing, Value: $199.
-
- Simply register WAVEPOOL before December 31, 1992 and you
- will automatically be entered into our drawing!
-
-
- UPDATES AND TECH SUPPORT
-
- For more information about updates, or our other software
- products, please call or write:
-
- Data Assist, Inc.
- P. O. Box 26114
- Columbus, OH 43226
-
- Tel: 614-888-8088
- BBS: 614-888-8056
-
- Note: Please do NOT call for technical support unless you have
- registered this program with Data Assist. Purchase of this
- program from a Shareware vendor does NOT mean you are registered!
-
-
-