omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Pause or stop a sound?

    Pythonista
    3
    7
    3856
    Loading More Posts
    • 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.
    • Sebastian
      Sebastian last edited by

      Is it possible to pause and/or stop a sound when using the play_effect()?

      1 Reply Last reply Reply Quote 0
      • omz
        omz last edited by

        No, that's not possible, you could use set_volume(0.0) to mute it though.

        1 Reply Last reply Reply Quote 0
        • Sebastian
          Sebastian last edited by

          But that would mute all sounds, right? And there is no way to mute a specific sound that is playing?
          Thanks for the quick reply though :)

          1 Reply Last reply Reply Quote 0
          • omz
            omz last edited by

            Yes, wasn't sure what exactly you wanted to achieve, pausing/muting specific playing sounds isn't possible right now.

            1 Reply Last reply Reply Quote 0
            • omz
              omz last edited by

              Hadn't heard of it before. Haven't looked into it in much detail, but those things tend to be non-trivial to port. However, it doesn't really matter because the license (GPL) is a non-starter for a commercial iOS app...

              1 Reply Last reply Reply Quote 0
              • Confusione128
                Confusione128 last edited by

                Ok, but an audio library is needed like the image library

                1 Reply Last reply Reply Quote 0
                • Confusione128
                  Confusione128 last edited by

                  What about this one http://nsound.sourceforge.net/ ??

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB Forums | Contributors