Waveform :(


(Nial) #1

I’ve got code working to plot a waveform according to what music is playing, but I want to play music on a second stream and have it not interrupt my waveform (or case it to spike)…

void start_waveform(){    

   FSOUND_DSP_SetActive(FSOUND_DSP_GetFFTUnit(), TRUE);

}    

void stop_waveform(){    

   FSOUND_DSP_SetActive(FSOUND_DSP_GetFFTUnit(), FALSE);

}

I’m plotting the waveform and it spikes when the sound effects are played. Is there a way to limit it to only monitoring ‘handle’ and ignoring ‘handlefx’??

I’m using: FSOUND_DSP_GetSpectrum(); and doing all of my graph work from that data.