Keystroke logging with think-aloud audio
TypeFlow Speak records writing events and microphone audio in one browser session. It produces an automatic transcript and a downloadable evidence package with the original recording, transcript, final text and workbook.
Created and maintained by Aitor Garcés-Manzanera, University of Murcia.
- Writing record
- Keystrokes, revisions, pauses and the final text.
- Speech record
- Original microphone audio with an automatic live transcript.
- Session needs
- A browser, keyboard, microphone and internet connection for transcription.
Session workflow
Prepare the task and consent before opening the participant session. Allow the export to finish, then check the downloaded ZIP.
-
Set up anonymous session details
Enter a participant code, session, optional group or condition, and writing language. Do not enter participant names. The expected speech profile is research metadata; it does not lock transcription to one language.
-
Explain recording and obtain consent
TypeFlow Speak asks for explicit consent to record microphone audio and process it through Gemini Live for online transcription. The browser also requests microphone permission. Speak records audio, not webcam video.
-
Write and speak
The application records the writing event stream and original audio while it creates an automatic transcript. Live transcription needs an internet connection. If it is interrupted, audio recording can continue and the transcript gap is documented.
-
Stop, download and review
Stopping a session prepares one ZIP with the session files. Wait for the completion message, check that the archive opens, and keep the full set together. The audio container format depends on browser support.
Files in the session ZIP
Each file has a different role. Keep the original audio with the workbook and transcripts so that derived records can be checked.
| File | Contents | Use |
|---|---|---|
| XLSX TypeFlow workbook | Core writing-event data and Speak sheets for transcript, audio metadata, local speech activity, episodes, alignment, typing pauses and multimodal states. | Structured session data and quality review. |
| DOCX + TXT Final text | The participant's final writing product in editable and plain-text formats. | Read, archive or process the product. |
| DOCX + TXT Transcript | Automatic speech text with recorded receipt times and any available links to estimated speech episodes. | Locate and review speech. Verify wording against audio. |
| Audio Original recording | The browser-recorded microphone audio. Its file type is selected according to browser support. | Primary evidence for spoken data and transcript checking. |
| JSON Evidence manifest | Session file names and sizes, app and API versions, transcription model history, audio properties and timeline metadata. | Document session provenance and inspect processing details. |
A real transcript beside the text being written
Left: what the automatic transcript recorded. Right: the text already entered in the writing area at that point. The timeline below shows when each record was added.
TypeFlow Speak v10.4 · test workbook
The transcript arrives while the draft is being typed
Automatic transcript
I don't really know. That's a very complicated thing to think about. Dear John, I was very worried.
- Workbook record
- Speak Transcript · segment 2
- Segment
- One block of transcribed words
- Time in session
- after the session began
- What this time means
- When this transcript block entered the workbook, not the exact moment the speech began.
Draft text at that time
Dear John,
I was very worried
- Text location
- Position 30 is after the space following “worried”.
- Next recorded key
- a at begins “about”.
What happened, in order
Times are measured from the start of the session.
- Typed d, completing “worried”.
- Added a space after the word.
- Transcript block 2 appears in the workbook.
- Typed a, beginning “about”.
What this shows. Both records share a timeline. This indicates when they overlap, not which spoken word produced a particular keystroke.
Workbook fields in the current build
The example above comes from v10.4 and predates the separate alignment sheet. In current builds, that sheet can associate a transcript segment with an estimated speech episode; it does not align individual spoken words with typed words.
- Shared session clock
Event Stream.startTime,Speak Activity.session_start_ms/session_end_ms, andSpeak Episodes.session_start_ms/session_end_mslocate records within one session.Speak Transcript.asr_received_msrecords when transcript text arrived.
| Workbook sheet | Key fields | What the row represents |
|---|---|---|
Event Stream | startTime · position · type · output | Timestamped keyboard and editing events, with the editor position recorded for the event. |
Speak Activity | activity_id · session_start_ms · session_end_ms · timing_uncertainty_ms | Local estimate of a broad speech-activity interval and its timing uncertainty. |
Speak Episodes | episode_id · activity_ids · session_start_ms · session_end_ms | Groups related speech-activity intervals and retains their activity IDs. |
Speak Transcript | segment_id · activity_ids · asr_received_ms · timing_semantic | Final transcript segment, its associated activity IDs and the ASR receipt time. |
Speak Alignment | segment_id ↔ episode_id · activity_ids · alignment_status · timing_uncertainty_ms | Heuristic segment-to-episode association through shared activity IDs. A segment without a match is recorded as unaligned. |
Speak Typing Pauses | typing_pause_id · speech_episode_ids · speech_overlap_ms · inference_scope | Temporal overlap between a typing-pause interval and estimated speech episodes. |
Transcript policy. The automatic transcript is a research aid, not a substitute for the recording. Check quotations, coding decisions and uncertain passages against the audio.
Research notes and publications
Speak preserves several evidence types in the same session. Their timestamps and labels describe different things and should not be treated as interchangeable measures.
| Record | What it represents | Interpretation limit |
|---|---|---|
| Writing events | Timestamped keystrokes and related writing activity recorded by TypeFlow. | Events describe actions in the editor; they do not directly identify a writer's thoughts. |
| Original audio | The browser-recorded microphone track. | Use it to verify automatic transcript text and timing. |
| Transcript times | Receipt times for finalized automatic speech-transcription segments. | Receipt times are not measured speech onset, offset or word boundaries. |
| Speech episodes | Broad speech-activity intervals estimated locally from the audio signal. Timing uncertainty and the method configuration are included in the export. | These intervals are estimates, not word boundaries, linguistic units, ideas or cognitive states. |
| Alignment and typing pauses | Available links between transcript segments and estimated speech episodes; temporal overlap between speech and typing pauses. | Alignment is a review aid. Temporal overlap does not establish a cognitive process or explain why a pause occurred. |
Version and provenance
The export records the versions and service model history used in each session. Use those values when documenting a study; they can change between deployments.
The local speech timeline estimates activity from the microphone signal and records the configuration used. TypeFlow Speak does not label speech episodes as idea units or infer cognitive states from pauses.
Related publications
These works address writing-process research, keystroke logging or verbal-report methodology. They are not validation studies of TypeFlow Speak's transcript or speech timing.
- Garcés-Manzanera, A. (2026). Digital Writing and Keystroke Logging Software: Observing Writing Behaviors. Nova Science Publishers.
- Garcés-Manzanera, A. (2025). From pauses to processes: Automating the classification of L2 writing processes from keystroke logs. Feedback Research in Second Language, 3, 22–49.
- Fox, M. C., Ericsson, K. A., & Best, R. (2011). Do procedures for verbal reporting of thinking have to be reactive? A meta-analysis and recommendations for best reporting methods. Psychological Bulletin, 137(2), 316–344.
Technical documentation
Gemini's documentation describes live transcription output and current timing limits.
- Google AI for Developers. Live transcription with Gemini Live API.
Data and consent
Make audio recording and online transcription clear before a participant starts. Use anonymous session codes and follow the approved study protocol.
| Data | What Speak does | What to tell participants |
|---|---|---|
| Writing activity | Records writing events and the text produced in the session. | Use a study code; do not enter a participant's name. |
| Microphone audio | Records an original audio file and sends microphone audio to Gemini Live for online transcription. The app requests consent before the session. | Explain that speech is recorded and processed for transcription, and obtain the consent required by the study. |
| Session files | Creates a downloadable ZIP with the workbook, final text, transcript, original audio and evidence manifest. | Tell participants what files the study retains and who can access them under the approved protocol. |
Before collection. Pilot the microphone, browser permissions, network conditions and full export in the setting planned for the study. Review the transcription service and data route with the relevant institutional procedures.
The speech profile chosen at setup is recorded as research metadata. It does not restrict automatic language detection.
Frequently asked questions
Do participants need to install software?
No. TypeFlow Speak runs in a browser. A keyboard, microphone access and an internet connection for live transcription are needed.
What does the application record?
Writing events, the final text and microphone audio. The app does not request webcam video. It asks for microphone consent before recording.
Can a participant switch languages while speaking?
Gemini Live uses automatic language detection. The expected speech profile is saved as session metadata and does not lock the transcript to one language. Check transcription quality in the languages and task used in your study.
Does the transcript have word-level timestamps?
No. The exported finalized-segment times mark when transcript text was received. TypeFlow's local speech intervals are broader estimates. Use the audio to check wording and timing that matters to your analysis.
What happens if live transcription is interrupted?
TypeFlow attempts to reconnect while audio recording continues. Any transcript gap and connection diagnostics are included in the session evidence.
Can the automatic transcript replace the audio?
No. The recording is the primary speech evidence. Review transcript passages, quotations and coding decisions against it.
What should I check before a study?
Run a pilot with the same browser, microphone, task, language profile and network conditions planned for data collection. Confirm participant consent and test that the exported ZIP opens.
Contact
Aitor Garcés-Manzanera
Creator and lead developer of TypeFlow Speak
University of Murcia