Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
How to work with single songs 
 
As already stated in the How to use the control in your projects section, the first thing to do is to call the InitDJSystem method (in the form or dialog initialisation routine). 
At this point the methods you can use are the following: 
 
  • LoadSound to load a song from the hard disk. 
  • PlaySound to perform the loaded song 
  • PlaySoundLoop to perform the loaded song in looping mode 
  • PlaySoundRange to perform a portion of the loaded song 
  • PlaySoundRangeLoop to perform a portion of the loaded song in looping mode with the capability of setting the exact number of loops 
  • PauseSound to pause the currently playing song  
  • ResumeSound to resume a paused song 
  • StopSound to stop the currently playing song 
  • SeekSound to seek the song to a given position 
  • ForwardSound to forward the song of a certain amount 
  • RewindSound to rewind the song of a certain amount 
  • CloseSound to discard the loaded song from memory: note that once the container form will be closed, you won't need to do any clean-up action: the control will automatically free each previously allocated resource. 
  •  
     
     
     
     
     
     
     
     
     
     
     
    Copyright © 2001-2008 MultiMedia Soft 
    Return to Table of contents