Archive for October, 2007

Web site optimization - 1342 Java Media Framework and Java Sound (on

Thursday, October 18th, 2007

1342 Java Media Framework and Java Sound (on CD) Chapter 22 using MidiData and use its Transmitter to transmit MIDI information to the Receiver of MidiRecord. 22.13 Modify your solution to Exercise 22.6 to create a streaming karaoke application in which the application streams only the video portion of a music video and the sound stream is replaced by a voice capture stream. [Note: If the video format contains only one track for both audio and video, the application cannot choose to stream only the video portion of the track.] 22.14 Modify class MidiData(Fig. 22.7) to load all tracks of a MIDI file and revise class MidiDemo(Fig. 22.10) to enable the user to select the playback of each individual track displayed in a JList selector panel. Allow the user to replay the sequence forever. 22.15 Implement an MP3 player with a file list window using Vectors and a JList. 22.16 Modify class MidiRecord(Fig. 22.8) and class MidiDemo (Fig. 22.10) to allow the user to record MIDI to individual tracks stored in a Vector. Playback of the recorded MIDI should play all MIDI tracks simultaneously. 22.17 Currently the MidiDemo program (Section 22.7) records synthesized music with the first available instrument (i.e., Grand Piano). Modify class MidiDemoso that music will be recorded with a user-selected instrument, and allow the user to change the instrument during recording. Also allow the user to import their own sound banks. Make changes to classes MidiSynthesizer, MidiData and MidiRecord as needed. (Hint: The command parameter to change instrument is Short- Message.PROGRAM_CHANGE) 22.18 Modify the SimplePlayer demo (Fig. 22.1) to support multiple media players. Present each media clip in its own JInternalFrame. The program needs to create separate Players for each media clip and should register a ControllerListener for each player. Controller- Eventmethod getSourceControlleris available to obtain the controller generating the ControllerEvent. Implement the program using a dynamic data structure such as a Vector to store the multiple Players. 22.19 Modify your solution to Exercise 3.7 to save both media streams to one file and play the combined stream. Use Managermethod createMergingDataSource, which receives an array of DataSource objects, to save both the capture stream and the music stream into one stream, whose content-type will be MIXED. The program should obtain the output DataSources from the Processors as the DataSource objects to be merged. The program must also obtain a duplicate DataSource (of the merged DataSource) for creating the Player for that DataSource. To do this, use Manager method createCloneableDataSource to create a Cloneable DataSource with the merged DataSource as the argument. Duplicate the DataSourcefor the player by invoking method createClone of interface Cloneable on the DataSource (similar to obtaining the FormatControls of a CaptureDevice DataSource in the Capture- Player demo (Fig. 22.2) ). 22.20 A program can record MIDI without the use of transmitters and receivers by manually creating MidiMessages, placing them in MidiEvents, and adding these events to a track. In addition to the MidiMessage argument, a program must specify a time stamp to create the MidiEvent, expressed in ticks (i.e. milliseconds of long type), so the program must obtain the system s current time in milliseconds, which can be obtained from System method current- TimeMillis. Track method add is available to add events to a track. Create an acoustics table (e.g. drums, cymbals, etc.) where the user can selected a sequence of instruments to play. Allow the user to save the recorded MIDI sequence to a file. 22.21 Create a peer-to-peer teleconferencing kit that enables users to talk to and hear each other. To listen to each other, each user must open an RTP session for the capture stream. A program can open an RTP stream with a MediaLocator specifying the RTP session address. Then, the program
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.

Web site traffic - Chapter 22 Java Media Framework and Java Sound

Wednesday, October 17th, 2007

1340 Java Media Framework and Java Sound (on (Cool web site)

Wednesday, October 17th, 2007

Chapter 22 Java Media Framework and Java Sound (Yahoo free web hosting)

Tuesday, October 16th, 2007

Web hosting unlimited bandwidth - 1338 Java Media Framework and Java Sound (on

Tuesday, October 16th, 2007

Chapter 22 Java Media Framework and (Web design tools) Java Sound

Monday, October 15th, 2007

1336 Java Media Framework and Java Sound (on (Frontpage web hosting)

Monday, October 15th, 2007

Chapter 22 Java Media Framework and Java Sound (Web site templates)

Sunday, October 14th, 2007

Net web server - 1334 Java Media Framework and Java Sound (on

Sunday, October 14th, 2007

Chapter 22 (Web host music) Java Media Framework and Java Sound

Saturday, October 13th, 2007