Un4seen.Bass.MiscWaveFormWaveBuffer
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
The WaveFormWaveBuffer type exposes the following members.
Name | Description | |
---|---|---|
bps |
Returns the bytes per sample (16-bit samples will return 2, 32-bit samples will return 4 and 8-bit samples will return 1).
|
Name | Description | |
---|---|---|
beats |
List of optional beat positions within the WaveForm (or , if no beat positions have been detected).
Each Element reflects one beat position (long value, in bytes of the original rendering resolution). | |
bpf |
Bytes per frame (one frame is a window with the length defined in resolution).
| |
chans |
Number of channels (1=mono, 2=stereo, ...).
| |
data |
Data buffer containing the rendered peak levels of the right and left channel (one element represents the data of one frame).
The left and right values represent each the absolute signed maximum value of the left resp. right channel' sample data within the rendered frame (e.g. -10000 would be kept instead of +8000). If the channel is mono, then the left and right value of the data would contain the same value. Structure of one WaveFormWaveBufferLevel element: C# | 32-bit |
| left | right | Each level ranges linearly from -32768 to 0 (silent) to +32767. | |
flags |
Will keep the stream create flags (as an int), see BASSFlag.
| |
marker |
List of optional markers within the WaveForm (or , if no markers are defined).
Key (string) = Name of the marker, Value (long) = Position of the marker (in bytes of the rendering resolution). | |
resolution |
Frame resolution in milliseconds
|