Knowledge

Sample-rate conversion

Source 📝

36: 271:
The two methods are mathematically identical: picking an interpolation function in the second scheme is equivalent to picking the impulse response of the filter in the first scheme. Linear interpolation is equivalent to a triangular impulse response; windowed sinc approximates a
315:
Moon missions were converted to the conventional TV rates for the viewers at home. Digital interpolation schemes were not practical at that time, so analog conversion was used. This was based on a TV rate camera viewing a monitor displaying the Apollo slow-scan images.
283:) can be used to obtain an optimal (per application requirements) filter design. Method 2 will work in more general cases, e.g. where the ratio of sample rates is not rational, or two real-time streams must be accommodated, or the sample rates are time-varying. 251:
Treat the samples as geometric points and create any needed new points by interpolation. Choosing an interpolation method is a trade-off between implementation complexity and conversion quality (according to application requirements). Commonly used are:
276:(it approaches the desirable brick-wall filter as the number of points increases). The length of the impulse response of the filter in method 1 corresponds to the number of points used in interpolation in method 2. 227:
the values of the new samples directly from the old samples. The latter approach is more satisfactory since it introduces less noise and distortion. Two possible implementation methods are as follows:
17: 331:
each frame is shown twice. Since 50 is not exactly 2×24, the movie will run 50/48 = 4% faster, and the audio pitch will be 4% higher, an effect known as
427:
For example, the irrational ratio 2, corresponding to one equal-temperament semitone, might be approximated by 196/185 (roughly 0.99994 semitones).
647: 223:
Conceptual approaches to sample-rate conversion include: converting to an analog continuous signal, then re-sampling at the new rate, or
509:
In satellite and medical image processing, sample rate conversion is necessary for image enhancement, scale change, and image rotation
100: 72: 244:− 1 zeros between each of the original samples. Low-pass filter this signal at half of the lower of the two rates. Select every 53: 355:
has a sampling rate of 44.1 kHz; to transfer it to a digital medium that uses 48 kHz, method 1 above can be used with
335:. This is often accepted for simplicity, but more complex methods are possible that preserve the running time and pitch. Every 79: 86: 709: 558: 502: 159:
and audio/visual systems, where different sampling rates may be used for engineering, economic, or historical reasons.
581: 530: 477: 119: 68: 170:
systems use different sampling rates, and American television, European television, and movies all use different
323:(roughly 50 or 60 fields per second). To convert a 24 frame/sec movie to 60 field/sec television, for example, 657: 336: 287: 57: 695:
Using Farrow filter on the basis of piecewise cubic polynomial interpolation for digital signal resampling
207: 383: 163: 224: 93: 678: 46: 371:
are swapped. Per above, in both cases, the low-pass filter should be set to 22.05 kHz.
257: 232:
If the ratio of the two sample rates is (or can be approximated by) a fixed rational number
694: 596: 8: 689: 683: 600: 565:
The ratios of the "equal semitone" are, with progressive accuracy: 18/17, 89/84, 196/185
167: 466: 653: 623: 554: 526: 498: 473: 461: 457: 273: 178:
that would otherwise occur when transferring recorded material between such systems.
152: 604: 280: 261: 253: 148: 363:= 147 (since 48000/44100 = 160/147). For the reverse conversion, the values of 324: 294:
for further information on sample-rate conversion filter design/implementation.
312: 215:
is sometimes used to refer to systems that incorporate sample-rate conversion.
703: 264: 175: 156: 144: 673: 393: 352: 340: 308: 193: 436:
A field is half of an interlaced frame – just the odd or even lines.
398: 339:
rather than twice, or digital interpolation (see above) can be used in a
291: 183: 171: 608: 332: 35: 690:
Digital resampling by using polynomial interpolation. Farrow filter
389:
Techniques and processing that may involve sample-rate conversion:
320: 582:"An efficient algorithm for sample rate conversion from CD to DAT" 408: 679:
Multi-Rate Processing and Sample Rate Conversion: A Tutorial
325:
alternate movie frames are shown 2 and 3 times, respectively
579: 248:-th sample from the filtered output, to obtain the result. 151:
to obtain a new discrete representation of the underlying
472:(2nd ed.). Upper Saddle River, N.J.: Prentice Hall. 328: 174:. Sample-rate conversion prevents changes in speed and 493:
Lyons, Richard (2010). "10. Sample Rate Conversion".
456: 580:Rajamani, K.; Yhean-Sen Lai; Furrow, C. W. (2000). 60:. Unsourced material may be challenged and removed. 465: 279:In method 1, a slow pre-computation (such as the 701: 645: 537:An alternative and more satisfactory approach... 553:(Second ed.). Da Capo Press. p. 101. 379:Sample rate conversion in multiple dimensions: 240:: generate an intermediate signal by inserting 27:Changing the sampling rate of a discrete signal 181:More specific types of resampling include: 319:Movies (shot at 24 frames per second) are 621: 120:Learn how and when to remove this message 520: 450: 652:. Englewood Cliffs, NJ: Prentice-Hall. 646:Crochiere, R.E.; Rabiner, L.R. (1983). 514: 495:Understanding Digital Signal Processing 14: 702: 548: 404:Techniques used in related processes: 302: 575: 573: 542: 492: 337:twelfth frame can be repeated 3 times 486: 213:multi-rate digital signal processing 58:adding citations to reliable sources 29: 18:Multi-rate digital signal processing 684:The Quest For The Perfect Resampler 649:Multirate Digital Signal Processing 615: 24: 674:Digital Audio Resampling Home Page 639: 570: 25: 721: 667: 327:. For 50 Hz systems such as 34: 468:Discrete-time signal processing 143:is the process of changing the 45:needs additional citations for 589:IEEE Signal Processing Letters 430: 421: 13: 1: 443: 218: 137:sampling-frequency conversion 525:. McGraw-Hill. p. 830. 155:. Application areas include 7: 374: 297: 260:(for image processing) and 147:or sampling frequency of a 10: 726: 521:Antoniou, Andreas (2006). 384:Multivariate interpolation 164:Compact Disc Digital Audio 710:Digital signal processing 523:Digital Signal Processing 256:(for film/video frames), 464:; Buck, John R. (1999). 414: 346: 69:"Sample-rate conversion" 321:converted to television 549:Partch, Harry (2009). 133:Sample-rate conversion 54:improve this article 601:2000ISPL....7..288R 303:Film and television 622:Bill Wood (2005), 551:Genesis of a Music 462:Schafer, Ronald W. 458:Oppenheim, Alan V. 168:Digital Audio Tape 631:, NASA, p. 5 625:Apollo Television 609:10.1109/97.870683 497:. Prentice Hall. 311:signals from the 274:brick-wall filter 153:continuous signal 130: 129: 122: 104: 16:(Redirected from 717: 663: 633: 632: 630: 619: 613: 612: 586: 577: 568: 567: 546: 540: 539: 518: 512: 511: 490: 484: 483: 471: 454: 437: 434: 428: 425: 125: 118: 114: 111: 105: 103: 62: 38: 30: 21: 725: 724: 720: 719: 718: 716: 715: 714: 700: 699: 670: 660: 642: 640:Further reading 637: 636: 628: 620: 616: 584: 578: 571: 561: 547: 543: 533: 519: 515: 505: 491: 487: 480: 455: 451: 446: 441: 440: 435: 431: 426: 422: 417: 377: 349: 305: 300: 281:Remez algorithm 254:zero-order hold 221: 149:discrete signal 126: 115: 109: 106: 63: 61: 51: 39: 28: 23: 22: 15: 12: 11: 5: 723: 713: 712: 698: 697: 692: 687: 681: 676: 669: 668:External links 666: 665: 664: 658: 641: 638: 635: 634: 614: 569: 560:978-0306801068 559: 541: 531: 513: 504:978-0137027415 503: 485: 478: 448: 447: 445: 442: 439: 438: 429: 419: 418: 416: 413: 412: 411: 402: 401: 396: 387: 386: 376: 373: 348: 345: 304: 301: 299: 296: 269: 268: 249: 220: 217: 128: 127: 42: 40: 33: 26: 9: 6: 4: 3: 2: 722: 711: 708: 707: 705: 696: 693: 691: 688: 685: 682: 680: 677: 675: 672: 671: 661: 655: 651: 650: 644: 643: 627: 626: 618: 610: 606: 602: 598: 594: 590: 583: 576: 574: 566: 562: 556: 552: 545: 538: 534: 532:0-07-145424-1 528: 524: 517: 510: 506: 500: 496: 489: 481: 479:0-13-754920-2 475: 470: 469: 463: 459: 453: 449: 433: 424: 420: 410: 407: 406: 405: 400: 397: 395: 392: 391: 390: 385: 382: 381: 380: 372: 370: 366: 362: 358: 354: 344: 342: 338: 334: 330: 326: 322: 317: 314: 310: 295: 293: 289: 284: 282: 277: 275: 266: 265:sinc function 263: 259: 255: 250: 247: 243: 239: 235: 231: 230: 229: 226: 216: 214: 210: 209: 208:interpolation 204: 200: 196: 195: 190: 186: 185: 179: 177: 173: 169: 165: 162:For example, 160: 158: 157:image scaling 154: 150: 146: 145:sampling rate 142: 138: 134: 124: 121: 113: 102: 99: 95: 92: 88: 85: 81: 78: 74: 71: –  70: 66: 65:Find sources: 59: 55: 49: 48: 43:This article 41: 37: 32: 31: 19: 648: 624: 617: 592: 588: 564: 550: 544: 536: 522: 516: 508: 494: 488: 467: 452: 432: 423: 403: 394:Oversampling 388: 378: 368: 364: 360: 356: 353:Compact Disc 350: 341:video scaler 333:PAL speed-up 318: 309:slow-scan TV 306: 285: 278: 270: 267:(for audio). 245: 241: 237: 233: 222: 212: 206: 202: 198: 194:downsampling 192: 188: 182: 180: 161: 140: 136: 132: 131: 116: 107: 97: 90: 83: 76: 64: 52:Please help 47:verification 44: 595:(10): 288. 399:Transcoding 225:calculating 211:. The term 199:downscaling 172:frame rates 659:0136051626 444:References 292:upsampling 288:decimation 219:Techniques 203:decimation 184:upsampling 141:resampling 110:April 2011 80:newspapers 351:Audio on 189:upscaling 704:Category 375:See also 298:Examples 262:windowed 597:Bibcode 359:= 160, 94:scholar 656:  557:  529:  501:  476:  409:Dither 313:Apollo 205:; and 96:  89:  82:  75:  67:  686:(PDF) 629:(PDF) 585:(PDF) 415:Notes 347:Audio 258:cubic 201:, or 176:pitch 101:JSTOR 87:books 654:ISBN 555:ISBN 527:ISBN 499:ISBN 474:ISBN 367:and 307:The 290:and 286:See 166:and 73:news 605:doi 329:PAL 187:or 139:or 56:by 706:: 603:. 591:. 587:. 572:^ 563:. 535:. 507:. 460:; 343:. 197:, 191:; 135:, 662:. 611:. 607:: 599:: 593:7 482:. 369:M 365:L 361:M 357:L 246:M 242:L 238:M 236:/ 234:L 123:) 117:( 112:) 108:( 98:· 91:· 84:· 77:· 50:. 20:)

Index

Multi-rate digital signal processing

verification
improve this article
adding citations to reliable sources
"Sample-rate conversion"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
sampling rate
discrete signal
continuous signal
image scaling
Compact Disc Digital Audio
Digital Audio Tape
frame rates
pitch
upsampling
downsampling
interpolation
calculating
zero-order hold
cubic
windowed
sinc function
brick-wall filter
Remez algorithm

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.