This chapter describes the Android edition of Popol Vuh Studio on the Galaxy Tab S8 Ultra: installation, connecting the Push over USB (including sound through the Push), touch operation, the diagnostics behind the gear icon, sending the log, and what is missing or different compared with the Mac. For operating the app itself (mixer, instruments, projects), see the chapters "Popol Vuh Studio", "Operation on the Push", "Recording" and "EXTERN". The tablet edition shares the same interface with the Mac (
Source/Main.cppis compiled in unchanged).
1. At a glance#
Popol Vuh Studio for Android brings the same Mac interface (sidebar, mixer, instruments, PERFORM, projects) to an Android tablet. It was tested on the Samsung Galaxy Tab S8 Ultra. As on the Mac, you play mainly through a connected Push 3: mixer, instruments, TZOLKIN and PERFORM work there exactly the same way. You can also operate the app directly with your finger (touch), control it through a diagnostics drawer behind a gear button, and have it send its log by mail when something doesn't work.
Architecture in brief: Source/Main.cpp (the same file as on the Mac) is compiled unchanged into the Android app
(native/studio/MainAndroid.cpp). Only three things are redirected for Android (preprocessor macros, only in this
one translation unit):
juce::AudioDeviceManager→ a single audio device, "Popol Vuh Android", clocked by the Android audio path (AAudio on the tablet speaker or USB audio to the Push).makeCoreMidiPushIo→makeAndroidPushIo(Push through Android MIDI or directly over USB).START_JUCE_APPLICATIONis dropped: the Android activity is the app, andMainComponentis placed directly into an Android view (no JUCE window of its own).

