Is there a way to stop a looping sound (Wishlist)

Is there a way to stop a looping sound // Wishlist

1  |  

just in

Dec 13, 1998, 5:42am
I have instances where either BUMP or ACTIVATE is used with SOUND. Does
anyone know how to stop the SOUND without interposing a BUMP or ACTIVATE
SOUND SILENCE.WAV, or leaving the area of the sound???

(Example: Click ON button on computer and humming sound starts, then click
OFF button and sound should then stop. Also... water tap ON/OFF. Window OPEN
you hear the birds outside, close and it should stop. Problem is, what do
you do when the person wants to stand there and click On, OFF, ON, OFF, ON,
OFF forever?)

andras sarkozy

Dec 13, 1998, 5:52am
Try to use NOISE rather SOUND. That will be a one time event.

[View Quote] > I have instances where either BUMP or ACTIVATE is used with SOUND. Does
> anyone know how to stop the SOUND without interposing a BUMP or ACTIVATE
> SOUND SILENCE.WAV, or leaving the area of the sound???
>
> (Example: Click ON button on computer and humming sound starts, then click
> OFF button and sound should then stop. Also... water tap ON/OFF. Window OPEN
> you hear the birds outside, close and it should stop. Problem is, what do
> you do when the person wants to stand there and click On, OFF, ON, OFF, ON,
> OFF forever?)

just in

Dec 14, 1998, 10:03am
On Sun, 13 Dec 1998 08:52:32 +0100, Andras Sarkozy
[View Quote] I want the sound continue until a trigger event occurs such as BUMP or
ACTIVATE.

>Try to use NOISE rather SOUND. That will be a one time event.
>
Thanks for the response but I already knew about the NOISE action. It
doesn't solve the problem.

fluxen

Dec 14, 1998, 5:25pm
Cause AW to crash. Shouldn't be too hard.

--

[ Fluxen Dean-Christian Strik ]
[ ICQ: 11760568 ISG RhinoSoft ]
[ fluxen at bigfoot.com dean2 at bigfoot.com ]

The nice thing of standards is that there are so many to choose from.
-- Andrew S. Tanenbaum

[View Quote]

andras sarkozy

