A simple question I hope...
When I apply the BASS_ChannelSlideAttribute fade-in code below I can hear the current playing stream fade from 0 to full over a period of time denoted by my trackbar2 control as expected.
However I was expecting that fade effect to also be encoded/recorded as it's using the same channel yet the volume in the resulting file is constant.
Any idea why the fade is not encoded and what I can do to fix it?
Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, IntPtr.Zero)
Stream = Bass.BASS_StreamCreateFile(filepath, 0L, 0L, BASSFlag.BASS_STREAM_DECODE)
Stream = BassFx.BASS_FX_TempoCreate(Stream, BASSFlag.BASS_FX_FREESOURCE)
set volume fadein
Bass.BASS_ChannelSetAttribute(Stream, BASSAttribute.BASS_ATTRIB_VOL, 0.0F)
Bass.BASS_ChannelSlideAttribute(Stream, BASSAttribute.BASS_ATTRIB_VOL, 1, Me.TrackBar2.Value * 1000)
BassEnc.BASS_Encode_Start(Stream, Command_Line, BASSEncode.BASS_ENCODE_DEFAULT, Nothing, IntPtr.Zero)