correctly.
If the server does not correctly indicate the type of data it sends, the server administrator should add the relevant information correctly, and the method of operation is very simple and quick.
Each MIME type consists of two parts, preceded by a large category of data, such as audio audio, image image, and so on, followed by a specific category.
Common MIME Types
Hypertext Markup Language text. html,.html text/html
Plain text. txt Text/plain
RTF text. rtf Application/rtf
the device is not much. Printers and scanners that use LPT interfaces are rarely available, mostly for printers and scanners that use USB interfaces.
MIDI interface: The MIDI interface of the sound card and the joystick interface are shared. The two pins in the interface are used to send MIDI signals and can be connected to a variety of
Midi Music files Mid,.midi Audio/midi,audio/x-midi
RealAudio music files. RA,. Ram Audio/x-pn-realaudio
MPEG files. Mpg,.mpeg video/mpeg
AVI file. avi Video/x-msvideo
gzip file. GZ application/x-gzip
Tar file. Tar Application/x-tar
Arbitrary binary Data Application/octet-stream
The Internet has a special organization
are similar. But there are subtle differences. such as SE does not support full-screen. So the Screensizechanged method is invalid.5. Talk about sound playback. NOkia S40 I firmly do not use the voice, one is the capacity limit, the second is too harsh. Other models can support MIDI and WAV. But no one can play 2 MIDI models at the same time, Moto V and SE can play mid
21. Sound
1, can play the sound of the browser (audio-enabled Browsers)
Q: What can a browser do to play a sound script.
A: If the technology described in sound playback can work in Miscrosoft Internet Explorer 4.0 and its newer version, then you can also work in Netscape Navigator 3.0 and its newer version. To play a sound in Internet Explorer, testing is sufficient in 4.0 and later versions. And then in Netscape Navigator, you have to make sure that the following: Browser version is 3.0 or ne
. Au audio/basic midi music file Mid,.midi Audio/midi,audio/x-mi Di RealAudio music files. RA,. Ram audio/x-pn-realaudio MPEG file. mpg,.mpeg video/mpeg avi file. avi Video/x-ms Video gzip file. gz application/x-gzip Tar file. Tar application/x-tar) 2. If the previous step does not solve the problem, you can set up a visit to the site's home directory Ask
Src= "Your.mid"
Set MIDI files and paths that can be relative or absolute.
Autostart=true
Whether it will play automatically after the music file has been downloaded. True is, False no (default).
Loop=infinite
Whether to play it again and again automatically. loop=2 says repeat two times, infinite means repeat several times.
Src= "Your.mid"
Set MIDI files and paths that can be relative or absolute.
Auto
Media
Multimedia To understand this "HTML thorough analysis" of the mark classification, please see " Mark List ".Please also understand the distinction between containment and empty tags, see "HTML concept ."
src= "Your.mid" autostart=true loop=infinite>
src= "Your.mid"Set MIDI files and paths that can be relative or absolute.
autostart=trueWhether it will play automatically after t
Nokia's phone does not seem to support sound playback very well.Based on my experience of doing J2ME, this paper summarizes the methods of sound playback for Nokia's three models.
1. Nokia S40 (7210,3300) and S60 (3650,7650)/*These four models do not support MIDP2.0 media.I only for the model I have done, the other models did not use the real machine test,Do not know whether to support media in MIDP2.0*/
Import com.nokia.mid.sound.*;
public class MyClass extends Canvas{......Private sound ksound
length and muteThe size of the file is the same2.2 Lossless compression (Ape,la,flac,apple lossless,wma Lossless)Reduce file size without loss of quality. As far as audio files are concerned, they can be pressed to the 50%~60% of the original file.2.3 lossy compression (MPEG audio, Vorbis, WMA,ADX)The quality is lost to a certain extent, but the size of the file is greatly reduced. As far as audio is concerned, it can be pressed to 5%~20%.MIDI Audio
Music format OverviewClassic WaveAs the most classic windows multimedia audio format, the wave file is widely used. It uses three parameters to represent the sound: the number of sampling digits, the sampling frequency, and the number of audio channels.Channels are classified into single-channel and stereo sound. Generally, the sampling frequency is 11025Hz (11 kHz), 22050Hz (22 kHz), and 44100Hz (44 kHz. Capacity occupied by the wave file = (sampling frequency × number of sampling digits × chan
My goal is to simulate a variety of musical instruments on the computer and use the speaker to play the sound of the Instrument in a realistic manner. Everything starts hard. The first step is to let the computer play a simple syllable, which is the same as helloworld when learning C language.
(1) first download the rtmidi library, which is an open source audio and audio library. Rtmidi isA set of C ++ classes (rtmidiin, rtmidiout andAPI-specific classes) that provides a common API (Application
*. CHM
Microsoft Windows Hilfe dateien
Application/mspowerpoint
*. Ppt *. PPZ *. PPS *. Pot
Microsoft PowerPoint dateien
Application/MSWord
*. Doc *. Dot
Microsoft Word dateien
Application/octet-stream
*. Exe
EXE
Application/PDF
*. PDF
Adobe PDF-dateien
Application/post ******
*. Ai *. EPS *. Ps
Adobe post ******-dateien
Application/RTF
*. Rtf
Microsoft RTF-dateien
be executed. MIDI sets the value 60 to C.
TryPlay 60ChangePley 60Check for any errors.
Enter the following code:
play 60play 67play 69
Click the play button once.
These notes are executed so quickly that they sound as if they were simultaneously voiced. Use sleep to add pause between notes:
play 60sleep 1play 67sleep 2play 69
3. A tune: Frere Jacques (A Song: jaces)
The start of this song is:
C d e c or a 60 62 64 60 Note in
this objective:
For our goal, we only need one piece of music, no cycle, and no accompaniment or anything. Therefore, click the accompaniment style and cancel "style is enabled ", set the music length to 1 and the number of cycles to 1. deselect the cycle check box and adjust the rhythm as needed. It seems that I set it to 300.
Set the cycle from edit-> set time signature. Set the cycle to 1/4.
Click the note button to edit the current section (in fact, it is also the only one). The interface
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.