IPB

Welcome Guest ( Log In | Register )

15 Pages V  « < 9 10 11 12 13 > »   
Reply to this topicStart new topic
Resampler plugin, uses SoX 14.2.0 resampling routines
lvqcl
post Apr 25 2012, 15:30
Post #251





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



QUOTE (Sanc @ Apr 25 2012, 07:24) *
I read here that dithering adds noise to the space in between the original frequencies and the upsampled to make it a more accurate upsampling.

No, that's not true. http://wiki.hydrogenaudio.org/index.php?title=Dither
If output bit depth is 24 then dither is unnecessary.

QUOTE (Sanc @ Apr 25 2012, 07:24) *
Would you recommend that I turn dithering on for this or perhaps Anti Aliasing? If I was to use dithering, is there a way to only apply the effect to the frequencies that must be upsampled?


This plugin doesn't perform any dithering itself.
About aliasing (not "anti aliasing"): IMHO it doesn't matter at such frequencies.
Go to the top of the page
+Quote Post
SoNic67
post Apr 29 2012, 01:35
Post #252





Group: Members
Posts: 108
Joined: 3-February 11
Member No.: 87877



I understand that "best" is "-v" SOX option. What are the others? Is the "-l" implemented?
I am looking at this graphs (44.1>96):



Also, on SOX page it says:

SoX 14.2.0 High Quality: -b 90 -a

SoX 14.2.0 VHQ Linear Phase: -v -s

SoX 14.2.0 VHQ Intermediate Phase: -v -s -I

SoX 14.2.0 VHQ Minimum Phase: -v -s -M

This post has been edited by SoNic67: Apr 29 2012, 01:39
Go to the top of the page
+Quote Post
lvqcl
post Apr 29 2012, 08:02
Post #253





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



