2008年11月12日 星期三

2008年11月4日 星期二

PCquirer

PCquirer / MacquirerThe lab PCquirer/PCQuirerX software package from Scicon Research & Development, developed by Henry Tehrani; only the PC version is actively supported here, but the CLICC lab has PC and Mac versions. Some capabilities of this software include the following. While there is no documentation available with the programs, Ling. 104 TAs provide class handouts each year.


Narrow band spectrograms
Wide band spectrograms
Pitch track with ToBI labeling
Pitch track with text labeling
FFT/LPC with formant / bandwidth values
[Back to Top] [Back to Acoustic Home Page]
formant plots
PlotFormants for either Mac or PC is available for download here (PC version) (Mac version). Please note that the Mac version will not work on some newer Macs/some newer versions of OSX, and we do not plan to update it. Download it, try it, if it works for you, great; if not, try one of these other links, or look for scripts to do it in Praat:
Roger Billerey-Mosier's JPlotFormants is free and available from his webpage
Labov's lab's Plotnik, which allows linking sound files to tokens, is free and available at http://www.ling.upenn.edu/~wlabov/Plotnik.html
CSL / MultiSpeech (Kay Elemetrics Corp.)
Note: Kay Elemetrics renames its webpages from time to time, and as they use frames it's tedious to keep the links updated here. If the links here don't work, go to their main page, and click through from their Products link.
The Lab has owned 4 Computerized Speech Lab (CSL), two Model 4300s and two Model 4300Bs. However, only one of them is currently set up and ready to use: on Jasmine in the Physiology Lab, for use with the Palatometer. These are old models, not Kay's latest, but there are at least 4 reasons to still use CSL: the external A/D hardware for best signal quality; the ability to write macros, which makes repetitive analysis easier; the choice of LPC methods (covariance, including pitch-synchronous, as well as autocorrelation); the filter library.
The Lab also has Windows-based Multi-Speech (Model 3700) for PCs, but it may not work under any OS currently installed.
In practice, currently no one uses CSL for capturing audio signals in order to get the best S/N ratio. Instead, people use the computers with better sound cards (e.g. in the Audio Lab) or the external AudioBox.
Old handouts:
Some basics about CSL command and configuration files
Some MultiSpeech configuations that differ from CSL's
[Back to Top] [Back to Acoustic Home Page]
DSP Sona-graph 5500 (Kay Elemetrics Corp.)
The DSP Sona-Graph is a dedicated (i.e., not computer-based), real-time, audio spectrum analysis instrument which was designed "from the ground up" for high speed signal analysis and display.
1. Introduction
The Kay 5500 Sonagraph is located in the General (largest) computer room of the phonetics lab, where it serves as a museum piece. However, it still functions.
2. Basic Layout
The sonagraph consists of three components: a printer, a monitor and the console (depicted above). Additionally, a microphone is usually in the vicinity for inputing data into the sonagraph. The on/off switch is located on the power strip behind the console. There is also a small black power switch in the bottom right corner of the console; this switch has tape over it and should not be tampered with.
3. Console
The console consists of several buttons which are grouped according to the functions they perform. There are nine groups of buttons, each delineated by boxes (see picture above). Six boxes are outlined in gray, one in blue, and one in red. These will be discussed in turn.
Input: The input region of the console is outlined in blue and is located in the bottom left corner of the console. Data may be inputed from either a microphone or from another source (e.g. tape recorder, DAT recorder, computer, etc.) into one of two channels. The choice of channels does not make much difference, though the default is typically channel 1. There are four input plugs, two for microphone and two for auxiliary cables, one of each per channel. Input levels can be adjusted in increments of 1 or 10 decibels by pushing the buttons in the smaller blue boxes within the larger blue box. The decibel levels pop up on the monitor when the input level buttons are pressed.
Recording levels register on the red lights in the input box. Ideally, recording levels should fall within the range indicated by an illuminated green light. If the red light is illuminated, recording levels are too high and should be lowered.
Record: The record box is red and is located in the middle of the bottom third of the console. Pressing the on button begins the recording, while pressing the off button stops it. The recording continues until the off button is pressed, at which point the monitor will display the message: Enhance is necessary. This message is your cue to press the E button in the special functions menu (see below).
Special functions: The special functions region is in the middle of the console and delineated in gray. It consists of six lettered buttons. The most important of these buttons is E which you must press once you press the off button to stop recording. Pressing E allows the sonagraph to enhance the image(s) corresponding to what was recorded. Pressing D gives a few options for redrawing and aligning the screens. Pressing F changes the color(s) of the images; keep on pressing F to see the various options which range from traditional white and gray to various shades of fire. Pressing C provides you with various options for playing the data which is stored on the screen. Some of these options require cursors which are discussed below. Buttons A and B are rarely used. A allows one to vary the reference amplitude for the displays and B is non-functioning.
From:http://www.humnet.ucla.edu/humnet/linguistics/faciliti/facilities/acoustic/acoustic.html#PC/Macquirer

