DVD CDR Base Forums  

Go Back   DVD CDR Base Forums > Audio Section > Audio

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 17-06-2004, 07:55
Shadey's Avatar
Gold Member
 
Join Date: Nov 2001
Posts: 760
Down Sampling 44khz 16bit to 8bit

Hi guys just wanted some opinions

Trying to down sample some wav files from 44khz 16 bit to 44khz 8 bit
but getting a large amount of noise in in the 44khz 8 bit files.

Using programs like Acoustica and so on.

Can someone suggest a good tool to use to down sample with noise reduction etc or other methods of reducing the noise levels i get please.

Regards
Shadey
__________________
"remember every passing minute is another chance to turn it all around"



Windows XP SP1

Intel Pentium M 735 (1.70Ghz)
1GB DDR 166 PC2700
ATI MOBILITY RADEON 9700 128MB

Toshiba OOD-DVD SD-R6372
FUJITSU MHT2060AH (60GB)
WinBond Secure Digital Drive
Reply With Quote
  #2 (permalink)  
Old 17-06-2004, 09:53
VIPER_1069's Avatar
Administrator
 
Join Date: Dec 2001
Location: Here @ DVDRBase !?
Posts: 12,227
HOW big are these wavs shadey mate ?! what about windows sound recorder !? simple but effective for short wavs !?

not tested for long wavs but hey its free so cannot hurt to try !?

maby wavlab !? or goldwave !? or cool edit pro 2?!
__________________

Reply With Quote
  #3 (permalink)  
Old 17-06-2004, 16:18
Super Moderator
 
Join Date: Apr 2002
Location: uk
Posts: 4,000
Audacity? - I assume that could save in various formats.

It seems a bizarre format though... 44K sample rate = high quality / 8 bit (miserable quality) - unless something absolutely requires that format, there have to be better ways to shrink the size of an audio file.
__________________
¡uʍop ǝpısdn ɹoʇıuoɯ ʎɯ pǝuɹnʇ oɥʍ ¡ʎǝɥ
Reply With Quote
  #4 (permalink)  
Old 17-06-2004, 16:36
rebootjim's Avatar
Registered User
 
Join Date: Apr 2004
Location: Canada
Posts: 118
Transcode to mp2 in tmpgenc, it'll be much smaller, and you won't lose the quality.
Reply With Quote
  #5 (permalink)  
Old 17-06-2004, 18:13
Super Moderator
 
Join Date: Apr 2003
Location: Melbourne, Australia
Posts: 1,289
SSRC should be able to do it --bits 8 I would imagine, should be about as higher quality as you can get. As said though better ways to shrink it. I mean 16bit-->8bit = 1/2 size which you could achieve using a lossless compressor like monkey, flac, etc. or go for transparancy with aac, LAME mp3 or mp3 and still get pretty small file sizes.
Reply With Quote
  #6 (permalink)  
Old 17-06-2004, 20:11
Shadey's Avatar
Gold Member
 
Join Date: Nov 2001
Posts: 760
Quote:
Originally Posted by VIPER_1069
HOW big are these wavs shadey mate ?! what about windows sound recorder !? simple but effective for short wavs !?

not tested for long wavs but hey its free so cannot hurt to try !?

maby wavlab !? or goldwave !? or cool edit pro 2?!
Wave files sizes range from about 300Kb to 2Mb - They are mainly recordings of spoken phrases.

Thanks for the suggestions - I'll check them out - Got stuck with this acoustica program cos it ws all we had licensing wise. Cheers Viper - apologies for not answering you on ICQ - was asleep

Quote:
Originally Posted by LTR12101B
Audacity? - I assume that could save in various formats.

It seems a bizarre format though... 44K sample rate = high quality / 8 bit (miserable quality) - unless something absolutely requires that format, there have to be better ways to shrink the size of an audio file.
Not Audacity - Acoustica

Yeah the recordings (mentioned above) were made in that format - so not much can be done about the source files - the 16 bit to 8 bit conversion is necessary because we're experimenting with digitising these sounds to ICs used in handheld devices equiped with speakers - experimenting with sound samples and quality - because its a new IC we're using. Cheers LTR12101B

Quote:
Originally Posted by rebootjim
Transcode to mp2 in tmpgenc, it'll be much smaller, and you won't lose the quality.
Thanks for the suggestion rebootjim - unfortunately the source files we are working with are wav files and the format cannot be changed - unless the recording is re-recorded into mp2 but that means booking recording studios and hiring the speech talent again - but thanks for the advice - could use it next time round save this hassle

