Arts >> Music >> Digital Music

Multitasking OS: How Eva Plays Music While Browsing

Eva's ability to stream music while browsing the web is enabled by a preemptive multitasking operating system—standard on all modern platforms:

How It Works

  1. Process Isolation: Music player (e.g., Spotify) and browser (Chrome/Safari) run as separate processes with protected memory.
  2. Time-Slicing: The CPU scheduler rapidly switches between processes (milliseconds), giving each a "turn." To the user, they run simultaneously.
  3. Audio Subsystem: Low-latency audio path (WASAPI/CoreAudio/ALSA/PipeWire) prioritizes playback buffer refill—prevents glitches under load.
  4. Background Execution Policies: Mobile OSs (iOS/Android) manage background audio via specific APIs (e.g., `AVAudioSession`, `MediaSession`) to allow playback while browser is active.

This architecture—preemptive multitasking + priority audio scheduling—is why you can listen, browse, download, and compute all at once. Single-tasking OSs (DOS, early Mac OS, Windows 3.1) could not do this reliably.

Digital Music

Related Categories