Support Head-Fi.org by starting all of your Amazon.com shopping by clicking here.
____________________________________________________________________
Today's Featured Head-Fi Blog:  Jude's Blog
____________________________________________________________________
Please help support Head-Fi by becoming a Contributing Member  CLICK HERE

-- Contributing Members, thank you for your generous support! --
Head-Fi Is Sponsored By:
Register FAQ Blogs Members List Calendar Mark Forums Read Today's Posts Search
 

Head-Fi's Sponsors
(Premier Sponsors bolded)

Featured

2008 International
Head-Fi Meet
(Can Jam '08)
Impressions,
Reviews, Photos


Can Jam '08 graphic
courtesy of Edwood

Click on the links below
for Can Jam '08 photos,
impressions and reviews:


NightWoundsTime
lan
agile_one
wavoman
crappyjones123
Luke G
bperboy
jimaxp

 


Can Jam '08 Logo
T-Shirts For Sale


Head-Fi Blogs
and Facebook

Check out Head-Fi's new
Blogs section.

Featured Head-Fi Blogs:

Jude's "Take My Word"

 From Japan - by Sasaki

(
Start your own Blog!)

Attention
Facebook Users



Join the official
Head-Fi.org
Facebook Group


Head-Fi's Sponsors
(Premier Sponsors bolded)

Featured


Go Back   Head-Fi: Covering Headphones, Earphones and Portable Audio > Equipment Forums > Computer Audio

Computer Audio Discussion of computers as source components, sound cards, USB DACs, media servers, etc.

TTVJ Millett Portable Amp & The Most Recent Sponsored Threads

Sales to Benefit Head-Fi (TTVJ Millett Portable Amp)




 
Reply
 
Thread Tools Display Modes
Old 08-25-2007, 03:48 PM   #1 (permalink)
1000+ Head-Fi'er
 
b0dhi's Avatar

Profile
Join Date: Oct 2005
Location: Sydney
Posts: 1,381
Default Linear Resampling for Winamp or Foobar

Does anyone know a linear interpolation resampler for Winamp or Foobar2000?

I found one for Foobar (Secret Rabbit Code), but it crashes when I play FLACs Any help would be very much appreciated.

Before someone asks, yes, it must be a linear interpolation resampler. I'm running it at 192Khz so essentially I'm using my Juli@'s DAC as a non-oversampling type DAC. Square wave response is excellent, and the music is so much more dynamic. I can't wait to hear FLACs with it...

Thanks in advance for any suggestions.
__________________
They gave me his photo, threw me in a pizza oven, called it a "pod", and told me to wing it
b0dhi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-25-2007, 04:14 PM   #2 (permalink)
100+ Head-Fi'er
 
Honken's Avatar

Profile
Join Date: May 2007
Location: Swedeland
Posts: 157
Default

The SRC plugin doesn't work? That's odd, what version of Foobar do you use?
Honken is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-25-2007, 04:21 PM   #3 (permalink)
1000+ Head-Fi'er
 
b0dhi's Avatar

Profile
Join Date: Oct 2005
Location: Sydney
Posts: 1,381
Default

Both Foobar and SRC are the latest versions, I downloaded them today.

It doesn't work when the resampling rate is higher than 96000 (any algorithm), and only when playing FLACs. It works fine for MP3s at any sampling rate.

At 96Khz the CPU usage is only 2% in linear mode, so it can't be lack of grunt.

EDIT: I really have to say I'm amazed at the difference it has made to the sound, I wasn't expecting anything like this. That is...when it isn't crashing
__________________
They gave me his photo, threw me in a pizza oven, called it a "pod", and told me to wing it
b0dhi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-25-2007, 05:43 PM   #4 (permalink)
100+ Head-Fi'er
 
Alleyman's Avatar

Profile
Join Date: Jan 2007
Location: Dubai, U.A.E.
Posts: 361

IM Contacts
Send a message via AIM to Alleyman
Default

Isnt a linear interpolator the worst kind of resampler? The one with noticable artifacts?

Have you tried SSRC? http://otachan.com/foo_dsp_ssrc.html
__________________
[ Head-fi Feedback ]

Laptop (USB) »» E-MU 0202 »» Sennheiser HD595
Zune30 »» Creative EP-630 | Koss KSC75

Team "Ignorance is bliss"

Other stuff: Philips PSC805 | TBAAM | AKG K81DJ
Alleyman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-25-2007, 06:58 PM   #5 (permalink)
1000+ Head-Fi'er
 
b0dhi's Avatar

Profile
Join Date: Oct 2005
Location: Sydney
Posts: 1,381
Default

In terms of common "distortion" measurements, yes, it's one of the worst. However, because I'm using it to oversample 44.1Khz to 192Khz, the output at the DAC is virtually exactly the same as the music data. The other methods produce only sine waves at higher (10Khz+) frequencies, and what should be square waves are not sharp and have lots of ringing. OTOH, linear interpolation gives you grainy treble because that's exactly what's in the music data, but oh well...

If anyone does find one for Winamp or Foobar please let me know.
__________________
They gave me his photo, threw me in a pizza oven, called it a "pod", and told me to wing it
b0dhi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-26-2007, 01:03 PM   #6 (permalink)
Head-Fi'er

Profile
Join Date: Aug 2007
Posts: 53
Default

Are you sure that this "grainy treble" really is in the original signal? I will do some research on this later and compare the three different upsampling plugins for foobar2000.
Hancoque is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-26-2007, 02:09 PM   #7 (permalink)
1000+ Head-Fi'er
 
b0dhi's Avatar

Profile
Join Date: Oct 2005
Location: Sydney
Posts: 1,381
Default

It's a limitation of the 44.1Khz sampling rate. No matter what the music sounded like originally, at high frequencies all instruments are sampled as jagged edges, and above about 10Khz, as 'triangles'. Most upsampling techniques convert these jagged edges into smooth sine waves, which sounds nice and measures well, but the lower frequencies lose dynamics, texture and timing. The ear can detect timing differences of as little as 2 microseconds.

I've been measuring the output of my soundcard's DAC (Juli@) with various upsampling algorithms at 192Khz. Linear upsampling is by far the most accurate one (in terms of being identical to the input data), but as a side-effect, you have no choice but to hear how poor 44.1Khz sampling is for higher frequencies.

My ideal algorithm would resample a 5Khz square wave with a perfectly sharp edge and no ringing, but a 15Khz wave as a smooth sine wave. None of the algorithms I tried did this.

The real problem is that 44.1Khz sampling is so crap
__________________
They gave me his photo, threw me in a pizza oven, called it a "pod", and told me to wing it
b0dhi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-26-2007, 02:42 PM   #8 (permalink)
Head-Fi'er

Profile
Join Date: Aug 2007
Posts: 53
Default

Why is 44.1 kHz crap? What's the problem with it?
Hancoque is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-26-2007, 02:52 PM   #9 (permalink)
1000+ Head-Fi'er
 
b0dhi's Avatar

Profile
Join Date: Oct 2005
Location: Sydney
Posts: 1,381
Default

Originally Posted by b0dhi View Post
It's a limitation of the 44.1Khz sampling rate. No matter what the music sounded like originally, at high frequencies all instruments are sampled as jagged edges, and above about 10Khz, as 'triangles'.
Ie., it doesn't have enough resolution.
__________________
They gave me his photo, threw me in a pizza oven, called it a "pod", and told me to wing it
b0dhi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-26-2007, 04:11 PM   #10 (permalink)
100+ Head-Fi'er
 
Apocalypsee's Avatar

Profile
Join Date: Apr 2007
Location: Kota Damansara, Malaysia
Posts: 353
Default

I found no problem with 44.1kHz, its warmer than higher sampling rate i.e 96kHz (this is as high as my soundcard DAC goes). And even worse, the Linear Interpolator sounds the worse, lacking background detail (muffled) while the Best Sinc Interpolator is a bit bright. Using Secret Rabbit Code. If it sounds OK to you its fine, but not me
Apocalypsee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 Head-Fi.org
All times are GMT. The time now is 01:17 PM.