24 May '13 - 08:57
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
I'm trying to create my own waveform using BASS_ChannelGetData()
Pages: [
1
]
« previous
|
next »
Reply
|
Print
Author
Topic: I'm trying to create my own waveform using BASS_ChannelGetData() (Read 668 times)
dman10001
Posts: 92
I'm trying to create my own waveform using BASS_ChannelGetData()
«
on:
9 Mar '11 - 01:32 »
Quote
I know how to get the data using BASS_ChannelGetData(), but I'm having problems using the data.
I looked at the samples for BASS spectrum, but do not know how to read the structure of the PCM data. I used a float to avoid the 8 and 16 bits calculation.
Is it reading it every 4th of data ? or what?
I get something like a waveform, but it do not look right.
Please Help.
Logged
radio42
Posts: 4012
Re: I'm trying to create my own waveform using BASS_ChannelGetData()
«
Reply #1 on:
9 Mar '11 - 12:16 »
Quote
With BASS_ChannelGetData you can either get PCM sample data or FFT data.
So lets assume you get PCM sample data.
When using the FLOAT flag you'll get 4bytes (a float value) for each sample interleaved, meaning left, right, left, right etc. (when its a stereo stream).
Logged
Pages: [
1
]
Reply
|
Print
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
I'm trying to create my own waveform using BASS_ChannelGetData()
« previous
|
next »
Jump to:
Please select a destination:
-----------------------------
Developments
-----------------------------
=> BASS
=> XMPlay
=> MO3
-----------------------------
Off Topic
-----------------------------
=> General Discussion
Loading...