What is real-time processing?
Mixing & EffectsAudio processing performed quickly enough for the results to be heard during playback or performance. It is commonly used for live effects, monitoring and interactive sound manipulation.
Audio processing performed quickly enough for the results to be heard during playback or performance. It is commonly used for live effects, monitoring and interactive sound manipulation.
Real-time audio processing produces its output quickly enough to keep pace with the incoming or playing audio stream. Effects, instruments and mixers must complete the work required for successive audio blocks before the system needs their results. This makes real-time processing suitable for live performance, monitoring and interactive control.
Real time does not mean zero latency. Audio buffering, conversion and algorithms that need lookahead or a longer analysis window introduce delay. A process can consistently meet its deadlines while still delaying the sound. Conversely, a low-latency setting may produce dropouts if the system cannot complete its work reliably.
N is a positive integer count of sample *frames* per audio block (not the total count of interleaved channel samples); f_s > 0 is the sampling rate in frames per second, and T_block = N/f_s is the block duration in seconds. For N = 128 at f_s = 48,000 frames/s, T_block ≈ 0.002667 s = 2.67 ms; for N = 256 at 44,100 frames/s, it is about 5.80 ms. In a simple periodic audio-callback model, the processing work must reliably finish before its applicable deadline, which may be no greater than the nominal block period and depends on the host architecture. The equation is not an end-to-end latency formula; converter delay, input/output buffering, lookahead and scheduling remain separate.
More CPU work does not automatically equal a fixed number of extra latency samples. Some algorithms add a deliberate delay; excessive computation can instead cause a missed deadline. Offline rendering is not inherently better sounding if it uses the same algorithm and settings.