Skip to content

CapsuleCraft v1.10.0 — mic recording from the native audio block

Choose a tag to compare

@github-actions github-actions released this 31 Oct 16:49
· 25 commits to main since this release
7abd4e9

CapsuleCraft v1.10.0 — the record half of the audio item: microphone capture straight from the native audio block, closing the gap with the web MediaRecorder flow.

🎙️ Added

  • Record from mic button next to "Attach audio" in every audio block: a pulsing dot, an honest m:ss clock and a live RMS level meter; Stop recording lands the take as a 16-bit mono PCM WAV attached to the capsule — and immediately playable, because the offline player decodes WAV natively.
  • Capture via cpal at the device's native rate; f32/i16/u16 input layouts are downmixed to mono. A ten-minute cap keeps a forgotten stop from filling the disk. The meter reads real input — never a fake animation.

🛠 Fixed

  • Audio file attachments from the block never actually reached the capsule: the file picker wrote a __attach marker into the block JSON that nothing ever read. Attachments now travel through BlockOp::AttachAudio, applied by the document view — the same path recordings use.
  • Release pipeline: the native AppImage job installs libasound2-dev + pkg-config (v1.9.0's AppImage build failed on alsa-sys).

🧹 Changed

  • New Icon::Record (filled dot); the whole native crate is cargo fmt-normalized (separate style commit).

🧪 Quality

  • Native: 143 passed / 0 failed (cargo test --release, up from 135 — 8 new recorder tests, including a WAV round-trip through rodio's own decoder)
  • CI green on the release commit: native shell, rust backend, frontend build

📦 Downloads

File Platform
CapsuleCraft_native_1.10.0_x64.zip Windows 10/11 x64 — native egui shell (recommended, no WebView2)
CapsuleCraft_native_1.10.0_arm64.app.zip macOS Apple Silicon — native egui shell
CapsuleCraft_1.10.0_amd64.AppImage Linux — native zero-dependency build
CapsuleCraft_1.10.0_x64-setup.exe / .msi Windows — Tauri shell
CapsuleCraft_1.10.0_amd64.deb / .rpm Linux — Tauri shell
CapsuleCraft_1.10.0_aarch64.dmg macOS — Tauri shell
SHA256SUMS.txt checksums

Full changelog: https://github.com/kostyk348/CapsuleCraft/blob/main/CHANGELOG.md