I've splited an audio file into three segment pieces, then create spectogram bitmap image from each piece using BASS.net library. BASS.net has CreateSpectrum3DVoicePrint method to do this.
public bool CreateSpectrum3DVoicePrint(
int channel,
Graphics g,
Rectangle clipRectangle,
Color color1,
Color color2,
int pos,
bool linear,
bool fullSpectrum
)
The method will generate a spectogram image. But in my case, I've to know:
- What is 2 Color parameter in the CreateSpectrum3DVoicePrint method means?
- How the method draw the Frequency & Amplitude using this method, for example: my spectogram bitmap output image's height = 100, Audio BitRate = 44100hz
- Which point draws start 0hz Freq, from top or bottom of image?