Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 24 Dec 2001.
Re: JMOV Ascii Animation with sound support

Re: JMOV Ascii Animation with sound support

MJP wrote:
> 
> On Sun, 23 Dec 2001 21:25:40 +0100, Markus Gebhard <ukg...@rz.uni-karlsruhe.de> 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:
    <PARAM NAME="SOUND" VALUE="waltz.au">
 * To specify the way to play the audio file specify another applet
parameter:
    <PARAM NAME="SOUNDSTART" VALUE="EVENT">
   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!     /-\

Original message headers
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 <ukg...@rz.uni-karlsruhe.de>
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: <3C2...@rz.uni-karlsruhe.de>
References: <3C2...@rz.uni-karlsruhe.de> <3c2...@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: use...@rz.uni-karlsruhe.de
X-Mailer: Mozilla 4.79 [en] (Win98; U)
X-Accept-Language: en
Xref: archiver1.google.com alt.ascii-art:12716
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2001 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post