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.


    Do not get output when using the sound module with play_effect function. What to do?

    Pythonista
    3
    3
    2056
    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.
    • shyamal
      shyamal last edited by

      sound.play_effect('casino:DiceThrow2')
      

      I don't get any sound output when I run this command.

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

        Do make sure that your device is not muted, and volume is turned up.
        There are two ways to mute -- one by turning volume all the way down, and the other by switching the hardware switch (or, if you have the hardware switch set to lock rotation, you drag up from bottom, and make sure the speaker mute icon is not selected). I think this might technically be called the "Ring/Silent" switch

        IIRC, even if the volume is turned up, pythonista won't play sounds if the switch is set to mute sounds.

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

          sound.set_honors_silent_switch(False) ?

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