{"id":262,"date":"2019-03-21T18:11:08","date_gmt":"2019-03-21T18:11:08","guid":{"rendered":"http:\/\/roch.sdsu.edu\/?page_id=262"},"modified":"2019-07-20T17:53:09","modified_gmt":"2019-07-20T17:53:09","slug":"k12","status":"publish","type":"page","link":"https:\/\/roch.sdsu.edu\/index.php\/k12\/","title":{"rendered":"Whales and AI for children"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-one-full fusion-column-first fusion-column-last\" style=\"--awb-bg-size:cover;--awb-margin-bottom:0px;\"><div class=\"fusion-column-wrapper fusion-flex-column-wrapper-legacy\"><div class=\"fusion-text fusion-text-1\"><h2>For kids from ages 5 to 92&#8230;<\/h2>\n<div class=\"fusion-section-separator section-separator curved fusion-section-separator-1\" style=\"--awb-spacer-height:99px;--awb-svg-margin-left:0;--awb-svg-margin-right:0;--awb-divider-height:99px;--awb-spacer-padding-top:inherit;--awb-sep-padding:0;--awb-svg-padding:0;\"><div class=\"fusion-section-separator-svg\"><svg class=\"fusion-curved-candy\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"100%\" height=\"100\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\" fill=\"rgba(246,246,246,1)\"><path d=\"M0 100 C 20 0 50 0 100 100 Z\"><\/path><\/svg><\/div><div class=\"fusion-section-separator-spacer\"><div class=\"fusion-section-separator-spacer-height\"><\/div><\/div><\/div>\n<h1 class=\"wp-block-heading\">Dolphins, whales, seals and sea lions, oh-my!<\/h1>\n<p>&nbsp;<\/p>\n<p>Visit this interactive museum exhibit designed by our friends at The Scripps Institution of Oceanography Whale Acoustics Lab.\u00a0 You can hear the sounds produced by many of the animals that we study in MAR lab as well as play games and watch short videos about the various ways we study these animals.<\/p>\n<p><a href=\"http:\/\/voicesinthesea.ucsd.edu\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-264 size-full\" src=\"http:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/VoicesInTheSea.png\" alt=\"\" width=\"1019\" height=\"406\" srcset=\"https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/VoicesInTheSea-200x80.png 200w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/VoicesInTheSea-300x120.png 300w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/VoicesInTheSea-400x159.png 400w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/VoicesInTheSea-600x239.png 600w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/VoicesInTheSea-768x306.png 768w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/VoicesInTheSea-800x319.png 800w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/VoicesInTheSea.png 1019w\" sizes=\"(max-width: 1019px) 100vw, 1019px\" \/><\/a><\/p>\n<div class=\"fusion-section-separator section-separator curved fusion-section-separator-2\" style=\"--awb-spacer-height:99px;--awb-svg-margin-left:0;--awb-svg-margin-right:0;--awb-divider-height:99px;--awb-spacer-padding-top:inherit;--awb-sep-padding:0;--awb-svg-padding:0;\"><div class=\"fusion-section-separator-svg\"><svg class=\"fusion-curved-candy\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"100%\" height=\"100\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\" fill=\"rgba(246,246,246,1)\"><path d=\"M0 100 C 20 0 50 0 100 100 Z\"><\/path><\/svg><\/div><div class=\"fusion-section-separator-spacer\"><div class=\"fusion-section-separator-spacer-height\"><\/div><\/div><\/div>\n<h1>How do animals produce sound?<\/h1>\n<p>Many animals, including us, squeeze their lungs to force air up their throat and out of their mouths.\u00a0 The air particles bounce against one another, a bit like a bumper cars.\u00a0 One particle bounces into another, it rebounds and hits another, and so on.\u00a0 We can see how this works below.\u00a0 Pay close attention to the particles marked in red.\u00a0 They go back and forth as they hit other particles.\u00a0 Even though each particle just moves back and forth, it looks like the particles are traveling across the screen.\u00a0 You hear when the last set of particles hit your ear.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-265\" src=\"http:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/LongitudinalWaves_DanRussell.gif\" alt=\"\" width=\"900\" height=\"300\" \/><\/p>\n<p>Areas where there are lots of particles have high pressure and we see &#8220;waves&#8221; of high pressure regions.\u00a0 The more closely spaced the waves are, the higher we hear the pitch.<\/p>\n<p>Not all animals squeeze air out of their lungs.\u00a0 Dolphins for example, cannot breathe underwater and have a system near their blow hole that moves air around that area and across their sound producing &#8220;monkey lips,&#8221; the dolphin equivalent of your vocal folds (voice box).<\/p>\n<p>Some animals do not use air in their bodies at all to produce sound.\u00a0 Many insects rub two body parts together to create sounds.\u00a0 As an example, crickets have a saw-like structure on the bottom of their upper wings called a file.\u00a0 On the top of the lower wing, a scraper called the plectrum sticks out.\u00a0 When they rub the wings across each other, it produces sound, much like if you run your fingernail across a comb.<\/p>\n<div id=\"attachment_283\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" aria-describedby=\"caption-attachment-283\" class=\"size-medium wp-image-283\" src=\"http:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Montealegre-Z2008-CricketWingPlectrum-300x161.png\" alt=\"Teeth like structure in a cricket's file.\" width=\"300\" height=\"161\" srcset=\"https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Montealegre-Z2008-CricketWingPlectrum-200x107.png 200w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Montealegre-Z2008-CricketWingPlectrum-300x161.png 300w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Montealegre-Z2008-CricketWingPlectrum-400x215.png 400w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Montealegre-Z2008-CricketWingPlectrum-600x322.png 600w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Montealegre-Z2008-CricketWingPlectrum-768x413.png 768w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Montealegre-Z2008-CricketWingPlectrum-800x430.png 800w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Montealegre-Z2008-CricketWingPlectrum.png 873w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-283\" class=\"wp-caption-text\">File on a cricket wing (Montealegre 2008 J Exp Biol)<\/p><\/div>\n<p>You can see a video of a cricket doing this at full speed and then slowed down here:<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div><div class=\"fusion-video fusion-youtube fusion-aligncenter\" style=\"--awb-max-width:600px;--awb-max-height:360px;--awb-width:100%;\"><div class=\"video-shortcode\"><div class=\"fluid-width-video-wrapper\" style=\"padding-top:60%;\" ><iframe title=\"YouTube video player 1\" src=\"https:\/\/www.youtube.com\/embed\/YAaAZdVeoRU?wmode=transparent&autoplay=0version=3&amp;loop=1&amp;playlist=YAaAZdVeoRU?modestbranding=1\" width=\"600\" height=\"360\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;\"><\/iframe><\/div><\/div><\/div><div class=\"fusion-text fusion-text-2\"><div class=\"fusion-section-separator section-separator curved fusion-section-separator-3\" style=\"--awb-spacer-height:99px;--awb-svg-margin-left:0;--awb-svg-margin-right:0;--awb-divider-height:99px;--awb-spacer-padding-top:inherit;--awb-sep-padding:0;--awb-svg-padding:0;\"><div class=\"fusion-section-separator-svg\"><svg class=\"fusion-curved-candy\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"100%\" height=\"100\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\" fill=\"rgba(246,246,246,1)\"><path d=\"M0 100 C 20 0 50 0 100 100 Z\"><\/path><\/svg><\/div><div class=\"fusion-section-separator-spacer\"><div class=\"fusion-section-separator-spacer-height\"><\/div><\/div><\/div>\n<h1>How do we use sound in our lab?<\/h1>\n<p>The MAR lab designs programs that use sound to learn about when and where animals are present, what kind of animals are there, and what they are doing.\u00a0 Knowing things about when animals are in certain spots lets humans consider how we might want to change our behavior if we are interested in protecting the environment.\u00a0\u00a0<\/p>\n<p>How we do this requires a lot of information that you might choose to learn in college.\u00a0 Here are some of the basics of how we do this without going too deep into the details.<\/p>\n<div class=\"fusion-section-separator section-separator curved fusion-section-separator-4\" style=\"--awb-spacer-height:99px;--awb-svg-margin-left:0;--awb-svg-margin-right:0;--awb-divider-height:99px;--awb-spacer-padding-top:inherit;--awb-sep-padding:0;--awb-svg-padding:0;\"><div class=\"fusion-section-separator-svg\"><svg class=\"fusion-curved-candy\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"100%\" height=\"100\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\" fill=\"rgba(246,246,246,1)\"><path d=\"M0 100 C 20 0 50 0 100 100 Z\"><\/path><\/svg><\/div><div class=\"fusion-section-separator-spacer\"><div class=\"fusion-section-separator-spacer-height\"><\/div><\/div><\/div>\n<h1>Visualizing sound<\/h1>\n<p>Microphones (called hydrophones when they are underwater) record pressure that comes from the air particles being tightly or loosely packed.\u00a0 When you have a slightly blown up balloon, the pressure is low and the balloon is squishy.\u00a0 When you inflate the balloon all the way, pressure is high and it is much harder to squish the balloon without it popping.\u00a0 Unfortunately, microphone measurements are hard for humans to understand.\u00a0 So we use a very old method created by the French mathematician Jean-Baptiste Fourier in the 1800s to transform the pressure measurements into measurements of which pitches are loud or quiet.\u00a0 When we do this many times on short sound segments, we can make a picture that lets us better see what is going on.\u00a0<\/p>\n<p>This is the first step in many sound processing methods and is called a spectrogram.\u00a0 You can create spectrograms of your own voice by clicking on the image below.<\/p>\n<h2><a href=\"https:\/\/musiclab.chromeexperiments.com\/Spectrogram\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-271 size-medium\" src=\"http:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Trombone-221x300.png\" alt=\"spectrogram\" width=\"221\" height=\"300\" srcset=\"https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Trombone-200x272.png 200w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Trombone-221x300.png 221w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Trombone-400x543.png 400w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Trombone-600x815.png 600w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Trombone-754x1024.png 754w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Trombone-768x1043.png 768w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Trombone-800x1087.png 800w, https:\/\/roch.sdsu.edu\/wp-content\/uploads\/2019\/03\/Trombone.png 895w\" sizes=\"(max-width: 221px) 100vw, 221px\" \/><\/a><\/h2>\n<div class=\"fusion-section-separator section-separator curved fusion-section-separator-5\" style=\"--awb-spacer-height:99px;--awb-svg-margin-left:0;--awb-svg-margin-right:0;--awb-divider-height:99px;--awb-spacer-padding-top:inherit;--awb-sep-padding:0;--awb-svg-padding:0;\"><div class=\"fusion-section-separator-svg\"><svg class=\"fusion-curved-candy\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"100%\" height=\"100\" viewBox=\"0 0 100 100\" preserveAspectRatio=\"none\" fill=\"rgba(246,246,246,1)\"><path d=\"M0 100 C 20 0 50 0 100 100 Z\"><\/path><\/svg><\/div><div class=\"fusion-section-separator-spacer\"><div class=\"fusion-section-separator-spacer-height\"><\/div><\/div><\/div>\n<h1>Using machine learning to process sounds<\/h1>\n<p>Once we have a good representation of sound such as the spectrogram, we need to decide things about the sounds that were recorded.\u00a0 For example, can we figure out from the sounds an animal is making whether or not it is looking for food?\u00a0 If we can identify a sound associated with looking for food, then we can write a program that learns to look for that sound in recordings.<\/p>\n<p>Understanding how we write programs to make decisions requires many concepts that you might not have studied yet, but do not worry.\u00a0 Everything is learned one step at a time and we will try to give you some ideas about how this is done without getting too technical.<\/p>\n<p>We write machine learning programs to make decisions in two main categories.\u00a0 One type is for when we can provide the program with examples of things for which we know the right answer.\u00a0 For example, I might have examples of whistles from two dolphin species.\u00a0 From these examples, the machine learns how to make such decisions on its own.<\/p>\n<p>Learning is the process of determining what decision should be made.\u00a0 One popular type of learning is to try to find boundaries between different types of things.\u00a0 Imagine that you are playing the 20 questions game.\u00a0 If the person you are playing with is thinking of a dog breed, you might ask if it is a big dog.\u00a0 This divides dogs into big and small dogs.\u00a0 Each time you ask a question, you further divide the possibilities.\u00a0 We would want a computer learner to figure out from examples what questions should be asked.\u00a0\u00a0<\/p>\n<p>A popular learning method that follows this approach of learning boundaries is a neural net, which loosely imitates what the cells in our brain do, but our brains are much more powerful.\u00a0 You can play with a <a href=\"http:\/\/playground.tensorflow.org\" target=\"_blank\" rel=\"noopener noreferrer\"> toy neural net<\/a>.\u00a0 It is a bit complicated, but if you are visiting our lab during an open house, please ask us and we will be happy to describe what is going on.\u00a0 If you just want to see a neural net in action, you <a href=\"https:\/\/tensrflow.herokuapp.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">can draw numbers and see what the machine predicts<\/a> you drew.<\/p>\n<p>The second type of learning is a grouping problem.\u00a0 If we do not know what to call things, can we have the computer find categories for us?\u00a0 We typically look for a measurement of how similar things are and then group similar things together.\u00a0 A very popular way to do this is called k-means, and Mr. Nitoyon has developed <a href=\"http:\/\/tech.nitoyon.com\/en\/blog\/2013\/11\/07\/k-means\/\" target=\"_blank\" rel=\"noopener noreferrer\">a nice way to see<\/a> how this works.\u00a0\u00a0<\/p>\n<p>&nbsp;<\/p>\n<\/div><div class=\"fusion-clearfix\"><\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-262","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/pages\/262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/comments?post=262"}],"version-history":[{"count":23,"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/pages\/262\/revisions"}],"predecessor-version":[{"id":301,"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/pages\/262\/revisions\/301"}],"wp:attachment":[{"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/media?parent=262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}