Praat script resources

Page contents How to use this page Some basic operations Directory of scripts by type and description Links: other online collections of Praat scripts
How to use this page
How to run a script
Scripts save Praat users time and effort by automating a sequence of operations. To run a Praat script, go to the Control menu in the Praat objects window and select New Praat script. Then pull up the code for the desired script by clicking on one of the links below. Copy all the code there (e.g. highlight and Ctrl-C on a PC) and paste it into the new untitled script window. Finally, select Run > Run (or type Ctrl-R) in the untitled script window to execute the script. How to save a script or add it to the menu
In the open untitled script window with the new script pasted in the text box, go to the File menu to Save the script to a convenient location. The Add to fixed menu... command under File can be used to add the current script to one of the head menus in the Praat objects window. Menus can be edited (e.g. to remove previously added scripts) by going to Control > Preferences > Buttons and clicking on the desired command. How to script in Praat
See the Scripting tutorial under Help in Praat objects or try Setsuko Shirai's tutorial.
Some basic operations
Under construction.
Praat script directory by type and description
Directory categories Sound file management Text grid management Analysis of sounds using text grids Segmentation and extraction Drawing pictures Noise and speech manipulation More sound analysis
Sound file management
get-files (Kevin Ryan)Open multiple files from the specified directory at once.
get-files-from-list (Bert Remijsen)Open multiple files enumerated in a list in the specified text file (BR's description).
remove-all (Kevin Ryan)Remove all objects from object list.
change-sample-rate-or-format (Mietta Lennes)Resample and/or change the format of a set of sound files (ML's description).
concatenate-sounds (Kevin Ryan)Concatenate (daisy-chain) two or more selected Sound objects into one Sound object.
duplicate-sound (Kevin Ryan)Concatenate (daisy-chain) a Sound object with itself the specified number of times.
combine-sounds (Chris Darwin)Combine (merge) two Sounds with specified gains.
script-installation-script (Niels Petersen)An example of a script used to install several scripts to the Praat menus (NP's scripts).
wave-maker (Kevin Ryan)Create multiple varied sine waves at once in the object list and/or a directory (useful for testing scripts).
Text grid management
grid-maker (Kevin Ryan)Make or edit text grids for a set of sound files. See also K. Crosswhite's amply commented grid maker and reviewer scripts (and their descriptions). KR's version improves on these mainly by combining them: if a grid exists, it opens it, otherwise it sets up a new one.
label-from-text-file (Mietta Lennes)Replace interval labels in selected TextGrid with labeled text from a file (ML's description and a streamlined version).
open-multiple-textgrids (John Tøndering)Open multiple text grids from a directory at once (JT's scripts).
mark-pauses (Mietta Lennes)Mark pauses in a LongSound (can then run segmenter to get separate files) (ML's description); cf. word-chomper.
total-duration-of-labeled-segments (Mietta Lennes)Total the duration of labeled segments of a TextGrid (ML's description).
align-textgrid-markers (Mietta Lennes)Align TextGrid interval markers in tier one to those in tier two if they are sufficiently close (ML's description).
Analysis of sounds using text grids
duration-logger (Katherine Crosswhite)Log durations between labeled markers in a set of text grids (KC's description).cf. Mietta Lennes' version, calculate-segment-durations, and its description.
startpoint-logger (Mietta Lennes)Similar to the above script, but make file with startpoint of each labeled interval (ML's description).
formant-logger (Katherine Crosswhite)Log midpoint F0-F3 and duration of vowels delimited by labeled markers in a set of text grids (KC's description).
formant-logger (Mietta Lennes)Log midpoint F1-F3 of text grid labeled intervals for a set of Sound/TextGrid pairs (ML's description).
For F1/F2 logging, see also Bert Remijsen's scripts for using either the point tier or the interval tier to mark vowels.
draw-formant-chart (Mietta Lennes)Reports and logs midpoint F1-F2 of vowels delimited by labeled markers in a set of text grids (ML's description).
log-pitch-maxima (Mietta Lennes)Get F0 maxima of all text grid labeled intervals for a number of Sound-TextGrid pairs (ML's description).See also ML's log-data-from-two-tiers, which gets pitch maxima and corresponding syllable durations (description).
log-f0-extrema-using-momel (Bert Remijsen et al.)Use the MOMEL (Hirst & Espesser) algorithm to log pitch turning points to TextGrid (BR's description; MOMEL).
Segmentation and extraction
segmenter (Katherine Crosswhite)Extract clips demarcated by labeled markers into individual AIFF or WAV files (KC's description).
word-chomper (Joe Toscano)Take a WAV file and split it into smaller files corresponding to utterances (JT's description).
timed-segmenter (Kevin Ryan)Divide a LongSound into smaller files of a specified time length (e.g. 10s each, 1min each).
segment-to-aiffs-and-log, segment-to-wavs-and-log (Mietta Lennes)Extract textgrid-demarcated clips from LongSound into numbered files and log markers (ML's description).
segment-to-labeled-aiffs, segment-to-labeled-wavs (Mietta Lennes)Extract textgrid-demarcated clips from LongSound into files named after textgrid markers (ML's description).
extract-voiced-portions (John Tøndering)Extract and concatenate voiced portions of selected Sound to create new voiced-portions-only Sound (JT's description).
save-selection-to-sound-and-textgrid (Mietta Lennes)From an open LongSound TextGrid, save selected portion of LongSound and its TextGrid (ML's description).
from-segmentation-data-files-to-text-grids (Mietta Lennes)Convert data files listing segment startpoints and labels to TextGrids; cf. endpoint version (ML's description).
Drawing pictures
draw-sample-figure (Hugo Quené)Demonstrates how to draw a figure (graph) using a script (HQ's scripts).
Functional phonology, Paul Boersma's 1998 dissertation, has a number of sophisticated figure drawing scripts,e.g., draw-lungs and draw-muscle-effects in Chapter 2: Articulation model.
draw-distribution-bar (Mietta Lennes)Draw a makeshift bar showing distribution of labeled intervals from a file of timepoint, label pairs (ML's description).
draw-source-filter-model (Niels Petersen)Draw the components of the source-filter model of vowel production to the Picture window (NP's scripts).
draw-formant-point-to-bark-chart (possibly buggy; Mietta Lennes)Draw a one-Bark vowel circle from given formant values (Hz) on a Bark-scale F1/F2 chart.Cf. draw-formant-point-to-erb-chart: same as above script except Erb-scale chart (ML's descriptions).
make-matrix-of-plots (Chris Darwin)Create a matrix of plots; format these plots by changing the script code (try it with the defaults).
Noise and speech manipulation
create-sustained-vowel (Niels Petersen)Create a sustained vowel of the specified type using the LF source model (NP's scripts).
create-waveforms (Niels Petersen)Create various kinds of waveforms (sawtooth, square, sine, white noise, pink noise, etc.) (NP's scripts).
comb-filter-noise (Chris Darwin)Generate and comb-filter white noise.
shannon-am-noise (Chris Darwin)Produce Shannon-type AM noise from a selected Sound file using four bands.
vocal-tract-change (Chris Darwin)Change size of vocal tract (formants, but not duration/pitch); cf. vocal-tract-change-dynamic, which leaves the F0 altered.
sine-wave-speech (Chris Darwin)Create three-formant sine-wave speech using selected Sound object.
metronome (Hugo Quené)Simple one-beat metronome; see HQ's scripts page for several more complex metronomes. Careful: the default durations are very long; they should be set shorter before testing, lest Praat be tied up for minutes. Also, references to mywhoosh.wav should be changed to some extant WAV or removed.
More sound analysis
adjust-intensity (Katherine Crosswhite)Scale a set of sounds so that their peak amplitudes are identical (KC's description).
amplitude-gating (Niels Petersen)Gates the selected Sound object in and out (in intensity) using specified rise and fall times (NP's scripts).
voice-report (Niels Petersen)Generate a customized “voice report” for the selected Sound (NP's scripts).
adjust-f0-and-duration (Chris Darwin)Globally alter fundamental frequency and/or duration of all selected Sound objects.
mark-vowel-onsets (Hugo Quené)Find the vowel onsets in a selected Sound and log their timepoints in a new PointProcess;can then use HQ's write-pp to record the PointProcess timepoints in a data file (HQ's scripts).
draw-fft-spectrum (Mietta Lennes)Draw and save FFT spectrum for 40 ms window around cursor; run from sound editor (ML's description).
draw-lpc-spectrum (Niels Petersen)Like draw-fft-spectrum above, but LPC spectrum; based on M. Lennes' draw-lpc-spectrum script.
create-analysis-table (Setsuko Shirai)Create a table showing pitch, intensity, and formants every 10 ms for a set of WAVs (untested; SS's Praat page).
pitch-unit-conversion (Niels Petersen)Convert between different types of units, e.g. Hertz to Semitones, Bark, or Mel (NP's scripts).
annotate-using-manpage (John Tøndering)Annotate a TextGrid with phonetic symbols using ManPage (see JT's description).
make-stereo (Chris Darwin)Combine selected Sounds to make a stereo Sound file.
spectral-rotation (Chris Darwin)
F2 track correcter: setup, fix-formants (see Katherine Crosswhite's description).
Praat scripts: links and online collections
In no particular order:
Praat: main Praat website (e.g. download the program).
Praat users group: Yahoo! discussion group for Praat users; some scripts available in database.
Mietta Lennes: a large number of scripts, many quite involved, with very informative descriptions.
Setsuko Shirai: a PDF introduction to Praat scripting and a few scripts.
Johan Frid: one of the largest collections online, but most of the scripts are old and need to be updated to work.
Chris Darwin: CD's advanced scripts for e.g. sine-wave speech, Shannon AM-noise speech, resizing vocal tract, etc.
Paul Boersma: explore links for various highly tailored scripts associated with PB's 1998 dissertation.
Katherine Crosswhite: the code of the first few scripts is very well documented; good for learning Praat scripting.
Hugo Quené: some neat scripts, including several metronomes.
Niels Petersen: 20-some scripts at the bottom.
Bert Remijsen: some very well explained scripts, with sample input.
John Tøndering: a “Label.man” (annotate from ManPage) package plus a few other common scripts.
Joe Toscano: a few scripts, including “Word Chomper.”
Gabriël Beckers: some acoustic scripts, but apparently not formatted properly with newlines.
Michael J. Owren: downloadable GSU PraatTools, "scripts for analyzing, modifying, and synthesizing sounds using Praat"
From:http://www.humnet.ucla.edu/humnet/linguistics/faciliti/facilities/acoustic/praat.html

2009/1/10~11研究生音韻學研討會

第二屆理論音韻學研討會
The Second Theoretical Phonology Conference

會議日期:2009年1月10日(週六)
會議地點:政治大學行政大樓七樓第一會議室

特別邀請 M & M + Wii 超強海角組合:
Matthew Y. Chen
University of California, San Diego
John J. McCarthy
University of Massachusetts, Amherst

William S-Y Wang
University of California, Berkeley & Chinese University of Hong Kong

Presenters: (姓氏筆畫序)
石基琳 U. of Illinois, Urbana-Champaign
宋凱琳 國立政治大學語言學研究所
吳瑾瑋 國立台灣師範大學國文系
林蕙珊 國立台灣師範大學英語系
許慧娟 國立交通大學外國語文學系
黃良喜 Hong Kong Baptist University
黃慧娟 國立清華大學語言學研究所
謝豐帆 國立清華大學語言學研究所
蕭宇超 國立政治大學語言學研究所


四年一度的盛會!此次結合科技、學術、及藝術,突破登場!
就在今天 讓您了解國內外理論音韻學研究到什麼階段!

敬請預先報名
主辦:國立政治大學語言學研究所音韻理論工作室、國立交通大學外國語文學系
贊助:中央研究院語言學研究所、國立政治大學語言學研究所、國立交通大學外國語文學系

會議更新資料請上網查詢:http://phonology.nccu.edu.tw/tpc2/
2009研究生音韻學研討會
The 2009 Graduate Student Workshop on Phonology

會議日期:2009年1月11日(週日)
會議地點:政治大學行政大樓七樓第二會議室

Featured Speakers: (理論與實驗的交響曲)
John J. McCarthy
University of Massachusetts, Amherst
歐淑珍
國立中山大學外國語文學系
Presenters: 王曉晴 王麗婷 宋凱琳 林綠茜 鄭智仁
章杏儀 凌旺楨 黃婷 熊芮華 陳元翔
培育音韻學的新生代
展現年輕人的學術活力
就這一天 讓您了解台灣青春世代在音韻研究上的創意

敬請預先報名
主辦:國立政治大學語言學研究所音韻理論工作室
贊助:國立政治大學語言學研究所、音韻理論工作室、賴惠玲教授工作室

會議更新資料請上網查詢:http://phonology.nccu.edu.tw/gswp/

2008年10月28日 星期二

soundbeam

Soundbeam is an award-winning device which uses sensor technology to translate body movement into digitally generated sound and image.
http://www.soundbeam.co.uk/