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: 3436
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 Nov 19 2009, 23:02
Post #2





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



Add 2 resamplers in your DSP chain

1st: target = 48k, list = "32000;44100;88200;176000".
2nd: target = 44.1k, list = "32000".
Go to the top of the page
+Quote Post
lxofith
post Nov 20 2009, 18:44
Post #3





Group: Members
Posts: 18
Joined: 21-June 09
Member No.: 70859



QUOTE (lvqcl @ Nov 19 2009, 23:02) *
Add 2 resamplers in your DSP chain

1st: target = 48k, list = "32000;44100;88200;176000".
2nd: target = 44.1k, list = "32000".

I assume you meant:

1st: target = 48k, list = "32000;44100;88200;176400".
2nd: target = 44.1k, list = "32000;48000".
Go to the top of the page
+Quote Post
lvqcl
post Nov 20 2009, 22:52
Post #4





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



QUOTE (lxofith @ Nov 20 2009, 20:44) *
I assume you meant:

1st: target = 48k, list = "32000;44100;88200;176400".
2nd: target = 44.1k, list = "32000;48000".


Of course. blush.gif
Go to the top of the page
+Quote Post
Olev
post Nov 24 2009, 21:07
Post #5





Group: Members
Posts: 2
Joined: 23-January 08
Member No.: 50734



QUOTE (lvqcl @ Nov 20 2009, 23:52) *
QUOTE (lxofith @ Nov 20 2009, 20:44) *
I assume you meant:

1st: target = 48k, list = "32000;44100;88200;176400".
2nd: target = 44.1k, list = "32000;48000".


Of course. blush.gif



Wouldn't it be better just to include x2 downsampler and list = 44100;48000? This is what I included in my foobar - this way I can play 88.2kHz SACD at 44.1 and DVD-A/Vinyl 96kHz at 48. Thanks for this mod, this is just what I was looking for!
Go to the top of the page
+Quote Post
lxofith
post Nov 24 2009, 21:23
Post #6





Group: Members
Posts: 18
Joined: 21-June 09
Member No.: 70859



QUOTE (Olev @ Nov 24 2009, 21:07) *
Wouldn't it be better just to include x2 downsampler and list = 44100;48000?

This does not handle 176.4 and 192 kHz correctly, as they would be played at 88.2 and 96 kHz, respectively.

I think it would be more intuitive to apply the filter to selected frequencies, instead of excluding specific frequencies.
Go to the top of the page
+Quote Post
Olev
post Nov 24 2009, 22:08
Post #7





Group: Members
Posts: 2
Joined: 23-January 08
Member No.: 50734



QUOTE (lxofith @ Nov 24 2009, 22:23) *
QUOTE (Olev @ Nov 24 2009, 21:07) *
Wouldn't it be better just to include x2 downsampler and list = 44100;48000?

This does not handle 176.4 and 192 kHz correctly, as they would be played at 88.2 and 96 kHz, respectively.

I think it would be more intuitive to apply the filter to selected frequencies, instead of excluding specific frequencies.


x2 and x4 downsampling is more efficient just look a few posts up. By excluding you can get away with this
Downsample x2 list = 44100, 48000, 176400, 192000
Downsample x4 list = 44100, 48000, 88200, 99600

But this is really splitting hairs! I have not seen a source with over 96kHz sampling rate and you can get away with only defining
Downsample x2 list = 44100, 48000 and get away with almost anything you throw at it.

This will only use optimized sampling and not a select frequency. Maybe the author of this plugin can comment more on x2/x4 vs specified sample rate? Of course I might be wrong and 96 downsampled x2 uses the same algorithm as specifying 48000.
Go to the top of the page
+Quote Post
lvqcl
post Nov 25 2009, 00:40
Post #8





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



QUOTE (Olev @ Nov 25 2009, 00:08) *
Of course I might be wrong and 96 downsampled x2 uses the same algorithm as specifying 48000.

Yes, that's true. IOW, if the input frequency is 96kHz, there's no difference between output freq. set to "48000" or "downsample x2".



QUOTE (lxofith)
I think it would be more intuitive to apply the filter to selected frequencies, instead of excluding specific frequencies.

Well, the idea was to exclude sample rates that soundcard support natively.
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: 24th November 2014 - 21:36