combining physical reality with simulations in …eberdahl/papers/asa2007realsimple.pdfscience, and...

42
ABabcdfghiejkl Combining physical REALity with SIMulations in Pedagogical Laboratory Experiments Edgar Berdahl, Nelson Lee, Ryan Cassidy, and Julius O. Smith III Center for Computer Research in Music and Acoustics (CCRMA) Stanford University Stanford, CA, 94305 Education in Acoustics: Tools for Teaching Acoustics Thursday Morning at 11:20AM, June 7th, 2007 Special thanks to the Wallenberg Global Learning Network for supporting the REALSIMPLE project

Upload: vantram

Post on 11-May-2018

219 views

Category:

Documents


2 download

TRANSCRIPT

ABabcdfghiejkl

Combining physical REALity with SIMulationsin Pedagogical Laboratory Experiments

Edgar Berdahl, Nelson Lee, Ryan Cassidy,and Julius O. Smith III

Center for Computer Research in Music and Acoustics (CCRMA)Stanford University

Stanford, CA, 94305

Education in Acoustics: Tools for Teaching AcousticsThursday Morning at 11:20AM, June 7th, 2007

—Special thanks to the Wallenberg Global LearningNetwork for supporting the REALSIMPLE project

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

ABabcdfghiejkl

The RealSimPLE Project

◮ RealSimPLE is a web-based teacher’s resource for studentlaboratory sessions in musical acoustics.

ABabcdfghiejkl

The RealSimPLE Project

◮ RealSimPLE is a web-based teacher’s resource for studentlaboratory sessions in musical acoustics.

◮ Music is a good way to interest young people in math,science, and engineering.

ABabcdfghiejkl

The RealSimPLE Project

◮ RealSimPLE is a web-based teacher’s resource for studentlaboratory sessions in musical acoustics.

◮ Music is a good way to interest young people in math,science, and engineering.

◮ Physical experiments and pedagogical computer-basedsimulations of the same systems run in parallel andinterconnected.

ABabcdfghiejkl

The RealSimPLE Project

◮ RealSimPLE is a web-based teacher’s resource for studentlaboratory sessions in musical acoustics.

◮ Music is a good way to interest young people in math,science, and engineering.

◮ Physical experiments and pedagogical computer-basedsimulations of the same systems run in parallel andinterconnected.

◮ The traditional lab bench is enhanced rather than replaced.

ABabcdfghiejkl

The RealSimPLE Project

◮ RealSimPLE is a web-based teacher’s resource for studentlaboratory sessions in musical acoustics.

◮ Music is a good way to interest young people in math,science, and engineering.

◮ Physical experiments and pedagogical computer-basedsimulations of the same systems run in parallel andinterconnected.

◮ The traditional lab bench is enhanced rather than replaced.◮ Only standard computers and some inexpensive,

easy-to-build hardware are required.

ABabcdfghiejkl

The RealSimPLE Project

◮ RealSimPLE is a web-based teacher’s resource for studentlaboratory sessions in musical acoustics.

◮ Music is a good way to interest young people in math,science, and engineering.

◮ Physical experiments and pedagogical computer-basedsimulations of the same systems run in parallel andinterconnected.

◮ The traditional lab bench is enhanced rather than replaced.◮ Only standard computers and some inexpensive,

easy-to-build hardware are required.◮ The RealSimPLE Project is a collaboration between

Stanford University and KTH in Sweden.

RealSimPLE Laboratory Assignment Dependencies

Transfer Function

PsychoacousticsLab

Harmonic Contentof a Plucked String

ExperimentsMonochord

Monochord ActivityWeighted

ControlPID

Plucked String DigitalWaveguide Model

Traveling Waves InA Vibrating String

Auditory FilterBank Lab

Illusions LabMusical

Flute LabVirtual

Virtual AcousticTube Lab

MonochordAssembly

SoundcardSetup

START

Introduction to STKand Reverberation

Time−VaryingDelay Effects

Guitar ModelElectric

and Piano ModelsAcoustic Guitar

Measurement Toolbox

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

ABabcdfghiejkl

Monochord Experiments

C1, C2: longitudinal supports B1, B2: transverse supportsD: sensor A: bottom plate

ABabcdfghiejkl

Monochord Experiments

C1, C2: longitudinal supports B1, B2: transverse supportsD: sensor A: bottom plate

Measurements And Analysis With Pure Data

◮ Pure Data is an open-source graphical signal processinglanguage.

Measurements And Analysis With Pure Data

◮ Pure Data is an open-source graphical signal processinglanguage.

◮ For instance, students can record the sound of a pluck andfind the period graphically.

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

ABabcdfghiejkl

Monochord Digital Waveguide Simulation

Delay of N/2

−1 −1

Delay of N/2

ABabcdfghiejkl

Monochord Digital Waveguide Simulation

