Analysis of recorded sounds using Labview

Slides:



Advertisements
Similar presentations
Introduction to Digital Audio
Advertisements

Adam Diel.  In 1981 IBM PC 150 introduced the first PC Speaker.  Each game had to write support for it (sound cards were impractical during this time)
A Phonetician ’ s Guide to Audio Formats Chilin Shih University of Illinois at Urbana Champaign LSA 2006January 5-8, 2006.
Digital Signal Processing
Multimedia Authoring1 Introduction to Garageband Garageband is both a: MIDI sequencer Digital audio recorder Garageband: Real Instruments Tracks displayed.
Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets.
CNIT 132 – Week 9 Multimedia. Working with Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each.
Terms cont’d. The Ball And Frequency. “The Ball” Watching an unfamiliar sporting event It is difficult to try to absorb all the rules and protocols immediately.
Sound can make multimedia presentations dynamic and interesting.
4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
Digital Audio Production Munsang College Information and Communication Technology S2.
GCSE Computing#BristolMet Session Objectives#10 MUST define the term sample rate COULD explain how sound can be sampled and stored in digital form SHOULD.
1 Multimedia on the Web: Issues of Bandwidth Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each second.
Dale & Lewis Chapter 3 Data Representation Analog and digital information The real world is continuous and finite, data on computers are finite  need.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
I Power Higher Computing Multimedia technology Audio.
Technology ICT Option: Audio.
SWE 423: Multimedia Systems Chapter 3: Audio Technology (2)
Chapter 7 Principles of Analog Synthesis and Voltage Control Contents Understanding Musical Sound Electronic Sound Generation Voltage Control Fundamentals.
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.
Audio Basic Concepts. Audio in Multimedia Digital Audio: Sound that has been captured or created electronically by a computer In a multimedia production,
Image and Sound Editing Raed S. Rasheed Sound What is sound? How is sound recorded? How is sound recorded digitally ? How does audio get digitized.
PH 105 Dr. Cecilia Vogel Lecture 24. OUTLINE  Electronic music  Theramin  Analog vs digital  components in electronic music.
Chapter 14 Recording and Editing Sound. Getting Started FAQs: − How does audio capability enhance my PC? − How does your PC record, store, and play digital.
Representing Sound in a computer Analogue  Analogue sound is produced by being picked up by a transducer (microphone) and converted in an electrical current.
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.
Audio Production Basics. Pros and Cons of Digital Recording Pros – Much easier for the average person. Much less cumbersome Will not deteriorate over.
The Human Ear fancy sub-heading. Parts of the ear Three main parts: The outer ear consists of the pinna, ear canal and eardrum The middle ear consists.
 Continuous sequence of vibrations of air  (Why no sound in space? Contrary to Star Wars etc.)  Abstraction of an audio wave:  Ear translates vibrations.
Digital Audio What do we mean by “digital”? How do we produce, process, and playback? Why is physics important? What are the limitations and possibilities?
GCT731 Fall 2014 Topics in Music Technology - Music Information Retrieval Overview of MIR Systems Audio and Music Representations (Part 1) 1.
Introduction to Interactive Media 10: Audio in Interactive Digital Media.
COMP Representing Sound in a ComputerSound Course book - pages
CSCI-235 Micro-Computers in Science Hardware Part II.
Technician License Course Chapter 2 Radio and Electronics Fundamentals Equipment Definitions Hour-1.
Harmonic Series and Spectrograms
CHAPTER SEVEN SOUND. CHAPTER HIGHLIGHTS Nature of sound – Sine waves, amplitude, frequency Traditional sound reproduction Digital sound – Sampled – Synthesized.
Chapter 11 Audio © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
AUDIO MEDIA 1 Created } “Borrowed” } Microphone MIDI keyboard CD’s & flash drives Internet Audio Sources 2.
COSC 1P02 Introduction to Computer Science 4.1 Cosc 1P02 Week 4 Lecture slides “Programs are meant to be read by humans and only incidentally for computers.
Sound or Audio, whichever you prefer –MIDI Files.midi or.mid (Musical Instrument Digital Interface) use for instrumental music. –This format is supported.
Introduction to Audio. What is "Audio"? Audio means "of sound" or "of the reproduction of sound“. Specifically, it refers to the range of frequencies.
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
Sound Part 2 Sound and how to make it. What is Sound? Sound is a compression wave.
Chapter 15 Recording and Editing Sound. 2Practical PC 5 th Edition Chapter 15 Getting Started In this Chapter, you will learn: − How sound capability.
Alice Workshop Working with Sound. Sound Working with sound is appealing to students Demo: Penguin Sound.
More Meaningful Jargon Or, All You Need to Know to Speak Like a Geek Sound.
CH. 21 Musical Sounds. Musical Tones have three main characteristics 1)Pitch 2) Loudness 3)Quality.
By Rhett Price. Speed of sound depends on density Correlation between speed and density Not as fast as light speed Also affected by pressure and temperature.
Sound in Multimedia Psychology of sound what do you use it for? what techniques for its communication exist? Science of sound why does it exist? how it.
 Audacity has many different uses  Record live audio  Copy or splice sound tracks together  Change the speed or pitch of a recording  Import and.
