What is this program?
Spectral is a simple program that imitates spectral sound for left and right sides.
It uses jack audio library. To find out more about jack look at www.jackaudio.org.

--------------------------------------------------------------------------
How to compile program?
Just use make to compile the program (type make in a command line inside source directory).
Spectral to be compiled requires developer versions of these libraries:
- jack (jack audio, version 1)
- SDL2 (Simple DirectMedia Layer)

It also uses:
- C standard math library
- pthreads library

--------------------------------------------------------------------------
How to use program?
To use the program you have to start jack daemon, some sound source eg. alsaplayer with jack output
(alsaplayer -o jack) and this program (spectral). Then connect sound source (one channel eg. left)
to spectral.

In a window of spectral there are two rectangles - one represents sound source and one represents you.
At the start of the program they are both at the center of the window.
You can change sound source position by clicking inside the window, or just by holding left mouse button and
moving mouse. This will effect from which side sound actually is heard.

In console spectral prints details about parameters affecting sound when they are changed.

--------------------------------------------------------------------------
Who wrote the program?
This program was written by Paweł Sabat.
You can find it at my website sabat.e90.biz

--------------------------------------------------------------------------
What is the license of the program?
Source code is licensed under Creative Commons Zero license.
See https://creativecommons.org/publicdomain/zero/1.0/ for full license text.

