NU Linguistics Labs

Documentation & Tutorials

Linguistics Labs at Northwestern University

Swift 228 (map)

Swift 228 houses five small sound booths for running perception and production experiments. All booths are equipped with dual-boot Mac Minis (OSX and Windows 7). The Basque, Hausa, English and Dakota booths are equipped with head-mounted microphones for recording. The audio feed from these booths can be routed to a recording station located outside of the booths, or to a neighboring booth, allowing pairs of subjects to communicate with each other.

Equipment List

Sound Booths

  • Five Intel Core 2 Duo 2.26 Mac Minis running Mac OSX and Windows 7
  • Sony MDRV700 Headphones
  • Aphex 454 Headphone Amplifier
  • Shure WH20 Dynamic Head Mounted Mic

Recording Station

  • Two MOTU Audio Express USB/Firewire Audio Interfaces
  • Two Intel Core 2 Duo 2.4 Mac Minis

Sound Booths

The computers in each sound booth are set up as dual boot machines running either Windows 7 or Mac OSX operating systems. To log in, enter your university NetID and password.

A licensed copy of Superlab is activated on each computer in all of the sound booths for running experiments. Leased licenses of Superlab can be loaned out to students on a temporary basis. The department also maintains three portable licensed copies of Max/MSP on USB iLok keys which may also be loaned out to students who wish to develop more complex perception or production experiments.

Perception Experiments

  • Start up the experiment running software of your choice (Superlab, Max/MSP etc...)
  • Check to make sure that the audio source select switch (on the rear of the Aphex Headphone Amp) is pushed ot the right
  • Put on headphones
  • Play a test sound file
  • Set your volume levels on the Aphex Headphone amp.

Production Experiments

Audio from headmounted microphones in each booth can be recorded at the recording station. The "English" and "Dakota" booth mics are fed to the "Inferno" Mac Mini. The "Hausa" and "Basque" booth mics are fed to the "Smokescreen" Mac Mini.

  • Dakota -> Inferno, Left Channel
  • English -> Inferno, Right Channel
  • Hausa -> Smokescreen, Left Channel
  • Basque -> Smokescreen, Right Channel

To record audio, log into Smokescreen or Inferno, then launch Audacity. Adjust the appropriate microphone volume control on the front panel of the MOTU Audio Express audio interface. Press "Record" in Audacity to begin recording. Press "Stop" to stop the recording. Select "File"->"Export"->"Wav FORMAT" to save the recorded audio to as a .wav file.

Diapix Experiments

The sound booths in Swift 228 are set up to run Diapix experiments (described here). This applies to any experimental design that requires two subjects to communicate with each other through the mic and headphones. The sound booths are set up in pairs (Dakota and English, Hausa and Basque). A subject in the "Dakota" booth can communicate with the subject in the "English" booth. The audio from both subjects is fed to the recording station and saved as a stereo .wav file.

Swift 228 Recording Lab (map)

The Swift 228 recording room contains one single-person double walled booth for experiments that require high quality audio recordings. Participants can respond to both video and/or audio stimulus using a keyboard, mouse or USB button box in the booth. Audio is recorded direct-to-disk through an external high quality analog to digital audio interface.

Equipment List

  • Two MOTU Ultralite Audio Interfaces
  • Two iMacs running OSX 10.8, 3.3GHz Intel Core i3 with 4GB memory
  • APC Power backup
  • Pair of Yamaha Monitor Speakers
  • Shure SM81 Condenser Handheld Microphone
  • Behringer Microphone Amplifier
  • Presonus headphone amp
  • Wireless Keyboard/Mouse/Trackpad
  • 17-inch flat screen monitor

Initial Setup

  1. Make sure that both MOTU ULtralite audio interfaces are on. If they are off, hold down the volume button to power up.
  2. Turn on the Behringer Micorphone Amp
  3. Wake up or turn on both iMacs (Sideswipe and Bumblebee). Log in with your netID and password.
  4. On both iMacs, click "System Preferences" and then set the input and output Sound Device to "MOTU ULtralite"
  5. Close the System Preferences window
  6. On Sideswipe, Launch Sound Studio, then select "Preferences..." from the menubar
  7. In the Audio section, select MOTU ULtralite for both "Input" and "Output"
  8. On the Input side, set "Left" to "2" and "Right" to "3"
  9. Close the preferences window

Shared Folder

  1. If a group of experimenters are running the same experiment, you will need to make use of the Shared folder on both iMacs
  2. To access the shared folder, click anywhere on the Desktop, then select "Go" -> "Computer" from the menubar
  3. Then select "Macintosh HD" -> "Users" -> "Shared"