Dec 14, 1998, 8:08pm
you are VERY funny :( - come up with some REAL idea


[View Quote] > Cause AW to crash. Shouldn't be too hard.
>
> --
>
> [ Fluxen Dean-Christian Strik ]
> [ ICQ: 11760568 ISG RhinoSoft ]
> [ fluxen at bigfoot.com dean2 at bigfoot.com ]
>
> The nice thing of standards is that there are so many to choose from.
> -- Andrew S. Tanenbaum
>
[View Quote]

andras sarkozy

Dec 14, 1998, 8:09pm
I'm not really familiar with the actions, but the "astart" and "astop" should do it for you.


[View Quote] > On Sun, 13 Dec 1998 08:52:32 +0100, Andras Sarkozy
[View Quote]

mgib

Dec 15, 1998, 4:52am
Well it's as "real" as the astart/ astop answer...and as you said, at least
it's funny.:)

[View Quote] > you are VERY funny :( - come up with some REAL idea
>
[View Quote]

fluxen

Dec 15, 1998, 6:35am
Is there something wrong with your reply or is it my reader (OLX)? I see
your reply as a reply to a post by Just In, not to my post.

--

[ Fluxen Dean-Christian Strik ]
[ ICQ: 11760568 ISG RhinoSoft ]
[ fluxen at bigfoot.com dean2 at bigfoot.com ]

The nice thing of standards is that there are so many to choose from.
-- Andrew S. Tanenbaum

[View Quote]

fluxen

Dec 15, 1998, 6:36am
Too bad.... :( .... It's the most real answer there is.... :( :)

--

[ Fluxen Dean-Christian Strik ]
[ ICQ: 11760568 ISG RhinoSoft ]
[ fluxen at bigfoot.com dean2 at bigfoot.com ]

The nice thing of standards is that there are so many to choose from.
-- Andrew S. Tanenbaum

[View Quote]

rolu

Dec 15, 1998, 9:12am
Make an object with "bump sound silence.mid" when you have a midi playing
and want it to stop. I thought there was a silence.wav, too, so "bump noise
silence.wav" would end the playing of a wave file.

[View Quote]

rolu

Dec 15, 1998, 9:13am
Probably not :-), astart and astop only work for animations.

[View Quote]

just in

Dec 15, 1998, 4:20pm
Rolu - reread my first post - it says "without interposing a
silence.wav". When you interpose the silence wav there is no way to
reactivate the original wav on a continuous basis.

I repeat - I want a solution that will result in,....
Click On... sound plays on looping
Click Off... sound ceases
Click On Again... it plays again looping
Click Off Again... it ceases off
etc. etc. etc. 50 times on again, off again, etc etc

Can anyone from COF tell me if there is a correct command to do this?

On Tue, 15 Dec 1998 12:12:06 +0100, "Rolu" <Rolu99 at mediaport.org>
[View Quote] >Make an object with "bump sound silence.mid" when you have a midi playing
>and want it to stop. I thought there was a silence.wav, too, so "bump noise
>silence.wav" would end the playing of a wave file.
>
[View Quote]

dean

Dec 15, 1998, 4:52pm
Perhaps, you can use an interactive process between two objects that are
identical and occupy the same space. On the first object clicked could be a
command that will start the sound while making itself invisible and making the
other object visible at the same time.

I am not sure how it would be done, but you can contact King Tex for help. He
showed me how to make doors that will open and close, which is the first
animated building project I had ever done.

Well, I could at least try to explain my idea further.

OK, both objects will need to be named and referred to in the other object.
When the first object is clicked, it must "tell" the sound to start while also
"telling" the other object to become visible while it becomes invisible.
When the other object, which is now visible, gets clicked it tells itself to
become invisible and the first object to become visible again while also telling
the sound to stop.

One object should have the desired sound and the other object should have
silence.wav or astop, or whatever. Yes, I know you don't want to use
silence.wav, but it might work if done correctly.

Please contact King Tex. He can probably show you how to do something like
that.

[View Quote] > Rolu - reread my first post - it says "without interposing a
> silence.wav". When you interpose the silence wav there is no way to
> reactivate the original wav on a continuous basis.
>
> I repeat - I want a solution that will result in,....
> Click On... sound plays on looping
> Click Off... sound ceases
> Click On Again... it plays again looping
> Click Off Again... it ceases off
> etc. etc. etc. 50 times on again, off again, etc etc
>
> Can anyone from COF tell me if there is a correct command to do this?
>
> On Tue, 15 Dec 1998 12:12:06 +0100, "Rolu" <Rolu99 at mediaport.org>
[View Quote]

grover

Dec 15, 1998, 7:32pm
create name piece1, visible on, solid on; activate sound wav1.wav, visible off,
solid off, visible piece2 on, solid piece2 on

create name piece2, visible off, solid off; activate sound silence.wav, visible off,
solid off, visible piece1 on, solid piece1 on

I believe something like this will work, with the syntax corrected, of course :-)

[View Quote] > Perhaps, you can use an interactive process between two objects that are
> identical and occupy the same space. On the first object clicked could be a
> command that will start the sound while making itself invisible and making the
> other object visible at the same time.
>
> I am not sure how it would be done, but you can contact King Tex for help. He
> showed me how to make doors that will open and close, which is the first
> animated building project I had ever done.
>
> Well, I could at least try to explain my idea further.
>
> OK, both objects will need to be named and referred to in the other object.
> When the first object is clicked, it must "tell" the sound to start while also
> "telling" the other object to become visible while it becomes invisible.
> When the other object, which is now visible, gets clicked it tells itself to
> become invisible and the first object to become visible again while also telling
> the sound to stop.
>
> One object should have the desired sound and the other object should have
> silence.wav or astop, or whatever. Yes, I know you don't want to use
> silence.wav, but it might work if done correctly.
>
> Please contact King Tex. He can probably show you how to do something like
> that.
>
[View Quote]

mgib

Dec 15, 1998, 8:21pm
The question raised here isn't about making visible/invisible ON-OFF buttons though it's
a nice add-on, but about the alternative sequence of sound/no-sound as he reminded us
again.
It's in fact the problem of consecutive sequences of sound or noise commands as
silence.wav is a wav like another one.
I experienced the same problem having a back ground "create sound sound1.wav", an
activate for some "sound sound2.wav" , and an activate to restore the background sound1.

sound1 --> sound2 works. back to sound1 works, but then activating sound2 I can't hear
it again.

If I go away (no teleport) a bit under influence of other sounds and back, then I hear
sound2 with clicking on it, like if the activate has been memorized waiting for some
unblocking. But I can't go back to sound1. It seems there is a bug somewhere.


[View Quote] > create name piece1, visible on, solid on; activate sound wav1.wav, visible off,
> solid off, visible piece2 on, solid piece2 on
>
> create name piece2, visible off, solid off; activate sound silence.wav, visible off,
> solid off, visible piece1 on, solid piece1 on
>
> I believe something like this will work, with the syntax corrected, of course :-)
>
[View Quote]

tyrell - alpha prime

Dec 16, 1998, 5:08am
--------------D70BEC99FA29AC380B7925C0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

While you'r waiting for COF to reply in the News Group... you can try this...

I'v talked Robocop into setting a 'test site' up at the Official Teleport
Terminal:

http://www.worlds.net/cgi-bin/teleport?aw_8096N_.5W_0

You can check the 'test' out by turning around (once you'r there - Duh) (facing
south), walking up the stairs and a wee bit further you'l come to an elevator
(to your right) to the Observation Platform. Go up to the 'platform' and you'l
find 3 'pole2m02.rwx's' in front of you...

If you click on either of the outside poles the tune(s) will play... Click on
the middle pole and it will stop... (you can also toggle the tunes without using
the 'silence.mid' if you so desire (or at least 'I' can using RA... maybe with
the default Midi Player(s) you can just close them etc)). You can do this (50
times??? :-) ) till you get real sick of both tunes but it works every time...

There is *** 2 *** trade offs doing it this way however (isn't there always)...
The tunes don't actually play thru' the Alpha Browser... They play thru'
Netscape (or the silly IE add-on) which means that the tunes must DL first
(cache - they have to within Alpha Browser aswell but that usually happens in
the background and are ready to 'play' when clicked/bumped... doing it outside
Alpha means they don't DL until clicked... (obviosuly after the 1st time they'l
play again without a wait (assuming your cache is big enuf') as you'v already
got it/them)) then, for me, RA pops up (I have RA handle all music on my
system... if you'r still using the Netscape Midi player (or whatever IE uses)
then it will (likely) pop-up instead...

If you can live with a pop-up playing the tune for you then this will do what
you'r wanting (until such time as someone comes up with something else/better)

And the 2nd trade off is, if you 'right-click' on the poles, you'l see that the
command is:

activate URL www.dlcwest.com/~szabor/zzswtbuz.mid;create animate me stone 9 1 0
9

or

activate URL www.dlcwest.com/~rpatter/silence.mid;create animate me stone 9 1 0
9

As you'l be using a URL you must have the '.mid' somewhere that will
'activate'... Finding the 'tunes' likely isn't a problem... The 'silence.mid'
can be found here:

http://aw.mpl.net/aw/sounds/

Just download 'silence.zip', unZIP it, RENAME IT TO LOWER CASE, and FTP it to
you'r Server... (or you can use the address in the example... I'v put it in my
DIR for my own use quite awhile ago...)

Anyway... if you just have to do what you'v explained in your post then this is
'ONE' way... (not necessarily the best, but it will work...)

[View Quote] > Rolu - reread my first post - it says "without interposing a
> silence.wav". When you interpose the silence wav there is no way to
> reactivate the original wav on a continuous basis.
>
> I repeat - I want a solution that will result in,....
> Click On... sound plays on looping
> Click Off... sound ceases
> Click On Again... it plays again looping
> Click Off Again... it ceases off
> etc. etc. etc. 50 times on again, off again, etc etc
>
> Can anyone from COF tell me if there is a correct command to do this?
>
> On Tue, 15 Dec 1998 12:12:06 +0100, "Rolu" <Rolu99 at mediaport.org>
[View Quote] --
Tyrell - Alpha Prime - 21.8s 457e 90 - "Mundus vult decipi"
"No matter where you go...there you are."
http://www.dlcwest.com/~rpatter/index.html
ICQ UN - 272905
All those who believe in psychokinesis raise my hand.


--------------D70BEC99FA29AC380B7925C0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
While you'r waiting for COF to reply in the News Group... you can try this...
<p>I'v talked Robocop into setting a 'test site' up at the Official Teleport
Terminal:
<p><A HREF="http://www.worlds.net/cgi-bin/teleport?aw_8096N_.5W_0">http://www.worlds.net/cgi-bin/teleport?aw_8096N_.5W_0</A>
<p>You can check the 'test' out by turning around (once you'r there - Duh)
(facing south), walking up the stairs and a wee bit further you'l come
to an elevator (to your right) to the Observation Platform. Go up to the
'platform' and you'l find 3 'pole2m02.rwx's' in front of you...
<p>If you click on either of the outside poles the tune(s) will play...
Click on the middle pole and it will stop... (you can also toggle the tunes
without using the 'silence.mid' if you so desire (or at least 'I' can using
RA... maybe with the default Midi Player(s) you can just close them etc)).
You can do this (50 times??? :-) ) till you get real sick of both tunes
but it works every time...
<p>There is *** 2 *** trade offs doing it this way however (isn't there
always)... The tunes don't actually play thru' the Alpha Browser... They
play thru' Netscape (or the silly IE add-on) which means that the tunes
must DL first (cache - they have to within Alpha Browser aswell but that
usually happens in the background and are ready to 'play' when clicked/bumped...
doing it outside Alpha means they don't DL until clicked... (obviosuly
after the 1st time they'l play again without a wait (assuming your cache
is big enuf') as you'v already got it/them)) then, for me, RA pops up (I
have RA handle all music on my system... if you'r still using the Netscape
Midi player (or whatever IE uses) then it will (likely) pop-up instead...
<p>If you can live with a pop-up playing the tune for you then this will
do what you'r wanting (until such time as someone comes up with something
else/better)
<p>And the 2nd trade off is, if you 'right-click' on the poles, you'l see
that the command is:
<p>activate URL www.dlcwest.com/~szabor/zzswtbuz.mid;create animate me
stone 9 1 0 9
<p>or
<p>activate URL www.dlcwest.com/~rpatter/silence.mid;create animate me
stone 9 1 0 9
<p>As you'l be using a URL you must have the '.mid' somewhere that will
'activate'... Finding the 'tunes' likely isn't a problem... The 'silence.mid'
can be found here:
<p><A HREF="http://aw.mpl.net/aw/sounds/">http://aw.mpl.net/aw/sounds/</A>
<p>Just download 'silence.zip', unZIP it, <b><font color="#FF0000"><font size=+1>RENAME
IT TO LOWER CASE</font></font></b>, and FTP it to you'r Server... (or you
can use the address in the example... I'v put it in my DIR for my own use
quite awhile ago...)
<p>Anyway... if you just have to do what you'v explained in your post then
this is 'ONE' way... (not necessarily the best, but it will work...)
[View Quote] <p>--
<br>Tyrell - Alpha Prime - 21.8s 457e 90 - "Mundus vult decipi"
<br>"No matter where you go...there you are."
<br><A HREF="http://www.dlcwest.com/~rpatter/index.html">http://www.dlcwest.com/~rpatter/index.html</A>
<br>ICQ UN - 272905
<br>All those who believe in psychokinesis raise my hand.
<br>&nbsp;</html>

