Converting Audio – Audio File Size

Total Page:16

File Type:pdf, Size:1020Kb

Converting Audio – Audio File Size Converting Audio – Audio File Size By the end of this worksheet you should: • know how to calculate the possible file size of an audio recording You should now be very familiar with the following concepts: • BIT: a single zero (0) or (1), short for Binary digIT • BYTE: 8 bits • Analogue: a continuously varying signal • Digital: a pulse that alternates between OFF (0) and ON (1) • ADC: Analogue to Digital Converter • Sample Rate: how many times per second the ADC tests the incoming analogue signal • Sample Resolution: the number of bits allocate to each sample taken We only need to add 1 more snippet of knowledge to calculate the possible file size of an audio recording, and that is the duration of the recording. Imagine that you record 10 seconds of audio, setting the sample rate to 44.1kHz and using 16 bits per sample. What does this all mean? Page 1 of 5 Converting Audio – Audio File Size Well, we know that… • each sample uses 16 bits • there are 44 100 samples per second • this means that we are using 44 100 samples per second x 16 bits = 705 600 bits per second • Since we recorded for 10 seconds we have 705 600 bits per second x 10 seconds = 7 056 000 bits in total • There are 8 bits to a byte so 7 056 000 ÷ 8 = 882 000 bytes • 1 000 is a kilo so 882 000 bytes = 882 kilobytes or 882KB So, a 10 second recording that is set at 16 bits/44.1kHz might result in a file of 882KB. How did we do that? Sample Rate x Sample Resolution x Time = Potential File Size There are two remain items we need to deal with: • Why do we keep referring to Potential File Size? • What is Bit Depth? When a computer saves a file it might store only the essential data needed. If this happens then the potential file size and the actual file size should be the same. However, there are times when what you get is different to what we estimate the file should be… Page 2 of 5 Converting Audio – Audio File Size Compression If the audio file is compressed in any way some data might be removed from the file, which would make the file smaller. There are two different ways to compress a file: • lossless, which means we might remove data but we do not lose any of the sound quality at all. • lossy, which means that the compression method will affect the quality of the recording by losing some of the data. One file type that records raw data is a WAV file; WAV files can be very large indeed. File formats such as MP3, AAC and OGG are all compression types. MP3 has two potential compression types: lossy MP3 and lossless MP3. Meta Data When we save a file we might like to record details alongside the sound itself. Maybe the file is a song and we want to record the name of the artist, the song title, the length of the song, when it was recorded, what album it comes from, its track number. All of this data is added to the file itself but does not have any impact upon the actual file data, the quality of the sound. This is known as meta data and is used by different music players to display all kinds of details about your favourite songs, including the album artwork. Page 3 of 5 Converting Audio – Audio File Size Different Data Size Most modern computers restrict the smallest amount of space addressable to a byte. So, if the calculated file size in bits is not exactly divisible by 8 then the file size will be slightly bigger, since any fractional bits will be placed in their own byte-sized block. Some systems, including USB memory sticks, store data in blocks that can be larger than a byte. So, the file size is likely to be significantly larger than calculated. In terms of bit depth, you might see this term used when it comes to audio recording. The term sample resolution is used by many different types of analogue to digital recordings, not simply audio. It is correct to use the term sample resolution in relation to audio recording but many in the field prefer to use the term bit depth. All you need to remember is that bit depth and sample resolution are the same thing. Page 4 of 5 Converting Audio – Audio File Size Things for you to try You record some audio at 44.1KHz at a sample resolution of 16 bits. You record for 1 minute 30 seconds. Your friend records for the same time but uses HRA. HRA uses 192KHz and 24 bit. 1. How large is your resultant file size likely to be, in bytes? 2. How large is your friend’s file size likely to be, in bytes? 3. You decide to reduce the space the file uses and have the choice to compress the file in either a lossy or a lossless format. a. What is file compression? b. What is lossy compression? c. What is lossless compression? 4. Your friend uses editing software to trim 20 seconds of recording from their original recording. a. How much space has your friend saved? b. What is the new file size likely to be? Page 5 of 5 .
Recommended publications
  • Dealing with Document Size Limits
    Dealing with Document Size Limits Introduction The Electronic Case Filing system will not accept PDF documents larger than ten megabytes (MB). If the document size is less than 10 MB, it can be filed electronically just as it is. If it is larger than 10 MB, it will need to be divided into two or more documents, with each document being less than 10 MB. Word Processing Documents Documents created with a word processing program (such as WordPerfect or Microsoft Word) and correctly converted to PDF will generally be smaller than a scanned document. Because of variances in software, usage, and content, it is difficult to estimate the number of pages that would constitute 10 MB. (Note: See “Verifying File Size” below and for larger documents, see “Splitting PDF Documents into Multiple Documents” below.) Scanned Documents Although the judges’ Filing Preferences indicate a preference for conversion of documents rather than scanning, it will be necessary to scan some documents for filing, e.g., evidentiary attachments must be scanned. Here are some things to remember: • Documents scanned to PDF are generally much larger than those converted through a word processor. • While embedded fonts may be necessary for special situations, e.g., trademark, they will increase the file size. • If graphs or color photos are included, just a few pages can easily exceed the 10 MB limit. Here are some guidelines: • The court’s standard scanner resolution is 300 dots per inch (DPI). Avoid using higher resolutions as this will create much larger file sizes. • Normally, the output should be set to black and white.
    [Show full text]
  • If You Have Attempted to Upload Your Files and You Receive an Error Or
    If you have attempted to upload your files and you receive an error or they simply will not upload to EDJOIN, your files are probably either in an inappropriate format, or too large. Please ensure that your document meets the appropriate format and size requirements below. Acceptable format: .PDF Size limit: Each file must not exceed 1 MB (megabyte) or 1024 KB File Name: The file name must contain less than 50 characters including spaces. If the file name contains more than 50 characters or any special characters, you may have trouble attaching your documents and/or the district you are applying to may have trouble viewing them. Please make sure your document title only contains letters and numbers. If the document is multiple pages, you may need to scan multiple sections of the document to maintain the 1MB file size allowance. Saving Your Documents to .PDF Format: If Using A PC: Microsoft Word 2007 or later allows you to save a document as .PDF on a PC 1. Open the document from where you have it saved in your computer. 2. Once the document opens in Microsoft Word, go to the File menu at the top left of your Microsoft Word window and click on Save as. 3. Note where you will be saving the document, go to the bottom of the window and select PDF (*.pdf) in the Save as type box. 4. Save and close. If Using A Mac: Using the print dialog box allows you to save just about any document to .PDF format from a Mac 1.
    [Show full text]
  • Sequence Alignment/Map Format Specification
    Sequence Alignment/Map Format Specification The SAM/BAM Format Specification Working Group 3 Jun 2021 The master version of this document can be found at https://github.com/samtools/hts-specs. This printing is version 53752fa from that repository, last modified on the date shown above. 1 The SAM Format Specification SAM stands for Sequence Alignment/Map format. It is a TAB-delimited text format consisting of a header section, which is optional, and an alignment section. If present, the header must be prior to the alignments. Header lines start with `@', while alignment lines do not. Each alignment line has 11 mandatory fields for essential alignment information such as mapping position, and variable number of optional fields for flexible or aligner specific information. This specification is for version 1.6 of the SAM and BAM formats. Each SAM and BAMfilemay optionally specify the version being used via the @HD VN tag. For full version history see Appendix B. Unless explicitly specified elsewhere, all fields are encoded using 7-bit US-ASCII 1 in using the POSIX / C locale. Regular expressions listed use the POSIX / IEEE Std 1003.1 extended syntax. 1.1 An example Suppose we have the following alignment with bases in lowercase clipped from the alignment. Read r001/1 and r001/2 constitute a read pair; r003 is a chimeric read; r004 represents a split alignment. Coor 12345678901234 5678901234567890123456789012345 ref AGCATGTTAGATAA**GATAGCTGTGCTAGTAGGCAGTCAGCGCCAT +r001/1 TTAGATAAAGGATA*CTG +r002 aaaAGATAA*GGATA +r003 gcctaAGCTAA +r004 ATAGCT..............TCAGC -r003 ttagctTAGGC -r001/2 CAGCGGCAT The corresponding SAM format is:2 1Charset ANSI X3.4-1968 as defined in RFC1345.
    [Show full text]
  • Mac OS X Server
    Mac OS X Server Version 10.4 Technology Overview August 2006 Technology Overview 2 Mac OS X Server Contents Page 3 Introduction Page 5 New in Version 10.4 Page 7 Operating System Fundamentals UNIX-Based Foundation 64-Bit Computing Advanced BSD Networking Architecture Robust Security Directory Integration High Availability Page 10 Integrated Management Tools Server Admin Workgroup Manager Page 14 Service Deployment and Administration Open Directory Server File and Print Services Mail Services Web Hosting Enterprise Applications Media Streaming iChat Server Software Update Server NetBoot and NetInstall Networking and VPN Distributed Computing Page 29 Product Details Page 31 Open Source Projects Page 35 Additional Resources Technology Overview 3 Mac OS X Server Introduction Mac OS X Server version 10.4 Tiger gives you everything you need to manage servers in a mixed-platform environment and to con gure, deploy, and manage powerful network services. Featuring the renowned Mac OS X interface, Mac OS X Server streamlines your management tasks with applications and utilities that are robust yet easy to use. Apple’s award-winning server software brings people and data together in innovative ways. Whether you want to empower users with instant messaging and blogging, gain greater control over email, reduce the cost and hassle of updating software, or build your own distributed supercomputer, Mac OS X Server v10.4 has the tools you need. The Universal release of Mac OS X Server runs on both Intel- and PowerPC-based The power and simplicity of Mac OS X Server are a re ection of Apple’s operating sys- Mac desktop and Xserve systems.
    [Show full text]
  • Lecture 03: Layering, Naming, and Filesystem Design
    Lecture 03: Layering, Naming, and Filesystem Design Principles of Computer Systems Spring 2019 Stanford University Computer Science Department Lecturer: Chris Gregg PDF of this presentation 1 Lecture 03: Layering, Naming, and Filesystem Design Just like RAM, hard drives provide us with a contiguous stretch of memory where we can store information. Information in RAM is byte-addressable: even if you’re only trying to store a boolean (1 bit), you need to read an entire byte (8 bits) to retrieve that boolean from memory, and if you want to flip the boolean, you need to write the entire byte back to memory. A similar concept exists in the world of hard drives. Hard drives are divided into sectors (we'll assume 512 bytes), and are sector-addressable: you must read or write entire sectors, even if you’re only interested in a portion of each. Sectors are often 512 bytes in size, but not always. The size is determined by the physical drive and might be 1024 or 2048 bytes, or even some larger power of two if the drive is optimized to store a small number of large files (e.g. high definition videos for youtube.com) Conceptually, a hard drive might be viewed like this: Thanks to Ryan Eberhardt for the illustrations and the text used in these slides, and to Ryan and Jerry Cain for the content. 2 Lecture 03: Layering, Naming, and Filesystem Design The drive itself exports an API—a hardware API—that allows us to read a sector into main memory, or update an entire sector with a new payload.
    [Show full text]
  • Tinkertool System 6 Reference Manual Ii
    Documentation 0632-1969/2 TinkerTool System 6 Reference Manual ii Version 6.99, July 21, 2021. US-English edition. MBS Documentation 0632-1969/2 © Copyright 2003 – 2021 by Marcel Bresink Software-Systeme Marcel Bresink Software-Systeme Ringstr. 21 56630 Kretz Germany All rights reserved. No part of this publication may be redistributed, translated in other languages, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of the publisher. This publication may contain examples of data used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. This publication could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. The publisher may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Make sure that you are using the correct edition of the publication for the level of the product. The version number can be found at the top of this page. Apple, macOS, iCloud, and FireWire are registered trademarks of Apple Inc. Intel is a registered trademark of Intel Corporation. UNIX is a registered trademark of The Open Group. Broadcom is a registered trademark of Broadcom, Inc. Trademarks or service marks are used for identification purposes only.
    [Show full text]
  • File System Structure Kevin Webb Swarthmore College March 29, 2018 Today’S Goals
    File System Structure Kevin Webb Swarthmore College March 29, 2018 Today’s Goals • Characterizing disks and storage media • File system: adding order and structure to storage • FS abstractions (files, directories, paths) and their implementation with data structures (inodes, block pointers, directory entries) Motivation for File Systems • Long-term storage is needed for • user data: text, graphics, images, audio, video • user programs • system programs (including OS kernel) and data • Persistent: remains “forever” • Large: “unlimited” size • Sharing: controlled access • Security: protecting information Using Disks for Storage • Why disks: persistent, random access, cheap Source: http://www.mkomo.com/cost-per-gigabyte Source: https://www.backblaze.com/blog/hard-drive-cost-per-gigabyte/ Using Disks for Storage • Why disks: persistent, random access, cheap • Biggest hurdle to OS: disks are slow Disk Geometry • Disk components • Platters • Surfaces • Tracks • Sectors • Cylinders • Arm • Heads disk r/w Disk Geometry head(s) disk arm sector platters track cylinder • Moving parts: spinning platters, disk actuator arm • seek time: moving the arm to the desired track • rotational latency: turning the platter so that the desired data is under the head Implications of moving parts… • https://www.youtube.com/watch?v=tDacjrSCeq4 • Disks have a MUCH higher failure rate than most other components • PSA: back up your data! Should the OS take these disk parameters into account when using a disk? Why or why not? • Disk components • Platters • Surfaces • Tracks • Sectors • Cylinders • Arm • Heads A. Yes B. No C. It depends (on?) Disk Interaction • In the old days: specifying disk requests required a lot of info: • Cylinder #, head #, sector # (CHS) • Disks did not have controller hardware built-in • Very early OSes needed to know this info to make requests, but didn’t attempt to optimize data storage for it.
    [Show full text]
  • Bit Nibble Byte Kilobyte (KB) Megabyte (MB) Gigabyte
    Bit A bit is a value of either a 1 or 0 (on or off). Nibble A Nibble is 4 bits. Byte Today, a Byte is 8 bits. 1 character, e.g. "a", is one byte. Kilobyte (KB) A Kilobyte is 1,024 bytes. 2 or 3 paragraphs of text. Megabyte (MB) A Megabyte is 1,048,576 bytes or 1,024 Kilobytes 873 pages of plaintext (1,200 characters) 4 books (200 pages or 240,000 characters) Gigabyte (GB) A Gigabyte is 1,073,741,824 (230) bytes. 1,024 Megabytes, or 1,048,576 Kilobytes. 894,784 pages of plaintext (1,200 characters) 4,473 books (200 pages or 240,000 characters) 640 web pages (with 1.6MB average file size) 341 digital pictures (with 3MB average file size) 256 MP3 audio files (with 4MB average file size) 1 650MB CD Terabyte (TB) A Terabyte is 1,099,511,627,776 (240) bytes, 1,024 Gigabytes, or 1,048,576 Megabytes. 916,259,689 pages of plaintext (1,200 characters) 4,581,298 books (200 pages or 240,000 characters) 655,360 web pages (with 1.6MB average file size) 349,525 digital pictures (with 3MB average file size) 262,144 MP3 audio files (with 4MB average file size) 1,613 650MB CD's 233 4.38GB DVD's 40 25GB Blu-ray discs Petabyte (PB) A Petabyte is 1,125,899,906,842,624 (250) bytes, 1,024 Terabytes, 1,048,576 Gigabytes, or 1,073,741,824 Megabytes. 938,249,922,368 pages of plaintext (1,200 characters) 4,691,249,611 books (200 pages or 240,000 characters) 671,088,640 web pages (with 1.6MB average file size) 357,913,941 digital pictures (with 3MB average file size) 268,435,456 MP3 audio files (with 4MB average file size) 1,651,910 650MB CD's 239,400 4.38GB DVD's 41,943 25GB Blu-ray discs Exabyte (EB) An Exabyte is 1,152,921,504,606,846,976 (260) bytes, 1,024 Petabytes, 1,048,576 Terabytes, 1,073,741,824 Gigabytes, or 1,099,511,627,776 Megabytes.
    [Show full text]
  • What Is Digital Forensics (Aka Forensic Computing)?
    Digital Forensics for Archivists: Fundamentals Instructor: Christopher (Cal) Lee University of North Carolina at Chapel Hill September 22, 2016 Greeley, CO 1 Digital Archives Specialist (DAS) Curriculum and Certification Program offered by SAA: . Foundational Courses—must pass 4 . Tactical and Strategic Courses—must pass 3 . Tools and Services Courses—must pass 1 . Transformational Courses—must pass 1 . Course examinations are administered online. 2 1 Agenda . Welcome and introductions . Motivation and scope . Technical background . Representation Information . File systems and file management . Extracting data from media . Tools and methods . Conclusions, questions, discussion 3 Welcome and Introductions 4 2 Motivation and Scope Applying Digital Forensics to Archival Work 5 Many archivists know how to process this stuff: Source: The Processing Table: Reflections on a manuscripts internship at the Lilly Library. https://processingtable.wordpress.com/tag/archival-processing/ 6 3 How about processing this stuff? Source: “Digital Forensics and creation of a narrative.” Da Blog: ULCC Digital Archives Blog. http://dablog.ulcc.ac.uk/2011/07/04/forensics/ 7 Same Goals as When Acquiring Analog Materials Ensure integrity of materials Allow users to make sense of materials and understand their context Prevent inadvertent disclosure of sensitive data 8 4 Same Fundamental Archival Principles Apply Provenance • Reflect “life history” of records • Records from a common origin or source should be managed together as an aggregate unit Original Order Organize and manage records in ways that reflect their arrangement within the creation/use environment Chain of • “Succession of offices or persons who have held Custody materials from the moment they were created”1 • Ideal recordkeeping system would provide “an unblemished line of responsible custody”2 1.
    [Show full text]
  • Pro Tools 11.0.1 Read Me
    Read Me Pro Tools 11.0.1 and Pro Tools HD 11.0.1 on Mac OS X 10.8.x This Read Me documents important compatibility information, resolved and known issues for Pro Tools® 11.0.1 and Pro Tools® HD 11.0.1 software on computers running Mac OS X 10.8.x (“Mountain Lion”). Issues Resolved in Pro Tools 11.0.1 The ReVibe II plug-in is now available with support for Pro Tools 11.0.1 (and higher) and Pro Tools 10.3.6 (PTSW-184681, PTSW-183157) Certain third-party plug-ins no longer cause your computer to hang when quitting Pro Tools (PTSW-185005) Compatibility Avid can only assure compatibility and provide support for qualified hardware and software configurations. For the latest compatibility information—including qualified computers, operating systems, and third-party products—visit the Avid website (www.avid.com/compatibility). iLok USB Key (2nd Generation) and Pro Tools Authorization An iLok (2nd generation) must be connected at all times while running Pro Tools Pro Tools requires that an iLok (2nd generation) with the appropriate authorizations be connected to the computer at all times. Do not remove the iLok while running Pro Tools. If the iLok is removed while Pro Tools is running, one of the following will occur: Pro Tools displays a dialog giving you the following choices: • Reinsert the iLok and click Save. Pro Tools saves the session and then quits. • Click Quit. Pro Tools closes the session without saving and then quits. –or– Pro Tools displays a dialog giving you the following choices: • Reinsert the iLok and click OK to continue working in Pro Tools.
    [Show full text]
  • The Second Extended File System Internal Layout
    The Second Extended File System Internal Layout Dave Poirier <[email protected]> The Second Extended File System: Internal Layout by Dave Poirier Copyright © 2001-2019 Dave Poirier Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license can be acquired electronically from http://www.fsf.org/licenses/fdl.html or by writing to 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Table of Contents About this book ............................................................................................................... viii 1. Historical Background ...................................................................................................... 1 2. Definitions ..................................................................................................................... 2 Blocks ....................................................................................................................... 2 Block Groups ............................................................................................................. 3 Directories ................................................................................................................. 3 Inodes ....................................................................................................................... 3
    [Show full text]
  • The Extended FAT File System
    Linux Conference October 26- 28, 2011 Prague , Czech Republic Linux Development Center The Extended FAT file system Differentiating with FAT32 file system Keshava Munegowda , Venkatraman S Texas Instruments (India) Pvt Ltd Bangalore. Dr. G T Raju Professor and Head, Computer Science and Engineering Department, 1 R N S Institute of Technology, Bangalore, India. ExFAT Linux Development Center Agenda Ø FAT file system Ø Need for ExFAT file system Ø ExFAT file system organization Ø Boot Sector of FAT and ExFAT Ø Snapshot of Boot Sector of ExFAT Ø Directory Entries of FAT Ø Directory Entries of ExFAT Ø Clusters Heap Ø Up-Case Table Ø Snapshot of Root directory Ø Performance Benchmarking in Linux Ø Performance Benchmarking in Windows 2 Ø References ExFAT Linux Development Center FAT File system Minimum 1 BPB sector BPB - BIOS Parameter Block – BIOS : Basic Input-Output System FAT1 – Also Called as “Boot Sector” or “Volume Boot Record” – Specifies FAT2 • Number of sectors in the storage partition/disk/device Cluster 2 • Number of FATs ( File Allocation Table) Cluster 3 • Sectors per cluster Cluster 4 …………. Data FAT1 – File Allocation Table …………. clusters - Linear linking (chain) of data clusters of the …………. file/directory FAT2 – Backup of FAT1 FILE.TXT cluster3 cluster7 EOF Data clusters - Group of physical/logical sectors/blocks Clusters chain / Linked list of 3 clusters - Contains directories or Files data ExFAT Linux Development Center Need For ExFAT file system l FAT File system limited to support only 32GB. – FAT does not support Higher size SDXC cards. l NTFS – Security features – Optional for Removable storage devices – Meta data overhead for file/directory – Write caching mechanism for performance optimizations causes the data corruption in when 4 removable storage device is unplugged.
    [Show full text]