Here is wath I have so far:
//Stream for PITCHSHIFT
_streamPitch = Bass.BASS_ChannelSetFX(_stream, BASSFXType.BASS_FX_BFX_PITCHSHIFT, 0);
//Stream for MONO STEREO
_streamMono = Bass.BASS_ChannelSetFX(_stream, BASSFXType.BASS_FX_BFX_MIX, 0);
// Stream for EQ
_streamEQ = Bass.BASS_ChannelSetFX(_stream, BASSFXType.BASS_FX_BFX_PEAKEQ, 0);
//Stream for TEMPO
_streamSpeed = BassFx.BASS_FX_TempoCreate(_stream, BASSFlag.BASS_STREAM_AUTOFREE);
//===========Play file==============//
Bass.BASS_ChannelPlay(_stream, false);
In my trackbar to control the tempo speed I got
if (trackBarSpeed.Value >= -50 && trackBarSpeed.Value<=50)
{
Bass.BASS_ChannelSetAttribute(_streamSpeed, BASSAttribute.BASS_ATTRIB_TEMPO, _speed);
}
Question is that:
- I can not make the tempo change while Im playing inicial _stream,
- But MONO, PITCH and EQ are working, but sometimes "program crashes".
Please a little help on making tempo work.
And "am I making all thouse extra stream ok" ? (_streamMono,_streamEQ,_streamPitch,_streamSpeed)