# p5.AudioIn() not working in fullscreen

**URL:** <https://discourse.processing.org/t/p5-audioin-not-working-in-fullscreen/45474>\
**Category:** Libraries\
**Created:** [December 17, 2024, 9:47pm UTC](https://discourse.processing.org/t/p5-audioin-not-working-in-fullscreen/45474 "2024-12-17T21:47:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lizzy](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lizzy/32/2064_2.png) [@lizzy](https://discourse.processing.org/u/lizzy)\
**Post date:** [December 17, 2024, 9:47pm UTC](https://discourse.processing.org/t/p5-audioin-not-working-in-fullscreen/45474/1 "2024-12-17T21:47:47Z")

</div>

Hi Forum,

I am stuck debugging a project that my high school students created. They made a game where the player movement is voice activated-- your avatar jumps if you shout at the screen. It works great in the p5 editor view, but when we switch to fullscreen mode for publishing, the sketch does not respond to the mic. I thought this was because of needing to click inside the browser window to activate, but that did not fix the problem. Here is a link to the sketch:

> **[taylor & travis game by lizzybrooks -p5.js Web Editor](https://editor.p5js.org/lizzybrooks/sketches/n3YM9cDV6)**
>
> A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners.

And here’s a link to a simpler example where I got it to work:

> **[Working Mic Volume Example by lizzybrooks -p5.js Web Editor](https://editor.p5js.org/lizzybrooks/sketches/iLLD7yyOn)**
>
> A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners.

I just can’t see what my students’ sketch is missing. Thanks for any help you can provide!

---

<div class="post-metadata">

**Author:** ![lizzy](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lizzy/32/2064_2.png) [@lizzy](https://discourse.processing.org/u/lizzy)\
**Post date:** [December 18, 2024, 6:13am UTC](https://discourse.processing.org/t/p5-audioin-not-working-in-fullscreen/45474/2 "2024-12-18T06:13:37Z")

</div>

Update-- I got this to work by changing the frameRate to 60fps. I’m not sure why this would make a difference in the fullscreen view only, but it worked so I’m not complaining.
