# Posenet & P5js - classification of poses to trigger sounds

**URL:** <https://discourse.processing.org/t/posenet-p5js-classification-of-poses-to-trigger-sounds/21363>\
**Category:** Libraries\
**Created:** [May 28, 2020, 9:23am UTC](https://discourse.processing.org/t/posenet-p5js-classification-of-poses-to-trigger-sounds/21363 "2020-05-28T09:23:02Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Sven](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sven/32/8293_2.png) [@Sven](https://discourse.processing.org/u/Sven)\
**Post date:** [May 28, 2020, 6:37pm UTC](https://discourse.processing.org/t/posenet-p5js-classification-of-poses-to-trigger-sounds/21363/7 "2020-05-28T18:37:43Z")

</div>

Yeah, you should be okay then. Maybe it’s the dreaded the-user-must-interact-before-sound-can-be-played-feature causing trouble?

> [@Getting sounds to play in mobile?](https://discourse.processing.org/t/getting-sounds-to-play-in-mobile/20673/2):
>
> Some browsers, like Safari on iOS, won’t play audio unless the user interacts with the page first, like tapping a button. To successfully play audio in those browsers, you could add a “Press to play” button and start playing audio after the user tapped it.
> 
> From [Apple’s Safari HTML5 Audio and Video Guide](https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/PlayingandSynthesizingSounds/PlayingandSynthesizingSounds.html#//apple_ref/doc/uid/TP40009523-CH6-SW1):
> 
> > **Note:** On iOS, the Web Audio API requires sounds to be triggered from an explicit user action, such as a tap.

---

_[View the full topic](https://discourse.processing.org/t/posenet-p5js-classification-of-poses-to-trigger-sounds/21363)._
