19 May '13 - 12:01 *
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: Retreive a frequency  (Read 6213 times)
Nathaniel
Posts: 14


« on: 13 Jul '03 - 12:02 »
Reply with quoteQuote

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! Smiley
Logged
(: JOBnik! :)
Posts: 984


« Reply #1 on: 13 Jul '03 - 12:29 »
Reply with quoteQuote

Hi Grin

use BASS_ChannelGetAttributes(..) as below:

dim freq as long

Call BASS_ChannelGetAttributes(handle, freq, 0, 0)

Have fun!

Cool JOBnik! Cool
Logged
Nathaniel
Posts: 14


« Reply #2 on: 13 Jul '03 - 15:37 »
Reply with quoteQuote

ohhhh....
You didn't understand me Tongue
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.
Logged
Nathaniel
Posts: 14


« Reply #3 on: 13 Jul '03 - 19:19 »
Reply with quoteQuote

Can anyone help me please?? Huh
Logged
Nathaniel
Posts: 14


« Reply #4 on: 14 Jul '03 - 22:55 »
Reply with quoteQuote

I really need someone to explain it to me!!
Please cansomeone help me?? Huh Huh Huh
Logged
Irrational86
Posts: 960


« Reply #5 on: 15 Jul '03 - 18:38 »
Reply with quoteQuote

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
Logged
Nathaniel
Posts: 14


« Reply #6 on: 16 Jul '03 - 07:45 »
Reply with quoteQuote

I know that...But I don't know how to use that data.
Logged
Zakhar
Guest
« Reply #7 on: 16 Jul '03 - 20:30 »
Reply with quoteQuote

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   Wink
Logged
Nathaniel
Posts: 14


« Reply #8 on: 18 Jul '03 - 16:31 »
Reply with quoteQuote

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.
Logged
dbfreak
Posts: 3


« Reply #9 on: 25 Aug '03 - 23:46 »
Reply with quoteQuote

I want to do the same exact thing but using Delphi...
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines