Home   Help Search Login Register  

Author Topic: How to stop music or sound playing?  (Read 2062 times)

0 Members and 1 Guest are viewing this topic.

PJK

  • Guest
How to stop music or sound playing?
« on: 24 Sep 2003, 12:57:22 »
Hello,
I have used actions to create my own casette recorder in car, so player can "play casettes" in car's casette recorder. It is only simple "Skoda Say Music" -command.

But, how can I stop it playing? Is there command oppsite to "Skoda Say Music" -command?

Now, when I choose to change casette and play another music file via "Say" -command, both files appear to play same time and you quess the rest... I would like to add script which same time stop that previous file playing and start new file.

Answers will be appreciated; and I'm sorry if this is something really simple. I just can't figure it out,

PJK
   

Knut Erik

  • Guest
Re:How to stop music or sound playing?
« Reply #1 on: 24 Sep 2003, 15:40:05 »
Try:
0 fadeSound 0

This will stop the sound I think...
If it is Music:
0 fadeMusic 0
 8)

PJK

  • Guest
Re:How to stop music or sound playing?
« Reply #2 on: 25 Sep 2003, 00:06:54 »
Thank you for the answer, Knut Erik,
but I have tried that option already and the result is, that all sounds fade to 0, when only certain sound file should fade out. If I use music instead of sound, this would work, but I want to use sound to create "local effect" with "Say" command...

I must continue searching, testing and wait your suggestions,

PJK

sgt-franko

  • Guest
Re:How to stop music or sound playing?
« Reply #3 on: 25 Sep 2003, 02:17:18 »
i got around this by creating the ogg file after first making a manual fadeout in the original audio in cooledit.
maybe this is the effect you want maybe not..
worked for me..


PJK

  • Guest
Re:How to stop music or sound playing?
« Reply #4 on: 25 Sep 2003, 11:29:12 »
I think this is not what I'm looking for, sgt-franko. I need something to stop the music or/and sound playing right when I want, so it would need certain command/script to do this.  You know, I have "Change Casette" command in action menu. By pressing "Change Casette", previous music ends and new one can be heard...

But thanks anyway,

PJK

Offline Hawkins

  • Former Staff
  • ****
  • Team 2-2
Re:How to stop music or sound playing?
« Reply #5 on: 26 Sep 2003, 08:28:56 »
http://ofptf.ofprc.net/CinemaTF.php

That's a series of videos MI_Fred made. There at the pilot we used something similiar to your casette player. ;) Fred made the music stop when the car's engine was off and start when it's on. You can download those cinematics and DePBO them to see how he did it. I don't think he will mind but it's always good to ask. ;) He's on these forums too and I'd be surprised if he didn't show up in this thread soon either. ;D

Hawkins

PJK

  • Guest
Re:How to stop music or sound playing?
« Reply #6 on: 27 Sep 2003, 17:31:37 »
Thank you for the link, Hawkins (Kiitoksi vaan kauhian pal! ;)

I will (naturally) ask permission from MI_Fred... Maybe I finally have the Grail here.

PJK