Quote:
Originally Posted by celtic_druid
SSRC should be able to do it --bits 8 I would imagine, should be about as higher quality as you can get. As said though better ways to shrink it. I mean 16bit-->8bit = 1/2 size which you could achieve using a lossless compressor like monkey, flac, etc. or go for transparancy with aac, LAME mp3 or mp3 and still get pretty small file sizes.
Cool. Got a good place find these lossless compressor/codecs ? It would be worthwhile to experiment with them - as the noise levels i have at the moment are terrible - deeming these files as near useless. Cheers celtic_druid

= = = =

Thanks for he advice guys - got lots to think about and do. Would appreciate any links for information on using these lossless solutions.

Regards
Shadey
__________________
"remember every passing minute is another chance to turn it all around"



Windows XP SP1

Intel Pentium M 735 (1.70Ghz)
1GB DDR 166 PC2700
ATI MOBILITY RADEON 9700 128MB

Toshiba OOD-DVD SD-R6372
FUJITSU MHT2060AH (60GB)
WinBond Secure Digital Drive
Reply With Quote
  #7 (permalink)  
Old 17-06-2004, 20:35
VIPER_1069's Avatar
Administrator
 
Join Date: Dec 2001
Location: Here @ DVDRBase !?
Posts: 12,227
@ shadey no worries mate

hey is that the record for the most replys in one reply lol
__________________

Reply With Quote
  #8 (permalink)  
Old 17-06-2004, 20:51
rebootjim's Avatar
Registered User
 
Join Date: Apr 2004
Location: Canada
Posts: 118
Um...I don't get it.
Is it that 8 bit is a necessity, or filesize is a necessity, or what?
A .wav is a .wav, and just about any audio app will resample/transcode to 8 bit mono/joint stereo/stereo from any .wav, and save as .wav
Using Audacity or Goldwave, or Sounforge, or WaveLab, one could also clean up the audio to remove noise.
I guess I need to know exactly what you need the finished product to be, and what the source really is, before going further.
As I understand it now, you have 16 bit .wav files, and need a simple conversion to 8 bit. What's the problem again?
Reply With Quote
  #9 (permalink)  
Old 17-06-2004, 23:32
Senior Member
 
Join Date: Jan 2003
Posts: 3,302
I don't get it, either... this "conversion" is totally nonsensical to me.
Can you provide a good reason on WHY you wanna do it, or you just wanna do it?
__________________
The revolution cannot be a lever, or an essay, or tablaeu, or embroidery. It cannot proceed mellowly, piece-by-piece, gently, devoutly, simply and humbly.
Mao Zedong
Reply With Quote
  #10 (permalink)  
Old 17-06-2004, 23:32
Super Moderator
 
Join Date: Apr 2002
Location: uk
Posts: 4,000
I was suggesting Audacity... http://audacity.sourceforge.net
And thinking that if it's to be 8 bit quality, 44k sample rate is overkill - 22k or even 11k/8 bit would be more in keeping with 8 bit - or ADPCM, which uses fewer bits, but doesn't drop as much as a straight chop to 8 bits (IMA ADPCM uses only 4 bits/sample, but sounds better than 8 bit uncompressed) - to use any compressed format, obviously requires that the playback system supports that format - WAV is merely a wrapper, as you can wrap MP3 data in a WAV (Riff-Wave header).

And if you start with 44k sample rate, 16 bit WAV, then you can convert them to any format you like.
If you are experimenting with audo, you should join www.hydrogenaudio.org - they torture test various audio codecs, and there is a lot of expertise there.

If you are involved in developing something, it may be worth looking at the integer math version of VORBIS designed for embedded processors - though it still needs a reasonable amount of power.
http://www.xiph.org/ogg/vorbis/

Or Speex http://www.speex.org/ - a low bitrate codec designed for speech
__________________
¡uʍop ǝpısdn ɹoʇıuoɯ ʎɯ pǝuɹnʇ oɥʍ ¡ʎǝɥ
Reply With Quote
  #11 (permalink)  
Old 18-06-2004, 12:36
Shadey's Avatar
Gold Member
 
Join Date: Nov 2001
Posts: 760
Quote:
Originally Posted by VIPER_1069
@ shadey no worries mate

hey is that the record for the most replys in one reply lol
LOL It most definately is

Quote:
Originally Posted by rebootjim
Um...I don't get it.
Is it that 8 bit is a necessity, or filesize is a necessity, or what?
A .wav is a .wav, and just about any audio app will resample/transcode to 8 bit mono/joint stereo/stereo from any .wav, and save as .wav
Using Audacity or Goldwave, or Sounforge, or WaveLab, one could also clean up the audio to remove noise.
I guess I need to know exactly what you need the finished product to be, and what the source really is, before going further.
As I understand it now, you have 16 bit .wav files, and need a simple conversion to 8 bit. What's the problem again?
The conversion is simple - like you said - we've done it. The problem is we have noise after the conversion. I do not understand where the noise is coming from. The source files don't have the noise, but the converted files do. We want to eliminate as much of the noise as possible during the conversion.

