The following list of dependencies need to be installed before you compile IDJC
Package | |
Python | Required |
mutagen | Required |
Jack Audio Connection Kit | Required |
PyGTK | Required |
vorbis-tools | Required |
libsndfile | Required |
libsamplerate | Required |
LAME | Recommended - for streaming/recording in the mp3 format |
libmad | Recommended - provides support for playing mp3s |
ffmpeg | Recommended - provides support for wma, mp4/m4a |
FLAC | Recommended - provides support for flac playback and streaming |
speex | Recommended - provides support for speex playback and streaming |
libshout | Optional - not a requirement for streaming |
Although some dependencies are marked as optional or recommended they should be installed before compiling IDJC if you intend on using them later.
Some of these dependencies will probably already be installed on your system and the rest can typically be found as part of most linux distributions. Don't forget to install the development packages for these dependencies where applicable. (example: for LAME you'll need libmp3lame-dev. Package names vary depending on the Linux distribution you are using.
Official download link http://sourceforge.net/projects/idjc/files/
The latest ChangeLog can be found Here
The git repository is available for the brave and curious (contains the latest changes).
$ git clone git://idjc.git.sourceforge.net/gitroot/idjc/idjc
IDJC is available in RPM format for SuSE Linux via Packman. Download links & details.
A PISI package for Pardus Linux is available here.
Please read the following section all the way through before typing in the commands.
Unpack the source tarball and cd into the source tree. (please note that if you are reading these instructions direct from the web to substitute your version number for the ones shown below).
$ tar xzvf idjc-0.8.3.tar.gz $ cd idjc-0.8.3
Note, the following line contains the letter O.
$ ./configure CFLAGS="-O2"
$ make
The next command needs to be run as root (using sudo perhaps?). It really depends on which distribution you are using.
$ sudo make install
or
$ su -c "make install"
Finally to attempt to launch IDJC (read the Post Configuration section if this fails).
$ idjc
The chances are if you are running this for the first time that your system is not configured for real time scheduling. This is required by jack-audio-connection-kit by default and will require some setting up.
In order to do this type in a console.
$ jackd -d alsa
This is the command to explicitly launch the jack-audio-connection-kit sound server.
If you are not immediately returned to the command prompt all is well, otherwise follow the configuration message on the screen. In particular you will be asked to edit a file called /etc/security/limits.conf and type in some text. Log out and back in again before retrying the above command. If you are asked to make entries for @audio make sure your user account is in the audio group. Read further messages and follow instructions again until it launches. Once launched you should be able to launch IDJC without any problems.
Again I say log out and back in again after making configuration file changes in order to apply them.
If all this sounds too difficult you can run jackd without real time scheduling but performance will suffer. Most likely there will be gaps in the audio that the listeners will also hear.
The file .jackdrc is the jackd configuration file and is a one-liner.
$ echo "/usr/bin/jackd --no-realtime -d alsa" > ~/.jackdrc
Only use the above if this all seems too difficult.
The sound server can otherwise be configured to have lower latency and should also in any event have the sample rate adjusted to that of CD audio like so.
$echo "/usr/bin/jackd -d alsa -r 44100 -p 256" > ~/.jackdrc
IDJC has partial translation for the German language.
$ LANG=de_DE idjc
Back to Main Window