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

Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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

Page 2: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

Page 3: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

The RealSimPLE Project

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

Page 4: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 5: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 6: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 7: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 8: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 9: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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

Page 10: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

Page 11: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Monochord Experiments

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

Page 12: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Monochord Experiments

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

Page 13: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

Measurements And Analysis With Pure Data

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

Page 14: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 15: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

Page 16: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Monochord Digital Waveguide Simulation

Delay of N/2

−1 −1

Delay of N/2

Page 17: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 18: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 19: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 20: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Animations of Traveling Waves in a Vibrating String

Page 21: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Animations of Traveling Waves in a Vibrating String

◮ Animations can display fast processes in slow motion.

Page 22: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Animations of Traveling Waves in a Vibrating String

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

Page 23: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Animations of Sampled Traveling Waves

Page 24: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Animations of Sampled Traveling Waves

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

Page 25: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Animations of Sampled Traveling Waves

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

◮ Developers can quickly mass produce many animations.

Page 26: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

Mass Producing Animations With MATLAB

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

Page 27: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 28: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 29: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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:

Page 30: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

Page 31: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Stanford Website

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

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

Page 32: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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

Page 33: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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

Page 34: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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

Page 35: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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

Page 36: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

Website Sample With Pop-Ups

Page 37: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

Swedish Website

Page 38: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

Newsgroups

Page 39: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Outline

Overview

Physical Experiments

Simulations

Web-Based Resources

Evaluation

Page 40: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

ABabcdfghiejkl

Evaluation At Lynbrook High School

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

Page 41: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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.

Page 42: Combining physical REALity with SIMulations in Pedagogical ...eberdahl/Papers/ASA2007realsimple.pdfscience, and engineering. Physical experiments and pedagogical computer-based simulations

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?