So noise is my problem - want to make this a one step process if possible as theres a huge number of files to process.

Final product - is a handheld talking dictionary using a 8bit audio chip or IC

Quote:
Originally Posted by scarecrow
I don't get it, either... this "conversion" is totally nonsensical to me.
Can you provide a good reason on WHY you wanna do it, or you just wanna do it?
Nonsensical maybe but is feasible and cheap for production.

Have to use 8 bit because we need to use a specific audio chip - but the source is 16 bit. Hence the conversion is ncessary.

Quote:
Originally Posted by LTR12101B
I was suggesting Audacity... http://audacity.sourceforge.net
And thinking that if it's to be 8 bit quality, 44k sample rate is overkill - 22k or even 11k/8 bit would be more in keeping with 8 bit - or ADPCM, which uses fewer bits, but doesn't drop as much as a straight chop to 8 bits (IMA ADPCM uses only 4 bits/sample, but sounds better than 8 bit uncompressed) - to use any compressed format, obviously requires that the playback system supports that format - WAV is merely a wrapper, as you can wrap MP3 data in a WAV (Riff-Wave header).

And if you start with 44k sample rate, 16 bit WAV, then you can convert them to any format you like.
If you are experimenting with audo, you should join www.hydrogenaudio.org - they torture test various audio codecs, and there is a lot of expertise there.

If you are involved in developing something, it may be worth looking at the integer math version of VORBIS designed for embedded processors - though it still needs a reasonable amount of power.
http://www.xiph.org/ogg/vorbis/

Or Speex http://www.speex.org/ - a low bitrate codec designed for speech
The final file format needed is a wav 8 khz 8 bit. I started this thread asking about 44khz because thats the source file sample rate.

Although no matter the sample rate - 16 bit to 8 bit still introduces noise to the converted files. I dont understand why i get this noise.

Thanks for all these resources, although i am really interested in reading them and trying them all - i have a struggle with time. So i think im looking for a quick solution.

- - -

Although I realised i was silly thinking about lossless solutions - not much i can do about not loosing information when i chop 16 to 8 bit ? ? ?
__________________
"remember every passing minute is another chance to turn it all around"



Windows XP SP1

Intel Pentium M 735 (1.70Ghz)
1GB DDR 166 PC2700
ATI MOBILITY RADEON 9700 128MB

Toshiba OOD-DVD SD-R6372
FUJITSU MHT2060AH (60GB)
WinBond Secure Digital Drive
Reply With Quote
  #12 (permalink)  
Old 18-06-2004, 13:37
Super Moderator
 
Join Date: Apr 2002
Location: uk
Posts: 4,000
Would it be possible (copyrights etc.) to post an example - Original 16 bit, and an 8 bit showing the problem?

Hydrogenaudio never seem to have any problem with encoder test smples of 30 second duration - does that count as "fair use"?
__________________
¡uʍop ǝpısdn ɹoʇıuoɯ ʎɯ pǝuɹnʇ oɥʍ ¡ʎǝɥ
Reply With Quote
  #13 (permalink)  
Old 18-06-2004, 16:37
rebootjim's Avatar
Registered User
 
Join Date: Apr 2004
Location: Canada
Posts: 118
Yes, even a 30 second sample clip that we can play with.
I have a feeling that there's enough talent around here to find a method that works, without adding any noise.
It may be the hardware at fault even, not the software, or a combination.
Between such apps as cheap as Audacity (free) and Wavelab ($$$), someone will find a way
Reply With Quote
  #14 (permalink)  
Old 28-06-2004, 03:46
Gold Member
 
Join Date: Nov 2001
Location: toronto
Posts: 3,206
In this zip you got a 30 sec sample of a cllasic rock song and same song encoded with foobar to 44.1khz-8b.Sample sound good,so your handheld will sound even better-couse its a talking-which will take just few khz passage.
So its sound ok
But as the guys said..try a speex or vorbis which are good for low bitrate
Soory..attachment too big..
Anyway..ditch the acoustica,play that thing on a foobar or any good decent player which can encode too,and go with diskwriter and youre ok
__________________
Copyrights
It means that you have a right to make a copy
Pc specs;p4,xp-sp2,2Gb ram,nec nd-3540A 16 x speed,revo7.1 audio card,,dsl 5mb down-1 mb up
This info is posted in case i run into some pc problems which is happening relatively often...lol
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 22:27.


Powered by vBulletin® Version 3.6.7 PL1