| | LSM | Quick View | All About | Free Demo! | Sign Up | Manual | Do It | |
| What is "ftp" anyway? |
| How to use it (Mac, PC, OS/2) |
| How to use it (Unix) |
| What to transfer (file names, audio file types) |
ftp is the name of the file transfer program, which you will use to
transfer audio and text files to the LSM and to get the LSM results
when they are ready.
To retrieve the LSM's output,
use the same procedure, except that you use "get" instead of "put":
The text file should be a plain ASCII file containing the sequence of
words spoken in the audio recording, written using standard written
American English spelling conventions. Do not include titles,
comments, actor directions, etc. in the text file, but only what was
spoken.
The audio file can be processed by the LSM in any one of the following formats,
listed with their filename extensions. The file format is identified
to the LSM not by its header or other contents, but by the filename
extension itself, so you must name the file with an extension in this
table for the LSM to process it
correctly.
The sample rate used should be either 16000 or 8000 samples per
second. For best results, digitize the audio at one of these rates
rather than converting the sample rate with a quick-and-dirty tool
such as "sox" which introduces spectral modifications that do not
improve synchronization performance.
FTP Instructions
Drag-and-drop ftp instructions (Mac, Windows, OS/2)
Command-line ftp instructions (Unix and DOS)
BOLD is what you type. # Comments over here
unix-prompt% cd /home/my/directory
unix-prompt% ls # just checking what's there.
sample.txt sample.wav # Looks like they're there.
unix-prompt% ftp ftp.sprex.com # connect to ftp.lsm.sprex.com using ftp
Login name: anonymous # this means it's an anonymous ftp session
Password: -your email address here- # please provide your email address
ftp> bin # set the transfer mode to "binary"
ftp> cd in # change directory to the "in" directory
ftp> put sample.txt # transfer the text file
ftp> put sample.wav # transfer the waveform file
ftp> quit # end the ftp session
unix-prompt% cd /home/my/directory # or wherever you want the results to come to
unix-prompt% ftp ftp.sprex.com # connect to ftp.lsm.sprex.com using ftp
Login name: anonymous # this means it's an anonymous ftp session
Password: -your email address here- # please provide your email address
ftp> bin # set the transfer mode to "binary"
ftp> cd out # change directory to the "out" directory
ftp> get sample.tar # transfer the results (assuming tar results request)
ftp> quit # end the ftp session
The audio file and the text file should have the same base name
but with two different extensions, or file name suffixes. The
extension for text files is ".txt" and the extension for audio files
is one of ".raw", ".au", ".aiff", etc., (lower case!) depending on the
audio file format, as described below and in the audio file
format page.
.raw Raw binary 16-bit linear waveform files (no header).
.aiff AIFF files used on Apple IIc/IIgs and SGI.
.au SUN Microsystems AU files.
.voc Sound Blaster VOC files.
.wav Windows 3.1 .WAV RIFF files.
.auto Automatically guesses the file type; but this may fail.
Modified: April 8, 2003