You can find quite alot of information in the bass help file
But sorry I should have clarified my methods a bit clearer.
* A wave from a song when you see it in a program such as goldwave has a positive value(above the centre line) and a negative value (below the line)
* So normally each positive value will have a corresponding negative value. If you plot each of these consecutivley you will see the wave fully zoomed in.
if i understand, this piece of code give me ONE! value of the Waveform.
So where is the sentence to get 100000 values
* From what i gather you want to zoom out to fit the song on a screen so you need to take a sort of average. Except you do NOT take an average as such as this does NOT work.
* You simply get the largest value and lowest value from every n samples. I picked 100000 samples cause it allowed the song I was using to fit on the screen.
* Basically the more samples you look at in turn the more zoomed out your wave will be. And the less samples you ask for the more zoomed in your wave will ulimately be.
**** This is beacuse as you take samples with Bass_ChannelGetData the position you at in the file moves on.
on "ChannelGetData" and what i can do with the values
** Bass_ChannelGetData gives you access to the raw data of the file and allows you to do basically whatever you want with. ie visualizations, bpm detection, etc
finally
How can i get the "WaveData" at position(x) in the File?
You can see what data is currently plotted by using Bass_ChannelBytes2Seconds(file_handle, Bass_ChannelGetPosition(file_handle))
and you can seek as normal if you want to plot from a poision in the file with Bass_ChannelSetPosition(xxxxxx)
Hope this helps.