Ecasound ALSA MIDI Sequencer Capabilities

This article provides an overview of how Ecasound natively interacts with the Advanced Linux Sound Architecture (ALSA) MIDI sequencer subsystem. Ecasound is a command-line multitrack audio processing tool that includes built-in integration with ALSA MIDI, allowing users to route MIDI streams, synchronize audio transport using standard timing protocols, and control audio processing parameters in real time via external MIDI hardware or software.

ALSA Sequencer Client and Port Integration

Ecasound natively functions as both an ALSA sequencer client and an ALSA MIDI target. When invoked with ALSA sequencer options, Ecasound registers its own input and output ports within the ALSA sequencer framework.

Real-Time Parameter Control via MIDI CC

One of the primary native ALSA MIDI capabilities in Ecasound is continuous parameter automation. Using the -km (controller modulation) and -kmp (parameter controller mapping) options, incoming ALSA MIDI Control Change (CC) messages can directly manipulate real-time audio parameters.

Transport Synchronization and Clocking

Ecasound supports standard transport synchronization mechanisms routed through the ALSA MIDI sequencer:

MIDI Stream Recording and Playback

While Ecasound is fundamentally an audio processor rather than a full-featured MIDI composition piano-roll environment, its native ALSA sequencer layer handles standard MIDI data streams: