Announcement

Collapse
No announcement yet.

Different mp3 Volumes on one event?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Different mp3 Volumes on one event?

    by starting first page i have a background musik "on show".

    I want to reduce the Musik volume if i go to a mouseover event. The mouseover layer has a mouseover Voicesound that declaires the Feature behind. At this moment the Music has to reduce the Volume. The mouseout event should switched back the Music volume to the "old" level...
    I tryed that with a "louder" wave for Voicesound that "overdub" the Musiklevel at the Mouseover event... But when a User first listend to the music and turns it to a comfortable Level...he gets a hart attack at the mouseover event [img]/ubbthreads/images/icons/blush.gif[/img])

    Any ideas?

  • #2
    Re: Different mp3 Volumes on one event?

    You might want to do a search for Worms fcSound.dll, it might be what you are looking for. It can be used to set sound for the sysem sounds. I don't remember, but you might be able to increase the wav sound and reduce the audio sound.

    On the other hand, have you thought about removing the sounds from the Sounds tab and use actions to pause your mp3 then play the wave and then resume playing your mp3.

    Something like this on your mouse over event for the button

    MP3.Pause
    WAV.Play ("%SrcDir%\MyMP3\MyFile.WAV")
    MP3.Play

    Would that work for you? I don't know if the MP3.Play action will wait for the WAV.Play action to finish before it fires or not. If not, you may need to add an Application.Sleep for the duration of the wav sound for it to work properly.
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

    Comment


    • #3
      Re: Different mp3 Volumes on one event?

      Yes TJ...
      i have thought about the "pause option" thanks for the tip [img]/ubbthreads/images/icons/smile.gif[/img]
      But this option should be the last option.
      I know Worms fcsound.dll but i can´t see the possibility to in-and decrease Volumes at the same time. Maybe its a voyage to Worm to enhance his dll in the future... [img]/ubbthreads/images/icons/smile.gif[/img]

      But thank you for attention!

      Comment


      • #4
        Re: Different mp3 Volumes on one event?

        The DLL wouldn't do you much good. The MP3 will more than likely be linked to the Wave Volume Control. So when you try to take the volume down on the MP3, you'd also be doing the same for your Voice Over.

        Sorry... not sure how to get around that one.

        Comment


        • #5
          Re: Different mp3 Volumes on one event?

          Hi Worm

          at first... thank you for your fcsound.dll at all and the options we have with!!!!
          Theres no need for "Sorry..."

          Thank you for attention.

          Comment


          • #6
            Re: Different mp3 Volumes on one event?

            I think you should use flash for that. Either do it all in Flash or use 2 flash objects, one with the music and the other with the VO. You can then chang the sound volume method of each sound and thus, make a cross fade of the sounds.

            Yossi

            Comment

            Working...
            X