Recording Audio

  1. Follow steps 1-3 of the Initial Setup
  2. Turn on the Flat Screen monitor in the booth.
  3. Turn on both Yamaha monitor speakers.
  4. Setup your experiment on Bumblebee. Bumblebee's monitor is mirrored inside the booth. Your subject will be able to interact with the experiment inside the booth using the mouse, keyboard or button box.
  5. Launch "Sound Studio" on Sideswipe.
  6. Have the subject sit in the booth with the microphone placed as close as possible to the mouth and slightly below the lower lip.
  7. Have the subject vocalize at normal volume while you adjust the volume level using the "Input Gain" knob on the Behringer amp. You want to obtain the loudest possible signal without clipping (within the green and yellow zones but not in the red).
  8. If more volume is required, adjust the "Output Gain" knob on the Behringer amp/>
  9. The left channel input level corresponds to the subject's voice through the mic in the booth. The right channel corresponds to the TriggerWave signal used to mark/segment recordings
  10. Close the booth door and click the record icon in Sound Studio to begin recording.
  11. You should be able to hear the subject through the Yamaha monitor speakers.
  12. Keep track of the incoming volume level, making sure that the levels are not clipping.
  13. After the recording is complete, select File->Save in "Sound Studio" and save your audio file. Select the "wave" file format and a 16 bit sample size.

Calibration Notes

HINT software calibrated Jan 2011

  • HP4 coupled with Sony MDRV700 headphones
  • Left Channel = 8.7mV when noise or speech in HINT is set to 65dB
  • Right Channel = 9.0mV when noise or speech in HINT is set to 65dB

When measuring inserts using Radio Shack SLM, readings should be 3-4dB lower. For example, if HINT is generating 65dB, the Radio Shack SLM should read 61-62dB

Cresap 105 (map)

Cresap 105 contains a large sound booth that can accomodate up to two subjects at any one time. Audio is recorded direct to disk using a multichanel analog to digital audio interface. Each subject can be miked and recorded on individual channels. A multi monitor setup allows for individual video feeds to each subject.

Cresap 105 is also set up for simultaneous audio and video recording. To maintain synchronization, both the audio and video are recorded to digital tape and then transfered to disk via firewire.

Equipment List

  • Apple Mac Pro 2.66GHz Quad Core Intel Xeon with 6GB DDR3 SDRAM (Cylon)
  • Apple iMac 2GHz Intel Core 2 Duo with 2GB DDR2 SDRAM (Rosie)
  • MOTU Ultralight
  • MOTU 8pre
  • AKG C420 Headmounted Mics
  • Shure SM81 Handheld Mic
  • Panasonic PV-GS500 Handheld Camcorder
  • DXA-6VU Adapter

Recording Audio

  1. The Mac Pro in Cresap 105 (Cylon) is connected to two flat screen monitors outside the booth which are in turn, mirrored on two flat screen monitors inside the booth.
  2. Monitor 1 outside the booth is mirrored with the Station 1 monitor inside the booth. Monitor 2 outside the booth is mirrored with the monitor in Station 2 inside the booth.
  3. When recording audio only, use Station 1.
  4. Set up your experiment running program (Superlab, Max/MSP etc.) on Cylon. The subject will be able to interact with the experiment using the keyboard, mouse or button box and flat screen monitor at Station 1.
  5. Place the AKG C420 headmounted mic on the subject and position the mic so that it is close to the mouth and just below the lower lip
  6. Launch "Sound Studio" on Rosie
  7. If you are using TriggerWave, Select "New" and then "New File" from the menubar. By default, Sound Studio opens a blank stereo audio file.
  8. If you are not using TriggerWave, Select "New" and then "New Mono File" from the menubar.
  9. Have the subject vocalize and make sure that the left channel level meter in Sound Studio is within the green/orange range. Avoid recording at levels that are too low (blue range) or too high (red). The right channel level meter corresponds to the level of the audio markers if you are using TriggerWave.
  10. Use the MOTU 8Pre gain control knob to increase or decrease the mic volume. You may also need to adjust the position of the mic, bringing it either closer to further away from the subject
  11. Click record.
  12. When you are done recording, click "stop".
  13. Select File->Save from the menubar and save your audio file. Use the "wave" file format and a 16 bit sample size.

Troubleshooting Checklist

    High pitched ringing (usually coming from either one of the battery backup units)
  1. This is usually caused by power outages. The battery units kick in when the power goes out and the built alarm goes off.
  2. Simply power cycle the battery backups to turn off the alarm. First, make sure the computers are shut down. There should be a power button on both battery backup units. Hold the button down to turn off the unit and then push the button again to start it back up.
    Audio output is not playing through the headphones
  1. Make sure both MOTU interfaces are turned on
  2. Make sure that the MOTU audio device is the selected input and output device in the System Preferences Panel on Cylon and Rosie.
  3. Open the Sound Studio Preferences panel (Sound Studio->Preferences)
  4. Make sure both Input and output devices are set to MOTU 8pre.
  5. Make sure both left and right channels are set to 1 and 2
  6. If using Max/MSP, make sure that the MOTU is set as the output audio device.
  7. Restart the computer.
  8. Please contact us if you are still unable to resolve any hardware or software related problems.
    Connection failed error message
  1. Undergraduate students accessing either Rosie or Cylon may see this error messsage upon login.
  2. This is a known issue that we are aware of. For now, simply Click the "OK" button to dismiss the error message.