--------------D70BEC99FA29AC380B7925C0--

just in

Dec 19, 1998, 5:35am
Thanks Tyrell for the only workable solution!

The other catch is that the person must have there web browser open at
the time of when they click the activate button. It definately works
but not real practical for visiting tourists and a lot of explaination
signs around the place. The person is more likely to give up than
bother with it.

I've left the things they way I originally had them - that is made
some buttons holding the same position that disappear when clicked
with each activating alternating sound*.wav / silence.wav. Obviously
with building limits they get to do the "turn on / turn off" 2 or 3
times and then permanent silence when they run out of buttons.

If any wants they can visit my works at:

AW 500.0S 400.0W 0.1a 90

Arguably the best building work in AW :) T'gram if you know better or
equal so I can add it to my "best of the best" t'port station.

Regards, and thanks all that contributed to this sting...

Just In

tyrell - alpha prime

Dec 19, 1998, 8:33pm
--------------EC64943BA1FA73D6FDDB7746
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Ya... it wasn't pretty... but our choices are rather limited to... NONE...
:-)

It seems to me that all that's need is a line or two of code stating that
'silence.mid' would tune the tune off for good and a 2nd file 'stfu.mid'
(meaning shut the 'file' up... (what were you thinking it meant... :-) ))
to turn a tune off BUT with the option of being restarted again... Problem
solved...

