Read from file...

One of the commands in the Open menu.

## Purpose

To read one or more objects from a file on disk.

## Behaviour

Many kinds of files are recognized:

  1. Text files that are structured as described under Save as text file...; these can contain an object of any type, or a collection of objects.
  2. Files that were produced by Save as binary file... (any type).
  3. Files in a LISP text format (only for object types that can be written to a LISP file).
  4. Files that were made recognizable by the libraries built on Praat. For instance, the phonetics library adds recognizers for many kinds of sound files.

If the file contains more than one object, these objects will appear in the list, and their names will be the same as the names that they had when they were saved with Save as text file... or Save as binary file....

## Examples

  • If the file contains only one Pitch object and is called "hallo.pit", an object with the name "Pitch hallo" will appear in the list of objects. You may have more objects with the same name.
  • If the file contains one object of type Pitch, named "hallo", and one object of type Polygon, named "kromme", there will appear two objects in the list, called "Pitch hallo" and "Polygon kromme".

### Links to this page

- `fileNames$#`
- Confusion
- Create Strings as file list...
- Dissimilarity
- EEG
- ExperimentMFC 2.9. How an experiment proceeds
- FLAC files
- How to concatenate sound files
- Intro 1.2. Reading a sound from disk
- Intro 4.5. The Pitch object
- Intro 5.4. The Formant object
- Intro 7. Annotation
- Keyboard shortcuts
- ManPages
- Matrix
- NIST files
- OT learning 2.2. Inside the grammar
- OT learning 7. Learning from overt forms
- Save as short text file...
- Save menu
- Scripting 6.4. Files
- Scripting 7.1. Scripting an editor from a shell script
- Sesam/LVS files
- Sound files 2.2. AIFF files
- Sound files 2.4. NeXT/Sun (.au) files
- Sound files 3. Files that Praat can read
- SoundRecorder
- SpellingChecker
- stereo
- Strings
- TextGrid file formats
- What was new in 3.9?
- What was new in 4.5?
- What was new in 5.2?
- What's new?
- WordList