home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
MULTIMED
/
SOUND16
/
sound.hlp
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1997-02-08
|
17KB
|
450 lines
ΓòÉΓòÉΓòÉ 1. About the Sound Scheme Editor ΓòÉΓòÉΓòÉ
IBM's Warp 4.0(aka Merlin) expanded on the system event sounds available in
previous versions of OS/2 by allowing the user to select entire sets of system
sounds at once. These sound collections are called Sound Schemes and allow the
user to easily switch between a variety of sound configurations. Warp 4.0 comes
with four sound schemes to choose from: "Desktop", "Garden", "Ocean" and
"Space".
Unfortunately, Warp provides no means to create additional sound schemes or to
edit the existing ones. As interesting as the supplied shemes may be, none of
them suited me. Of course I could still set my system sounds individually, but
having had a taste of the quick changes the sound schemes allowed, that was no
longer satisfactory.
The result was the Sound Scheme Editor. The program was initially written to
allow the user to add/edit/delete sound schemes but was later enhanced to
enable entire schemes to be exported and imported and to compensate for an
apparent MMOS/2 installation bug.
The one major limitation to the program is that while it will edit sound
schemes it will not apply them. To make a sound scheme active the user go to
the sound properties Scheme page and apply the new sound scheme. As far as I
can tell, there is no way for me to do this from within Sound Scheme Editor. If
anyone knows otherwise, tell me how and I'll add it.
I hope you find the program helpful and easy to use. The program is freeware so
you don't have to feel guilty for using it. Suggestions for enhancements are
welcome(but no guarantees).
ΓòÉΓòÉΓòÉ 2. The Main Window ΓòÉΓòÉΓòÉ
The following section describes Sound Scheme Editor's main window.
1. The Menu
2. The Named Sound Scheme listbox
3. The Files listbox
4. The Load Current Scheme button
5. The Stop Playing button
ΓòÉΓòÉΓòÉ 2.1. The Menu ΓòÉΓòÉΓòÉ
The main menu contains the following choices:
1. File
2. System
3. Help
ΓòÉΓòÉΓòÉ 2.1.1. File ΓòÉΓòÉΓòÉ
The File menu contains the following choices:
1. Add
2. Replace
3. Delete
4. Import
5. Export
ΓòÉΓòÉΓòÉ 2.1.1.1. Add ΓòÉΓòÉΓòÉ
The Add menu option allows the user to add a new sound scheme to the system.
This option will not allow you to add a sound scheme with the same name as an
existing sound scheme. The system INI file will be updated to contain the new
scheme.
The set of sounds displayed in the Display Box can optionally be copied into a
directory below the MMOS2\SOUNDS directory with the same name as the sound
scheme. If this option is chosen sound schemes with names longer than eight
characters will be saved in a directory whose name is that of the sound scheme
except that on FAT file systems the directory name will be truncated to eight
characters. This could cause files to be overwritten if another sound scheme
exists with a similar name.
ΓòÉΓòÉΓòÉ 2.1.1.2. Replace ΓòÉΓòÉΓòÉ
The Replace menu option allows the user to change the definition of a currently
existing sound scheme. The set of sounds displayed in the Display Box will be
used to replace the existing sounds.
The user will be warned that an existing sound scheme is about to be altered.
ΓòÉΓòÉΓòÉ 2.1.1.3. Delete ΓòÉΓòÉΓòÉ
The Delete menu option allows the user to remove existing sound schemes from
the system. No files are deleted; only the system INI file is updated to
reflect the change.
The user will be warned that an existing sound scheme is about to be deleted.
ΓòÉΓòÉΓòÉ 2.1.1.4. Import ΓòÉΓòÉΓòÉ
The Import menu option allows the user to import a collection of sound files
previously saved with the Export menu option into a new sound scheme. The
behavior is simlilar to the Add menu option except that the user is supplied
with a default sound scheme name which may be changed if desired.
ΓòÉΓòÉΓòÉ 2.1.1.5. Export ΓòÉΓòÉΓòÉ
The Export menu option allows the user to export an existing sound scheme into
a single file containing the sound files, their names and the name of the sound
scheme. The sound scheme selected in the Sound Scheme Listbox will be the one
exported, not the sounds shown in the Display Box.
The resulting file may then be imported by other users. A word of warning, this
file may be quite large and the user is advised compress the file before
uploading it for distribution.
ΓòÉΓòÉΓòÉ 2.1.2. System ΓòÉΓòÉΓòÉ
The System menu contains the following choices:
1. Load Current
2. Stop Playing
3. Create Icon
4. Remap Drives
ΓòÉΓòÉΓòÉ 2.1.2.1. Load Current ΓòÉΓòÉΓòÉ
The Load Current menu option will populate the Display Box with the currently
active sound scheme. If changes have been made to the sounds in the Display Box
the user will be warned that unsaved changes will be lost.
ΓòÉΓòÉΓòÉ 2.1.2.2. Stop Playing ΓòÉΓòÉΓòÉ
The Stop Playing menu option allows the user to stop the currently playing
sound file. Normally this will not be necessary since playing a new sound
interrupts the current one.
ΓòÉΓòÉΓòÉ 2.1.2.3. Create Icon ΓòÉΓòÉΓòÉ
The Create Icon menu option will create a program icon on the desktop to run
Sound Scheme Editor.
It is assumed that all files from the distribution zip file are present and
have their original names.
ΓòÉΓòÉΓòÉ 2.1.2.4. Remap Drives ΓòÉΓòÉΓòÉ
The Remap Drives menu option is used to compensate for an apparent bug in the
MMOS/2 installation procedure. Most users will never use it and those that do
need only use it once.
ΓòÉΓòÉΓòÉ 2.1.3. Help ΓòÉΓòÉΓòÉ
The Help menu contains the following choices:
1. Table Of Contents
2. General Help
3. Product Information
ΓòÉΓòÉΓòÉ 2.1.3.1. Table Of Contents ΓòÉΓòÉΓòÉ
The Table Of Contents menu option brings up the table of contents for the Sound
Scheme Editor help file.
ΓòÉΓòÉΓòÉ 2.1.3.2. General Help ΓòÉΓòÉΓòÉ
The General Help menu option brings up the Sound Scheme Editor help file.
ΓòÉΓòÉΓòÉ 2.1.3.3. Product Information ΓòÉΓòÉΓòÉ
The Product Information menu option displays the title and version number of
this software.
In addition, the author's name and contact information can be found there.
ΓòÉΓòÉΓòÉ 2.2. The Named Sound Scheme listbox ΓòÉΓòÉΓòÉ
The listbox on the left side of the main window displays a list of all of the
named sound schemes installed in the system. The highlighted sound scheme may
be replaced, deleted or exported using the appropriate menu selections.
In addition, double-clicking on an entry in the listbox will replace the files
in the display box with the files defined by the selected named sound scheme.
If the files in the display box have been changed but have not been saved by
either adding or replacing a sound scheme the user will be warned that changes
will be lost.
The named sound scheme listbox is updated immediately when a scheme is added,
deleted or imported.
ΓòÉΓòÉΓòÉ 2.3. The Files listbox ΓòÉΓòÉΓòÉ
The listbox on the right side of the main window is used to select or play
sound files and to navigate to directories and drives.
The entry <None> or a wave file can be dragged to an entry field in the display
box to change a system sound. Dragging <None> causes the corresponding system
sound to be silent.
In addition, the user may double-click a wave file to play it or may
double-click a directory or drive entry to change to that directory or drive.
ΓòÉΓòÉΓòÉ 2.4. The Load Current Scheme button ΓòÉΓòÉΓòÉ
The Load Current Scheme button is identical in function to the Load Current
menu option.
It will populate the Display Box with the currently active sound scheme. If
changes have been made to the sounds in the Display Box the user will be warned
that unsaved changes will be lost.
ΓòÉΓòÉΓòÉ 2.5. The Stop Playing button ΓòÉΓòÉΓòÉ
The Stop Playing button is identical in function to the Stop Playing menu
option.
It allows the user to stop the currently playing sound file.
ΓòÉΓòÉΓòÉ 3. The Display Box ΓòÉΓòÉΓòÉ
The following section describes Sound Scheme Editor's sound file display box.
ΓòÉΓòÉΓòÉ 3.1. Sound Scheme Display Box ΓòÉΓòÉΓòÉ
The second window in Sound Scheme Editor is used to display and set system
sounds. The display fields contain the filespec for the wave file assigned to
the corresponding system sound or the entry <None> if the system sound is
silent.
On startup the fields are valued with the currently active system sounds. The
values may be changed all at once by loading a scheme by double-clicking on the
Named Sound Scheme listbox, selecting the Load Current menu option or selecting
the Load Current Scheme button.
Alternately, and more importantly, the entry fields may be changed individually
by dragging a file from the Files listbox, from another entry field on the
Display Box window, from a directory folder or from a PM drag and drop enabled
file manager.
The files from this window are used as the source for the Add menu option.
ΓòÉΓòÉΓòÉ 4. MMOS/2 Installation Bug ΓòÉΓòÉΓòÉ
The installation process for OS/2 4.0's MMOS/2 has a bug. Most users will
probably never encounter it but for the rest of us it is a pain. If MMOS/2 is
installed on a drive other than the OS/2 boot drive, the paths for the named
sound schemes' files incorrectly reference the boot drive instead of the drive
where MMOS/2 was installed.
Specifically, in my case, I installed OS/2 on the F: drive and MMOS/2 on the G:
drive. When I started the system all seemed fine. All of my system sounds
worked just like always. However, when I used the sound settings page to apply
a new scheme, all system sounds disappeared. It turned out that the files were
pathed to F:\MMOS2\SOUNDS\... instead of G:\MMOS2\SOUNDS\...
A little poking around led me to the INI file entries I had to edit to correct
the problem and that was that. Later, after I had released my Sound Scheme
Editor program I saw messages from others complaining about the same problem so
I added a feature to the program to correct the error.
If the user selects the Remap Drives menu option the program will search the
named sound schemes for paths referencing MMOS/2 on drives other than the one
pointed to by the MMBASE environment variable and if it finds any will change
the drive letter in the path appropriately.
A small warning about this: if the MMOS2 directory exists on multiple drives
and the sound file is meant to be played from that directory tree, Sound Scheme
Editor will incorrectly change the path to point to the drive named by MMBASE.
ΓòÉΓòÉΓòÉ 5. Sound Scheme details ΓòÉΓòÉΓòÉ
Each named sound scheme consists of a collection of up to thirteen sound files,
each of which is associated with a system event. Any or all of the system
events may be defined as silent in which case no sound file is assigned to the
event.
The default named sound schemes reside in subdirectories of the \MMOS2\SOUNDS
directory on the drive specified by the MMBASE environment variable. It is not,
however, necessary that the files be at that location. For consistancies sake I
have chosen to make Sound Scheme Editor place the schemes it adds there.
The OS2SYS.INI file contains an application named PM_SOUND_SCHEMES_LIST which
is used by MMOS2 to access the named sound schemes. It contains keys who's
values are the application names for the individual sound schemes.
For example, if a system has two sound schemes named "One" and "Two",
PM_SOUND_SCHEMES_LIST would have two keys named One and Two with values of
PM_SOUNDS_ONE and PM_SOUNDS_TWO respectively.
In addition, the OS2SYS.INI file would contain two applications named
PM_SOUNDS_ONE and PM_SOUNDS_TWO. The application PM_SOUNDS_ONE would have
thirteen keys with the names 0 through 12. Each of the keys has a fully
qualified filename or the literal "<None>" as a value. The application
PM_SOUNDS_TWO would have the same format(though presumably different files as
key values).
Note: if you use rexx to create OS2SYS.INI file entries for sound schemes, you
must make sure that null terminators are added to each key value as it is
inserted. Rexx will not do this automatically and the inserted scheme will not
work otherwise.
ΓòÉΓòÉΓòÉ 6. Import/Export file format ΓòÉΓòÉΓòÉ
The import/export file used by Sound Scheme Editor is quite simple. You could
figure it out easily but I'll save any interested parties the trouble.
The file consists of the null terminated scheme name followed by the
specifications of each of the thirteen sounds. The file specification consists
of the null terminated file name followed by the a null terminated ascii
representation of the file size followed by the wave file data. The exception
to this file specification is that the literal "<None>" will be in the place of
the name when there is no sound for the system event. In this event, there will
be no size information or file data.
In versions of Sound Scheme Editor prior to v1.4 import and export did not
handle silent system events properly.
ΓòÉΓòÉΓòÉ 7. Release Notes ΓòÉΓòÉΓòÉ
v1.6
Fixed a bug adding a sound scheme which contained silent sounds.
Fixed a bug that prevented Sound Scheme Editor from playing wave files
with names containing a space character.
v1.5
Added popup menus to display box, sound scheme list and files list.
Added "<None>" to display box popup menu so the user need not drag the
"<None>" item from the files listbox to silence a system event.
Added sort by none/name/size capability to the files listbox.
Added menu option to create an icon to run the program.
Adjusted field sizes for display on 1280x1024 screens.
Attempted to fix bug where saving a sound scheme with a blank entry
crashed the program. I don't know if this was successful since I can't
recreate it but I read a review of the software that mentioned the
problem. If the problem persists, someone get back to me about it,
please.
v1.4
Added context sensitive online help.
Corrected the importing and exporting of sound schemes containing silent
system events.
Added the option to copy the sound files to the \MMOS2\SOUNDS directory
tree when adding or replacing sound schemes.
v1.3
Added sound scheme import and export functionality.
Added warnings if the user attempts to exit or load a sound scheme
without saving changes made to the files in the Sound Scheme Display Box.
v1.2
Added function to remap sound schemes to the drive specified by the
MMBASE environment variable.
v1.1
Added the capability to stop a file that is currently playing.
Added "<None>" to the files listbox so a system event could be made
silent.
v1.0
Initial release of Sound Scheme Editor.
ΓòÉΓòÉΓòÉ <hidden> Continue ΓòÉΓòÉΓòÉ
Select Continue to remap sound scheme files to the drive specified in the
MMBASE environment variable.
See MMOS/2 installation bug.
ΓòÉΓòÉΓòÉ <hidden> Cancel ΓòÉΓòÉΓòÉ
Select Cancel to avoid remapping sound scheme files to the drive specified in
the MMBASE environment variable.
See MMOS/2 installation bug.
ΓòÉΓòÉΓòÉ <hidden> Suggested Import Scheme Name ΓòÉΓòÉΓòÉ
This field displays the name of the sound scheme supplied by the user who
originally exported it.
ΓòÉΓòÉΓòÉ <hidden> Import Scheme Name ΓòÉΓòÉΓòÉ
This field displays the name which will be assigned to the imported sound
scheme. This value may be changed by the user.
ΓòÉΓòÉΓòÉ <hidden> Import ΓòÉΓòÉΓòÉ
Select Import to import the sound scheme using the name displayed above.
ΓòÉΓòÉΓòÉ <hidden> Cancel ΓòÉΓòÉΓòÉ
Select Cancel to cancel the sound scheme import.
ΓòÉΓòÉΓòÉ <hidden> Export Scheme Name ΓòÉΓòÉΓòÉ
This field contains the name of the sound scheme being exported.
ΓòÉΓòÉΓòÉ <hidden> Export File Name ΓòÉΓòÉΓòÉ
This field contains the name of the file to which the sound scheme is being
saved.