A small web based stroker app powered by Ayva.js and Vue 3.
This repository is a personal fork of Ayva Stroker Lite. The original step-by-step guide can be found here.
Every axis (stroke, surge, sway, twist, roll, pitch) is controlled by two sliders:
- an axis limit slider (two handles) that clamps the axis' travel. The limits are
pushed straight to the device through
ayva.updateLimits(). - a max
<axis>slider (0-100 %) that caps how much of its full range that axis is allowed to use during free play. Exactly like the original Max Amplitude, the center of the motion also drifts randomly from one stroke to the next, so free play keeps moving around instead of repeating the same window forever.
Each axis also carries two checkboxes, one in front of each of its sliders:
- the left one decides whether the ALL slider drives that axis;
- the right one decides whether max all drives it.
An unchecked axis keeps its own values when a master slider moves. The two checkboxes on
the ALL row tick or untick their whole column at once. Everything starts ticked and is
remembered between sessions.
Two master sliders push one value to every axis at once:
- ALL applies the same min/max to the six axis limit sliders.
- max all applies the same value to the six max sliders.
The stroke axis keeps the historical max-amplitude name, so previously saved values and
scripts reading parameters.maxAmplitude keep working.
- Random BPM range, switching either instantly or with continuous acceleration.
- Random pause intervals and durations, with a smooth deceleration/acceleration ramp on each side of every pause.
- Random pattern and transition durations.
- Optional default twist with its own range, phase and eccentricity.
- The built-in TempestStroke library, plus custom strokes and AyvaScript behaviors.
- Manual mode: trigger any stroke directly from the Strokes panel.
The Output panel has a Voice button that listens through the browser's Web Speech API (Chrome and Edge), a language picker (Français, English, Español, 日本語, 中文) and a Voice commands link that opens the full phrase list. Saying a phrase moves the two handles of the stroke or twist limit slider, stopped as well as during playback.
| Goal | Français | English | Español | 日本語 | 中文 |
|---|---|---|---|---|---|
| Stroke higher | plus haut | higher | más alto | もっと上 | 高一点 |
| Stroke lower | plus bas / moins haut | lower | más bajo | もっと下 | 低一点 |
| Stroke range wider | plus large | wider | más ancho | もっと広く | 宽一点 |
| Stroke range narrower | plus serré | narrower | más estrecho | もっと狭く | 窄一点 |
| Twist more | tourne plus | twist more | gira más | もっとひねって | 转多一点 |
| Twist less | tourne moins | twist less | gira menos | ひねりを弱く | 转少一点 |
| BPM faster | plus vite / accélère | faster / speed up | más rápido / acelera | もっと速く / 加速 | 快一点 / 加速 |
| BPM slower | moins vite / ralentis | slower / slow down | más lento / desacelera | もっと遅く / 減速 | 慢一点 / 减速 |
faster and slower shift the whole BPM range (both handles) by 5 BPM, like dragging the
range in the Parameters panel.
Matching is deliberately forgiving so commands can be improvised: accents, capitals and punctuation are ignored, each language understands many variants of the same command, and filler words are allowed. As a last resort a sentence matches when it contains every key word of a phrase, in any order.
Tested and working well with Microsoft Edge. Voice commands need the Web Speech API, which Chrome and Edge provide.
npm installnpm run devnpm run buildLint with ESLint
npm run lintAyva Stroker Lite is created and maintained by ayvasoftware. All credit for the original app, the Ayva.js library and the TempestStroke patterns goes to its authors.

