Changes

Jump to: navigation, search

SPO600 Algorithm Selection Lab

170 bytes added, 10:29, 15 February 2018
Lab 5
Background:
* Digital sound is typically represented, uncompressed, as signed 16-bit integer signal samples. There is one stream of samples for the left and right stereo channels, at typical sample rates of 44.1 or 48 thousand samples per second, for a total of 88.2 or 96 thousand samples per second. Since there are 16 bits (2 bytes) per sample, the data rate is 88.2 * 1000 * 2 = 176,400 bytes/second (~172 KiB/sec) or 96 * 1000 * 2 = 192,000 bytes/second (~187.5 KiB/sec).* To change the volume of sound, each sample can be scaled by a volume factor, in the range of 0.0000 00 (silense) to 1.0000 00 (silence to full volume).
* On a mobile device, the amount of processing required to scale sound will affect battery life.

Navigation menu