X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,faf6e26124687dbc X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2001-12-24 05:50:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!sjc1.nntp.concentric.net!newsfeed.concentric.net!global-news-master From: mikechat.remove@bluedwarf.spam.net (MJP) Newsgroups: alt.ascii-art Subject: Re: JMOV Ascii Animation with sound support Date: 24 Dec 2001 13:50:32 GMT Organization: Concentric Internet Services Lines: 67 Message-ID: <3c272845.1003041@news.concentric.net> References: <3C263DC4.BBCE0C46@rz.uni-karlsruhe.de> <3c26a3db.7522384@news.concentric.net> <3C26FFE3.8D7E8BF5@rz.uni-karlsruhe.de> NNTP-Posting-Host: 64.220.177.92 X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com alt.ascii-art:12733 On Mon, 24 Dec 2001 11:13:55 +0100, Markus Gebhard wrote: 8< > >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. I'll check it out, I did see the HTML codes, and after I posted before I did open the zip and deduce the # was the trigger >You can download the player form: > http://www.jave.de/player/javeplayer12.zip I did the same as Phydeaux and grabbed it already, but its good to have it there in the zipped file to make it easier to find. >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. > Thank you, I look forward to the next editor having the support in it so that it will be easier to specify where the event should be. Multiple Event, Multiple sound will be great #:sound1.au #:sound2.au if .mid and .au use different sound engines( I think they do) you might even get midi as a background (loop or start type control) and have .au events (mutiple sounds supported) it would be nice if you didnt have to declare the sounds in the html, but that isnt too hard so if you have to then thats ok. Anyway Merry Christmas to those that celebrate Happy Monday to the rest ;)