SPB Git

Repository Public License

screenshots.sh 3.1 KB 40 lines shellscript

1#!/usr/bin/env bash2# ORIX Audio3# File: Scripts/screenshots.sh4# Description: Regenerates docs/screenshots from the running app in the simulators (demo media from Scripts/demo-media.sh).5#6# Author: Simon-Pierre Boucher7# Contact: contact@spboucher.ai8#9# Every image is a capture of the real app. The recorder is fed from a demo audio file through the DEBUG input hook10# (the simulator has no usable microphone); transcripts and notes are the output of the same engines run on the Mac11# (Scripts/bench-transcription.sh, orix-bench notes), because the iOS 26.5 simulator cannot run Foundation Models.12set -euo pipefail13cd "$(dirname "$0")/.."14D=$PWD/build/demo; B=$PWD/build/bench; S=docs/screenshots15export SIM="ORIXAudio iPhone"16xcrun simctl boot "$SIM" 2>/dev/null || true; xcrun simctl ui "$SIM" appearance dark17Scripts/sim.sh /tmp/orix-0.png 16 -ORIXImport "$D/Weekly planning meeting.aiff,$D/Réunion de planification.aiff,$D/Synth session.wav,$D/Screen recording clip.mp4" -ORIXSection library18NOINSTALL=1 Scripts/sim.sh /tmp/orix-0.png 8 -ORIXOpen Weekly -ORIXLoadTranscript "$B/en-US-Samantha.transcript.json" -ORIXLoadNotes "$B/en-US-notes.json"19NOINSTALL=1 Scripts/sim.sh $S/01-recording.png 11 -ORIXInput "$D/Weekly planning meeting.aiff" -ORIXAutoRecord 0 -ORIXPreset lossless20xcrun simctl terminate "$SIM" ai.spboucher.orix.audio; NOINSTALL=1 Scripts/sim.sh /tmp/orix-0.png 6 -ORIXRecoverAll21NOINSTALL=1 Scripts/sim.sh $S/02-library.png 5 -ORIXSection library22NOINSTALL=1 Scripts/sim.sh $S/03-spectrogram.png 7 -ORIXOpen Synth -ORIXPanel spectrogram23NOINSTALL=1 Scripts/sim.sh $S/04-spectrum.png 6 -ORIXOpen Synth -ORIXPanel spectrum24NOINSTALL=1 Scripts/sim.sh $S/05-analysis.png 6 -ORIXOpen Weekly -ORIXPanel analysis25NOINSTALL=1 Scripts/sim.sh $S/06-transcript.png 6 -ORIXOpen Weekly -ORIXPanel transcript26NOINSTALL=1 Scripts/sim.sh $S/07-meeting-notes.png 6 -ORIXOpen Weekly -ORIXPanel notes27NOINSTALL=1 Scripts/sim.sh $S/08-editor.png 8 -ORIXOpen Synth -ORIXEditor28NOINSTALL=1 Scripts/sim.sh $S/09-actions.png 5 -ORIXSection actions29APP_LANG=fr-CA APP_LOCALE=fr_CA NOINSTALL=1 Scripts/sim.sh $S/10-french.png 7 -ORIXOpen Réunion -ORIXPanel notes -ORIXLoadTranscript "$B/fr-CA-Amélie.transcript.json" -ORIXLoadNotes "$B/fr-CA-notes.json"30xcrun simctl ui "$SIM" appearance light; NOINSTALL=1 Scripts/sim.sh $S/11-light-mode.png 6 -ORIXOpen Weekly -ORIXPanel analysis; xcrun simctl ui "$SIM" appearance dark31export SIM="ORIXAudio iPad"32xcrun simctl boot "$SIM" 2>/dev/null || true; sleep 5; xcrun simctl ui "$SIM" appearance dark33Scripts/sim.sh /tmp/orix-0.png 16 -ORIXImport "$D/Weekly planning meeting.aiff,$D/Synth session.wav,$D/Screen recording clip.mp4" -ORIXSection library34NOINSTALL=1 Scripts/sim.sh $S/12-ipad-workspace.png 9 -ORIXOpen Synth -ORIXPanel analysis35NOINSTALL=1 Scripts/sim.sh $S/13-ipad-recording.png 10 -ORIXInput "$D/Synth session.wav" -ORIXAutoRecord 0 -ORIXPreset highQuality36xcrun simctl terminate "$SIM" ai.spboucher.orix.audio37# The last capture leaves a recording in progress: recover it so the simulator library stays clean.38NOINSTALL=1 Scripts/sim.sh /tmp/orix-0.png 6 -ORIXRecoverAll39ls "$S"40
Files main
Menu

Theme