CSCI-100 Introduction to Computing Hardware Part II.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Design of a Guitar Tab Player in MATLAB Background Lecture
Intro to Fourier Series BY JORDAN KEARNS (W&L ‘14) & JON ERICKSON (STILL HERE )
AUDIO Audio means "of sound" or "of the reproduction of sound". Specifically, it refers to the range of frequencies detectable by the human ear ム approximately.
TUTORIAL FOR USING AUDACITY DESIGNED BY ND SINH/ND CHUONG Name of the tool: Audacity URL Link: Audacity Download (
Introduction to Digital Audio
XP Practical PC, 3e Chapter 14 1 Recording and Editing Sound.
Chapter 15 Recording and Editing Sound
Terms cont’d. The Ball And Frequency.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Sound / Audio.
Introduction to Digital Audio
Introduction to Digital Audio
Introduction to Digital Audio
Introduction to Digital Audio
Assist. Lecturer Safeen H. Rasool Collage of SCIENCE IT Dept.
Chapter 11 Audio © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
Introduction to Digital Audio
Presentation transcript:

Analysis of recorded sounds using Labview W. Rose 2013-09-01 Department of Kinesiology and Applied Physiology

Department of Kinesiology and Applied Physiology Sound Recorder Simple program supplied with Windows Uses built-in or external microphone(s) Records two audio channels at 44.1 kHz Saves the sound in a .wma file Channels have same amplitudes if there is only one microphone Department of Kinesiology and Applied Physiology

Department of Kinesiology and Applied Physiology Sound Files Sound (or audio) files contain Header information (number of channels, sampling rate, bits per channel, etc.) Signal amplitudes Audio file formats Uncompressed: *.wav, *.aiff, … Lossless compression: *.wv, *.m4a, … Lossy compression: *.mp3, *.wma, … “Codec”=software to compress/decompress Labview’s built-in sound VIs work on .wav files Convert other formats (including sound track from video file) to .wav with a converter program or at media.io. Department of Kinesiology and Applied Physiology

Labview Built-in VIs for Sound Go to: Programming > Graphics and Sound > Sound Sound File Info.vi Sound File Read.vi Sound File Read Simple.vi Sound File Write.vi Sound File Write Simple.vi Acquire Sound.vi Play Sound File.vi Play Waveform.vi and many more Department of Kinesiology and Applied Physiology

Labview sound VIs Go to: [course homepage]\examples\sound soundfileinfo.vi plot_sound_file_amplitude.vi plot_sound_file_spectrum.vi more to come Department of Kinesiology and Applied Physiology

Department of Kinesiology and Applied Physiology

Department of Kinesiology and Applied Physiology

Example: Determining frequency of vibration Goal Estimate vibration frequency of external tendon stimulator. Exploratory Analysis Record an electric razor under different conditions with Sound Recorder. Files were converted from *.wma to *.wav at media.io and clipped to obtain steady at segments at cut-mp3.com. Listen to audio files at [course homepage]\examples\sound: elec_razor1clip.wav (normal) elec_razor2clip2to10.wav (loose screen) elec_razor3clip4to10.wav (trimmer) Department of Kinesiology and Applied Physiology

Example: Determining frequency of vibration Methods Frequency was estimated with a musical tuner and with Labview. Electronic musical tuner (Korg) was used during each condition to estimate pitch. Pitch was converted to frequency using A440 equal temperament tuning. Korg tuner does not specify octave, so frequency estimate is indeterminate up to a factor of 2n. Pitch of razor was compared by ear to a well-tuned piano. Frequency was estimated in Labview using plot_sound_file_spectrum.vi, which calls Sound File Read Simple.vi, Extract Single Tone Information.vi, Extract Multiple Tone Information.vi, and Auto Power Spectrum.vi. Department of Kinesiology and Applied Physiology

Example: Determining frequency of vibration Results for elec_razor1clip.wav (normal): Tuner: Frequency=131.6-132.4 Hz (or x0.5, x2, x4). Ear agrees. Labview: f(peak power)=120.0, also 1062, 929 Hz Spectrum has spike at 120 Hz; broad peaks at 398, 531, 663, 797, 929, 1062, 1195, 1327, 1460, 1593, 1727, 1860, 1992 i.e. harmonics 3-15 of 132.8 Hz, plus other peaks below 400 Hz. Department of Kinesiology and Applied Physiology

Example: Determining frequency of vibration Results for elec_razor2clip2to10.wav (loose cover): Tuner: Frequency= 134.3-135.1 Hz (or x0.5, x2, x4). Ear agrees. Labview: f(peak power)=120.0, also 819, 682, 956 Hz Spectrum has spike at 120 Hz; broad peaks at 294, 348, 682, 819, 955, 1092, 1228, 1365, 1502, 1638, 1774, 1910 i.e. at harmonics 5- 14 of 136.4 Hz, plus other peaks below 400 Hz. Department of Kinesiology and Applied Physiology

Example: Determining frequency of vibration Results for elec_razor3clip4to10.wav (trimmer): Tuner: Frequency= 116.2-116.9 Hz (or x0.5, x2, x4). Ear agrees. Labview: f(peak power)=120.0, also 819, 936, 1402 Hz Spectrum has spike at 120 Hz; broad peaks at 351, 584, 702, 818, 935, 1052, 1168, 1286, 1403, 1519, 1637, 1754, 1870, 1988 Hz i.e. harmonics 3 and 5-17 of 116.9 Hz, plus other peaks below 400 Hz. Department of Kinesiology and Applied Physiology

Example: Determining frequency of vibration Discussion Pitch estimated by musical toner and pitch estimated by ear were in agreement. Frequency estimated with Extract Single Tone Information.vi was 120 Hz in all cases, which did not match tuner and ear estimates. 120 Hz electromagnetic pickup by computer microphone? 120 Hz audio buzz due to lighting? Department of Kinesiology and Applied Physiology

Example: Determining frequency of vibration Discussion Frequencies obtained by Extract Multiple Tone Information.vi were consistent with a signal with a missing fundamental whose frequency was that found by the tuner. Power spectrum plot was also consistent with a “missing fundamental” at the tuner frequency. Razor probably generates sound at twice the frequency of the mechanical oscillation. Therefore we should probably divide the sound fundamental frequency by 2 to get mechanical vibration frequency. Department of Kinesiology and Applied Physiology

Example: Determining frequency of vibration Next Steps Collect audio file from tendon vibration device under different conditions: on a desk and attached with different degrees of tension to a supporting device or a subject. Turn off lights, unplug computer to reduce possible power line interference. Use plot_sound_file_spectrum.vi to estimate vibration frequency. Record audio file in razor trial location, with computer plugged in, lights on, without razor. Is there power at 60 or 120 Hz? Record audio file of razor in dark room, computer unplugged, far from devices that might radiate 60 or 120 Hz. Is 120 Hz component reduced? Department of Kinesiology and Applied Physiology