Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Web Development > Multimedia Processing

Multimedia Processing

Multimedia Formats
1-20 of 64     Previous     Next
Play an MP3 Using Java Media Framework
by Leonard Anghel
The code in this tip shows you how to develop a simple Java application that can play MP3 files. This application is based on JMF (Java Media Framework).
ExecuteMCICommand - Executing a MCI command
by Alberto Falossi
helper routine; executes a MCI command commandString is the command to execute deviceAlreadyOpened must be set to true if the caller has already opened the device
GetMCIErrorString - Retrieving the description of a MCI error
by Alberto Falossi
Get the description of a MCI error. ErrorCode is the code of the error Return a string with the description of the error.
IsSoundCardSupported - Returns whether a sound card is supported
by Alberto Falossi
IsSoundCardSupported - Returns whether a sound card is supported
Opening and closing the CD door
by Alberto Falossi
Opening and closing the CD door
PlayAVIAudioOFF - Playing an AVI file synchronously without the audio track
by Alberto Falossi
Play an AVI file synchronously without the audio track. fileName is a string containing the full path of the file. Notes: requires the ExecuteMCICommand routine
PlayAVIPictureBox - Playing an AVI file in a PictureBox synchronously
by Alberto Falossi
Play an AVI file in a PictureBox synchronously. fileName is a string containing the full path of the file. window is the PictureBox in which you want that the movie is played; the movie is automatically resized to the picture box's dimentions Notes: requires the ExecuteMCICommand routine
PlayAVIVideoOFF - Playing the audio track of an AVI file
by Alberto Falossi
Play the audio track of an AVI file. fileName is a string containing the full path of the file. Notes: requires the ExecuteMCICommand routine
PlayWAV - Playing a WAV file
by Alberto Falossi
Play a WAV file. fileName is a string containing the full path of the file. If synchronousMode is true, the sound is played synchronously Returns true if no errors occurred
Eliminate the Need to Comment/Remove Debug Statements
by Santhosh Ananthakrishnan
Often, while developing a system, you need to put a lot of debug statements in the code, all which have to be commented/removed before delivering the application. There's a class with a static ...
Open and close the CD drive's door
by Francesco Balena
Here's a short code snippet that lets you programmatically open and close the CD door. Note that not all the CD drives support these functions: Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As ...
GetMP3Info - Get info in the standard ID3 tag of the specified MP3 file
by Marco Bellinaso
Retrieve the informations contained into the standard ID3 tag of the specified MP3 file Return an array of 6 elements with the following meaning: - index 0: song title - index 1: artist - index 2: album - index 3: year - index 4: comment - index 5: genre: this is an integer value --> ...
Minimizing Flicker in Animation
by Nitin Garg
Flickering in animation is caused due to the default behavior ...
Animating the Window on Showing or Hiding
by Sachin Nigam
You can easily add animation when showing or hiding a window using the AnimateWindow API. There are three types of animation: roll, slide, and alpha-blended fade. The declaration of API is like ...
Determine the total playing time of an Audio CD
by Francesco Balena
The Microsoft Multimedia Control lets you easily determine the total playing time of an Audio CD: you only need to correctly initialize the control and then decipher the value returned by its Length property. Use the following code as a guideline for your routines: Private Sub ...
Draw Lines in a List View
by Octavio Sanchez
This code adds the appearance of a grid control to a traditional listview, drawing lines between rows and columns: ...
Retrieve the length of a media file (WAV, AVI, MIDI)
by Alberto Falossi
You can retrieve the length of a standard windows media file (WAV, AVI or MIDI) using simple MCI functions. First, you must open the file with: Declare Function mciSendString Lib "winmm" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal ...
Calling the CD-Rom
by DevX Pro
I would like to know how to call the CD-Rom, or rather search for its drive letter.
A better beep
by Francesco Balena
If you aren't satisfied with the standard Beep command (who is?) you can use the Beep API function instead, that lets you control both the frequency (in Hertz) and the duration (in milliseconds) of the beep. Note that you need an aliased Declare to avoid a name conflict with the VB command:
Balloon Labels
by DevX Pro
How you to make balloon labels show when the user moves the mouse over an object?
1-20 of 64     Previous     Next
Sitemap