home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
p
/
python
/
pytexdoc
/
ext
/
lib
/
lib2
/
aifc
/
tex
/
images.pl
(
.txt
)
< prev
next >
Wrap
LaTeX Document
|
1996-11-08
|
7KB
|
138 lines
# LaTeX2HTML 2022 (Released January 1, 2022)
# Associate images original text with physical files.
$key = q//;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img11.png"
ALT="\begin{funcdesc}{readframes}{nframes}
Read and return the next \var{nframes} fra...
...ntaining for each frame the uncompressed
samples of all channels.
\end{funcdesc}">|;
$key = q/{funcdesc}{aifc}{}CreateanAIFF-Cfile.ThedefaultisthatanAIFF-Cfileiscreated,unlessthenameofthefileendsin'.aiff'inwhichcasethedefaultisanAIFFfile.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img17.png"
ALT="\begin{funcdesc}{aifc}{}
Create an AIFF-C file. The default is that an AIFF-C fi...
...e file ends in '.aiff' in which case the default
is an AIFF file.
\end{funcdesc}">|;
$key = q/{funcdesc}{aiff}{}CreateanAIFFfile.ThedefaultisthatanAIFF-Cfileiscreated,unlessthenameofthefileendsin'.aiff'inwhichcasethedefaultisanAIFFfile.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img16.png"
ALT="\begin{funcdesc}{aiff}{}
Create an AIFF file. The default is that an AIFF-C file...
...e file ends in '.aiff' in which case the default
is an AIFF file.
\end{funcdesc}">|;
$key = q/{funcdesc}{close}{}ClosetheAIFFfile.Aftercallingthismethod,theobjectcannolongerbeused.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 1.75ex; vertical-align: 177.10ex; " SRC="|."$dir".q|img15.png"
ALT="\begin{funcdesc}{close}{}
Close the AIFF file. After calling this method, the object can no
longer be used.
\end{funcdesc}">|;
$key = q/{funcdesc}{getcomptype}{}Returnafour-characterstringdescribingthetypeofcompressionusedintheaudiofile.ForAIFFfiles,thereturnedvalueiscode{'NONE'}.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img6.png"
ALT="\begin{funcdesc}{getcomptype}{}
Return a four-character string describing the ty...
... audio file. For AIFF files, the returned value is
\code{'NONE'}.
\end{funcdesc}">|;
$key = q/{funcdesc}{getframerate}{}Returnthesamplingrate(numberofaudioframespersecond).{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.55ex; " SRC="|."$dir".q|img4.png"
ALT="\begin{funcdesc}{getframerate}{}
Return the sampling rate (number of audio frames per second).
\end{funcdesc}">|;
$key = q/{funcdesc}{getmark}{id}Returnthetupleasdescribedincode{getmarkers}forthemarkwiththegivenid.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.54ex; " SRC="|."$dir".q|img10.png"
ALT="\begin{funcdesc}{getmark}{id}
Return the tuple as described in \code{getmarkers} for the mark with
the given id.
\end{funcdesc}">|;
$key = q/{funcdesc}{getnchannels}{}Returnthenumberofaudiochannels(1formono,2forstereo).{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.41ex; " SRC="|."$dir".q|img2.png"
ALT="\begin{funcdesc}{getnchannels}{}
Return the number of audio channels (1 for mono, 2 for stereo).
\end{funcdesc}">|;
$key = q/{funcdesc}{getnframes}{}Returnthenumberofaudioframesinthefile.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.38ex; vertical-align: 176.40ex; " SRC="|."$dir".q|img5.png"
ALT="\begin{funcdesc}{getnframes}{}
Return the number of audio frames in the file.
\end{funcdesc}">|;
$key = q/{funcdesc}{getparams}{}Returnatupleconsistingofalloftheabovevaluesintheaboveorder.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img8.png"
ALT="\begin{funcdesc}{getparams}{}
Return a tuple consisting of all of the above values in the above
order.
\end{funcdesc}">|;
$key = q/{funcdesc}{getsampwidth}{}Returnthesizeinbytesofindividualsamples.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.38ex; vertical-align: 176.40ex; " SRC="|."$dir".q|img3.png"
ALT="\begin{funcdesc}{getsampwidth}{}
Return the size in bytes of individual samples.
\end{funcdesc}">|;
$key = q/{funcdesc}{rewind}{}Rewindthereadpointer.Thenextcode{readframes}willstartfromthebeginning.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img12.png"
ALT="\begin{funcdesc}{rewind}{}
Rewind the read pointer. The next \code{readframes} will start from
the beginning.
\end{funcdesc}">|;
$key = q/{funcdesc}{setframerate}{rate}Specifythesamplingfrequencyinframespersecond.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img20.png"
ALT="\begin{funcdesc}{setframerate}{rate}
Specify the sampling frequency in frames per second.
\end{funcdesc}">|;
$key = q/{funcdesc}{setnchannels}{nchannels}Specifythenumberofchannelsintheaudiofile.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img18.png"
ALT="\begin{funcdesc}{setnchannels}{nchannels}
Specify the number of channels in the audio file.
\end{funcdesc}">|;
$key = q/{funcdesc}{setpos}{pos}Seektothespecifiedframenumber.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img13.png"
ALT="\begin{funcdesc}{setpos}{pos}
Seek to the specified frame number.
\end{funcdesc}">|;
$key = q/{funcdesc}{setsampwidth}{width}Specifythesizeinbytesofaudiosamples.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img19.png"
ALT="\begin{funcdesc}{setsampwidth}{width}
Specify the size in bytes of audio samples.
\end{funcdesc}">|;
$key = q/{funcdesc}{tell}{}Returnthecurrentframenumber.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 177.13ex; " SRC="|."$dir".q|img14.png"
ALT="\begin{funcdesc}{tell}{}
Return the current frame number.
\end{funcdesc}">|;
$key = q/{funcdesc}{tell}{}Returnthecurrentwritepositionintheoutputfile.Usefulincombinationwithcode{setmark}.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.38ex; vertical-align: 176.40ex; " SRC="|."$dir".q|img25.png"
ALT="\begin{funcdesc}{tell}{}
Return the current write position in the output file. Useful in
combination with \code{setmark}.
\end{funcdesc}">|;
$key = q/{funcdesc}{writeframesraw}{data}Likecode{writeframes},exceptthattheheaderoftheaudiofileisnotupdated.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img27.png"
ALT="\begin{funcdesc}{writeframesraw}{data}
Like \code{writeframes}, except that the header of the audio file is
not updated.
\end{funcdesc}">|;
$key = q/{funcdesc}{writeframes}{data}Writedatatotheoutputfile.Thismethodcanonlybecalledaftertheaudiofileparametershavebeenset.{funcdesc};AAT/;
$cached_env_img{$key} = q|<IMG
STYLE="height: 2.17ex; vertical-align: 176.68ex; " SRC="|."$dir".q|img26.png"
ALT="\begin{funcdesc}{writeframes}{data}
Write data to the output file. This method can only be called after
the audio file parameters have been set.
\end{funcdesc}">|;