Forum Archive

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

shyamal
sound.play_effect('casino:DiceThrow2')

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

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.

ccc

sound.set_honors_silent_switch(False) ?