# PNGtuber avatars

Source: https://docs.lightair.app/desktop/build-your-show/pngtuber

> Build a PNGtuber from your own PNG pictures in Lightair's editor, so it talks with your mic, blinks, bounces and changes expression on a shortcut.

In short:
- A PNGtuber is an avatar made of pictures that talks when your mic hears you. It needs no camera.
- Make one with **Add Object › Avatar › New PNGtuber…**, drop your PNGs in, give each a role, and click **Save**.
- It's saved as a `.lairava` file in your avatar library.
- On the avatar object, pick the **Mic** that makes it talk, and optionally **Push to talk** keys.

In the app: Add Object › Capture › Avatar › New PNGtuber…; Inspector › Avatar › Edit; Inspector › Voice

A PNGtuber is a 2D avatar built from layered pictures. Its mouth opens when your voice is loud
enough, it blinks on its own, bounces while you talk and breathes while you're quiet, and its
expressions and costumes switch on a shortcut. It listens to a mixer track instead of following a
camera.

## Make a PNGtuber

1. Click **Add Object**, choose **Avatar**, then click **New PNGtuber…** in the **Avatars**
   sheet. The PNGtuber editor opens in its own window.
2. Type a **Name**.
3. Drop PNG pictures, or a folder of them, on the window, or click **Add pictures…**.
4. Check each layer's role (below), and put the layers in order with their up and down arrows.
   The list shows the front layer at the top.
5. Pick the mic under the preview and talk to check it.
6. Click **Save**.

The first picture sets the avatar's size; each picture is centred on it. The first time you
save, the PNGtuber goes into your avatar library and onto the canvas as a new avatar object.
Saving again updates every avatar object that shows it.

To change a PNGtuber later, select its object and click **Edit** in the Inspector's **Avatar**
section.

## Layer roles

Each layer gets a role from its file name ("mouth_open" becomes a mouth frame, "eyes_closed" eyes
shut, "blush" an extra). Click a layer's role to change it.

| Role | Shown |
|---|---|
| **Always** | All the time: body, head, hair, background parts. |
| **Eyes open** | While the eyes are open; hidden while blinking. |
| **Eyes shut** | Only while blinking. |
| **Mouth** | As one mouth frame: **Shut**, then **Frame 1** to **Frame 4**, more open each time. Set the frame with **−** and **+**. |
| **While talking** | Only while you talk. |
| **While quiet** | Only while you're quiet. |
| **Only in an expression** | Only when an expression or costume shows it. |

Select a layer to set it up on the right:

- **Moves**: how much it moves with the bounce and breath. 0% keeps a background still.
- **Opacity**.
- **Set pivot**, then click the preview where the layer turns.
- **Remove**.

## Voice

The mouth follows the mic you picked under the preview, against its live level meter. Drag the
meter's two handles, or use the sliders:

| Setting | Starts at | What it does |
|---|---|---|
| **Opens at** | −34 dB | The mouth opens when your voice is louder than this. |
| **Closes at** | −42 dB | It closes once your voice stays below this. Lower than **Opens at**, so it doesn't flicker. |
| **Silence** | −58 dB | Anything quieter is the room, not you. |
| **Attack** | 30 ms | How quickly the mouth follows a louder voice. |
| **Release** | 120 ms | How long it waits, quieter, before closing. |

**Silence**, **Attack** and **Release** are under **More**. The word next to the meter reads
**Talking** or **Quiet**.

## Motion and blinking

- **Bounce**: a bounce while talking, with the voice.
- **Squash**: a squash and stretch while talking.
- **Breathing**: a slow breath while quiet.
- **Hop**: a little hop when it starts talking or changes expression.

Each starts at 100% and goes from 0% (off) to 200%.

**Blinking › Every** sets about how often it blinks (4 s to start; it varies a little, and
sometimes blinks twice). **Never** turns blinking off. Blinking needs an **Eyes shut** layer.

## Expressions and costumes

Expressions and costumes each show and hide layers: a blush, angry eyebrows, a hat.

1. Next to the **Expressions** heading, click **Expression** or **Costume**, and name it.
2. With it chosen, click the button next to each layer to cycle it through **Show**, **Hide** and
   **—** (as its role says).

The preview shows the expression while it's chosen. A costume works like an expression but is
listed apart, with a shirt icon on the avatar. Switch between them under **Kind**.

## Anchors

Anchors are points that accessories can pin to, such as a hat on the head. Click **Add** under
**Anchors**, then click the preview where it goes. An anchor moves with the layer selected when
you placed it, or with the whole avatar.

## On the avatar object

Select the PNGtuber's object. Its Inspector has the same **Avatar**, **Framing**,
**Expressions** and **Accessories** sections as other avatars
([Avatars](/desktop/build-your-show/avatars)), with **Voice** in place of **Tracking**:

- **Mic**: the mixer track whose sound makes it talk. A new PNGtuber listens to the mixer's first
  microphone. Without one, the **Avatar** section says **No mic: choose one to make it talk**.
- **Push to talk**: click **Set** and press keys. On a Mac, it talks only while you hold them;
  on Windows, it talks after you press them, until you press them again. Either way, the keys
  work in any app.

Expression and costume shortcuts are set here, under **Expressions**, as for any avatar.

## Related

- [Avatars](/desktop/build-your-show/avatars)
- [Mixer](/desktop/audio/mixer)
- [Shortcuts](/desktop/control-and-automate/shortcuts)
