# Goose Game M4SK Controller

## Overview

https://www.youtube.com/watch?v=lvMFtfQ5Qxs

Honk! You're a horrible goose. Have fun terrorizing the village with a voice-activated Untitled Goose Game costume controller.

Have your goose honk in game by honking into your goose mask! The MONSTER M4SK can act as a USB game controller, with a PDM microphone triggering it. This will send a "spacebar" signal to your computer so you can get satisfying HONK! HONK! action!  
Build the M4SK into a goose mask, with bonus points for costume flippers and wings!

This project was [inspired by Twitch streamer Rudeism](https://www.polygon.com/2019/10/2/20894871/untitled-goose-game-controller-rudeism-twitch-streamer)

https://www.youtube.com/watch?v=ECNzwIm0cD8

## Parts
### Adafruit MONSTER M4SK - DIY Electronic Eyes Mask

[Adafruit MONSTER M4SK - DIY Electronic Eyes Mask](https://www.adafruit.com/product/4343)
 **Peep dis!** Have you always wanted to have another pair of eyes on the back of your head? Or outfit your costume with big beautiful orbs? The MONSTER M4SK [is like the Hallowing](https://www.adafruit.com/product/3900) but _twice_ as good, with two gorgeous...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4343)
[Related Guides to the Product](https://learn.adafruit.com/products/4343/guides)
![MONSTER M4SK DIY Electronic Face mask.  Two Screens Display Eyes that blink and dart up and down.](https://cdn-shop.adafruit.com/product-videos/640x480/4343-00.jpg)

### JST SH 9-Pin Cable - 100mm long

[JST SH 9-Pin Cable - 100mm long](https://www.adafruit.com/product/4350)
This 9-pin&nbsp;cable is just about&nbsp;100mm / 4" long and fitted with JST-SH female connectors on both ends. Compared with chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel and are&nbsp;easy to insert and remove.

We got these especially for...

In Stock
[Buy Now](https://www.adafruit.com/product/4350)
[Related Guides to the Product](https://learn.adafruit.com/products/4350/guides)
![JST SH 9-Pin jumper Cable](https://cdn-shop.adafruit.com/640x480/4350-01.jpg)

### Adafruit PDM Microphone Breakout with JST SH Connector

[Adafruit PDM Microphone Breakout with JST SH Connector](https://www.adafruit.com/product/4346)
An exotic new microphone has arrived in the Adafruit shop, a **PDM MEMS Microphone**! PDM is the 'third' kind of microphone you can integrate with electronics, apart from analog or I2S. These microphones are very commonly used in products, but are rarely seen in maker...

In Stock
[Buy Now](https://www.adafruit.com/product/4346)
[Related Guides to the Product](https://learn.adafruit.com/products/4346/guides)
![A small, square-shaped, PDM Microphone breakout with a JST-SH connector.](https://cdn-shop.adafruit.com/640x480/4346-08.jpg)

### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)
![Angled shot of STEMMA QT / Qwiic JST SH 4-pin Cable.](https://cdn-shop.adafruit.com/640x480/4210-00.jpg)

### Lithium Ion Polymer Battery with Short Cable - 3.7V 420mAh

[Lithium Ion Polymer Battery with Short Cable - 3.7V 420mAh](https://www.adafruit.com/product/4236)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 420mAh for a total of about 1.55 Wh. If you need a larger (or smaller!) battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4236)
[Related Guides to the Product](https://learn.adafruit.com/products/4236/guides)
![Lithium Ion Polymer Battery 3.7v 420mAh with JST 2-PH connector and short cable](https://cdn-shop.adafruit.com/640x480/4236-04.jpg)

## Materials & Tools
- Vacuform plastic duck/goose mask [such as this one](https://www.amazon.com/Spook-Shop-Plastic-Duck-Mask/dp/B0045WY492)
- Hobby knife
- White spray paint or Plasti Dip spray
- Masking tape
- Foam double-stick tape
- Small zip tie or wire twist

## Optional Costume Parts

- White hooded sweatshirt
- White jeans
- Yellow knee socks
- Yellow swim fins
- White costume feather wings

# Goose Game M4SK Controller

## Make the Horrible Goose Mask

![](https://cdn-learn.adafruit.com/assets/assets/000/082/247/medium800/sensors_IMG_8753b.jpg?1570821305)

It's surprisingly difficult to find a proper goose mask, so we'll use paint to transform a more common duck mask.

![](https://cdn-learn.adafruit.com/assets/assets/000/082/211/medium800/sensors_IMG_8718.jpg?1570817180)

![](https://cdn-learn.adafruit.com/assets/assets/000/082/216/medium800/sensors_IMG_8719.jpg?1570817219)

## Eye Removal

The eyes on this mask are purely decorative -- you see through the nostril slits when wearing it -- so we can remove them and replace them with the MONSTER M4SK eyes.

Use a hobby knife to carefully trim away the plastic eyes.

![sensors_IMG_8721.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/207/medium640/sensors_IMG_8721.jpg?1570817054)

![sensors_IMG_8724.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/208/medium640/sensors_IMG_8724.jpg?1570817063)

Danger: 

## Paint Prep

Clean off any dust or oil from the entire mask using a cloth and some water, then dry it.

Using masking tape, mask off the bill, leaving the rest of the face to be painted.

![sensors_IMG_8727.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/205/medium640/sensors_IMG_8727.jpg?1570816973)

![sensors_IMG_8728.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/209/medium640/sensors_IMG_8728.jpg?1570817078)

## Paint It

In a well ventilated area, with protection for overspray (such as a large cardboard box), hang the mask from some wire.

Read the directions on the spray paint can and follow them. Light coats are best to avoid drips and clumps!

Shake the paint well and then spray it in light, overlapping strokes. Allow plenty of time for each coat to dry before applying the next coat.

I went with four coats, and then after that dried applied a couple of coats of clear coat for protection.

![sensors_IMG_8729.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/218/medium640/sensors_IMG_8729.jpg?1570817505)

![sensors_IMG_8730.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/219/medium640/sensors_IMG_8730.jpg?1570817516)

![sensors_IMG_8731.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/220/medium640/sensors_IMG_8731.jpg?1570817535)

![sensors_IMG_8733.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/221/medium640/sensors_IMG_8733.jpg?1570817543)

## Remove Masking, Clear Coat It

Carefully remove the masking tape. That's so satisfying!

Once I removed all the tape, I re-hung it and applied a couple of coats of clear coat for protection.

![sensors_IMG_8734.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/222/medium640/sensors_IMG_8734.jpg?1570817593)

![sensors_IMG_8735.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/223/medium640/sensors_IMG_8735.jpg?1570817614)

![sensors_IMG_8738.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/224/medium640/sensors_IMG_8738.jpg?1570817637)

![sensors_IMG_8739.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/225/medium640/sensors_IMG_8739.jpg?1570817694)

![](https://cdn-learn.adafruit.com/assets/assets/000/082/226/medium800/sensors_IMG_8741.jpg?1570817707)

Next, we'll prepare the MONSTER M4SK.

# Goose Game M4SK Controller

## Separate and Prepare the MONSTER M4SK

## Quickstart

You should be familiar with the basic setup of the M4 Eyes project based on the most excellent [Adafruit MONSTER M4SK guide Quickstart](https://learn.adafruit.com/adafruit-monster-m4sk-eyes/quickstart). Before you proceed with making your own eye pattern texture maps, be sure you've got the [M4Eyes.UF2](https://learn.adafruit.com/adafruit-monster-m4sk-eyes/quickstart#load-m4-eyes-firmware-2-12) working properly using the default [Hazel eyes graphics](https://learn.adafruit.com/adafruit-monster-m4sk-eyes/quickstart#loading-graphics-2-18).

![](https://cdn-learn.adafruit.com/assets/assets/000/080/562/medium800/projects_fish_7855.jpg?1567794282)

As terrifying as this may seem, the first thing we're going to do is BREAK the MONSTER M4SK! It's going to be OK, though -- It was designed to be broken! That's what those little perforations on either side of the bridge are there for. We promise!

Warning: 

![](https://cdn-learn.adafruit.com/assets/assets/000/080/569/medium800/projects_fish_7861.jpg?1567794494)

Info: 

Danger: 

## Cut the Bridge

Using diagonal cutters, snip the perforation starting at one end, then flip the board around and finish the cut.

Then, trim the bridge from the other side as well, using the same procedure.

![projects_fish_7857.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/563/medium640/projects_fish_7857.jpg?1567794310)

![projects_fish_7859.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/564/medium640/projects_fish_7859.jpg?1567794341)

![projects_fish_7860.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/565/medium640/projects_fish_7860.jpg?1567794385)

![projects_fish_7862.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/566/medium640/projects_fish_7862.jpg?1567794405)

## Plug it In

Next, use the 9-pin JST-SH cable to reconnect the boards.

Note, while each end of the cable is identical, the plugs have polarity and can only be plugged in one way to the board connectors. Don't force them in if they aren't plugging in easily, just flip them around and try again.

![projects_fish_7863.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/571/medium640/projects_fish_7863.jpg?1567794528)

![projects_fish_7878.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/572/medium640/projects_fish_7878.jpg?1567794642)

![projects_fish_7879.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/573/medium640/projects_fish_7879.jpg?1567794730)

![projects_fish_7880.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/574/medium640/projects_fish_7880.jpg?1567794737)

![projects_fish_7881.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/575/medium640/projects_fish_7881.jpg?1567794745)

Try powering the M4SK and turning it on now and you should see it running just as normal! Here, I've got diagnostic code running, but you should see the eyes that ship on the M4SK.

![](https://cdn-learn.adafruit.com/assets/assets/000/080/576/medium800/projects_fish_7884.jpg?1567794761)

## Battery Power

Using double-stick foam tape, secure the LiPoly battery to the back of the MONSTER M4SK's right eye board and plug it in.

![projects_fish_7888.jpg](https://cdn-learn.adafruit.com/assets/assets/000/080/577/medium640/projects_fish_7888.jpg?1567794975)

![](https://cdn-learn.adafruit.com/assets/assets/000/080/578/medium800/projects_fish_7889.jpg?1567795224)

For the goose mask, we'll go about it a bit differently, so no need for the lens holders.

## Goose Eye / Mic Control Code

The goose eye code is similar to our typical M4SK eye code, but has a couple of small additions to allow for the microphone to trigger the spacebar over USB HID keyboard emulation.

Follow the [main guide quickstart instructions](https://learn.adafruit.com/adafruit-monster-m4sk-eyes/foo-2) to get the **M4\_Eyes.UF2** running, but instead use the **GOOSEGAME.UF2** file linked below.

The **goose\_eyes.zip** file has the graphics and **config.eye** file you'll need.

[GOOSEGAME.UF2](https://cdn-learn.adafruit.com/assets/assets/000/082/227/original/GOOSEGAME.UF2?1570818050)
[goose_eyes.zip](https://cdn-learn.adafruit.com/assets/assets/000/082/233/original/goose_eyes.zip?1570820009)
The **GOOSEGAME.UF2** file has code in it for using the microphone as a trigger for the USB HID 'spacebar' press, however, we must also enable the microphone with the `"voice" : true` line seen in the **config.eye** file here.

```python
{
  "voice"         : true,
  "eyeRadius"     : 125,
  "eyelidIndex"   : "0x00", // From table: learn.adafruit.com/assets/61921
  "pupilColor"    : [ 0, 0, 0 ],
  "backColor"     : [ 20, 10, 10    ],
  "irisRadius"    : 110,
  "irisTexture"   : "goose/iris.bmp",
  "scleraTexture" : "goose/sclera.bmp",
  "upperEyelid"   : "goose/upper.bmp",
  "lowerEyelid"   : "goose/lower.bmp",
  "left" : {
  },
  "right" : {
  }
}
```

Next, we'll embed the MONSTER M4SK and microphone in the goose mask and play!

# Goose Game M4SK Controller

## Add Eyes to the Goose Mask

![](https://cdn-learn.adafruit.com/assets/assets/000/082/234/medium800/sensors_IMG_8744.jpg?1570820416 "Duck" brand tape will do until "Goose" brand becomes available)

## Embed the Eyes

Cut short strips of double-stick foam tape to surround the screens of the MONSTER M4SK.

![](https://cdn-learn.adafruit.com/assets/assets/000/082/235/medium800/sensors_IMG_8746.jpg?1570820506)

Press these into the mask, note that we'll orient the M4SK upside down, which provides access to the USB port. It also makes the default eyelid motions a bit more menacing!

![](https://cdn-learn.adafruit.com/assets/assets/000/082/236/medium800/sensors_IMG_8747.jpg?1570820574)

![](https://cdn-learn.adafruit.com/assets/assets/000/082/248/medium800/sensors_IMG_8753b.jpg?1570821331)

## USB and PDM Mic

Plug in the USB cable next -- use a long one so you don't accidentally tug on it during gameplay!

You'll plug in the PDM microphone breakout using the STEMMA QT connector as shown.

I used a small zip tie to secure the mic board to the 9-pin cable as shown. This puts it in a good spot for detecting your voice.

Trim the excess end of the zip tie. You're now ready to wear your mask!

![sensors_IMG_8769.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/238/medium640/sensors_IMG_8769.jpg?1570820633)

![sensors_IMG_8770.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/239/medium640/sensors_IMG_8770.jpg?1570820731)

![sensors_IMG_8771.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/240/medium640/sensors_IMG_8771.jpg?1570820742)

![sensors_IMG_8788.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/241/medium640/sensors_IMG_8788.jpg?1570820762)

![](https://cdn-learn.adafruit.com/assets/assets/000/082/242/medium800/sensors_IMG_8755.jpg?1570820883)

## Play!

Plug it into your computer's USB port and now every time you HONK the mic will detect the loud sound and send the spacebar USB key to the game, which will in turn cause your Untitled Goose Game goose to HONK!

https://www.youtube.com/watch?v=lvMFtfQ5Qxs


## Featured Products

### Adafruit MONSTER M4SK - DIY Electronic Eyes Mask

[Adafruit MONSTER M4SK - DIY Electronic Eyes Mask](https://www.adafruit.com/product/4343)
 **Peep dis!** Have you always wanted to have another pair of eyes on the back of your head? Or outfit your costume with big beautiful orbs? The MONSTER M4SK [is like the Hallowing](https://www.adafruit.com/product/3900) but _twice_ as good, with two gorgeous...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4343)
[Related Guides to the Product](https://learn.adafruit.com/products/4343/guides)
### JST SH 9-Pin Cable - 100mm long

[JST SH 9-Pin Cable - 100mm long](https://www.adafruit.com/product/4350)
This 9-pin&nbsp;cable is just about&nbsp;100mm / 4" long and fitted with JST-SH female connectors on both ends. Compared with chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel and are&nbsp;easy to insert and remove.

We got these especially for...

In Stock
[Buy Now](https://www.adafruit.com/product/4350)
[Related Guides to the Product](https://learn.adafruit.com/products/4350/guides)
### Adafruit PDM Microphone Breakout with JST SH Connector

[Adafruit PDM Microphone Breakout with JST SH Connector](https://www.adafruit.com/product/4346)
An exotic new microphone has arrived in the Adafruit shop, a **PDM MEMS Microphone**! PDM is the 'third' kind of microphone you can integrate with electronics, apart from analog or I2S. These microphones are very commonly used in products, but are rarely seen in maker...

In Stock
[Buy Now](https://www.adafruit.com/product/4346)
[Related Guides to the Product](https://learn.adafruit.com/products/4346/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)
### Pink and Purple Braided USB A to Micro B Cable - 2 meter long

[Pink and Purple Braided USB A to Micro B Cable - 2 meter long](https://www.adafruit.com/product/4148)
This cable is&nbsp;super-fashionable&nbsp;with a woven pink and purple Blinka-like pattern!

First let's talk about the cover and over-molding. We got these in custom colors, and if you&nbsp;_have_&nbsp;to have visible cables, then you might as well have the nicest fabric-bound...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/4148)
[Related Guides to the Product](https://learn.adafruit.com/products/4148/guides)
### Lithium Ion Polymer Battery with Short Cable - 3.7V 420mAh

[Lithium Ion Polymer Battery with Short Cable - 3.7V 420mAh](https://www.adafruit.com/product/4236)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 420mAh for a total of about 1.55 Wh. If you need a larger (or smaller!) battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4236)
[Related Guides to the Product](https://learn.adafruit.com/products/4236/guides)

## Related Guides

- [Adafruit MONSTER M4SK](https://learn.adafruit.com/adafruit-monster-m4sk-eyes.md)
- [Program CircuitPython USB Devices with iPhone & iPad](https://learn.adafruit.com/use-circuitpython-devices-with-iphone-ipad.md)
- [Animatronic Fizzgig MonsterM4sk Puppet](https://learn.adafruit.com/animatronic-fizzgig-monsterm4sk-puppet.md)
- [Living Ventriloquist Dummy with MONSTER M4SK Eyes](https://learn.adafruit.com/living-ventriloquist-dummy-with-monster-m4sk-eyes.md)
- [Velociraptor Voice and Eye Upgrade with MONSTER M4SK](https://learn.adafruit.com/hand-puppet-voice-and-eye-upgrade-with-monster-m4sk.md)
- [Meat Skull Centerpiece](https://learn.adafruit.com/meat-skull-centerpiece.md)
- [MONSTER M4SK Toon Hat](https://learn.adafruit.com/monster-mask-augmented-eyes-toon-hat.md)
- [Spruce Up a Costume with MONSTER M4SK Eyes and Voice](https://learn.adafruit.com/spruce-up-a-costume-with-monster-m4sk-eyes-and-voice.md)
- [Fruit Jam Video Music](https://learn.adafruit.com/fruit-jam-video-music.md)
- [CustomEyesation: DIY Monster M4SK Graphics](https://learn.adafruit.com/customeyesation-diy-monster-m4sk-graphics.md)
- [Sound Reactive LED Top Hat](https://learn.adafruit.com/sound-reactive-led-top-hat.md)
- [Feather RP2350 Audio Reactive Video Synth](https://learn.adafruit.com/feather-rp2350-audio-reactive-video-synth.md)
- [Adafruit PDM Microphone Breakout](https://learn.adafruit.com/adafruit-pdm-microphone-breakout.md)
- [1D Chomper Tabletop Arcade Game](https://learn.adafruit.com/1d-chomper-tabletop-arcade-game.md)
- [Smart Measuring Cup](https://learn.adafruit.com/smart-measuring-cup.md)
