home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 2
/
CDPD_II_2352.bin
/
scope
/
151-175
/
scopedisk159
/
musicbox
/
musicbox.doc
< prev
next >
Wrap
Text File
|
1992-10-27
|
9KB
|
204 lines
MusicBox V1.8 Copyright 1990 by Peter L. Dunlap
Distributed courtesy of CMOS BBS (303)322-4078
Permission is granted for non-commercial distribution, provided all
files remain intact.
A small music player program, the "MusicBox" uses "SoundFX" song files
for music output. Be sure to use both Amiga audio outputs, as the music
is in stereo!
The "MusicBox" program may be run from either Workbench or CLI. Simply
"Double-Click" the "MusicBox" icon for Workbench execution, or type
"MusicBox" for CLI usage. Upon startup, the program will open a small
window on the Workbench screen. This window provides song control
gadgets and status information. To terminate operation, use the "Close"
gadget.
The middle left portion of the "MusicBox" window is a "Mode" gadget.
Use this gadget to switch between "Sequence", "Random", and "Repeat"
modes. The middle right portion of the window is a "Select" gadget. Use
this gadget to select the next song or replay current song in repeat
mode.
While the window is active, the function keys F1 - F10 can be used to
select songs identified as "Song00" - "Song09" (F1 key selects "Song00",
F10 key select "Song09"). The "S" key will "Select" the next song, the
"D" key will toggle the play "Mode" and the "ESC" key will terminate
program operation.
If the "MusicBox" is executed from the CLI, and no icon is available
(no MusicBox.info file), then only song files named "Song00" - "Song99"
may be used. However, if the icon file is found, it's "ToolTypes" field
will be searched for alternate song names. For example, a "ToolTypes"
entry of "Song00=FutureTrip", would indicate that the song file named
"FutureTrip", should be used whenever "Song00" is the current selection.
For "Sequence" mode to function properly, song number entries must be
continueus (though not nessesarily in order). For example, the following
"ToolTypes" entries, would indicate a sequence of songs, beginning with
"FutureTrip" and ending with "MemoryDust".
Song00=FutureTrip
Song03=MemoryDust
Song02=OneSixtyTwo
Song01=SpaceConsert
When the last song of a sequence is complete, the sequence will begin
again from "Song00". If the above example, contained an additional entry
of "Song05=Subway", it would not be played as part of the sequence,
because there is no entry for "Song04". If the example were further
modified to include the entry "Song04=", then the song "Subway" would be
a part of the sequence. A song entry with no name (e.g. "Song04=") is
treated as a place holder. No attempt will be made to load an empty
name, but entry will permit a sequence to continue.
Additional Credits...
The music files were produced using a pre-release version of "SoundFX"
by Christian Haller and Christian A. Weber of LINEL (Switzerland). In
most cases the executable header has been removed to conserve space and
reduce the possiblity of software conflicts.
As the "SoundFX" song format does not provide a means of author
identification or copyright, the origional composers of these songs, are
unknown. The "MusicBox" copyright, applies to the player software and
documentation only.
To permit storage of a number of complete songs (each song file
contains all nessesary instruments) on limited disk media, each song has
been compressed using Nico Francois's, of POWER PEAK (Belgium),
"PowerPacker", in "data file" mode.
"PowerPacker" is a shareware program. If you use it and like it, send
him a complement. If in doubt as to the language, all programers speak
CA$H!
!!!!! Version 1.8 changes !!!!!
The song selection number has been increased from ten to onehundred.
It is now possible for the "MusicBox" to choose from 100 different
songs. Unfortunately there are only ten function keys available to the
Amiga, so only the first ten songs ("Song00" - "Song09"), may be
accessed by function key press.
Random song selection may be indicated for initial startup, by placing
the string "RND=" within the "MusicBox" icon's "ToolTypes" field. If
this string is present, the "MusicBox" will begin with a randomly
choosen song, and continue to choose songs using the "Random" selection
mode. This software version uses a hardware based random number
generator, that will provide a better song selection mix, when the
"Random" mode is active.
DMA control timing has been made processer independant. This fixes a
"bug" that caused some notes to be skiped when the "MusicBox" is being
executed on a 68020, or some other speedy CPU.
Use of a micro code, assembler model, has resulted in improved
efficiency and a tiny program. Version 1.8 is actually a few hundred
bytes smaller than version 1.7!
!!!!! Version 1.7 changes !!!!!
This version supports additional musical effects. Both crescendo and
diminuendo effects are now supported. A new vibrato effect has been
added and the appreggiato effect has been remaped to effect zero. Also,
the "enable low pass filter" effect, has been combined with the "disable
low pass filter", to make room for the vibrato effect.
Use of a small code, assembler model, has resulted in improved
efficiency and a smaller program. Version 1.7 is actually a few bytes
smaller than version 1.6.
!!!!! Version 1.6 changes !!!!!
"SoundFX" files may now be compressed using Nico Francois's (POWER
PEAK) "PowerPacker" in "data file" mode. This feature is provided thanks
to Nico's publication of "ppdata" source. The song files included with
this archive have been compressed using this method. While compressed
songs may include the "SoundFX" executable header, they must be crunched
using "data file" mode.
The compression technique used by "PowerPacker", usually results in a
20% to 40% reduction in file size. This permits a larger number of song
files to be included on a given media. Of coarse there is a price to
pay. Decompression takes time, about one second per fifty thousand
bytes. If you can wait a second or so between songs, this is the way to
go.
!!!!! Version 1.5 changes !!!!!
This version supports additional musical effects. Both velocity and
time signature changes are now handled correctly. The range of the pitch
bend effect has also been increased as it has been split into two
effects (pitch up and pitch down).
The enhanced effects support, permit a more natural presentation of
musical scores and improve the dynamic range that is possible. The bad
news is... This version is not 100% compatible with all "SoundFX" songs.
In particular, songs using the appreigatto effect, will sound strange.
Additionally, some songs using the pitch bend effect, may not play
right.
This incompatibility is a small price to pay for the additional
quality the new effects provide. But if it concerns you, I am planing a
new program that will convert from the old style to that which is
supported now.
!!!!! Version 1.4 changes !!!!!
As of version 1.4, files produced with the "SoundFX", "Save-Final"
option, may be used without modification (i.e. music files may be
executable). Additionally, music files are no longer restricted to the
names "SONG0 - SONG9". Use of "MusicBox" icon tooltypes, permits
alternate music file name specification. A tooltype entry of
"Song0=MemoryDust", would indicate that the file name "MemoryDust"
should be used whenever "Song0" is selected.
Graphic display of the current music file name has been added to the
control window. If no alternate name has been provided, the file name
will be the same as the song selected. In the example above, the name
"MemoryDust" would be used and displayed when the song selection was
"Song0".
Because the file name references are stored in the "MusicBox" icon,
CLI execution now requires the current directory to be, that which
contains the "MusicBox.info" file. Also, the file "icon.library", must
be available through the "LIBS:" directory.
Workbench execution has no additional requirements.
NOTE: Music files produced with the "SoundFX" "Save-Final" option,
have a program header that permits the song to be played without any
additional files or programs. The player program adds aprox. 2500 bytes
to the file and is limited in capability, but it does allow each file to
function independently. When the song is playing, use of both mouse
buttons, simultaneously, will end the music.
Unfortunately, the "SoundFX" player program, can not determine if
other programs are currently using the audio hardware. As a result, use
of the built-in player will cause interference with other software
currently using the audio hardware (e.g. "MusicBox").
So be warned. Execution of the music files, while the "MusicBox" or
other audio programs are running, will not work (at best) and may result
in a journey to "Guru land".
!!!!! Version 1.3 changes !!!!!
Hmm, seems all detail on versions previous to 1.4, has been lost!
Where, oh where did my data go?
...discontinuity...
*** End Of Text ***
Hope you like the program!
Your fellow Amigan,
Peter L. Dunlap