Delay of N/2

−1 −1

Delay of N/2

◮ The upper delay line models waves traveling to the right.

ABabcdfghiejkl

Monochord Digital Waveguide Simulation

Delay of N/2

−1 −1

Delay of N/2

◮ The upper delay line models waves traveling to the right.◮ The lower delay line models waves traveling to the left.

ABabcdfghiejkl

Monochord Digital Waveguide Simulation

Delay of N/2

−1 −1

Delay of N/2

◮ The upper delay line models waves traveling to the right.◮ The lower delay line models waves traveling to the left.◮ The total loop delay is N samples.

ABabcdfghiejkl

Animations of Traveling Waves in a Vibrating String

ABabcdfghiejkl

Animations of Traveling Waves in a Vibrating String

◮ Animations can display fast processes in slow motion.

ABabcdfghiejkl

Animations of Traveling Waves in a Vibrating String

◮ Animations can display fast processes in slow motion.◮ Animations can call greater attention to detail.

ABabcdfghiejkl

Animations of Sampled Traveling Waves

ABabcdfghiejkl

Animations of Sampled Traveling Waves

◮ New animations can be automatically generated simplyusing different initial conditions.

ABabcdfghiejkl

Animations of Sampled Traveling Waves

◮ New animations can be automatically generated simplyusing different initial conditions.

◮ Developers can quickly mass produce many animations.

Mass Producing Animations With MATLAB

1. Create each figure and write it to disk as a PNG.

Mass Producing Animations With MATLAB

1. Create each figure and write it to disk as a PNG.

2. Convert the PNG files to GIF using convert in UNIX.

Mass Producing Animations With MATLAB

1. Create each figure and write it to disk as a PNG.

2. Convert the PNG files to GIF using convert in UNIX.

3. Create a GIF animation using the free program gifsiclefor UNIX.

Mass Producing Animations With MATLAB

1. Create each figure and write it to disk as a PNG.

2. Convert the PNG files to GIF using convert in UNIX.

3. Create a GIF animation using the free program gifsiclefor UNIX.

Shell script for creating new-animation.gif from the PNGfiles in the images directory:

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

ABabcdfghiejkl

Stanford Website

◮ The laboratory sessions and related information are allfreely available online.

1http://ccrma.stanford.edu/realsimple

ABabcdfghiejkl

Stanford Website

◮ The laboratory sessions and related information are allfreely available online.

◮ We are releasing the website materials under the CreativeCommons License, allowing anyone to freely use andcontinue developing the materials further.

1http://ccrma.stanford.edu/realsimple

ABabcdfghiejkl

Stanford Website

◮ The laboratory sessions and related information are allfreely available online.

◮ We are releasing the website materials under the CreativeCommons License, allowing anyone to freely use andcontinue developing the materials further.

◮ The Stanford RealSimPLE website1 includes rollover“pop-up” definitions for many technical terms.

1http://ccrma.stanford.edu/realsimple

ABabcdfghiejkl

Stanford Website

◮ The laboratory sessions and related information are allfreely available online.

◮ We are releasing the website materials under the CreativeCommons License, allowing anyone to freely use andcontinue developing the materials further.

◮ The Stanford RealSimPLE website1 includes rollover“pop-up” definitions for many technical terms.

◮ These pop-ups allow website visitors to easily dig deeperdown through the tree of prerequisite terms, thereby filling inany knowledge gaps they may have.

1http://ccrma.stanford.edu/realsimple

ABabcdfghiejkl

Stanford Website

◮ The laboratory sessions and related information are allfreely available online.

◮ We are releasing the website materials under the CreativeCommons License, allowing anyone to freely use andcontinue developing the materials further.

◮ The Stanford RealSimPLE website1 includes rollover“pop-up” definitions for many technical terms.

◮ These pop-ups allow website visitors to easily dig deeperdown through the tree of prerequisite terms, thereby filling inany knowledge gaps they may have.

◮ A motivated student anywhere in the world with a basic mathand physics background can obtain advanced graduate-levelknowledge from the website in a self-paced, demand-drivenmanner.

1http://ccrma.stanford.edu/realsimple

Website Sample With Pop-Ups

Swedish Website

Newsgroups

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

ABabcdfghiejkl

Evaluation At Lynbrook High School

◮ Nelson Lee is testing the lab assignments on juniors andseniors in high school.

ABabcdfghiejkl

Evaluation At Lynbrook High School

◮ Nelson Lee is testing the lab assignments on juniors andseniors in high school.

◮ We are planning to make additional evaluations at theHouse of Science in Stockholm.

ABabcdfghiejkl

Thanks

American website at Stanford University:

http://ccrma.stanford.edu/realsimple

Swedish website at the Royal Institute of Technology (KTH):

http://www.speech.kth.se/realsimple

Questions?