18 May '13 - 18:38 *
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 [2]  All
  Reply  |  Print  
Author Topic: Normalizing audio tracks  (Read 11681 times)
radio42
Posts: 4012


« Reply #20 on: 24 Nov '08 - 18:02 »
Reply with quoteQuote

If you are still using BASS.NET 2.3.x then the signature of a DSPPROC is different - as written in the documentstion!!
In 2.3 its:
Private Sub NormalizeDSP(handle As Integer, channel As Integer,
                   buffer As IntPtr, length As Integer, user As Integer)
...
and you would have to set the DSP via:
Bass.BASS_ChannelSetDSP(_stream, _myDSPProc, 0, 0)

No eMail unless you read the docs :-)
However I suggest you upgrade to 2.4 anyhow, since 2.3 is not supported any longer.
Logged
Nicolás
Guest
« Reply #21 on: 24 Nov '08 - 18:47 »
Reply with quoteQuote


Ok man, thank you very much,

Only one more thing...

            Bass.BASS_ChannelSetDSP(strm, _myDSPProc, 0, 0)

and the peak variable?
Logged
Nicolás
Guest
« Reply #22 on: 24 Nov '08 - 19:00 »
Reply with quoteQuote



Ok..

my      _peakValue = GetPeak(decoder) Huh

and     _sampleData = Huh

Thank you realy, and sorry for the time, but is important
Logged
Nicolás
Guest
« Reply #23 on: 24 Nov '08 - 19:36 »
Reply with quoteQuote


Ok, sorry, my application now works good (apparently)

but when the son is running i-m reading the Un4seen.Bass.Utils.HighWord(RetVal) value and the

Un4seen.Bass.Utils.LowWord(RetVal) value.

Afther the normalization the values should not have a value major that 32737 ok? but

so.. the Normalization does not work.
Logged
nr1
Posts: 78


« Reply #24 on: 17 Jul '10 - 11:49 »
Reply with quoteQuote

Hi,

can someone provide this normalization as full delphi example?

This would be great!

thx
Logged
nr1
Posts: 78


« Reply #25 on: 7 Aug '10 - 09:42 »
Reply with quoteQuote

push
Logged
Pages: 1 [2]  All
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines