Author Topic: Retreive a frequency  (Read 12411 times)

Nathaniel

  • Posts: 14
Retreive a frequency
« on: 13 Jul '03 - 12:02 »
How can I retreive a frequency from a played stream??
I know it is done somehow with the Channel Data.
I'm using Visual Basic 6.
If someone can write me an example here it will be very good!
Thanx! :)

(: JOBnik! :)

  • Posts: 1080
Re: Retreive a frequency
« Reply #1 on: 13 Jul '03 - 12:29 »
Hi ;D

use BASS_ChannelGetAttributes(..) as below:

dim freq as long

Call BASS_ChannelGetAttributes(handle, freq, 0, 0)

Have fun!

8) JOBnik! 8)

Nathaniel

  • Posts: 14
Re: Retreive a frequency
« Reply #2 on: 13 Jul '03 - 15:37 »
ohhhh....
You didn't understand me :P
I want to retreive a frequency level like in the live spectrum, so I can draw it in a visual EQ. Like 80Hz, 1KHz and more in order to build a spectrum (WinAmp style).
Thanx.

Nathaniel

  • Posts: 14
Re: Retreive a frequency
« Reply #3 on: 13 Jul '03 - 19:19 »
Can anyone help me please?? ???

Nathaniel

  • Posts: 14
Re: Retreive a frequency
« Reply #4 on: 14 Jul '03 - 22:55 »
I really need someone to explain it to me!!
Please cansomeone help me?? ??? ??? ???

Irrational86

  • Posts: 960
Re: Retreive a frequency
« Reply #5 on: 15 Jul '03 - 18:38 »
Am no expert, but my wild guess is you have to retrieve a piece of sample data and check it yourself for the different frequencies

Nathaniel

  • Posts: 14
Re: Retreive a frequency
« Reply #6 on: 16 Jul '03 - 07:45 »
I know that...But I don't know how to use that data.

Zakhar

  • Guest
Re: Retreive a frequency
« Reply #7 on: 16 Jul '03 - 20:30 »
Hello!
Take a look at 'spectrum' VB example in Bass package.it
draws the freqency spectrum in two simple style but if
you want to have something like WinAmp Spec,you could
create it simply modifying Spectrum example source code
(you may modify it to draw lines or boxes instead) with
out having to write the main code.just change the visualtion
callback procedure details

hope this would help u a bit   ;)

Nathaniel

  • Posts: 14
Re: Retreive a frequency
« Reply #8 on: 18 Jul '03 - 16:31 »
I wan't to know how do I proccess this fata.
How can I retrieve the current frequency level in order to build a Spectrum.
I mean that I want to retreive for example only 80Hz or only 1KHZ level.
I hope you understood me.

dbfreak

  • Posts: 3
Re: Retreive a frequency
« Reply #9 on: 25 Aug '03 - 23:46 »
I want to do the same exact thing but using Delphi...