[haiku-bugs] Re: [Haiku] #9438: Mixer not resampling very well

  • From: "tangobravo" <trac@xxxxxxxxxxxx>
  • Date: Tue, 09 Feb 2016 08:33:54 -0000

#9438: Mixer not resampling very well
-----------------------------------+----------------------------
   Reporter:  Pete                 |      Owner:  nobody
       Type:  bug                  |     Status:  reopened
   Priority:  normal               |  Milestone:  R1
  Component:  Add-Ons/Media/Mixer  |    Version:  R1/Development
 Resolution:                       |   Keywords:
 Blocked By:                       |   Blocking:  9704
Has a Patch:  0                    |   Platform:  All
-----------------------------------+----------------------------

Comment (by tangobravo):

 Pete: Are the crackles gone now? My guess is those were due to the bugs
 (out-of-memory access, etc) in the linear resampler that Pulkomandy fixed.

 The ghost sweeps on the other hand are probably an artefact of linear
 resampling; which is not a good way to resample audio in general. In a
 work project I've used a resampler from xiph.org speexdsp library - it's
 BSD licensed and the entire implementation is self-contained in the
 resampler.c file. It offers a configurable quality parameter to select the
 number of samples in each window and tune the speed/quality tradeoff.

 https://github.com/xiph/speexdsp/blob/master/libspeexdsp/resample.c

--
Ticket URL: <https://dev.haiku-os.org/ticket/9438#comment:15>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: