X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,faf6e26124687dbc X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2001-12-24 02:13:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feed.news.nacamar.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail From: Markus Gebhard Newsgroups: alt.ascii-art Subject: Re: JMOV Ascii Animation with sound support Date: Mon, 24 Dec 2001 11:13:55 +0100 Organization: University of Karlsruhe, Germany Lines: 73 Message-ID: <3C26FFE3.8D7E8BF5@rz.uni-karlsruhe.de> References: <3C263DC4.BBCE0C46@rz.uni-karlsruhe.de> <3c26a3db.7522384@news.concentric.net> NNTP-Posting-Host: wn4-jarjar.wn4.uni-karlsruhe.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.rz.uni-karlsruhe.de 1009188783 25785 172.20.12.141 X-Complaints-To: usenet@rz.uni-karlsruhe.de X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en Xref: archiver1.google.com alt.ascii-art:12716 MJP wrote: > > On Sun, 23 Dec 2001 21:25:40 +0100, Markus Gebhard wrote: > > >Hi, > > > >I finally found a few minutes time to add basic sound support to the > >JavE-Player Applet. There is a litte demo movie online where you can see > >two types of sound support: > > Cool demo ( here and on the demo page) I really like the event driven Idea > although I can see uses for each way. > One thing I didnt see was a link to Download the new player, or information > on adding in the event cue. I did DL the demo zip and will look in there > momentarily. > Will this run in the current editor? The current editor will strip the sound trigger (if there is any). Everything else is fine. The editor will be able to add/remove sound triggers in the next release of JavE. > Answers to these and more questions I am sure to have later may become apparent > shortly, but I do wish there was more Documentation. I do enjoy a puzzle once > in a while, but ............. Ok, you are right. I am not very strong at documentation. You have to look at the jmov specification at http://www.jave.de/player/jmov_specification.html to find out all about the new applet parameters SOUND and SOUNDSTART and about the new sound trigger event # in the jmov file. You can download the player form: http://www.jave.de/player/javeplayer12.zip And its source code: http://www.jave.de/player/javeplayer12src.zip Well, here is all (I think) you have to know about sound support: * The sound file must be in *.au format, recorded at 8 KHz, mono, in mu-law encoding. If your audio clip is in a different format (e.g., .wav) or a different frequency it must be converted to the exact specifications above before Java can play it. To convert files from different formats search your favorite for GoldWave for Windows, sox for Unix and similar conversion utilities for other systems. * To add the sound file to the applet add an applet parameter, for example: * To specify the way to play the audio file specify another applet parameter: Valid values are: "EVENT": To start the sound file event driven (at a certain frame - one or more) "ONCE": To start the sound file right when starting the animation "LOOP": The same as ONCE, but the sound file will be played looping endlessly. * For the event-driven sound playback you have to manually (at the moment) add a line containing only # in the jmov file right after the frame(s) where you want to play the sound file at. Example: J:A61 8 %0%10 /\%0%7 __/ \._%21 .%3-.%0%7 \ J:A61 8 %0%10 /\%22 .%3 .%0%7 __/ \._%20 .- . # J:A61 8 %0%10 /\%0%7 __/ \._%0%7 \ ,-,-.\ Playing the sound file will start when showing the second frame. Markus -- \-/ http://www.jave.de O_< Get JavE now! \-/ J|a|v|E /| J|a|v|E /-\ Ascii-Art for eyeryone / \ - for free! /-\