Record Audio
Records sound from the microphone for a set time and saves it as a file.
An action in the Audio group.
Its type is action.record_audio.
Declared ports
Section titled “Declared ports”| Port | Label | Flow | Type |
|---|---|---|---|
in |
in | execution in | — |
out |
out | execution out | — |
seconds |
How long (seconds) | data in | Int |
toFolder |
Save in this folder | data in | String |
name |
File name | data in | String |
state |
Result | data out | Object{changed: Boolean, path: String, name: String, durationMs: Long, sizeBytes: Long, error: String} |
Configuration
Section titled “Configuration”| Field | Key | Default | Notes |
|---|---|---|---|
| How long (seconds) | seconds |
10 |
— |
| Quality | quality |
voice |
voice, high |
| Save in this folder | toFolder |
— | — |
| File name | name |
— | — |
| If one is already there | whenExists |
keep_both |
replace, keep_both, skip |
- microphone access
A missing permission is flagged in the editor rather than blocking the macro — the graph is fine, the phone is not, and granting it starts the node working with no edit here at all.