ITEC 109 Lecture 26 Sound (2). Sound Review Sound –How does it work in real life? –What are the different types of waves that represent sounds? –How are.

Slides:



Advertisements
Similar presentations
Introduction to Digital Audio
Advertisements

ITEC 109 Lecture 25 Sound.
2.02D Adding Sounds into Computer Animations 2.02 Develop Computer Animations.
Sound in multimedia How many of you like the use of audio in The Universal Machine? What about The Universal Computer? Why or why not? Does your preference.
4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
Free open source audio recording and editing software 1Using Audacity.
Audacity: a step-by-step tutorial Presented by: Terry W. Hoffland.
From Sound to Music CSC 161: The Art of Programming Prof. Henry Kautz 11/16/2009.
LMMS is a digital audio workstation that allows you to produce instrumental songs. LMMS stands for Linux MultiMedia Studio. The software was originally.
Digital audio recording Kimmo Tukiainen. My background playing music since I was five first time in a studio at fourteen recording on my own for six months.
1 CS 177 Week 15 Recitation Slides Review. Announcements Final Exam on Sat. May 8th  PHY 112 from 8-10 AM Complete your online review of your classes.
Week 8: Audio Processing 1.  Light and sound are both transmitted in waves 2.
The audacious program Audacity Audacity might be worth a look. Suggest... Audacity is an easy to use audio production and mixing program, which enables.
Introduction to Sound Sounds are vibrations that travel though the air or some other medium A sound wave is an audible vibration that travels through.
Joe Comm Audacity in the Classroom. Overview A free download tool to record audio files (voice, music, or both). Teacher laptops, power cords, internet.
School of Informatics CG087 Time-based Multimedia Assets Sampling & SequencingDr Paul Vickers1 Sampling & Sequencing Combining MIDI and audio.
Using Technology and Music to Talk About Sinusoids Mike Thayer Summit High School, Summit, NJ 25 th Annual “Good Ideas in Teaching Precalculus And…” Conference.
Skills: none Concepts: introduction to and history of speech (with and without text) and music processing, audio file formats, the audio processing workflow,
Song Pro Retro Alex Harper. Contents of Presentation Inspiration Basic Concept Speaker Module.sng file structure Song Pro Retro: Light Song Pro Retro:
2.02E Adding Sounds into Computer Animations 2.02 Develop Computer Animations.
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Digital Audio Basics with Bill Wade.
Making Your Tube! Lane Woodward Taylor Middle High School Pierson, Florida.
Playing Music in Alice By David Yan Under the direction of Professor Susan Rodger July 2015.
Lesson 1 What is Camtasia?. Lesson 2 Editing Objectives After completing the lesson, the student will be able to: Edit a basic recording Camtasia file.
Media in PowerPoint Learning Goal: Today you are going to explore how music and video can be added to a presentation.
Activity 2 Mix a WAV file and the sound from a youtube video In this activity, we are going to mix the WAV file created in Activity 1and the sound file.
OCR Nationals: Unit 22 – Creating Sound using ICT A03 – Create an audio clip Sound Editing & Effects.
Introducing Sound & Videos. Understanding Video Files Videos usually have the file extension AVI. Videos are very large files. Only one has been included.
Moviemaker Tutorial: Titles Adding Video & Pics Transitions MenuNextPrevious Video Effects Sounds Labels & Captions.
This tutorial has been created to help educators and CSME collaborators navigate the computer application “Audacity” to facilitate the creation of podcasts,
Alice Workshop Working with Sound. Sound Working with sound is appealing to students Demo: Penguin Sound.
Objective Understand digital audio production methods, software, and hardware. Course Weight : 6%
Workflow: Content (write) Acquisition (record) Produce (edit) Author (compress/export as mp3) Add meta data (ID3 tags) Distribute (ftp to moodle)
What is Audacity? Audacity is a free audio editor and recording program which is classified as open source software. It is easily downloaded to one’s.
For my final project I am going to use the SDRAM. I am uploading 9 files that exceed the limit of the internal memory RAM. I am going to manipulate the.
James Hornsby Connor Bradshaw 1168 Unit 1. Unit Unit  I will use Garageband because it has simple user interface, it is easy to use.
Soundscapes James Martin. Overview Problem Statement Proposed Solution Solution Created (Modules, Model, Pics) Testing Looking Back See It in Action Q&A.
Sound Editing Software. Audacity Background It is a free software for non-commerical use. It supports WAV, MP3, OGG format Available at M1, Rm 107 (Not.
 Audacity has many different uses  Record live audio  Copy or splice sound tracks together  Change the speed or pitch of a recording  Import and.
How to make a podcast. makeyourownradio.wikispaces.com.
How to Create a Podcast. Podcasting “is the distribution of audio or video files, such as radio programs or music videos, over the Internet using either.
OCR Nationals: Unit 22 – Creating Sound using ICT A02 – Design an audio clip Planning the clip.
Editing Digital AudioLab#7 Audacity is a free, easy-to-use and an open source platform audio editor and recorder for Windows, Mac OS, Linux and other operating.
FREE OPEN SOURCE AUDIO RECORDING AND EDITING SOFTWARE USING AUDACITY.
Lecture # 23 Sound Synthesis & Sound Arithmetic A “ sound font ” dog Jane knows Fred Ralph the loves Jane lovesFred.
1 Section 5.4 Digital Sound Processing Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Bryant Tober. Problem Description  View the sound wave produced from a wav file  Apply different modulations to the wave file  Hear the effect of the.
Introduction to Digital Audio
To import music or sound effects, save it to your computer then click FILE-IMPRT-AUDIO.
Digital Audio Basics.
Audacity Presented by Carrie Walter
Pre-Production Determine the overall purpose of the project.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Introduction to Digital Audio
2.02D Adding Sounds into Computer Animations
Bits and Pieces November 6, 2007.
Introduction to Digital Audio
Introduction to Digital Audio
How sound works: Acoustics, the physics of sound
Pre-Production Determine the overall purpose of the project.
Introduction to Digital Audio
Digital Music Scott Bennett 1/3/2019.
2.02D Adding Sounds into Computer Animations
2.02D Adding Sounds into Computer Animations
Musical Notes and Sine Waves
Introduction to Digital Audio
PRODUCTION PHASES CHANGES
AUDACITY Home Home Preparation Step1 Step2 Step3 Step4 Step5 Step6 Step7 Step8 Step9 Step10PreparationStep1Step2Step3Step4Step5Step6Step7Step8Step9Step10.
Embedded Sound Processing : Implementing the Echo Effect
Presentation transcript:

ITEC 109 Lecture 26 Sound (2)

Sound Review Sound –How does it work in real life? –What are the different types of waves that represent sounds? –How are musical notes played on computers?

Sound Objectives Move beyond simple notes How do you work with

Sound Files Wav files are easy to work with Not everything is wav Need to convert…

Sound Conversion Process Find a youtube video Figure out where your temporary internet cache is Find the video in the cache (find the big file) Run it through mplayer –mplayer -vo null -ao pcm:fast -ao pcm:file=test.wav Use the wav file as you see fit

Sound Loading a sound Like photos File = /Users/aaray/sound/test.wav sound = makeSound(File); blockingPlay(sound); #Note: play won’t allow you to stop it playing

Sound Manipulatin g volume Increasing –Usually doesn’t work (clipping) Decreasing –Create a background track (30% of original volume) for i in range(0, sound.getLength()): value = getSampleValueAt(sound,i); setSampleValueAt(sound,i, int(value*.3));

Sound Effects Reverse the sound b = duplicateSound(a); #Create a sound that is the same size c=0; for i in range(a.getLength()-1, 0, -1): setSampleValueAt(b,c, getSampleValueAt(a,i)); c++; blockingPlay(b);

Sound Echo a = duplicateSound(sound); delay = 10000; for i in range(delay, a.getLength()): setSampleValueAt(a,i,int(a.getSampleValueAt(i) +.6*getSampleValueAt(a,i-delay))); blockingPlay(a);

Sound Blending Two sounds to make one base="/Users/aaray/sound/" a = makeSound(base + "testing.wav"); b = makeSound(base + "ooo.wav"); c = duplicateSound(a); for i in range(0, c.getLength()): val1 = getSampleValueAt(a,i)*.5; val2 = getSampleValueAt(b,i)*.5; setSampleValueAt(c,i, int(val1+val2)); blockingPlay(c);

Sound Splicing How would you combine 2 different wav files into 1 wav file What is this called by the average person? How does this relate to arrays?

Sound Chipmunk s Double the frequency base="/Users/aaray/sound/" a = makeSound(base + "testing.wav"); b = makeEmptySound(a.getNumSamples()/2+1); c=0; for i in range(0, a.getLength(), 4): setSampleValueAt(b,c, getSampleValueAt(a,i)); c=c+1; blockingPlay(b);

Sound Lengthen it Lower the sound base="/Users/aaray/sound/" a = makeSound(base + "testing.wav"); b = makeEmptySound(a.getNumSamples()*2); c=0; for i in range(0, a.getLength()): setSampleValueAt(b,c, getSampleValueAt(a,i)); setSampleValueAt(b,c+1, getSampleValueAt(a,i)); c=c+2; blockingPlay(b);

Sound Problem Time shifts –Songs are half as long –Songs are twice as long Why? –Easy way out (fits on a ppt slide) The right way –Phase vocoder –Fast Fourier Transforms (Sophmore->Senior) –500+ Loc just for the math library

Sound Example Audacity – Software that does it the right way –38k+ lines of code for handling audio

Sound Other effects Bass boost Fade in / out Speed up / slow down Pop / Hiss removal All possible with array manipulation! –Not quite as easy to implement though

Sound Summary More uses for sound