IPB

Welcome Guest ( Log In | Register )

Resampler plugin, uses SoX 14.2.0 resampling routines
lvqcl
post Nov 19 2008, 03:45
Post #1





Group: Developer
Posts: 3358
Joined: 2-December 07
Member No.: 49183



Uploaded here

Good quality, fast resampler (~2 times faster than PPHS Ultra, although ~2.5 times slower than regular PPHS). Minimum / intermediate / linear phase.
Any comments?

Added: If you want to know what settings are best:
1. Read SoX FAQ, "What are the best 'rate' settings to resample a file and retain the highest quality?"
2. This post: http://www.hydrogenaudio.org/forums/index....st&p=626176 (an excerpt from SoX help)
3. Feel free to experiment and decide what's best for you.

This post has been edited by lvqcl: Apr 10 2009, 20:37
Go to the top of the page
+Quote Post
 
Start new topic
Replies
lvqcl
post Apr 6 2009, 18:29
Post #2





Group: Developer
Posts: 3358
Joined: 2-December 07
Member No.: 49183



From help file of standalone SoX program (ver. 14.4.0):

CODE
              The simple quality selection described above  provides  settings
              that satisfy the needs of the vast majority of resampling tasks.
              Occasionally, however, it may  be  desirable  to  fine-tune  the
              resampler's  filter  response;  this can be achieved using over‐
              ride options, as detailed in the following table:

              -M/-I/-L     Phase response = minimum/intermediate/linear
              -s           Steep filter (band-width = 99%)
              -a           Allow aliasing/imaging above the pass-band
              -b 74-99.7   Any band-width %
              -p 0-100     Any phase response (0 = minimum, 25 = intermediate,
                           50 = linear, 100 = maximum)

              All resamplers use filters  that  can  sometimes  create  `echo'
              (a.k.a.   `ringing')  artefacts  with  transient signals such as
              those that occur with `finger snaps' or other highly  percussive
              sounds.   Such  artefacts  are much more noticeable to the human
              ear if they occur before the transient (`pre-echo') than if they
              occur  after  it (`post-echo').  Note that frequency of any such
              artefacts is related to the smaller of the original and new sam‐
              pling rates but that if this is at least 44.1kHz, then the arte‐
              facts will lie outside the range of human hearing.

              A phase response setting may be used to control the distribution
              of  any  transient  echo  between `pre' and `post': with minimum
              phase, there is no pre-echo but the longest post-echo; with lin‐
              ear  phase,  pre  and  post echo are in equal amounts (in signal
              terms, but not audibility terms); the intermediate phase setting
              attempts to find the best compromise by selecting a small length
              (and level) of pre-echo and a medium lengthed post-echo.

              Minimum, intermediate, or  linear  phase  response  is  selected
              using  the  -M, -I, or -L option; a custom phase response can be
              created with the -p option.  Note that phase  responses  between
              `linear' and `maximum' (greater than 50) are rarely useful.

              A resampler's band-width setting determines how much of the fre‐
              quency content of the original signal (w.r.t. the original  sam‐
              ple rate when up-sampling, or the new sample rate when down-sam‐
              pling) is preserved during conversion.  The term `pass-band'  is
              used  to  refer  to  all  frequencies up to the band-width point
              (e.g. for 44.1kHz sampling rate, and a resampling band-width  of
              95%,  the  pass-band  represents  frequencies from 0Hz (D.C.) to
              circa 21kHz).  Increasing the resampler's band-width results  in
              a  slower  conversion  and can increase transient echo artefacts
              (and vice versa).

              The -s `steep filter' option changes resampling band-width  from
              the default 95% (based on the 3dB point), to 99%.  The -b option
              allows the band-width to be  set  to  any  value  in  the  range
              74-99.7  %, but note that band-width values greater than 99% are
              not recommended for normal use as they can cause excessive tran‐
              sient echo.

              If the -a option is given, then aliasing/imaging above the pass-
              band is allowed.  For example, with 44.1kHz sampling rate, and a
              resampling  band-width of 95%, this means that frequency content
              above 21kHz can be distorted; however, since this is  above  the
              pass-band  (i.e.   above the highest frequency of interest/audi‐
              bility), this may not be a problem.  The  benefits  of  allowing
              aliasing/imaging  are  reduced  processing time, and reduced (by
              almost half) transient echo artefacts.


This post has been edited by lvqcl: Jun 17 2012, 09:23
Go to the top of the page
+Quote Post
Mix3dmessagez
post Apr 6 2009, 18:45
Post #3





Group: Members
Posts: 87
Joined: 22-March 09
Member No.: 68252




Thank you for your great support, one last question, is my setup for it good?

I use 4800hz, very best quality, disabled steep filter and allow aliasing, with a linear phaser option, is this optimal for aac music files?

other dsp's i use...

noise sharpening 34%
advanced limiter

This post has been edited by Canar: Apr 6 2009, 20:37
Reason for edit: quoted without thinking
Go to the top of the page
+Quote Post

Posts in this topic
- lvqcl   Resampler plugin   Nov 19 2008, 03:45
- - patul   Downloading now & will try soon. I use SSRC ho...   Nov 19 2008, 06:41
- - AFAIK   well... somebody made this test http://src.infin...   Nov 19 2008, 13:19
|- - vigylant   QUOTE (AFAIK @ Nov 19 2008, 14:19) well.....   Nov 19 2008, 22:28
|- - lvqcl   QUOTE (vigylant @ Nov 20 2008, 00:28) The...   Nov 19 2008, 23:27
|- - bandpass   QUOTE (lvqcl @ Nov 19 2008, 22:27) QUOTE ...   Nov 20 2008, 07:38
- - Canar   Now does this resampler use the "High" o...   Nov 19 2008, 16:00
|- - lvqcl   QUOTE (Canar @ Nov 19 2008, 18:00) Now do...   Nov 19 2008, 19:11
- - AFAIK   I think i found a bug when using in dsp chain an...   Nov 19 2008, 18:46
|- - lvqcl   QUOTE (AFAIK @ Nov 19 2008, 20:46) when u...   Nov 19 2008, 19:22
- - Canar   Please ignore my earlier comment. I missed the con...   Nov 19 2008, 19:48
- - vigylant   Hmm, ok, i take it this one is better then But im...   Nov 19 2008, 23:45
- - jaro1   I had carefully compared this SRC, based on SOX 14...   Nov 23 2008, 01:22
- - Canar   @jaro1: I am not convinced that you did, indeed, h...   Nov 23 2008, 01:46
|- - jaro1   QUOTE (Canar @ Nov 23 2008, 01:46) @jaro1...   Nov 23 2008, 20:05
- - hidn   question which I must ask. He as well as PPHS Ultr...   Nov 23 2008, 14:37
- - Jorgo   This seems to be a very good resampler. From my li...   Nov 23 2008, 20:23
- - hidn   someone who can compile and lay out icl version?   Nov 24 2008, 07:09
- - lvqcl   Version 0.3.0 is out. It seems that resampling rou...   Nov 27 2008, 20:16
- - Canar   SoX Resampler. Resampler (SoX) in the DSP list.   Nov 28 2008, 02:33
- - .halverhahn   Thank You for transfering this great resampler to ...   Dec 31 2008, 13:36
- - Jorgo   0.4.0... uh, what? Please don't rename stuff s...   Mar 9 2009, 22:34
|- - lvqcl   QUOTE (Jorgo @ Mar 10 2009, 00:34) 0.4.0....   Mar 9 2009, 23:03
- - jaro1   Hi, I know it's a little offtopic, but I wante...   Mar 10 2009, 11:00
|- - lvqcl   QUOTE (jaro1 @ Mar 10 2009, 13:00) Hi, I ...   Mar 10 2009, 17:56
|- - bandpass   QUOTE (lvqcl @ Mar 10 2009, 16:56) QUOTE ...   Mar 10 2009, 23:02
- - jaro1   Thanks to both lvqcl, bandpass for your comments, ...   Mar 11 2009, 09:33
- - bandpass   Just a thought: to be on the safe side, here are t...   Mar 11 2009, 15:11
- - a3aan   May I suggest a configuration option to only resam...   Mar 11 2009, 20:21
|- - kode54   QUOTE (a3aan @ Mar 11 2009, 12:21) May I ...   Mar 11 2009, 21:49
||- - lvqcl   QUOTE (kode54 @ Mar 12 2009, 00:49) Sound...   Apr 5 2009, 16:28
|- - lvqcl   QUOTE (a3aan @ Mar 11 2009, 22:21) May I ...   Mar 12 2009, 18:28
|- - a3aan   Thanks a lot for considering. I'm ready to hel...   Mar 12 2009, 21:56
- - lvqcl   QUOTE Are you saying that if I choose 44.1 kHz as ...   Mar 12 2009, 22:35
- - punkrockdude   I wonder what are the difference and therefore ten...   Mar 15 2009, 01:35
|- - lvqcl   QUOTE (punkrockdude @ Mar 15 2009, 04:35)...   Apr 5 2009, 16:21
- - Yirkha   is_conversion_supported() - some resamplers are ab...   Apr 5 2009, 17:31
- - lvqcl   Thanks, but what if my component doesn't have ...   Apr 5 2009, 18:35
- - Yirkha   dsp is a generic DSP service. resampler_entry ser...   Apr 5 2009, 18:56
- - lvqcl   Thanks again. I will use resampler_entry class (an...   Apr 5 2009, 19:18
- - Mix3dmessagez   QUOTE (lvqcl @ Nov 18 2008, 22:45) Upload...   Apr 6 2009, 10:51
- - Mr.Duck   Thanks, lvqcl. A really excelent plugin. Must be t...   Apr 6 2009, 13:16
- - lvqcl   QUOTE (Mix3dmessagez)My question is, what does tho...   Apr 6 2009, 15:34
|- - Mix3dmessagez   QUOTE (lvqcl @ Apr 6 2009, 10:34) QUOTE (...   Apr 6 2009, 17:42
- - lvqcl   From help file of standalone SoX program (ver. 14....   Apr 6 2009, 18:29
|- - Mix3dmessagez   Thank you for your great support, one last questio...   Apr 6 2009, 18:45
- - lvqcl   QUOTE Thank you for your great support, one last q...   Apr 6 2009, 18:51
- - Steve Forte Rio   I do not understand.... What about "allow ali...   Jul 9 2009, 20:20
- - lvqcl   QUOTE (Steve Forte Rio)I do not understand.... Wha...   Jul 10 2009, 16:36
|- - Steve Forte Rio   QUOTE (lvqcl @ Jul 10 2009, 14:36) Origin...   Jul 16 2009, 20:49
- - lvqcl   I made it myself with Adobe Audition: Generate -...   Jul 18 2009, 07:26
- - Steve Forte Rio   Thank you very much!   Jul 18 2009, 10:15
- - lxofith   Hello lvqcl, First of all thanks a lot for your c...   Aug 19 2009, 22:08
|- - theilladelph   Yea thanks a lot lvqcl... Been doing a lot of read...   Aug 22 2009, 12:01
- - lvqcl   QUOTE (lxofith @ Aug 20 2009, 01:08) Do y...   Aug 22 2009, 12:13
- - lvqcl   Modified version available now here: http://www.hy...   Nov 19 2009, 18:40
|- - a3aan   QUOTE (lvqcl @ Nov 19 2009, 18:40) Modifi...   Nov 21 2009, 16:39
- - lvqcl   Add 2 resamplers in your DSP chain 1st: target = ...   Nov 19 2009, 23:02
|- - lxofith   QUOTE (lvqcl @ Nov 19 2009, 23:02) Add 2 ...   Nov 20 2009, 18:44
|- - lvqcl   QUOTE (lxofith @ Nov 20 2009, 20:44) I as...   Nov 20 2009, 22:52
|- - Olev   QUOTE (lvqcl @ Nov 20 2009, 23:52) QUOTE ...   Nov 24 2009, 21:07
|- - lxofith   QUOTE (Olev @ Nov 24 2009, 21:07) Wouldn...   Nov 24 2009, 21:23
|- - Olev   QUOTE (lxofith @ Nov 24 2009, 22:23) QUOT...   Nov 24 2009, 22:08
|- - lvqcl   QUOTE (Olev @ Nov 25 2009, 00:08) Of cour...   Nov 25 2009, 00:40
- - Robertina   lvqcl, first I would like to say thank you for th...   Nov 21 2009, 05:51
|- - kode54   QUOTE (Robertina @ Nov 20 2009, 20:51) On...   Nov 21 2009, 07:39
- - Robertina   Question answered, thank you, kode54.   Nov 21 2009, 11:03
- - lvqcl   ...And you will see [DSP not found] line in the DS...   Nov 21 2009, 13:12
- - Robertina   Thank you, lvqcl. And I love you new modified ver...   Nov 21 2009, 13:17
- - gecus   Just a silly question for most of you in the devel...   Dec 2 2009, 17:31
|- - lvqcl   QUOTE (gecus @ Dec 2 2009, 19:31) I am us...   Dec 2 2009, 18:07
- - gecus   Thanks lvqcl. Another question, how can I learn to...   Dec 4 2009, 23:44
- - gecus   Thanks lvqcl. Another question, how can I learn to...   Dec 5 2009, 00:20
- - lvqcl   I hope you understand that 24/96 files will have t...   Dec 5 2009, 00:29
- - Infinito   Allow aliassing or not? :\ i dont know what i...   Dec 20 2009, 02:38
- - Herbeck   Hi Ivqcl, Would it be possible to add a mode tha...   Dec 25 2009, 06:10
|- - lvqcl   QUOTE (Herbeck @ Dec 25 2009, 08:10) Woul...   Dec 25 2009, 16:26
|- - Herbeck   QUOTE (lvqcl @ Dec 25 2009, 16:26) QUOTE ...   Dec 26 2009, 06:52
- - lvqcl   You see, lowpass filter is integrated into SoX rou...   Dec 26 2009, 16:29
- - Herbeck   Hi Ivqcl, I have already tried it, but it messes ...   Dec 27 2009, 04:54
- - kode54   I don't get the point of disabling the low pas...   Dec 27 2009, 08:58
- - lvqcl   That's how foo_dsp_src9 works for 2x up- and d...   Dec 27 2009, 12:02
- - Herbeck   Hi Ivqcl, Thank you for trying to help me with th...   Dec 27 2009, 14:05
- - lvqcl   QUOTE I am not even close to have the knowledge to...   Dec 27 2009, 14:44
- - Herbeck   Yes, but I also need to be able to convert from le...   Dec 27 2009, 16:15
- - lvqcl   I'm not a programmer too, I just know C++ a li...   Dec 27 2009, 20:07
- - Herbeck   Hi Ivqcl, If you use your "2x upsample w/o l...   Dec 28 2009, 08:58
- - Herbeck   Or maybe this is exactly how it should look like b...   Dec 28 2009, 12:27
- - Herbeck   "Sample rate conversion process often adjusts...   Jan 3 2010, 12:26
|- - lvqcl   QUOTE (Herbeck @ Jan 3 2010, 14:26) ...   Jan 3 2010, 13:12
- - chuuey   thanks for the sse2 version   Jan 14 2010, 11:03
- - PostOfficeBuddy   I just wanted to say thanks for this. You rock lvq...   Apr 8 2010, 06:46
- - h34rtb1t   Well done and thank you for your effort.   May 18 2010, 20:47
- - h34rtb1t   Would you please add one more configuration settin...   May 20 2010, 10:19
- - lvqcl   QUOTE (h34rtb1t @ May 20 2010, 13:19) Wou...   May 20 2010, 14:15
4 Pages V   1 2 3 > » 


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd August 2014 - 19:48