Web hosting asp - Chapter 20 . Playing Music and Video 521

Chapter 20 . Playing Music and Video 521 Using MIDI Audio Players MIDI (Musical Instrument Digital Interface) files are created from synthesizers and other electronic music devices. They tend to be smaller than other kinds of audio files because instead of storing the complete sounds, they contain information about the notes played, tempo and articulation. You can think of a MIDI file as electronic sheet music. The MIDI player reproduces the notes to sound like a huge variety of MIDI instruments. There are lots of sites on the Internet for downloading MIDI files. Try the Ifni MIDI Music site (www.ifni.com), for example, which contains songs by the Beatles, Led Zeppelin, Nirvana, and others organized by album. Most of the MIDI music is pretty simple, but you can have some fun playing with it. Linux distributions that include the KDE desktop (such as Fedora Core) often come with the kmid MIDI player. Kmid provides a GUI interface for midi music, including the capability to display karaoke lyrics in real time. To start kmid in Fedora, select Sound & Video.KMid (or type kmid & from a Terminal window). Performing Audio File Conversion and Compression There are many different formats for storing and compressing speech and music files. Because music files can be large, they are usually stored in a compressed format. While MP3 has been the compression format of choice, Ogg Vorbis is quickly becoming a favorite for compressing music in the open source community. Ogg Vorbis has the added benefit of not being encumbered by patents as MP3 is. Tools that come with Fedora Core for converting and compressing audio files include: . sox (SoX) A general-purpose tool for converting audio files among a variety of formats. . oggenc A tool for specifically converting music files to Ogg Vorbis format. Converting Audio Files with SoX If you have a sound file in one format, but you want it to be in another format, Linux offers some conversion tools. The SoX utility can translate to and from any of the audio formats listed in Table 20-1. Type sox -h to see the supported audio types, as well as supported options and effects. Tip
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision best web hosting services

Leave a Reply