OLED Mirror v4.8 - the Organelle screen on your phone, tablet or computer
========================================================================

Shows the Organelle's screen live in any web browser on the same Wi-Fi:
big, high-contrast, or as clear text. Made with low-vision players in
mind, and handy for everyone else.

NO SLOWDOWN
The mirror reads the screen straight from the Organelle's memory, so the
Organelle does no extra work. (It takes one screenshot at start to find
the screen.)

HOW TO USE
1. Connect the Organelle to Wi-Fi (System > WiFi Setup).
2. Select the OLED-Mirror patch. After a short start-up bar the screen
   shows an address, e.g.
       open in a browser
       10.0.0.23:8090
   (Without Wi-Fi it says so, and shows the address once Wi-Fi is on.)
3. Open that address on your phone, tablet or computer (same Wi-Fi).
4. Load any patch. The mirror keeps running.

To turn it off: select OLED-Mirror again (or power off).
When the Organelle shuts down or is off, the page says so and
reconnects by itself when it is back.

THE TOP BAR
- Patch info ..... the info file of the patch that is playing (I)
- Picture / Live text  the screen as a picture, or as live text (T)
- View ........... what to show (V), see below
- Screenshot ..... save a PNG of the screen (S)
- Record ......... save a video of the screen (R)
- Float .......... a window that stays on top of other apps (P)
- Full screen .... (F)
- Settings ....... start automatically (and WiFi Web with it),
                   keep the Organelle screen on, keep this device
                   awake, keyboard shortcuts

VIEW (all off by default - then only the screen is shown)
- Screen ......... live text (graphics stay, or hidden); pixels realistic
                   (like the Organelle's screen) or solid; colors
- Live text ...... the text read as it changes, large and clear; bars,
                   icons and pictures stay as they are ("Hide
                   graphics" for text only)
- Organelle ...... off, LED, keys, knobs, knobs + LED, or everything,
                   in the real layout of your model (K turns it on and
                   off). Model and color; more options: knob values, LED
                   color as a word, note names, realistic look.
                   The LED alone stays small: on the left of the level
                   meters, or in the line above the screen
- Levels and status  level meters (input and output; output before or
                   after volume) and the status panel (USB, HDMI, pedal,
                   MIDI, Wi-Fi, CPU) - each on or off
- Header ......... patch name and clock above the screen, and their size
- Display ........ where the Organelle and status panel go, brightness

FLOAT WINDOW (the Float button)
- Screen only ......... the Organelle screen alone (default)
- Same as View ........ follows every change in View
- Custom .............. its own view, set up separately
The window opens at a size that fits what it shows.

Settings are saved on the Organelle and shared by every device.
Click or tap the screen to hide the top bar. Pinch to zoom.

NOTES
- Works with all Organelle OS versions since 3.0. mother.pd and the
  OS are not changed.
- The Organelle view and status panel only listen to messages that
  already pass inside the Organelle; nothing is changed.
- Live text reads the Organelle's own fonts (small and big) anywhere on
  the screen, also under knob markers and cursors, and keeps the
  screen's layout. Text is drawn in regular weight, each piece inside
  its own place, so it never covers the graphics around it. Tested on
  thousands of screens of real patches.
- The mirror waits until the Organelle finishes drawing a change, so
  turning a knob never shows a half-drawn screen.
- The encoder shows presses on the S2, and on every model while a
  patch uses the encoder itself (the OS tells nobody else).
- Keep the Organelle screen on: OS 4.4 and later show a screensaver
  after 10 minutes without a touch. With this on, the mirror asks the
  OS every 4 minutes to show the screen it already shows. Off by
  default; older OS versions have no screensaver.
- If the page says "paused", the mirror could not read the screen
  directly. You can allow a light screenshot mode there (it uses at
  most 5% of the Organelle's time), or open
  http://<address>:8090/status and send it to the author.

NEW IN v4.8
- New setting under "Start the mirror automatically": "Also start
  WiFi Web". It turns on together with it, so the Organelle's own web
  page is ready at power-on, without going to the WiFi menu. You can
  turn it off on its own.
- Turning "Start the mirror automatically" off and back on in the same
  session now really reinstalls it (before, it could stay without its
  file and not start at the next power-on).

NEW IN v4.7
- Switching between Picture and Live text no longer turns the level
  meters / status panel on or off by itself - they follow the menu.

NEW IN v4.6
- Keep this screen awake, Picture and Live text no longer make the
  Organelle's LED / volume bar pop up on the screen.
- The volume meters on the page stay up through quiet moments
  instead of disappearing and coming back.

NEW IN v4.5
- Power off: the mirror now gets out of the way at once (3 s at most),
  so the Organelle always finishes shutting down. A few start/stop
  lines are kept in .oled-mirror-trace.log on the card, in case a
  power off ever hangs again.

Made by gur_shulman
