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-27-2007, 02:38 PM   #41 (permalink)
1000+ Head-Fi'er
 
b0dhi's Avatar

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

Originally Posted by Hancoque View Post
Yes, but the original file is a perfect sine wave when played back, the one upsampled by Adobe Audition is too but the one upsampled linearly isn't. The program shows you what you actually hear. Linear connections between each sample don't represent the real world.
No, the original is not a perfect sine wave. I just told you that the program is interpolating the waveform when it displays it. The dots are the sample points. The wavy lines in between, which make it look like a sine wave, are placed there by Audition and are not part of the original data.

Ofcourse, when the original file is played back it will look like a sine wave, because your DAC has a filter. The purpose of this thread is to avoid that sound.

Open the same file using Wavosaur (free), and take a look at what the original actually looks like.
__________________
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-27-2007, 02:53 PM   #42 (permalink)
Head-Fi'er

Profile
Join Date: Aug 2007
Posts: 53
Default

Well, I said "the original file is a perfect sine wave when played back". But nonetheless you will get audible distortions using a linear interpolation. Why would you want these distortions, I ask again?
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-27-2007, 02:59 PM   #43 (permalink)
1000+ Head-Fi'er
 
b0dhi's Avatar

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

And I said "Ofcourse, when the original file is played back it will look like a sine wave, because your DAC has a filter. The purpose of this thread is to avoid that sound." The original file won't look anything like a sine wave when played back through a NOS DAC, for example.

The "distortions" you're referring to can only be called distortion if one assumes that the samples originally represented a sine wave.
__________________
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-27-2007, 03:38 PM   #44 (permalink)
Head-Fi'er

Profile
Join Date: Aug 2007
Posts: 53
Default

Originally Posted by b0dhi View Post
The "distortions" you're referring to can only be called distortion if one assumes that the samples originally represented a sine wave.
And that's the case here.

There are two extreme cases:
1. You have pure square waves. Then linear interpolation is better because it preserves the sharpness of the edges.
2. You have pure sine waves. Then linear interpolation is worse because it doesn't properly reconstruct the sine wave.

In the first case the problem is that the 100% sharp edges are replaced by sine waves that only approximate the former shape.

In the second case the problem is that the inserted samples don't represent what would be there if the sample had been in the higher sample rate from the beginning.

Now the question is what is more audible. The first problem or the second problem. I would say the second problem is. You obviously would say the opposite.

Is that an accurate definition of what the whole discussion is about?
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-27-2007, 04:50 PM   #45 (permalink)
100+ Head-Fi'er
 
Seidhepriest's Avatar

Profile
Join Date: Aug 2007
Posts: 312

IM Contacts
Send a message via ICQ to Seidhepriest
Default

Anyway, please give a shout when the plugin's ready... It'd be rather fancy.

Just make sure it uses 32-bit internal transforms during upsampling and no sound gets hurt :-)

By the way, a square-based instrument part was long a test track on a gear-testing CD. In some other places it might attract customers reacting to larger speakers shaking store.
Seidhepriest is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-27-2007, 05:41 PM   #46 (permalink)
1000+ Head-Fi'er
 
LawnGnome's Avatar

Profile
Join Date: Apr 2007
Location: Port Credit, Ontario
Posts: 1,166
Default

Anyone else think this thread is just continuing due to some misconceptions b0dhi holds?
__________________
X-fi XtremeMusic > Citypulse 7.2x II DAC > PPAV2 maxxed > Grado SR60 & Grado SR325i & Beyerdynamic DT770 & Beyerdynamic DT990('05) & AKG K701 & Denon AH-D2000
FEEDBACK
LawnGnome is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-27-2007, 06:06 PM   #47 (permalink)
1000+ Head-Fi'er
 
b0dhi's Avatar

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

Hancoque, yeah, I agree with that.

Seidhepriest, looks like I won't have to code it. Check this out:


Top one is 5Khz, bottom is 8Khz. Not sure where those large notches are coming from, but it works fine on other frequencies I've tried.

The other weird thing is my DAC all of a sudden developed a ringing at 96Khz today (you can see it on the top graph). I can't get a DC signal out of it, whereas yesterday I could. Weird.

But yeah, apart from those two issues I'm happy with this upsampler. It retains decent square edges below 10Khz and keeps very smooth sine waves above that. The best of both worlds CPU usage is 50% though >_<

LawnGnome: Grow up.
__________________
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-27-2007, 06:09 PM   #48 (permalink)
100+ Head-Fi'er
 
Seidhepriest's Avatar

Profile
Join Date: Aug 2007
Posts: 312

IM Contacts
Send a message via ICQ to Seidhepriest
Default

Which upsampler?
Seidhepriest is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-27-2007, 06:19 PM   #49 (permalink)
1000+ Head-Fi'er
 
b0dhi's Avatar

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

http://otachan.com/out_asio(dll).html

SRC in Foobar should sound about the same though. My DAC must've had a brainfart or something, coz square waves are sharper today than they were yesterday, and that 96Khz component wasn't there yesterday or the day before either.

Thanks guys, problem solved
__________________
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-27-2007, 07:14 PM   #50 (permalink)
1000+ Head-Fi'er
 
LawnGnome's Avatar

Profile
Join Date: Apr 2007
Location: Port Credit, Ontario
Posts: 1,166
Default

Originally Posted by b0dhi View Post

Top one is 5Khz, bottom is 8Khz. Not sure where those large notches are coming from, but it works fine on other frequencies I've tried.

The other weird thing is my DAC all of a sudden developed a ringing at 96Khz today (you can see it on the top graph). I can't get a DC signal out of it, whereas yesterday I could. Weird.

But yeah, apart from those two issues I'm happy with this upsampler. It retains decent square edges below 10Khz and keeps very smooth sine waves above that. The best of both worlds CPU usage is 50% though >_<

LawnGnome: Grow up.
Why are you so focused on finding an upsampler that produces nice square waves? when it distorts everything else?

You are spending time to reduce the quality of the output, so you must have some misconception that this will help you in some way. Either that or you just want more distorted sound.
__________________
X-fi XtremeMusic > Citypulse 7.2x II DAC > PPAV2 maxxed > Grado SR60 & Grado SR325i & Beyerdynamic DT770 & Beyerdynamic DT990('05) & AKG K701 & Denon AH-D2000
FEEDBACK
LawnGnome 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 02:03 PM.