Calibration Notes

HINT software calibrated Jan 2011

  • Supercal HINT. Left = 4.53. Right = 4.2.
  • HP4 Coupled with Sony MDRV700 headphones
  • Leftmost output of HP4 = 7.1mV when noise in HINT is set to 65dB
  • Leftmost output of HP4 = 7.1mV when speech in HINT is set to 65dB

NNCS Experiment calibrated Jan 2011

  • Using cal_test.maxpat with output set to 65
  • Left output of Aphex coupled with ER-1 blue = 22.3mV
  • Right output of Aphex coupled with ER-1 red = 23.3mV

General Notes

  • When measuring inserts using Radio Shack SLM, readings should be 3-4dB lower

Swift 009 (map)

Location: Room 009 (Basement)

Swift 009 has two lab spaces. 009A houses several desktop computers for developing and running Linger experiments. Swift 009B is set up for running eye tracking experiments.

Swift 009A Equipment List:

  • Apple iMac (OS 10.5.8) 2.4 GHz Intel Core 2 Duo
  • Razer Lycosa backlit gaming keyboards

Basic instructions for running Linger:

Swift 009B Equipment List:

  • Dell Optiplex 760 2.80GHz Intel Core 2 Duo CPU E7400
    - running Microsoft Windows XP Professional
  • EyeLink 1000 Tower System for Human use, including EyeLink CL High-speed Camera with Dual Illuminator Module, PCI Card, Head Rest with IR Mirror, EyeLink 1000 System Software for Host PC, EyeLink C API, Standard Host PC.

Eye Tracking Experiments:

1. Prep Stimuli text as follows:

  • Experiment name on own line
  • Followed by empty line
  • Followed by:
    item_number condition_name stimulus
    ? question answer(Y/N)
  • Click here for an example text file
  • Each line must be less than 70 characters
  • All sub experiments must have the same number of conditions
  • Only alphabetic characters in experiment names

2. Prep Eye-tracking Stimuli:

  • - run
    > python MyStims.txt
    > python output.script
  • Troubleshooting: change "filler" category to experimental category

3. Run Eyelink

  • Run EyeTrack.0.7.10m
  • Open experiment (output.script file, whatever you have named it, generated by
  • Click "Validate" experiment
  • Click "Run" experiment
  • Choose "Separate File" for order of stimuli (a file generated by
  • Name file with ONLY alphanumeric characters (no dashes/underscores/spaces)
  • Determine participant's dominant eye
    • Trick 1: make small window between hands at arm-length, focus on distant point through window, bring hands back toward face until touching nose (window should land on dominant eye)
    • Trick 2: which side of their face do they see their nose more
  • Place clean surface (tissue, paper towel) on chin rest
  • Click "Calibrate"
  • Click "Validate" calibration
  • Click "Record output"
  • Repeat calibration as often as necessary

The Child Language Development Lab (affectionately known as the ChiLDlab) lives in 102-103 Cresap Laboratory. The lab is decorated in warm, bright orange and green colors, and features large windows with a view onto Lake Michigan. It is designed to be an inviting space where parents can bring their children to participate in language acquisition studies.

To find out more about the lab's mission, its personnel, and current projects, visit the ChiLDlab website.

Our front door:

Our family-friendly reception area:

Our administrative desk:

Pockets for give-aways and organization:

Testing room with pint-sized furniture:

Portable Recording Units

Three portable recording systems are available for students who wish to run experiments off-site. Each set consists of a Marantz Flash Recorder, Headmounted Shure Mic and a Direct Injection (DI) Box.

Equipment Setup

  • Insert an SD card into the SD card slot on the left side of the Marantz.
  • Connect the Shure WH20 headmounted mic to the left input of the Marantz Flash Recorder.
  • Turn the Marantz Flash Recorder on.
  • Press the "Input" button until the input device on the main screen reads "mono mic".

The following steps are specific to the TriggerWave method.

  • Insert an SD card into the SD card slot on the left side of the Marantz.
  • Plug the headphone output from your laptop to the "HighZ" input of the DI box
  • Connect the "LowZ" output of the DI box to the right channel of the Flash Recorder
  • Connect the headmounted mic to the left input of the Marantz Flash Recorder.
  • Click the "Input" button until the input device on the main screen reads "stereo mic".

Recording and Saving Audio

  • Press the "Rec Pause" button.
  • Have the subject vocalize. Adjust the levels for the left channel using the gain controls. You want to have the volume level as high as possible but just a little below the maximum level.
  • Pull the red "record" switch to begin recording. Press "stop" to end the recording. The Marantz Flash Recorder saves the audio to the SD card as a wave file.
  • Remove the SD card from the side of the Marantz. Insert the card into the USB card reader.
  • Plug the card reader to your computer and copy your audio files from the SD card reader. Delete the originals.
  • Return the SD card into the Flash recorder.