Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 10 of 10

Thread: Global Mute?

  1. #1
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Grin Global Mute?

    I'm working on a project on which I would like to include optional narration for various screens. I know I can provide a mute switch on a per-screen basis, but is there a way to provide a global sound toggle switch, so that a user would only need to switch it once? I'm willing to program some workarounds if anyone has a suggestion.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  2. #2
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959

    Re: Global Mute?

    Could you set a variable, or Registry value that would let you know if the MUTE is on/off? Then in the On Initialize check the value and set the mute accordingly.

  3. #3
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Re: Global Mute?

    Worm, do you have any sample code that would illustrate your suggestion? I'm a bit meager on the registry/programming side of things. Sounds workable, though.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  4. #4
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959

    Re: Global Mute?

    I'm sure I could throw something together. What sound file are you using for the naration? WAV?

  5. #5
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: Global Mute?

    I tried using a reg monitor to compare my registry before and after muting the volume but there was no change. So my sound card apparently doesn't store it's "global mute" setting value in the registry...

    Corey Milner
    Creative Director, Indigo Rose Software

  6. #6
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959

    Re: Global Mute?

    Maybe I didn't understand exactly what you're wanting to do Eric, can you give me a better idea of what you're doing...

    Sorry..

  7. #7
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Re: Global Mute?

    OK... I've got screens with text windows on them. I'd like to be able to have voiceover narration reading the text (which, of course, differs from page to page). I can have them play when the page initializes, and I can have them mute when the user clicks a 'mute' button. But, when the page changes, how can I have AMS "remember" the mute setting so that the default play action does not occur?

    Is there something we can do with On Initialize?

    Basically, I'm looking for a way to have voiceover tracks be optional across an entire project.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  8. #8
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959

    Re: Global Mute?

    On the first page's On Initialize set a variable named
    %Mute% = 0

    When the user clicks the Mute object, set the variable:
    %Mute% = 1

    When you switch pages, where you start the next narration, do this:

    If (%Mute%=0)
    // Play your narration
    End If


  9. #9
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: Global Mute?

    Yes that's a very sound strategy.

    Corey Milner
    Creative Director, Indigo Rose Software

  10. #10
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Re: Global Mute?

    Thank you, Worm. (Always wanted to say that) [img]/ubbthreads/images/icons/laugh.gif[/img]
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts