Useful links on attachment theory, self-report measures of attachment, and JavaScript and Web Audio API experiments

Attachment Theory Resources

A Brief Overview of Adult Attachment Theory and Research (Fraley)
This document provides a brief overview of adult attachment theory and research. It is designed to cover some of the basic ideas that motivate attachment research among social and personality psychologists.

Information about Self-Report Measures of Adult Attachment (Shaver & Fraley)
This is a summary of some of the self-report measures that are commonly used in adult attachment research in the social-personality tradition. Most of the information is of historical or archival relevance, but I try to update the document every few years to reflect newer developments.

Frequently Asked Questions about the Close Relationships Questionnaire (CRQ) or the Experiences in Close Relationships--Revised (ECR-R) questionnaire (Fraley)
This page is designed to be a relatively comprehensive FAQ guide for the ECR-R--a self-report measure that Waller, Brennan, and I published in 2000. Please consult this online document before writing to me if you have questions about this measure. This page also answers some more general questions about the use of self-report measures in the study of adult attachment.

On-line Attachment Questionnaire (CRQ/ECR-R) (Fraley, Waller, & Brennan, 2000)
This web survey is a broad-based measure of attachment styles in close relationships. The web survey is designed to process and numerically and graphically summarize a person's attachment scores.

Information about the Experiences in Close Relationships- Relationship Structures (ECR-RS) questionnaire (Fraley)
This page summarizes information about the ECR-RS--a self-report measure of adult attachment that can be used to assess attachment styles (a) in various relational domains (e.g., parental, romantic), (b) as a state or a trait, (c) in a relationship-specific manner or in a more general or global manner. Please consult this online document before writing to me if you have questions about this measure. The FAQ link above for the ECR-R addresses questions that are commonly asked regarding both the ECR-RS and the ECR-R.

ECR-Relationship Structures
This web application is designed to assess individual differences in attachment across multiple relationships. The application also provides feedback regarding the within-person correlational structure of a person's attachment ratings.

Some of My Web-based Tools and Demonstrations

Probing Interactions in Moderated Multiple Regression and Differential Susceptibility Research
The purpose of this web application is to facilitate the investigation of differential susceptibility hypotheses in developmental and clinical research. This application also provides a number of general tools that investigators can use to probe interactions in moderated multiple regression, including interaction plots, simple slope analyses, and regions of significance. This application is a supplement to Roisman, G. I., Newman, D. A., Fraley, R. C., Haltigan, J. D., Groh, A. M., & Haydon, K. C. (2012). Distinguishing differential susceptibility from diathesis-stress: Recommendations for evaluating interaction effects. Development and Psychopathology, 24, 389-409.

Self-Scoring Adult Attachment Questionnaire (CRQ/ECR-R)
Assesses adult attachment security toward a romantic partner using the Experiences in Close Relationships-Revised questionnaire (Fraley, Waller, & Brennan, 2000).

Relationship Structures
Assesses a person's attachment security in five relationships, and provides a principal components analysis of the within-person correlation matrix.

On-line Personality Tests and Quizes
This web site,, contains a number of on-line personality tests that I've created. Have fun!

Fraley, R. C. (2004). How to conduct behavioral research over the Internet: A beginner's guide to HTML and CGI/Perl. New York: Guilford.
This link goes to a web page for a book I've written on how to design Internet research studies.

Generative Art and Experimental Music

Using HTML5 Canvas, JavaScript, and the Web Audio API

One of my hobbies includes developing procedural methods for creating visual art and music. This sounds like a mouthful, but the basic concept is simple. Imagine a set of wind chimes. The sounds that are produced by wind chimes are determined by non-human forces. Although a human may help decide which chimes are used, nature takes care of the rest. As a result, the sounds produced by the chimes are somewhat unpredictable: They are quasi-random, they never repeat exactly, but they do exhibit a degree of coherence that allows the overall pattern to be differentiated from other sound sources. (Plus, they are fun to listen to.) In short, generative music is essentially music created from systems designed by people, but not played by people.

The demos below showcase some of my explorations into this area. Each demo takes a simple theme and attempts to create a generative/procedural system that controls both the soundscape you hear and the visual patterns you see. Many of the demos are also interactive in the sense that you can use a mouse to control certain elements of the scene.

Generative art. This is a static screen shot taken from the Aural Automata 4 demo (link below).

The visuals use the HTML5 Canvas element; the canvas is manipulated using JavaScript. The sounds are controlled using JavaScript + Web Audio API--an interface that essentially allows sound synthesis to take place in modern web browers (e.g., Safari, Firefox, Chrome). You don't need a special plugin to view/hear these demos.

The soundscapes are designed to be ambient in the sense popularized by Brian Eno: Music that can exist in the background or which can be listened to in a more concerted manner.

Aural Automata 1
Minimalist piece using treated piano notes. This has a Brian Eno/Harold Budd vibe to it.

Aural Automata 2
This soundscape uses 6 acoustic guitar samples and processes those in real time (Web Audio API) to create sleepy, spacious drones that continuously shift and morph across time.

Aural Automata 3 | Manually Creating Soundwaves
This experiment allows the user to draw, by hand, sound waves on the canvas. Those drawings are then converted to a wave form and rendered in audio.

Aural Automata 4 | Crystal
This soundscape uses a 3-second sample of my friend's voice and manipulates those samples to create an eerie atmosphere.

Aural Automata 5 | Generative Alien Landscape
This generative process is designed to simulate an alien landscape. The sound sources are all organic, but are manipulated to give them an other-worldly feel.

Aural Automata 6 | Disintegration
This generative process is designed to simulate the gradual decay of visual scenes and sounds using HTML canvas and Web Audio API.

Aural Automata 7 | Clouds
This is an attempt to simulate clouds and their movement using HTML canvas and JavaScript. The sounds are processed drones using the Web Audio API.