首页> 外国专利> Re-synchronization of independently-clocked audio streams by fading-in with a fractional sample over multiple periods for sample-rate conversion

Re-synchronization of independently-clocked audio streams by fading-in with a fractional sample over multiple periods for sample-rate conversion

机译:通过在多个周期内淡入分数采样以进行采样率转换,重新同步独立计时的音频流

摘要

A net sample is added or removed from an audio sample stream by fading in or out fractional samples over many sample periods. A sample-rate converter has a FIFO that is written with an input sample by an input clock synchronized to the input audio stream. The samples are read from the FIFO by a derived clock. The derived clock is generated from an output clock using a nominal ratio of Q/P. Read and write counters for the FIFO are compared. When the write counter is ahead of the read counter by exactly a target amount the derived clock is a ratio of Q/P of the output clock. When the write counter is ahead of the read counter by more than the target, the read rate is increased by removing one net sample over many sample periods. When the write counter is ahead of the read counter by less than the target amount, the read rate is decreased by adding one net sample over many sample periods. Samples from a delayed stream from the FIFO are faded in (out) by gradually increasing (decreasing) a weighting of successive fractional samples from the delayed stream and decreasing (increasing) the weighting of successive input-stream samples. Fade-in occurs over many sample periods, such as 256, to reduce audible distortion.
机译:通过在许多采样周期内淡入或淡出小数样本,可以从音频样本流中添加或删除净样本。采样率转换器具有一个FIFO,该FIFO通过与输入音频流同步的输入时钟写入输入采样。样本通过派生时钟从FIFO中读取。使用标称比率Q / P从输出时钟生成派生时钟。比较FIFO的读写计数器。当写计数器比读计数器正好超出目标数量时,派生时钟就是输出时钟的Q / P之比。当写计数器比读计数器领先目标多时,通过在多个采样周期中删除一个净采样,可以提高读取速率。当写计数器领先于读计数器小于目标数量时,通过在多个采样周期内添加一个净采样来降低读取速率。通过逐渐增加(减小)来自延迟流的连续分数样本的权重并减小(增加)连续输入流样本的权重,使来自FIFO延迟流的样本淡入(淡出)。淡入会在许多采样周期(例如256个)中发生,以减少可听见的失真。

著录项

  • 公开/公告号US6252919B1

    专利类型

  • 公开/公告日2001-06-26

    原文格式PDF

  • 申请/专利权人 NEOMAGIC CORP.;

    申请/专利号US19980215507

  • 发明设计人 TAO LIN;

    申请日1998-12-17

  • 分类号H04L230/00;H04L70/00;

  • 国家 US

  • 入库时间 2022-08-22 01:03:56

相似文献

  • 专利
  • 外文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号