JavaSoundDemo.zip

时间:2012-04-02 06:35:33
【文件属性】:

文件名称:JavaSoundDemo.zip

文件大小:855KB

文件格式:ZIP

更新时间:2012-04-02 06:35:33

JavaSoundDemo.zip

The classes for the Java Sound demo are contained in the JavaSoundDemo.jar file. Running the demo requires the Java 2 SDK, Standard Edition 1.3. To run the Java Sound demo : % java -jar JavaSoundDemo.jar Although it's not necessary to unpack the JavaSoundDemo.jar file to run the demo, you may want to extract its contents if you plan to modify any of the demo source code. To extract the contents of JavaSoundDemo.jar, run this command from the JavaSound directory : jar xvf JavaSoundDemo.jar This JavaSound demo consists of a set of demos housed in one GUI framework that uses a JTabbedPane. You can access different groups of demos by clicking the tabs at the top of the pane. There are demo groups for Juke Box, Capture & Playback, Midi Synthesizer and Rhythm Groove Box. Juke Box : A Juke Box for sampled (au, wav, aif) and midi (rmf, midi) sound files. Features duration progress, seek slider, pan and volume controls. Capture & Playback : A Capture/Playback sample. Record audio in different formats and then playback the recorded audio. The captured audio can be saved either as a WAVE, AU or AIFF. Or load an audio file for streaming playback. Midi Synthesizer : Illustrates general MIDI melody instruments and MIDI controllers. A piano keyboard represents notes on and off. Features capture and playback of note on and off events. Rhythm Groove Box : Illustrates how to build a track of short events. Features a tempo dial to increase or descrease the beats per minute. You can run anyone of the samples in stand-alone mode by issuing a commands like this from the JavaSound directory: java -cp JavaSoundDemo.jar Juke java -cp JavaSoundDemo.jar CapturePlayback java -cp JavaSoundDemo.jar MidiSynth java -cp JavaSoundDemo.jar Groove When running the Java Sound demo as an applet these permissions are necessary in order to load/save files and record audio : grant { permission java.io.FilePermission "<>", "read, write"; permission javax.sound.sampled.AudioPermission "record"; permission java.util.PropertyPermission "user.dir", "read"; }; The permissions need to be added to the .java.policy file. ====================================================================== You may send comments via the javasound-comments@sun.com alias, which is a one-way alias to Sun's Java Sound API developers, or via the javasound-interest@sun.com alias, which is a public discussion list.


【文件预览】:
JavaSoundDemo
----README.txt(2KB)
----JavaSoundDemo.html(241B)
----src()
--------CapturePlayback.java(33KB)
--------Groove.java(15KB)
--------ControlContext.java(2KB)
--------MidiSynth.java(29KB)
--------JavaSound.java(7KB)
--------Juke.java(36KB)
--------TempoDial.java(7KB)
--------JavaSoundApplet.java(2KB)
----JavaSoundDemo.jar(79KB)
----audio()
--------22-new.aif(420KB)
--------1-welcome.wav(298KB)
--------trippygaia1.mid(18KB)
--------sfx-medley.rmf(8KB)
--------destMouse_Peru.AIF(162KB)
--------spacemusic.au(47KB)
----JavaSoundDemoPlugin.html(970B)

网友评论

  • 使用参考价值不错~
  • 不是想要的包,不过收藏了.
  • ava自带demo,使用参考价值不错~
  • 资源不错,值得学习!
  • 资源很好,值得学习!
  • 原来是java自带,一运行我瞬间凝固,这个界面跟这功能结合得太强大了
  • java自带demo,使用参考价值不错~