Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Best way to start one sound, again and again?

Best way to start one sound, again and again?

Scheduled Pinned Locked Moved Help and Support
4 Posts 2 Posters 309 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Deeeds
    wrote on last edited by
    #1

    Imagine a scenario where a sound needs to be played very frequently, but polyphony isn't desirable or necessary.

    In other words, I don't mind if each play of the sound kills the last playing version of the sound.

    In fact, that's what I want.

    Can I do this? How?

    Aidan_FireA 1 Reply Last reply
    0
    • D Deeeds

      Imagine a scenario where a sound needs to be played very frequently, but polyphony isn't desirable or necessary.

      In other words, I don't mind if each play of the sound kills the last playing version of the sound.

      In fact, that's what I want.

      Can I do this? How?

      Aidan_FireA Offline
      Aidan_FireA Offline
      Aidan_Fire
      wrote on last edited by
      #2

      @Deeeds Put the sound under a timer. Every time the sound plays again, the previous will stop. To make sounds stack, it has to be a separate play sound behaviour (easily done using spawn object).

      D 1 Reply Last reply
      0
      • Aidan_FireA Aidan_Fire

        @Deeeds Put the sound under a timer. Every time the sound plays again, the previous will stop. To make sounds stack, it has to be a separate play sound behaviour (easily done using spawn object).

        D Offline
        D Offline
        Deeeds
        wrote on last edited by
        #3

        @Aidan-Oxley The sounds are playing as a result of a game incident. So a timer will only get in the way. They must play the moment the player interacts with the element, but they often roll over many of them, in rapid succession.

        Aidan_FireA 1 Reply Last reply
        0
        • D Deeeds

          @Aidan-Oxley The sounds are playing as a result of a game incident. So a timer will only get in the way. They must play the moment the player interacts with the element, but they often roll over many of them, in rapid succession.

          Aidan_FireA Offline
          Aidan_FireA Offline
          Aidan_Fire
          wrote on last edited by
          #4

          @Deeeds Ok, have just 1 of the Play Sound behaviour (turned off) in any object in your scene that you know will never get destroyed or disabled. Whenever the player interacts with that element, use Behaviour On with the Play Sound behaviour selected.

          1 Reply Last reply
          1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Search