I just shipped Aether Studio v1.0, a 3-in-1 offline mobile producer rack built specifically for FL Studio Mobile producers on Android:
- Aether WT — 3-oscillator polyphonic wavetable synth (up to 7-voice stereo unison, 12 multi-frame wavetables + WAV/MP3 custom 64-frame wavetable import, dual resonant filters, 3 envelopes, 4 drawable LFOs, 16-slot mod matrix, 7 built-in FX)
- FluxBox — 7-module BPM-synced curve shaper (Time, Drive, Filter, Volume, Crush, Width, Pan) with finger-drawn curves and
.fstpreset chain import/saving - TimeChop — 36-pattern HalfTime / stutter / reverse matrix across 3 banks + 12 volume sidechain/gate slots with quantized trig sync and live jam WAV recording
The entire release APK is ~109 KB, runs on Android 7.0–15, works 100% offline, and uses zero third-party dependencies — no Gradle, no NDK, no external DSP libraries.
- Interactive Web Audio Browser Demo + Free Trial APK: https://extraordinary-cassata-a555fd.netlify.app/
- Pro License ($5.00 lifetime, offline key): https://payhip.com/b/ZhYVJ
1. The Real-Time Audio Thread: AudioTrack in Streaming Mode
Everything real-time runs on a dedicated thread pinned to THREAD_PRIORITY_URGENT_AUDIO, writing 256-sample stereo blocks into an AudioTrack configured with MODE_STREAM and PERFORMANCE_MODE_LOW_LATENCY:
audioTrack = new AudioTrack.Builder() .setAudioAttributes(new AudioAttributes.Builder() .setUsage(AudioAttributes.USAGE_MEDIA) .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC) .build()) .setAudioFormat(new AudioFormat.Builder() .setEncoding(AudioFormat.ENCODING_PCM_16BIT) .setSampleRate(44100) .setChannelMask(AudioFormat.CHANNEL_OUT_STEREO) .build()) .setBufferSizeInBytes(bufBytes) .setTransferMode(AudioTrack.MODE_STREAM) .setPerformanceMode(AudioTrack.PERFORMANCE_MODE_LOW_LATENCY) .build(); At 44.1 kHz, BLOCK_SIZE = 256 is ~5.8 ms per block — tight enough to feel responsive on touch keys while staying well within budget Android CPU headroom. Crucially, switching engine tabs automatically puts the inactive DSP engines to sleep (synth.stop(), shaper.setPlaying(false), etc.) so mid-range phones never burn cycles on off-screen engines.
2. Aether WT: 8-Voice Polyphonic Wavetable Synth in Pure Java
Each of the 8 voices runs 3 main oscillators (each with up to 7 stereo unison voices using pre-cached detune and pan tables), a sub oscillator, noise generator, dual SVF filters (cascaded for 24 dB slopes), 3 ADSHR envelopes, and 4 LFOs routed through a 16-slot modulation matrix.
Built-in FX (Hyper/Dim, Tube/Diode/Bitcrush distortion, Chorus, Ping-Pong Delay, Freeverb-style comb/allpass reverb, EQ, OTT-style punch) run in-place over the stereo block buffer to avoid per-block GC allocations. Live recording buffers stereo PCM into chunked short[] arrays (capped at 60 s) before exporting 16-bit stereo WAV straight to /FLM User Files/My Samples/AetherStudio/.
3. FluxBox & TimeChop: Ring-Buffer HalfTime Without Clicks
In FluxBox, each of the 7 modules evaluates a 32-point BPM-synced curve. The TIME module uses a power-of-two circular buffer (262,144 samples, ~5.9 s) with smoothed delay ramping:
float maxDelay = (float) Math.min(200000.0, loopSamples * 0.5); float targetDelay = (1.0f - c) * maxDelay; timeDelaySmooth += (targetDelay - timeDelaySmooth) * smoothCoeff; When the curve ramps linearly from 1.0 down to 0.0, the read delay grows at 0.5 samples per sample — producing true HalfTime playback pitched down an octave.
TimeChop expands this to a 524,288-sample (~11.8 s) ring buffer with dual read heads and anti-click crossfading so jumping between 36 HalfTime, reverse, vinyl-stop, and 1/8 stutter pads live never pops.
4. Why It's 109 KB: WebView UI + Zero-Gradle Build
Instead of pulling in AndroidX, Material Components, Compose, or Kotlin stdlib (which easily bloat an empty app to 10–25 MB), MainActivity hosts a single fullscreen WebView loading local HTML/CSS/JS assets connected to the Java DSP engines via four @JavascriptInterface bridges (Studio, Synth, SB, GB).
The entire release build runs in one PowerShell script:
-
aapt2 compileresources -
aapt2 linkagainstandroid.jar javac -source 1.8 -target 1.8-
d8 --release --min-api 24→classes.dex -
zipalign+apksigner
Total APK size: 109 KB.
Try It Live (Zero Download)
Because FL Studio Mobile on Android can't load third-party VSTs inside the DAW, Aether Studio is designed as a companion rack that reads your FLM folders and exports clean 16-bit stereo WAVs straight back with a one-tap jump into FLM.
- Play the Web Audio demo or grab the Free Trial APK: https://extraordinary-cassata-a555fd.netlify.app/
- Pro License ($5.00 lifetime, offline activation key): https://payhip.com/b/ZhYVJ
Happy to answer any questions about pure Java real-time audio on Android, ring-buffer HalfTime math, or building APKs without Gradle!
