USB Audio AES Oslo 2015-04-13 Børge Strand-Bergesen.

Slides:



Advertisements
Similar presentations
EET260 Introduction to digital communication
Advertisements

I.S 512 TOPIC 1 – LESSON 2. Types Of Transmission Media PHYSICAL Twisted Pair Cable Shielded twisted-pair (STP ) Unshielded twisted-pair (UTP) Coaxial.
ITEC 352 Lecture 34 Communications. Review USB –How did you like the material (1-10) from bad to good –What did you learn? Differences between bus types.
Digital Audio / Sound — An Underutilized Medium Integrating Technology into the Curriculum © 2004 Jim Lockard.
Audacity Audacity® is free, open source, cross- platform software for recording and editing sounds. Audacity is available.
Final Year Project Progress January 2007 By Daire O’Neill 4EE.
I Power Higher Computing Multimedia technology Audio.
Technology ICT Option: Audio.
5/4/20151 Lesson 5 Sound. 5/4/20152 Overview Introduction to sound. Multimedia system sound. Digital audio. MIDI audio. Audio file formats.
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
Analog to Digital Conversion of Sound Adam White.
Analog and digital data Skills: none IT concepts: analog to digital conversion, digital to analog conversion, sample rate, sample size, quality-file size.
Analog to Digital Conversion. 12 bit vs 16 bit A/D Card Input Volts = A/D 12 bit 2 12 = Volts = Volts = 2048 −10 Volts = 0 Input Volts.
1 Analog-to-digital converter Prepared by: Selah al-Battah Mohammed Al-khabbaz Atiyah Alnakhli Ali Dumyati.
Implement a 2x2 MIMO OFDM-based channel measurement system (no data yet) at 2.4 GHz Perform baseband processing and digital up and down conversion on Nallatech.
Digital Signal Processing (DSP) Fundamentals. Overview What is DSP? Converting Analog into Digital –Electronically –Computationally How Does It Work?
Lecture 10: Amplifiers and Comparators Today, we will Learn how to design op-amp circuits to perform a task  Piece together basic op-amp circuits and.
1 PC Audio 2 Sound Card  An expansion board that enables a computer to receive, manipulate and output sounds.
Introduction Lecture 1 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Wireless Digital Audio Transmission Senior Design Project Summer 2002 E. Donnelly, K. Khan, S. Owen D. Choy Dr. H. Lam.
Sound Chapter Types of Sound Waveforms MIDI Sound is related to many things in computers but only Wav and MIDI exist in PCs.
Chapter 10 Supporting Modems. You Will Learn… How modems work and how to install them About communications software that modems use to communicate with.
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
School of Informatics CG087 Time-based Multimedia Assets Sampling & SequencingDr Paul Vickers1 Sampling & Sequencing Combining MIDI and audio.
CE 4228 DATA COMMUNICATIONS AND NETWORKING Introduction.
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
Intro to Digital Technology HARDWARE CONCEPTS. IT-IDT-4 Identify, describe, evaluate, select, and use appropriate technology. IT-IDT-5 Understand, communicate,
Living in a Digital World Discovering Computers Fundamentals, 2010 Edition.
High Speed Data Converter University
 Computer Fundamentals Computer Software. Review  Five Components of Computers  Example of input device  Example of output device  Define system.
Emergency Mine Radio Daniel Weller, Adam Jozwick, David West.
CMPD273 Multimedia System Prepared by Nazrita Ibrahim © UNITEN2002 Multimedia System Characteristic Reference: F. Fluckiger: “Understanding networked multimedia,
Chapter 5: Defining the Role of the Operating System
Input/Output 2 What is I/O? How we get the CPU to communicate with devices From the computer’s point of view, it’s just 1’s and 0’s Gets interpreted.
Specialist for Apple Accessories from iPhone, iPad to MacBook 1 for Apple.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
A tree line has a central line connecting together a series of star networks. The server is connected to a central line. Tree Network As the star, and.
Copyright 2003 The McGraw-Hill Companies, Inc CHAPTER The System Unit computing ESSENTIALS    
Digital Audio System PCM streams have two basic properties that determine their fidelity to the original analog signal: the sampling rate, which is the.
By Cheyenne Morgan Unit 1- Set up and operate a DAW.
Win OS & Hardware. Input Getting data into the computer.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
12/8/20151 Operating Systems Design (CS 423) Elsa L Gunter 2112 SC, UIUC Based on slides by Roy Campbell, Sam King,
TECHNOLOGY GUIDE FOUR Basics of Telecommunications and Networks.
Chapter 5 Input/Output 5.1 Principles of I/O hardware
Wireless communication Emmanuel Gyebison. Transmission Signals must be converted into digital values, using a circuit called ADC (Analog to Digital Converter),
IT-101 Section 001 Lecture #9 Introduction to Information Technology.
Digital to Analog Converter (DAC)
 Speech  Narration—also called voice overlay or voice track  Dialogue—between two or more characters  Direct Address—talking straight at the.
