20 May '13 - 07:39 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: White noise  (Read 707 times)
Erazer
Posts: 435


« on: 25 Feb '12 - 21:36 »
Reply with quoteQuote

Why when I decode try to decode/convert 192/24 flac to 44.1/16 wav I get white noise (using the latest bassenc and bassmix) Huh I mean some kind of noise on background. At the same time when I convert that flac file easy cdda extractor for example I get clear from this noise audio file.  Undecided
PS: I have uploaded original.flac+original_made_by_bass.wav+original_made_by_ezcdda.wav to http://ftp://ftp.un4seen.com/incoming/
Logged
gnag
Posts: 160


« Reply #1 on: 25 Feb '12 - 22:02 »
Reply with quoteQuote

Hello,
providing the Code which you are working with could be useful to find Errors.
Logged
Erazer
Posts: 435


« Reply #2 on: 25 Feb '12 - 22:07 »
Reply with quoteQuote

I feel it's not related with my code.
Logged
gnag
Posts: 160


« Reply #3 on: 25 Feb '12 - 22:37 »
Reply with quoteQuote

Are you getting completely white Noise or only some Distortion (thats what I think you said in your first Post) ?
Logged
Erazer
Posts: 435


« Reply #4 on: 25 Feb '12 - 22:39 »
Reply with quoteQuote

Some noise. Only when I downmix 24/192 to any other samplerate(176,96,44.1....)  Shocked
The same code makes 24/192 and 24/176400, changes are only in samplerate, but in 24/176400 I hear noise: https://rapidshare.com/files/3947975519/noise.rar
« Last Edit: 25 Feb '12 - 22:51 by Erazer » Logged
gnag
Posts: 160


« Reply #5 on: 25 Feb '12 - 22:51 »
Reply with quoteQuote

Ok, what happened to me when I tried to play from MP3 that I was actually playing the encoded bytes and not sample Data,what I heard was white noise also but I think thats not your problem since you only have some Distortions.

As I havent made a Converter myself like you described maybe People like Ian or Radio42 can help you out if there are any Options/Steps to take care of while converting.
Logged
Erazer
Posts: 435


« Reply #6 on: 25 Feb '12 - 22:53 »
Reply with quoteQuote

I hear not only noise as you, I hear additional weak noise on background. Just download and play samples on good audio hardware.
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #7 on: 27 Feb '12 - 16:48 »
Reply with quoteQuote

Why when I decode try to decode/convert 192/24 flac to 44.1/16 wav I get white noise (using the latest bassenc and bassmix) Huh I mean some kind of noise on background. At the same time when I convert that flac file easy cdda extractor for example I get clear from this noise audio file.  Undecided
PS: I have uploaded original.flac+original_made_by_bass.wav+original_made_by_ezcdda.wav to http://ftp://ftp.un4seen.com/incoming/

Yep. The original file has a high pitch noise in the background, and that is sounding even worse in the BASSmix version due to aliasing. You can try adding the BASS_MIXER_FILTER flag to your BASS_Mixer_StreamAddChannel call to reduce that.

The next BASSmix release will provide control over the number of samples used in the windowed-sinc interpolation, which should generally eliminate the need for the additional FILTER option.
Logged
Erazer
Posts: 435


« Reply #8 on: 27 Feb '12 - 22:10 »
Reply with quoteQuote

Yep. The original file has a high pitch noise in the background, and that is sounding even worse in the BASSmix version due to aliasing.

Yes I know, but I want avoid additional noise added by BASS. Also BASS adds it only if I write wav files, if I ise bassenc for example to encode it into flac or any other format I do not get that noise.
Logged
Erazer
Posts: 435


« Reply #9 on: 27 Feb '12 - 22:19 »
Reply with quoteQuote

You can try adding the BASS_MIXER_FILTER flag to your

Does not help.
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #10 on: 28 Feb '12 - 14:45 »
Reply with quoteQuote

Does not help.

That's strange. I just tried it, and the BASS_MIXER_FILTER flag did appear to remove the noise when using BASSmix to create a 44.1KHz WAV from your 192KHz FLAC. Please confirm where you tried the flag. Perhaps it was when playing the WAV file? If so, that is too late. It should be used when creating the WAV file (in the BASS_Mixer_StreamAddChannel call), as that is when the sample rate conversion (from 192KHz to 44.1KHz) occurs.
Logged
Erazer
Posts: 435


« Reply #11 on: 28 Feb '12 - 14:59 »
Reply with quoteQuote

Yes!!! Smiley I just confused with encoding to aiff, really BASS_MIXER_FILTER helped me to avoid that noise! Thank you!
Logged
Erazer
Posts: 435


« Reply #12 on: 28 Feb '12 - 15:04 »
Reply with quoteQuote

Should I use or BASS_MIXER_FILTER ever to avoid this parasite noises during encoding to any audio format or just for wav or lossless etc.?
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #13 on: 28 Feb '12 - 17:27 »
Reply with quoteQuote

Yep, you could just always use the BASS_MIXER_FILTER flag. The output file format won't really make a difference, except that lossy encoding (MP3/etc) may filter out some frequencies (but that will generally be inaudible frequencies anyway).
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines