Nota — a free DAW for macOS, Windows and Linux. No subscription, no account — just open it and make music.
C# audioaudio-unitavaloniacpp20cross-platformdawdigital-audio-workstationdspjucelinux-audiomcp-servermidimusicmusic-productionpiano-rollplugin-hostsequencersynthesizervstvst3
Contract: C ABI — loop record mode
Added to src/native/nota.engine/include/nota/nota_engine.h, next to the count-in calls:
/* Loop record mode for MIDI recorded into the Arrangement with the loop on:
* 0 = overdub (every pass adds to the take), 1 = replace (the first new note of a
* pass removes what earlier passes of this take recorded). App preference; takes
* effect from the next pass. Session slot recording is unaffected. */
NOTA_API NotaResult nota_transport_set_loop_record_mode(NotaEngine* engine, int32_t mode);
NOTA_API int32_t nota_transport_loop_record_mode(const NotaEngine* engine);
modeoutside {0, 1} →NOTA_ERR_INVALID_ARG. A null engine →NOTA_ERR_INVALID_ARG(setter) or 0 (getter).- Thread: any non-audio thread. Lock-free (an atomic store).
Managed mirror (IAudioEngine / NotaEngine):
void SetLoopRecordMode(bool replace);
bool LoopRecordReplace { get; }
MCP (TransportTools):
get_transport→TransportStategainsbool LoopRecordReplace.set_loop_record_mode(bool replace): sets the mode. The UI toggle and the persisted preference follow it.