| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Sound files 3. Files that Praat can read</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | Sound files 3. Files that Praat can read |
| 13 | </b></font></table></table> |
| 14 | <p>Praat can read five types of standard sound files in several formats, and a number of proprietary types of sound files as well.</p> |
| 15 | <h2>Standard sound files</h2> |
| 16 | <p>The <a href="Open_menu.html">Open menu</a> contains two commands for opening sound files:</p> |
| 17 | <dl> |
| 18 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• With <a href="Read_from_file___.html">Read from file...</a>, you read the entire file into memory. A <a href="Sound.html">Sound</a> object will appear in the list. This is appropriate if your sound is not too long to fit into memory. The advantage of having a <a href="Sound.html">Sound</a> object is that you can perform analysis on it directly.</dd> |
| 19 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• With <a href="Open_long_sound_file___.html">Open long sound file...</a>, you open a sound file that is too long to read into memory completely (i.e. several hours long). A <a href="LongSound.html">LongSound</a> object will appear in the list. You will typically choose <b>View</b> to view the contents of this sound and analyse it. Praat will only read as much of the file into memory as is needed to play or display parts of it.</dd> |
| 20 | </dl> |
| 21 | <p>Both commands understand the following six standard audio file formats:</p> |
| 22 | <dl> |
| 23 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• WAV:</dd> |
| 24 | <dd> • linear 16-bit little-endian</dd> |
| 25 | <dd> • 8-bit μ-law</dd> |
| 26 | <dd> • 8-bit A-law</dd> |
| 27 | <dd> • linear 8-bit unsigned</dd> |
| 28 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• AIFF or AIFC:</dd> |
| 29 | <dd> • linear 16-bit big-endian</dd> |
| 30 | <dd> • linear 8-bit signed</dd> |
| 31 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• NeXT/Sun (.au):</dd> |
| 32 | <dd> • linear 16-bit big-endian</dd> |
| 33 | <dd> • 8-bit μ-law</dd> |
| 34 | <dd> • 8-bit A-law</dd> |
| 35 | <dd> • linear 8-bit signed</dd> |
| 36 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• NIST:</dd> |
| 37 | <dd> • linear 16-bit little-endian</dd> |
| 38 | <dd> • linear 16-bit big-endian</dd> |
| 39 | <dd> • 8-bit μ-law</dd> |
| 40 | <dd> • 8-bit A-law</dd> |
| 41 | <dd> • linear 8-bit signed</dd> |
| 42 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• FLAC:</dd> |
| 43 | <dd> • 8-bit, 16-bit, 24-bit or 32-bit</dd> |
| 44 | <dd> • all sampling frequencies</dd> |
| 45 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• MP3:</dd> |
| 46 | <dd> • all constant or variable bitrates</dd> |
| 47 | <dd style="position:relative;padding-left:1em;text-indent:-2em">• Shorten:</dd> |
| 48 | <dd> • 8-bit A-law</dd> |
| 49 | </dl> |
| 50 | <h3>Links to this page</h3> |
| 51 | <ul> |
| 52 | <li><a href="Sound_files.html">Sound files</a> |
| 53 | </ul> |
| 54 | <hr> |
| 55 | <address> |
| 56 | <p>© ppgb 20210604</p> |
| 57 | </address> |
| 58 | </body> |
| 59 | </html> |