1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
How to compile Sonic Visualiser from source
===========================================
(NOTE: Refer also to .travis.yml and .appveyor.yml to see what the
continuous-integration processes do to run a build)
On Windows and Mac is it actually easier to build from a checkout of
the Mercurial repository (be sure to update to the appropriate tag if
you need a specific release) than it is to build from an official
Sonic Visualiser source release package. This is because the
repository checkout pulls in some required library builds, while the
source package contains only Sonic Visualiser code.
Windows
-------
Use the Qt Creator IDE with either the MinGW compiler (for 32-bit
builds) or Visual C++ (for 64-bit builds).
For details, see the wiki page at
https://code.soundsoftware.ac.uk/projects/sonic-visualiser/wiki/WindowsBuild30
MacOS
-----
Build from the command line, but do not use the configure script.
Install Qt5, either via Homebrew or from the official installer.
* If you are building from a repository checkout, install Poly/ML via
Homebrew (`brew install polyml`) and run `./repoint install` before
proceeding. This isn't necessary when building from an official source
release.
* If you are building from an official source release, make sure the
following required dependencies are available, whether installed using
Homebrew or some other method: (This isn't necessary when building
from a repository checkout)
REQUIRED Rubber Band Library http://www.breakfastquay.com/rubberband/
REQUIRED libsndfile http://www.mega-nerd.com/libsndfile/
REQUIRED libsamplerate http://www.mega-nerd.com/SRC/
REQUIRED FFTW3 http://www.fftw.org/
REQUIRED bzip2 library http://www.bzip.org/
REQUIRED Sord and Serd libraries http://drobilla.net/software/
REQUIRED Cap'n Proto http://capnproto.org/
Then run `qmake -r sonic-visualiser.pro` and `make`. (You may need to
provide the full path to the correct `qmake` executable for the
version of Qt you want to build with.)
Linux
-----
$ ./configure && make && make install
The following additional libraries are required or optional:
REQUIRED Qt v5 http://www.qt.io/
REQUIRED Rubber Band Library http://www.breakfastquay.com/rubberband/
REQUIRED libsndfile http://www.mega-nerd.com/libsndfile/
REQUIRED libsamplerate http://www.mega-nerd.com/SRC/
REQUIRED FFTW3 http://www.fftw.org/
REQUIRED bzip2 library http://www.bzip.org/
REQUIRED Sord and Serd libraries http://drobilla.net/software/
REQUIRED Cap'n Proto http://capnproto.org/
REQUIRED MAD mp3 decoder http://www.underbit.com/products/mad/
REQUIRED Oggz and fishsound http://xiph.org/oggz/
REQUIRED Opus http://www.opus-codec.org/
Optional liblo OSC library http://www.plugin.org.uk/liblo/
Optional JACK http://www.jackaudio.org/
Optional PortAudio v19 http://www.portaudio.com/
Optional PulseAudio http://www.pulseaudio.org/
Although JACK, PortAudio, and PulseAudio are individually optional,
you will need to have at least one of them in order to get any audio
playback. Usually JACK is preferred on Linux, with PulseAudio as a
backup, and PortAudio is used elsewhere.
On Linux, you will need the ALSA libraries (used for MIDI).
For Cap'n Proto you will need v0.6 or newer.
For the rest, if you happen to be using a Debian-based Linux, you
probably want to apt install something like the following packages:
build-essential libbz2-dev libfftw3-dev libfishsound1-dev
libid3tag0-dev liblo-dev liblrdf0-dev libmad0-dev liboggz2-dev
libopus-dev libopusfile-dev libpulse-dev libsamplerate-dev
libsndfile-dev libsord-dev libxml2-utils portaudio19-dev qt5-default
libqt5svg5-dev raptor-utils librubberband-dev git mercurial autoconf
automake libtool mlton
If you are building Sonic Visualiser from a repository checkout, then
the configure script will use Repoint to obtain further checkouts of
various modules. You will need to have a SML compiler installed for
this to work, such as SML/NJ, MLton, or Poly/ML - hence the presence
of mlton in the Debian package list above. This is not necessary when
building from an official Sonic Visualiser source release.
|