2. Installation#
- There is no Play Store listing. The app is distributed directly as an APK (sideload) and signed with its own
key (
apksigner, keystore~/.config/android/pvtest.jks). - Download links are on the 194er server at
https://360studios.at/dl/<key>/PopolVuhStudio-Android- <version>.apk. Current version (as of this chapter): 0.10.2, built from Mac source version 1.4.1. - Installation: open the APK on the tablet and, if needed, allow "Install from unknown source" once.
- On first launch, Android asks for the USB host permission as soon as a Push is connected (a separate "Allow" dialog per device/session) and, from Android 13 on, for the notification permission (for the foreground service, see section 8).
- Minimum requirement:
android.hardware.usb.host(USB OTG) is mandatory. The MIDI and low-latency audio features are marked as "not required" (the tablet runs without them, just worse). The app requests no internet permission. It does not open a network port itself, and sharing/sending goes only through Android's own "Share" dialogs (mail app, Drive …), which bring their own permissions. - The APK is built from exactly the same Mac sources (
~/projects/popol-vuh-studio,~/projects/vst) with a single script:~/projects/pv-android-studio/build.sh(tools: JDK 17, Android command-line tools, NDK 27.2.12479018). Workshop rule: after every Mac delivery, Android is built as well.
3. Interface#
The app always starts in landscape orientation, hides the system bars (fullscreen/immersive) and keeps the screen
awake (FLAG_KEEP_SCREEN_ON). Two layers sit on top of each other:
- The Mac interface itself (
uiHost): the sameMainComponentas on the Mac, which draws the sidebar, mixer, transport row and so on. - Plugin window overlay (
editorHost, classFreeLayout): a native Android view layer that holds the embedded plugin editors (JUCE sets their position and size itself); empty areas simply let touches pass through.
At the bottom right is a semi-transparent gear button (⚙). See section 6.
Back button/gesture (since 0.9.4): Android "Back" (hardware button or gesture) closes things step by step instead of
quitting the app immediately. Up to 0.9.3 this was a stumbling block with open windows. Order: if the diagnostics drawer (⚙)
is open, "Back" closes only that. Otherwise the app passes the gesture on to the Mac interface (Native.back()),
which first closes the topmost open menu, window or pending prompt (app and plugins). If
nothing is open anymore, a dialog asks "Quit Popol Vuh Studio?" (Quit/Cancel). Only there does "Back"
actually quit the app (including Push/sound cleanup).
4. Push over USB (including sound through the Push)#
4.1 Connecting#
- Switch the Push 3 on with its own power supply (Push 3 Standalone in Control mode) and connect it by USB-C directly to the
tablet (no hub needed, but you need a USB-OTG-capable port). Push 2 is detected as well
(USB vendor ID
0x2982, product ID Push 3 =0x1969, Push 2 =0x1967). - The "Connect Push" button (or automatically when you plug it in) searches for the device. If the USB permission is missing, Android's own Allow dialog appears.
- The app takes over display interface 0 for the Push display and opens MIDI in parallel: first through the
normal Android MIDI service (
MidiManager). If Android finds no MIDI device for the Push (for example because the Push's own sound is currently active and the kernel has detached the whole USB sound card, MIDI included, from the system), the app switches to MIDI directly over USB (own driver, interface 5). - Android doesn't say on its own which of the Push's two MIDI outputs is the "Live port" and which is the "User port". The app learns this from live operation: from its own "Set MIDI Mode" SysEx (it knows whether the Push is currently in User mode) and from the first pad pressed (pads only arrive in User mode, so the output that delivers them is assigned to the User port, and all others count as the Live port). This is written live to the diagnostics log.
4.2 Sound through the Push#
- The "Output: Tablet" / "Output: Push" button switches between the tablet speaker (AAudio) and the USB audio of the Push. When you switch to Push sound, the app first closes the Android MIDI connection (activating the Push sound card briefly detaches the MIDI device in the kernel as well) and afterwards takes over MIDI directly over USB if Android doesn't provide it again right away. Since 0.10.1, the same choice, "Push (USB)" / Tablet, is also in the Audio window of the Mac interface (not only through the gear). Both ways control the same device.
- Buffer control (since 0.10.2): settling in instead of oscillating. Up to 0.10.1, the app kept lowering the buffer after 10 seconds without an underrun until it was just too small, and then almost every second 10-second block had an underrun. Since 0.10.2, the app remembers the highest reserve actually needed ("learned reserve"): an underrun increases it immediately (at most once per 500 ms), an almost empty ring without an underrun increases it slightly as a precaution, and only after 60 seconds with no underrun at all does it drop slightly again. The Small latency setting therefore settles at around 24 ms instead of constantly switching between too small and too large (ramp-up at start: briefly higher, glides to the learned value within 3 s).
- If the Push audio output fails (device disappears, error), the app automatically falls back to the tablet speaker and remembers that (a first failed attempt is logged and retried, a second one counts as final until you try again with the button).
- "Clock: Push ✓" / "Clock: Nominal (test)" (long-press to switch): controls whether the audio clock follows the Push's actual feedback or runs at the nominal value. It is a pure test switch for comparison, not an everyday user function.
- "Test tone Push": sends a 1 kHz test tone to the Push, independent of the Studio sound. Use it to check whether the audio path to the Push works at all.
- A dedicated foreground service (
StudioService) keeps sound and the Push connection active while the app is in the background (notification "Popol Vuh Studio is running"). If you swipe the app away in the app overview, the service cleanly shuts down the Push and sound and ends the process completely (next start = fresh state).
4.3 Limits#
- EXTERN (hardware synth as an instrument, see chapter "EXTERN") is not available on Android, because there is no CoreMIDI-style output to a second device, which EXTERN would need. You can still open a project with an EXTERN channel, but the channel stays without function. In the "+ ADD" selection (see section 5), EXTERN is therefore grayed out as "not available here".
- Pressure/aftertouch of the Push pads is not yet forwarded (same as on the Mac).
- MOTION (automation recording, see chapter "Recording") also works on the tablet since 0.10.1:
control movements that originate at the plugin itself (Push encoder, touch directly on an embedded
plugin window) now report to the app through a dedicated return channel (
pv_abi.h, like a VST3 host withperformEdit/beginEdit/endEdit). Before that, only values that the app set itself came through.
5. Touch operation#
You can also operate the app directly on the screen, without a Push:
- Tapping a tile, a button, a fader and so on works like a mouse click on the Mac (JUCE handles touch natively).
- If a plugin window is currently showing an open selection menu (for example a ComboBox/dropdown) and you tap elsewhere,
the first tap only closes the menu (
Native.dismissMenus()). It is not also counted as a click on whatever is underneath. - The diagnostics drawer (section 6) can also be fully operated by touch (buttons, text fields, dialogs).
- Channel list (since Mac source version 1.4.0): the "+ ADD" tile works with a simple tap (like any other button). The selection menu TUNKUL/ITZAMNA/IXIM/HURAKAN/EXTERN is the same as on the Mac. A channel's Channel menu (Move up/down, Replace … with EXTERN/Back to …, Remove channel…) opens with a long press on the tile, the Android equivalent of a right-click on the Mac. EXTERN is still grayed out in the "+ ADD" selection as "not available here" (see section 4.3).
6. Two-finger zoom#
Over an embedded plugin window (instrument or effect), you can zoom and pan with two fingers:
- Placing two fingers on a plugin window at the same time starts the gesture. The app sends the plugin a "cancel" for the first finger (like releasing the mouse), so that it doesn't trigger anything else at the same time.
- Spreading your fingers apart enlarges, pinching them together shrinks. Moving both fingers moves the visible section. The app redraws sharply from scratch (its own JUCE copy of the plugin content) instead of scaling up a bitmap.
- Lifting one finger ends the gesture with the remaining finger (the second finger is then ignored until a new two-finger gesture begins).
- To return to normal size, simply pinch back down to the original size.
- Outside a plugin window (for example over the sidebar or the mixer), the two-finger gesture has no effect. There is no zooming there.
7. Projects: saving, opening, sharing#
- Save (button in the Mac interface or in the diagnostics): a dialog asks for a name. The file goes to the
app's own storage (
files/Projekte/<name>.pvstudio) and is automatically exported as a copy toDownloads/Popol Vuh Studio/(visible to other apps, for passing on). - Save As… (since 0.10.2, for Mac 1.4.1): for an existing project, the same dialog suggests the next version:
"Song" → "Song v2", "Song v2" → "Song v3" (name scheme
<name> v<n>recognized by a regular expression, otherwise<name> v2). The Android interface shares the same header with the Mac: from a certain window width on, the project buttons move into the "Project ▾" menu (New/Open/Save/Save As/+ Version). On the tablet in landscape orientation, depending on screen size, that is already the rule, not the exception. - Open: lists the
.pvstudioprojects in the app storage (newest first). Additional buttons in the same dialog: - "Import file…" opens the normal Android file picker (for example to fetch a project sent from the Mac by mail/Drive), copies the chosen file into the app storage and opens it directly.
- "Share current" exports the currently open project to Downloads and opens the Android "Share" dialog (mail, messenger, Drive, …).
- Project folder with samples (since 0.12.0, for Mac 1.5.0): menu "Project ▾" → Save as Project Folder (with
samples)… creates
files/Projekte/<name>/<name>.pvstudio+Samples/and exports the folder as<name>.ziptoDownloads/Popol Vuh Studio/. Open → Import… takes a.pvstudiofile, the ZIP of a project folder (for example from the Mac) or a whole folder (Android folder picker) and opens the project with all its samples. Folder projects appear in the open list with "(Ordner mit Samples)". - SETLIST on the tablet:
+ Addlists the projects in the app storage (folder projects too). Only one song is ever preloaded; while the old song rings out, two songs compute for a moment – chooseHARDorfade 1 baron the tablet if the load is high. Crossfade (xfade on, since 0.12.2 / Mac 1.5.1): the old song keeps playing for the whole fade, so both songs compute at full load at the same time (more CPU and RAM than the soft ring-out) – on the tablet use a short fade (fade 1 bar) and leavexfade offif the load is high. Choosing the next song: tap the dropdownnext: 3 Name ▾under the status line (list of all songs, large tap rows) or tap a row; on the Push use the second scene button or the jog wheel - the window follows at once (since 0.12.2). - Mixer: on the tablet the FX section (FX 1–4, HALL, DELAY) is folded by default – the
FX ▸button at the top of the MASTER card unfolds it; the tablet remembers your choice. - Automatic saving: when you leave the app (Android
onStop), it saves automatically asAutomatisch gesichert.pvstudioin the project folder. - There is no file system access like on the Mac (Finder/"File…"). All file operations go through the dialogs described above.
8. Diagnostics behind the gear (⚙)#
Tapping the gear at the bottom right opens/closes a drawer over the entire interface (the icon then turns into "✕"). Contents from top to bottom:
- Status line (large): the current state in one sentence.
- Display mirror: a live image of the Push display (960×160, updated every 80 ms) or of the corresponding content, even without a connected Push.
- Audio/Push status line: engine status, last display line sent, number of MIDI messages from/to the Push, learned port assignment.
- First button row: "Connect Push" · "Restart sound" · "Output: Tablet/Push" (see section 4) · "Send log" (see section 9).
- Second button row: ▶ Play/■ Stop · Start project · New (INIT, with confirmation prompt) · Save · Load.
- Third button row (test tools): "Test tone Push" · "Clock: Push/Nominal" · "Display: on/PAUSE" (pause the Push display, for example to save power or for log tests) · "UI cores: all" / "without audio (test)" (pins the app threads to the tablet's big CPU cores or leaves it to Android; a pure performance test switch, irrelevant for normal operation) · "Latency: Small/Medium/Safe" (since 0.10.0, tapping cycles through the options, restarts the sound): Small (~24 ms, default since 0.10.1, 3 USB bursts) · Medium (~30 ms, 4 bursts) · Safe (~40 ms, as up to 0.9.x, 6 bursts, the safe choice if you get dropouts).
- Running log: a scrollable text field with the latest messages (timestamp, Push connection, audio devices, errors). It writes in parallel to a log file in the external app storage.
9. Sending the log#
The "Send log" button (in the diagnostics drawer) collects:
- the current engine/Push status (one line),
- the complete log file of this session (
popolvuh_studio_android_<timestamp>.log), - the end (up to 60,000 bytes each) of every
push.logfile that the embedded plugins write themselves (one subfolder per plugin under the internal "Library/Logs").
The combined file is also copied to Downloads and then sent through the normal Android "Share" dialog, pre-filled with the subject "Popol-Vuh-Studio-Android-Log …" and Sebastian's email address as the recipient. Which app actually handles the sending (mail app, messenger …) is something you choose in the Share dialog yourself.
10. Differences from the Mac#
| Area | Mac | Tablet (Android) |
|---|---|---|
| Installation | Delivery folder + .command file |
APK sideload from 360studios.at/dl/…, no store |
| User interface | Window with mouse/keyboard + Push | same interface by touch and Push, no window management |
| Menu bar/keyboard shortcuts | full Mac menu bar (chapter "Popol Vuh Studio", section "Quick reference") | no menu bar; the same functions through buttons in the diagnostics drawer |
| Audio/MIDI settings | own window with device selection, up to 64 inputs, MIDI clock output dropdown | only the "Output: Tablet/Push" switch; no dropdown for MIDI clock output, no free channel choice for audio inputs |
| File access | Finder, free paths, .pvstudio anywhere |
only app-own storage + Android dialogs (import/share/Downloads copy) |
| EXTERN (hardware synth) | fully available (chapter "EXTERN") | not available (no suitable MIDI output); projects with EXTERN still load |
| Zoom in the plugin window | window size/fullscreen | two-finger pinch directly on the plugin window |
| Log | file at ~/Library/Logs/PopolVuhStudio/push.log, viewable yourself |
"Send log" button bundles everything and sends it by mail/Share dialog |
| Push audio | through CoreMIDI/CoreAudio, unobtrusive | own USB audio driver, can briefly interrupt MIDI (fixed automatically) |
| Screen/orientation | normal window | always landscape, fullscreen, screen stays on |
| Background operation | app keeps running normally | own foreground service with notification; swiping away ends everything cleanly |
| Factory presets | all | all synth/sequencer/effect presets are built in (ITZAMNA incl. wavetables, TZOLKIN, TUNKUL, IXIM, HURAKAN, HUN BATZ/CHOUEN). No samples: TUNKUL shows sample kits and kit-based songs only with your own sample library – on the tablet they are hidden (since app 0.11.0 / TUNKUL after 0.17.1) |
| CPU load | a Mac core always suffices | Load guard (since 0.11.0): if an ITZAMNA needs more than 30 % of a core for about 4 s (e.g. "Aurora Veil", "Wide Plain", "Stardust": many voices × unison, long reverb), the app sets its QUALITY to ECO and says so in the status line. Once per instance – if you switch back to GOOD, it stays |
11. What the tablet does not (yet) have#
- EXTERN (see sections 4.3 and 10).
- A menu bar or keyboard shortcuts like on the Mac. All the corresponding functions (Play/Stop, Record, New, Save, Open) are buttons in the diagnostics drawer or run through the Push itself.
- An Audio/MIDI settings window with free device and channel selection like on the Mac. There is only the simple Tablet/Push switch.
- Pressure/aftertouch of the Push pads to an instrument or to EXTERN (this applies on the Mac too, not Android-specific).
- A real file system "File…" for freely choosing a plugin file. On Android there are only the plugins bundled with the app anyway (no VST3 folder of your own to browse).
12. Tips and pitfalls#
- The Push needs its own power supply at the tablet. Powered by USB alone, it may not get enough power for display, audio and MIDI at the same time.
- USB-C directly at the tablet, no hub in between (the diagnostics hint text in the app says this explicitly).
- The first time you switch to "Output: Push", the sound may drop out briefly while MIDI changes from Android to direct-over-USB. This is normal and is logged.
- If the Push audio output fails twice in a row, the app deliberately stays on the tablet speaker until you tap "Output" again. There is no endless retry loop.
- If you swipe the app away in the app overview, it quits completely (including Push cleanup) instead of just going to the background. This is intentional, not a crash.
- Without a Push, the app plays normally through the tablet speaker by touch. A Push is not a prerequisite for trying it out.