4 Replies Latest reply on May 30, 2007 6:23 AM by James Newton, ACP

    Sound beep behavior

    balboas
      I tried to use the sound beep behaviour with the buttons but it doesn’t work. What should I write:
      on mouseUp me
      Channel 2
      End mouse up
        • 1. Re: Sound beep behavior
          Level 7
          on mouseup me
          beep
          end
          • 2. Re: Sound beep behavior
            balboas Level 1
            Well, I did it, but it doesn’t work. I hear no sound! Has Director a specific sound or should I use my own sound? If so, shall I put the sound in one of the two channels or shall I use it as a normal sprite?
            Thanks
            • 3. Re: Sound beep behavior
              BigJake
              If you're using MS Windows, the sound will be the system's "default beep". Go to control panel -> sounds & audio devices to see what your system sounds are in Windows. Not sure on a Mac.
              • 4. Re: Sound beep behavior
                James Newton, ACP Level 3
                You can create your own "beep" sound:

                1) Attach a microphone to your computer, if it does not have one built in, and checking that it is working
                2) In Director, select the menu item Insert | Media Element | Sound
                3) Use the recording controls to record your sound
                4) Click on Save
                5) Name the newly created sound member "My Beep" (or something more imaginative)
                6) Use the following behavior:

                on mouseUp
                puppetSound 1, member "My Beep"
                end

                There are also a series of Sound commands that you can use. Look them up in the on-line help. You can also import sounds in most standard formats into your Director cast lib, and use the various sound commands to play them back.