Inside AI
← Build & Hack
Proposed build / Edge AI

Record your first WAV, then plan a sound-event map

Verify the microphone and memory card with Sony’s recorder. Add an audio model and a satellite fix in separate steps before logging a proposed event map.

Device profile · Sony Spresense main board + extension board ↗
Start with the documented setup

This is a proposed workflow. Follow the linked official setup, then use the checks below to decide whether it works on your hardware.

Get one audible recording

Use a computer, Micro-B data cable, both boards, compatible analog microphones and a backed-up microSD card. Attach the microphone kit as shown in its assembly sheet. Install the matching Sony board package and boot firmware and prepare the DSP files for the sketch. Load Audio → application → recorder_wav. In the pinned version the default is stereo, 48 kHz, 16-bit PCM for about ten seconds. With the kit, use the first two analog channels. For a single mic, configure one input channel and follow Sony’s mono wiring. Kit assembly · Wiring · Exact sketch

Listen before adding inference

Make a distinct test sound and wait for “End Recording” before removing the card. Open Sound.wav on the computer and listen for it. The sketch removes an existing file of that name on the next run. If it waits for a card, check that the card mounts. If the file exists but contains silence, verify mic mode, wiring and channel selection.

Proposed extension · write one event row

Work through Sony’s audio AI lesson first. Select a small model that distinguishes the sounds of interest and reproduce its input framing and feature scaling on the board. Run the GNSS sketch outdoors separately and wait for posDataExist and a fix mode other than FixInvalid. In the combined sketch, attach the latest valid fix and its age to the sound class and capture timestamp. Write empty coordinates when there is no valid fix. Compare a logged test sound to what you heard at that spot. No combined sketch or measurement has been verified by Inside AI. Sony audio lesson · GNSS example · Fan test

Primary sources

Sony hardware guide Sony Arduino installation guide Sony Arduino developer guide Sony recorder_wav sketch Sony GNSS sketch DNNRT header reference Sony tutorial 15 · embedded audio AI AUTOLAB microphone kit assembly sheet