On Fri, May 9, 2014 at 2:09 AM, Patrick Gharios <
pgha...@gmail.com> wrote:
> I am interested to know what are the prerequisites for wahjam to work on
> linux
>
> Which audio capture card should i use to get it working?
Hi Patrick,
How to build
-----------------
To build Wahjam from source on Linux you need development packages for
the following libraries installed:
Qt5, libogg, libvorbis, PortAudio, PortMIDI
Then you can run qmake && make and it will build the binary in qtclient/wahjam.
See
https://github.com/wahjam/wahjam/blob/master/README for more details.
By the way, I develop an online jamming platform called jammr, which
is based on Wahjam. Ubuntu packages are available for download at
http://jammr.net/ if you want to skip compiling yourself.
Sound cards
------------------
Regarding the sound card, the internal sound cards in most computers
are poor quality. They often have a lot of interference and bad
recording quality. I find they are only acceptable if you are using
software instruments (synthesizer, sampler, etc) and don't record
audio. But you can try without internal sound card for testing.
It's best to get a sound card that is designed for recording and works
with Linux. These are usually USB 2.0 or PCI sound cards that have at
least one guitar input and a headphone output. Brands to look at are
Focusrite, m-audio, Presonus, motu, Tascam, and Behringer but be sure
to check for Linux driver support before buying.
I personally use the Line6 POD HD300 multi-effects pedal as a USB
sound card and have contributed to the Linux kernel driver to make it
work.
ALSA and JACK
------------------------
Modern Linux sound drivers are (usually) in the kernel and accessed
via the ALSA API from applications.
There is a sound server called JACK which you can run on top of ALSA
to add inter-app audio (routing). It lets you do cool stuff like
connecting a drum machine app (Hydrogen), a synthesizer app (yoshimi
or qsynth), effects plugins (zita-reverb), together with Wahjam.
There are even VST hosts available for running Windows VST plugins
with JACK (using Wine, not all plugins will work). For more info, see
http://jackaudio.org/.
I use JACK because I want to route audio between apps. If you just
want to send your instrument into Wahjam, you can stick to ALSA.
Wahjam supports both in the sound settings dialog.
Have fun and let me know if you have any questions!
Stefan