home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
SG244883.ZIP
/
4_4.3
< prev
next >
Wrap
Text File
|
2001-01-27
|
6KB
|
169 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<base href="http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/EZ30OZ00/4.4.3">
<title>
4.4.3 "OS/2 WARP and OpenDoc"
via IBM BookManager BookServer
</title>
</head>
<body background="/bookmgr/backdrop.gif">
<banner><br>
<a href="../../library"><img src="/bookmgr/libicon2.gif" border=0 alt="[Library]"></a>
<a href="CONTENTS#4.4.3"><img src="/bookmgr/contents.gif" border=0 alt="[Contents]"></a>
<img src="/bookmgr/drevs.gif" border=0 alt="[Revisions]">
<a href="4.4.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
<a href="4.4.4"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
<a href="../../search?book=EZ30OZ00"><img src="/bookmgr/search.gif" border=0 alt="[Search]" ></a>
<img src="/bookmgr/dslist.gif" border=0 alt="[Search Results]">
<img src="/bookmgr/dsprev.gif" border=0 alt="[Prev Topic Match]">
<img src="/bookmgr/dsnext.gif" border=0 alt="[Next Topic Match]">
<img src="/bookmgr/dnotes.gif" border=0 alt="[Notes]">
<img src="/bookmgr/dlnotes.gif" border=0 alt="[List Notes]">
<a href="../../print?book=EZ30OZ00"><img src="/bookmgr/print.gif" border=0 alt="[Print]"></a>
<a href="../../download/EZ30OZ00.boo"><img src="/bookmgr/download.gif" border=0 alt="[Download]" ></a>
<a href="../../help/book"><img src="/bookmgr/help.gif" border=0 alt="[Help]"></a>
<hr>
<a name="HDRODSCOAU"><H3> 4.4.3 Audio Templates</H3></a>
</banner>
<pre width="80">
<p>
All Audio templates have functions to record, play, and edit sounds. It
enables you to insert sound bits (or sound data such as .WAV files) in an
OpenDoc document. The Audio Part is not allowed to be embedded in the
other parts, except the Container Part.
<p>
We will show you a sample of an Audio part which is embedded in a
Container Part (see <a href="#FIG4610S61">Figure 141</a>). To create this sample, you must do the
following steps:
<p>
1. Drag and drop the Container Part template from the OpenDoc Templates
folder to the Desktop or a folder to create a new OpenDoc document.
<p>
2. Drag and drop an Audio template from the Multimedia Templates folder
on to the Container Part.
<p>
3. Drag and drop a sound file (WAV file) on the Audio Part object.
<p>
<p>
<a href="#FIG4610S61">Figure 141</a> shows an embedded Audio Part in the Container Part being
activated. Since the Audio Part is activated, the Selected menu is
available for the Audio Part.
<p>
As you see in the Open as menu in <a href="#FIG4610S61">Figure 141</a>, there are four kinds of part
handlers available for the Audio Part, as follows:
<p>
░ Audio editor
<p>
░ Player
<p>
░ Play/Stop
<p>
░ Quick recorder
<p>
<p>
Each of these part handlers is a separate part handler. If you select the
<B>Play/Stop</B> handler as shown in<a href="#FIG4610S61"> Figure 141</a>, it will play the sound file.
<p>
<a name="FIG4610S61"><hr>
</a>
<p>
<p>
<a href="picture-135?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P135.GIF" alt="PICTURE 135"></a>
<p>
<p>
<hr>
Figure 141. Audio Part
<p>
If you select <B>Audio</B> <B>editor</B>, it will give you an audio editor as shown in
<a href="#FIG4610S62">Figure 142</a>.
<p>
The Audio editor has the function to record a voice or sound to create a
new sound file or edit an existing sound file.
<p>
<a name="FIG4610S62"><hr>
</a>
<p>
<p>
<a href="picture-136?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P136.GIF" alt="PICTURE 136"></a>
<p>
<p>
<hr>
Figure 142. Audio Editor
<p>
This editor makes it easy to edit a sound file. The wavy line represents
a sound with high and low pitch vertically and the horizontal axis
represents time passing.
<p>
As shown in <a href="#FIG4610S63">Figure 143</a>, an audio player is displayed by selecting <B>Player</B>
from the Open as menu.
<p>
<a name="FIG4610S63"><hr>
</a>
<p>
<p>
<a href="picture-137?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P137.GIF" alt="PICTURE 137"></a>
<p>
<p>
<hr>
Figure 143. Audio Player
<p>
The audio player provides a user interface for starting, stopping,
pausing, and rewinding a sound file.
<p>
As shown in <a href="#FIG4610S64">Figure 144</a>, Quick recorder is displayed by selecting <B>Quick</B>
<B>recorder</B> from the Open as menu.
<p>
<a name="FIG4610S64"><hr>
</a>
<p>
<p>
<a href="picture-138?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P138.GIF" alt="PICTURE 138"></a>
<p>
<p>
<hr>
Figure 144. Quick Recorder
<p>
The Quick recorder allows you to record voice or sound through a
microphone that is connected to your sound card.
<p>
Since audio files cannot be displayed, they will be represented as icons
on the document, but can also be displayed as buttons (as shown in
<a href="#FIG4610S65">Figure 145</a>).
<p>
<a name="FIG4610S65"><hr>
</a>
<p>
<p>
<a href="picture-139?mode=zoom"><img src="/bookmgr/pictures/EZ30OZ00.P139.GIF" alt="PICTURE 139"></a>
<p>
<p>
<hr>
Figure 145. Show as Button for Audio Part
<p>
To show the Audio Part as a button, you should use the following steps:
<p>
1. Select the Audio Part to be activated.
<p>
2. Select <B>Show</B> <B>as</B> in the View menu.
<p>
3. Select <B>Button</B> in the Show as submenu.
<p>
<p>
The icon will change into a raised button. You can select the button to
automatically play the file within a part using a single mouse click.
Correspondingly, you can stop file playback with a single mouse click.
</pre>
</pre>
<hr>
<br><a href="4.4.2"><img src="/bookmgr/prev.gif" border=0 alt="[Prev Topic]"></a>
<a href="4.4.4"><img src="/bookmgr/next.gif" border=0 alt="[Next Topic]"></a>
<cite> ⌐ Copyright IBM Corp. 1996</cite>
<HR><p><h6><a href="/cgi-bin/bookmgr/library">IBM BookManager« BookServer</a> Copyright 1989, 1999<a href="http://www.ibm.com/"> IBM</a> Corporation. All rights reserved.</h6><p>
</BODY></HTML>