ALSA is the hardware driver infrastructure (i.e., backend), while JACK is an audio server, akind in some ways to the Windows Sound Mapper. JACK allows network-transparent sound input/output and (more importantly) allows audio applications to work together. You can achieve some results this way (by piping sound output from one application to another) that would require loading a plugin in a DAW on Windows or Mac OS. But if you 'just' want to use Pianoteq as a live instrument, you will not gain much by using JACK, and while it is designed with low latency in mind, it is an additional component in the audio chain. That said, you will not lose much as well by just always using JACK, and gain flexibility.
Edit: PulseAudio is also an audio server, but as far as I know, its design goals are quite different from those of JACK, meaning more functionality and quite possibly a lot more latency. So if PulseAudio is the default on the system you use, I would bypass it if I were you, or switch to JACK.
A bit background on Unix-like systems and audio: nowadays you will find at least three, often four audio interface layers on a modern system. E.g. KDE4 uses Phonon as multimedia framework. Phonon knows how to decode audio files and has functions to 'just play an MP3' or such file. This is used by normal KDE applications that just want to play sounds and not care too much about the details (which is sufficient in 99% of the cases, probably). Phonon can be configured to use different implementations, one of which is GStreamer. GStreamer does the heavy lifting and can e.g. be configured to use JACK or PulseAudio (or ALSA directly). JACK again will most often use ALSA for output. So you have a lot of layers:
Phonon/...
GStreamer/Xine/...
JACK/PulseAudio/...
ALSA/OSS
An application can use each of those to output audio. The lower it goes, the more work it will have to do for itself, but also the less latency and more control it will get. Pianoteq is an application that does by definition most of its own low-level work, so only the lower layers really make sense for it.
Last edited by kalessin (14-07-2014 11:18)
Pianoteq 6 Standard (Steinway D&B, Grotrian, Petrof, Steingraeber, Bechstein, Blüthner, K2, YC5, U4, Kremsegg 1&2, Karsten, Electric, Hohner)