You can see the description of other modes in the changelog of ver. 0.6.6.
Low quality mode (-l) existed in in 0.6.0 but was removed in 0.6.0 (it isn't better than built-in PPHS anyway).
Go to the top of the page
+Quote Post
outerspace
post May 28 2012, 18:46
Post #254





Group: Members
Posts: 2
Joined: 8-November 10
Member No.: 85562



Original sound (tone from 20 kHz to 96 kHz, 16 bit 192 kHz): http://img543.imageshack.us/img543/8640/orig.png

foobar2000 + SoX (resample to 44.1 kHz) -> analog input (recorded at 24 bit 192 kHz): http://img688.imageshack.us/img688/448/sox.png

Frequencies above 22.05 kHz is not filtered. How can it possible?

This post has been edited by outerspace: May 28 2012, 19:11
Go to the top of the page
+Quote Post
outerspace
post May 28 2012, 19:23
Post #255





Group: Members
Posts: 2
Joined: 8-November 10
Member No.: 85562



foobar2000 + SoX (resample to 44.1 kHz) -> driver digital record (recorded at 24 bit 192 kHz): http://img444.imageshack.us/img444/4872/soxonlydigital.png

Sound file: http://www.multiupload.nl/EU93379O5P
Go to the top of the page
+Quote Post
lvqcl
post May 28 2012, 19:43
Post #256





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



It's either OS resampling or soundcard filter.
Go to the top of the page
+Quote Post
bandpass
post May 28 2012, 20:02
Post #257





Group: Members
Posts: 321
Joined: 3-August 08
From: UK
Member No.: 56644



QUOTE (outerspace @ May 28 2012, 18:46) *
Original sound (tone from 20 kHz to 96 kHz, 16 bit 192 kHz): http://img543.imageshack.us/img543/8640/orig.png

foobar2000 + SoX (resample to 44.1 kHz) -> analog input (recorded at 24 bit 192 kHz): http://img688.imageshack.us/img688/448/sox.png

Frequencies above 22.05 kHz is not filtered. How can it possible?

It's not possible. If it has frequency content above 22.05k, then it's not been resampled to 44.1k.

Inadequate filtering would lead to aliasing, i.e. unwanted frequency content below 22.05k, but that's not what your graphs show.
Go to the top of the page
+Quote Post
ei4ia
post Jun 9 2012, 07:47
Post #258





Group: Members
Posts: 3
Joined: 4-November 06
Member No.: 37158



sorry if dumb question, but here it is: if input signal equals output (96kHz/24bit in and out, default SoX settings) does plugin process signal or it just passes unaffected?
Thanks
Go to the top of the page
+Quote Post
lvqcl
post Jun 9 2012, 14:15
Post #259





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



See posts #245-246.
Go to the top of the page
+Quote Post
Fabulist
post Jun 13 2012, 03:16
Post #260





Group: Members
Posts: 12
Joined: 12-March 12
Member No.: 97736



Hello everyone,

First of all, thank you for this plugin lvqcl, really appreciate it.

Secondly, I would like to ask you guys some questions that somebody may, hopefully, be willing to answer considering I am pretty ignorant on general sound matters:

Please take in mind that I use ASIO for playback on a 2.1 THX system, and my sample rate can go as high as 48000 for ASIO (after that, I have totally distorted output, or no sound at all).

1. PassBand defines what will be passed to the bass (frequencies), correct?

2. Aliasing and Phase Response are supposed to improve quality over distorted sound, correct?

3. So assuming I do not have distorted sound and everything sounds great, should I disable them to get the maximum benefit, or can someone explain to me in simple words what they really do and how I can benefit from them?

4. Plugin irrelevant question: Should the Tone/sweep sample rate comply with my main rate (e.g. re-sampled to 48 KHz -> Tone/Sweep 48 KHz)?

I have read the technical information sheets posted here and in Sox and used Google a lot, but I am having difficulties understanding them and finding information that I can comprehend.

If anyone can help me or give me some suggestions on the matters mentioned, it would be much appreciated. crying.gif

Thanks in advance guys!
Go to the top of the page
+Quote Post
SoNic67
post Jun 17 2012, 02:09
Post #261





Group: Members
Posts: 108
Joined: 3-February 11
Member No.: 87877



QUOTE (Fabulist @ Jun 12 2012, 22:16) *
1. PassBand defines what will be passed to the bass (frequencies), correct?

No. PassBand is the whole audio band. there is no subwoffer separation and your PC speaker system doesn't have a dedicated input for that anyway.
QUOTE (Fabulist @ Jun 12 2012, 22:16) *
2. Aliasing and Phase Response are supposed to improve quality over distorted sound, correct?

Wrong again. There is nothing that you can do with "distorted sound". Those parameters are related strictly to quality of upsampling, leave them as they are.
QUOTE (Fabulist @ Jun 12 2012, 22:16) *
3. So assuming I do not have distorted sound and everything sounds great, should I disable them to get the maximum benefit, or can someone explain to me in simple words what they really do and how I can benefit from them?

Again you are wrong, read above. Just leave those sliders are they are default, don't check the "Allow aliasing" either.
Go to the top of the page
+Quote Post
Fabulist
post Jun 17 2012, 07:38
Post #262





Group: Members
Posts: 12
Joined: 12-March 12
Member No.: 97736



Many thanks for replying to my questions - but a few more are born based on what you said:

So what should I put the PassBand at to get the best quality?

Also, what about Aliasing and Phase Response; default options are set for maximum quality and changing them will only worsen my output?

Is there a chance I get a simplified summary of what they are and how do they affect sound?

PS: Tone/sweep insight is welcome!
Go to the top of the page
+Quote Post
lvqcl
post Jun 17 2012, 09:33
Post #263





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



There are two links in the first post of this thread: to SoX FAQ and to help file.
Go to the top of the page
+Quote Post
Fabulist
post Jun 19 2012, 02:26
Post #264





Group: Members
Posts: 12
Joined: 12-March 12
Member No.: 97736



QUOTE (lvqcl @ Jun 17 2012, 09:33) *
There are two links in the first post of this thread: to SoX FAQ and to help file.


I read that but I am having difficulties understanding it laugh.gif

Simplified answers to my questions are most welcome!
Go to the top of the page
+Quote Post
ametrano
post Jul 9 2012, 10:53
Post #265





Group: Members
Posts: 6
Joined: 16-May 05
Member No.: 22091



I plan to use the component to downsample in my 24/96 -> 16/44.1 conversion.



Since in foobar's Converter Setup the "Output format" is before "Processing" I assume the downsampling is happing after the bit reduction.
Is it correct that the opposite would be better?
How can I accomplish that using foobar?
Is command line SOX the way to go?

thanks

This post has been edited by ametrano: Jul 9 2012, 10:57
Go to the top of the page
+Quote Post
kumbbl
post Jul 9 2012, 11:45
Post #266





Group: Members
Posts: 55
Joined: 6-June 06
Member No.: 31522



bit reduction is always performed last - after all other processings!

This post has been edited by db1989: Jul 9 2012, 15:18
Reason for edit: deleting pointless full quote of above post
Go to the top of the page
+Quote Post
lvqcl
post Jul 9 2012, 15:14
Post #267





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



First processing, then converting to FLAC.
Go to the top of the page
+Quote Post
lvqcl
post Aug 8 2012, 15:36
Post #268





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



Resampling plugin 0.8.0 beta 2: http://www.hydrogenaudio.org/forums/index....st&p=804445
Go to the top of the page
+Quote Post
digicco
post Aug 25 2012, 18:01
Post #269





Group: Members
Posts: 3
Joined: 25-August 12
Member No.: 102655



I have 384kHz/352.8kHz DAC.
Please add upsample x8 setting.

Thanks
Go to the top of the page
+Quote Post
lvqcl
post Aug 25 2012, 18:27
Post #270





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



If you want to resample 44100 to 352800 Hz, just type this value in the "Target samplerate" input box.
Go to the top of the page
+Quote Post
digicco
post Aug 25 2012, 19:52
Post #271





Group: Members
Posts: 3
Joined: 25-August 12
Member No.: 102655



Resolved.
Great! Thank you so much biggrin.gif
Go to the top of the page
+Quote Post
eamon123
post Oct 21 2012, 18:39
Post #272





Group: Members
Posts: 30
Joined: 14-October 12
Member No.: 103838



Sorry in advance for the longish string of questions, I'm copy&pasting them from another place I asked them and got *no answer* to any.

I'm using a FiiO E7 which only supports 41,000 or 48,000 Hz, because of USB limitations. What do you think of these settings for playback? The resampler is based on SoX code and WASAPI is supposed to bypass a lot of Windows's internal sound processing.

I'm allowing aliasing because it gives it an easier time with ringing artefacts and not much aliasing actually happens and that which does is mostly above the Nyquist Frequency so I won't hear it anyway. Should I enable dithering in WASAPI? How does dithering even work anyway? Does it only apply when upsampling, like in images? Also I see the passband is adjustable. I have no idea why? I set it to 96, not the maximum 99% because I figured it must do something good to lower it and I can sacrifice the top 500 Hz to get this good thing. I hope this doesn't just save CPU cycles or something. Phase response turns preringing into post ringing, right? I figure post ringing is more acceptable than preringing when listening so I'm going with this.
Go to the top of the page
+Quote Post
lvqcl
post Oct 21 2012, 19:24
Post #273





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



1) this plugin doesn't perform any dithering
2) About passband: http://www.hydrogenaudio.org/forums/index....mp;#entry626176
QUOTE
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).
Go to the top of the page
+Quote Post
francesco
post Nov 25 2012, 08:46
Post #274





Group: Members
Posts: 373
Joined: 28-January 06
Member No.: 27378



QUOTE (lvqcl @ Nov 18 2008, 21:45) *
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.

hi
amazing
may i ask which is the lastest version for 1.1.17 for xp?
is this one ,isn't
thanks
Go to the top of the page
+Quote Post
lvqcl
post Nov 25 2012, 11:22
Post #275





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



The latest is the latest: 0.8.1.
Go to the top of the page
+Quote Post

15 Pages V  « < 9 10 11 12 13 > » 
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: 19th April 2014 - 21:10