Multi Channel Music Recognition for an Electric Guitar.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 17 Supporting Modems.
Garage Band For MAC. What is it? A digital audio workstation that can record and play back multiple tracks of audio. Is a software application for OS.
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
How to Convert/Transfer iTunes to Sony Walkman through Mac/Windows? All rights reserved— I got my kids.
Microprocessors Data Converters Analog to Digital Converters (ADC)
Nat 4/5 Computing Science Interfaces
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Sound Card A sound card (also referred to as an audio card) is a peripheral device that attaches to the ISA or PCI slot on a motherboard to enable the.
Sound Card A sound card (also referred to as an audio card) is a peripheral device that attaches to the ISA or PCI slot on a motherboard to enable the.
Computer Basics: Parts of a Computer? Part I
Chapter Five Making Connections Efficient: Multiplexing and Compression Data Communications and Computer Networks: A Business User’s Approach Eighth Edition.
DIGITAL CONTROL 목 차 1. Introduction to Digital Control System
Digital Audio Processing
Digital Design.
CSCI1600: Embedded and Real Time Software
Analog-to-digital converter
CSCI1600: Embedded and Real Time Software
Digital Electronics and Logic Circuit
Presentation transcript:

USB Audio AES Oslo Børge Strand-Bergesen

2 Has been making a CD player for >20 years Experience from design and manufacturing of electronics The CD player was in need of a USB input The Open Source SDR Widget was better than commercial USB chips 5 years ago Has commercialized the Audio Widget project Has a daytime job as Product Manger at Miros AS

3 Introduction What is time? What is digital audio? What does a DA converter really do? How is digital audio transferred? Why is an asynchronous protocol so good? Tips and tricks for good digital audio Demo

4 What is time? We notice how fast things happen –Changes in rhytm –Offset hole in LP –Timing in DA converter Computers are not as sensitive –As long as things happed before they are due –The clock may well vary

5 What is digital audio? Sound is an analog phenomenon –Continuous signals –No sudden changes –Noise = “Fireplace” Digital sound has undergone a translation –“Chopped up” in time –Rounded off to nearest integer –Noise = Quantization & Jitter

6 What does a DAC do? The DAC makes the audio signal continuous again –It plays back each sample –It fills in the gaps =+

7 Errors in DACs –Quantization noise, level errors Out of the DAC vs. into the ADC A CD has the samples rounded off to the closest of available integers (16 bits) More bits help! –Jitter, timing errors in when the samples are played back Darn good clocks help … and the right transfer method → Time (jitter) → Level (quantization) Digital audio has two fundamental errors:

8 How is digital audio transferred? Synchronous protocol –Transmitter controls the timing –Receiver regenerates clock signal –SPDIF (coax) and TOSLINK (optical) –Some people can tell cables apart by their sound! –They carry a very digital data signal –and a very analog timing reference –Transmitter, receiver and cable are never 100% matched –Some CD players transmit well –Some DACs receive well –PCs in general don’t transmit well

9 Digital audio with USB USB is packet based (1 or 8 packets/ms) –CD audio with 44.1ksps is sent as 9 packets of 44 samples and one packet of 45 –It is hard to synchronize to this scheme!

10 Transfer methods in USB audio Synchronous, DAC locks to USB clock –PCs are really, really bad at making good analog clocks! Adaptive, DAC has an adjustable clock –Adjustable clocks are expensive and somewhat noisy –Analog control loop Asynchronous USB, DAC controls timing –The DAC can be made with a built-in, really good analog clock –Digital control Asynchronous sample rate conversion –The clock in the DAC is completely independent of PC’s clock –Every single sample is digitally modified

11 Asynchronous transfer = good! The DAC becomes the timing reference –Good clock chips placed right by the DAC chip –The DAC controls the source –USB is a very good fit –Asynchronous USB says “Speed up” or “Relax” back to PC/Mac/iPad

12 Sample rate conversion 1.The task has 44.1 points per foot of line 2.Draw it up with curve ruler #4 3.On translucent paper: draw 48 points per foot 4.Ask Junior to solve the task

13 Sample rate conversion points / foot = Sample rate of CD 2.Curve ruler #4 = digital FIR filter 3.48 points / foot = Sample rate out 4.Junior = DAC Windows and OS X do this without asking you! This was expensive at the time of DAT. Today it has no cost in and 48 out means: Each 147. input sample == each 160. output sample Every other sample is calculated, and different from the original!

14 Playback tips and tricks Decide ambition level 1.Everyday use Plug’n’play MP3 YouTube 2.Informed use CD quality Tidal / Wimp-HiFi 3.Hi-res Needs a bit more setup >48ksps No “pling, you got mail” Dedicated music player SW 4.Über geek

15 Informed use on Windows

16 Advanced use on Windows –If CD quality is sufficient, use WASAPI protocol –Download ASIO driver from –Use DAC in UAC2 mode (USB Audio Class 2) –Use an ASIO compliant player program foobar2000 with its ASIO plugin JRiver Media Center –Use a virtual audio device JRiver Media Center Hi-Fi CABLE & ASIO Bridge –Read the Henry Audio Blog

17 Informed use on a Mac

18 Informed use on iPad / iPhone –Use latest iOS –Purchase Apple’s "Lightning to USB Camera Adapter“ or "Apple iPad Camera Connection Kit". –Purchase a USB hub with its own power supply –Use DAC in UAC2 mode –Read the Henry Audio Blog

19 Driver summary USB Audio Class 1 = OK for CD quality ● USB Audio Class 2 = Hi-Res, 192 ksps ● Windows OS X LinuxiOS UAC1 Built-in driver with resampling. Works with all software. Built-in driver with resampling. Edit mpd-config. Doesn’t work with UAC1 in current firmware. UAC2 No OS support No “Pling …” Very good with ASIO and dedicated players. Built-in driver with resampling. Edit mpd-config. Built-in driver without resampling!

20 Demo!