Wave data ACM upsampling not good

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Wave data ACM upsampling not good

Postby cozturk » November 16th, 2007, 3:13 pm

I think, only Kambiz can help me.

I have 6khz sampling wave data which come from device...

I need to convert it 12khz wave data by my software. Unfortunately acm convert methot not good. only bytes copied .. and windows says "This is 12khz wave". I have used live stream convert method with WaveAudio package. and of course data come from windows ACM..

ok. but not good methot. to show this problem. I have test it by generating 6khz pure sine wave. with Cool edit.

http://img85.imageshack.us/img85/3355/convertov8.jpg
Image

But CoolEdit convert methot excellent! how can I do like this. I have used waveAudio package.

And I build smilar methot like Cool edit methot .
Code: Select all
new sample byte = (sample1  + sample2 ) / 2

But my method not good as Cool Edit methot.
any sinusoidal or exp. method for this?

Cool Edit Current version is Adobe auditionwhich I don't like

Thank you.
cozturk
Moderator
Moderator
 
Posts: 63
Joined: June 30th, 2005, 5:39 am
Location: Istanbul - Turkiye

Postby Kambiz » November 16th, 2007, 4:51 pm

Suppose we represent the 6khz sample as s1, s2, s3, and so on. The 12khz sample rate would be s1, (s1 + s2) div 2, s2, (s2 + s3) div 2, s3, and so on.

Hope that it helps you.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby Kambiz » November 18th, 2007, 7:48 pm

Could you make it?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby cozturk » November 19th, 2007, 5:06 pm

I have already do it. But not so good as cool edit methot. wave becomes triangular. Not sinusoidal
cozturk
Moderator
Moderator
 
Posts: 63
Joined: June 30th, 2005, 5:39 am
Location: Istanbul - Turkiye

Postby Kambiz » November 19th, 2007, 9:26 pm

Interpolate middle samples with more samples.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 2 guests

cron