|
How to mix your songs |
![]() ![]()
|
When using more than one player inside the same application, it can be useful, in order to have a good mixing experience, to have the possibility to change the Tempo or Playback rate of a certain song; for this purpose this control provides a set of methods that will help you achieving this task.
First of all you need to load the song using the LoadSound method: once the song has been loaded you can change the following parameters:
Note that changing Tempo and Playback rate, the overall song duration will result altered: you will be notified of this alteration through the SoundDurationChanged event. The GetSoundDuration and GetFormattedSoundDuration methods will keep count of the duration change as well. If you should need to know the original duration of the loaded song you should use the GetSoundOriginalDuration and GetFormattedSoundOriginalDuration methods.
If you want to create a fader to perform fade-in/fade-out automatically, take a look to the How to use the Automatic Fader section.
A sample that shows the mentioned features in Visual C# and Visual Basic.NET can be found inside the following sample installed with the product's setup package: - TestPlayers
|