[View Quote] > Thanks Tyrell for the only workable solution!
>
> The other catch is that the person must have there web browser open at
> the time of when they click the activate button. It definately works
> but not real practical for visiting tourists and a lot of explaination
> signs around the place. The person is more likely to give up than
> bother with it.
>
> I've left the things they way I originally had them - that is made
> some buttons holding the same position that disappear when clicked
> with each activating alternating sound*.wav / silence.wav. Obviously
> with building limits they get to do the "turn on / turn off" 2 or 3
> times and then permanent silence when they run out of buttons.
>
> If any wants they can visit my works at:
>
> AW 500.0S 400.0W 0.1a 90
>
> Arguably the best building work in AW :) T'gram if you know better or
> equal so I can add it to my "best of the best" t'port station.
>
> Regards, and thanks all that contributed to this sting...
>
> Just In

--
Tyrell - Alpha Prime - 21.8s 457e 90 - "Mundus vult decipi"
"No matter where you go...there you are."
http://www.dlcwest.com/~rpatter/index.html
ICQ UN - 272905
All those who believe in psychokinesis raise my hand.


--------------EC64943BA1FA73D6FDDB7746
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Ya... it wasn't pretty... but our choices are rather limited to... NONE...
:-)
<p>It seems to me that all that's need is a line or two of code stating
that '<b>silence.mid</b>' would tune the tune off for good and a 2nd file
'<b>stfu.mid</b>' (meaning <b><i>shut the 'file' up</i></b>... (what were
you thinking it meant... :-) )) to turn a tune off BUT with the option
of being restarted again... Problem solved...
[View Quote] <p>--
<br>Tyrell - Alpha Prime - 21.8s 457e 90 - "Mundus vult decipi"
<br>"No matter where you go...there you are."
<br><A HREF="http://www.dlcwest.com/~rpatter/index.html">http://www.dlcwest.com/~rpatter/index.html</A>
<br>ICQ UN - 272905
<br>All those who believe in psychokinesis raise my hand.
<br>&nbsp;</html>

--------------EC64943BA1FA73D6FDDB7746--

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2022. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn